Trace

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

[000:082] [2023-12-08 00:23:57 +0000.

862030][4214] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-12-
08 00:23:57 +0000
[000:082] [2023-12-08 00:23:57 +0000.862127][4214] set AppID=50011 old AppID=-1
[000:082] [2023-12-08 00:23:57 +0000.862151][4214] Init the android object with
jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[000:082] [2023-12-08 00:23:57 +0000.862203][4214] SetAndroidMediaCodecObjects


time:371074263 enter.

[000:082] [2023-12-08 00:23:57 +0000.862229][4214] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:082] [2023-12-08 00:23:57 +0000.862249][4214] SetAndroidMediaCodecObjects


time:371074263 enter.

[000:082] [2023-12-08 00:23:57 +0000.862284][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007afc6a7380
[000:082] [2023-12-08 00:23:57 +0000.862306][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007afc6a7380 address:0x79adcb8760
[000:082] [2023-12-08 00:23:57 +0000.862328][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007afc6a7380
address:0x79adcb8760
[000:082] [2023-12-08 00:23:57 +0000.862349][4214] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:082] [2023-12-08 00:23:57 +0000.862392][4214] Set the android objects with


jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[000:082] [2023-12-08 00:23:57 +0000.862436][4214] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7a58d52680
[000:082] [2023-12-08 00:23:57 +0000.862462][4214] SystemUtil Init done
[000:091] [2023-12-08 00:23:57 +0000.870990][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:091] [2023-12-08 00:23:57 +0000.871205][4214] MediaFilterCamera
[000:091] [2023-12-08 00:23:57 +0000.871284][4214] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:091] [2023-12-08 00:23:57 +0000.871421][4214] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:091] [2023-12-08 00:23:57 +0000.871472][4214] Recording session using default
bitrate support by app:31457280
[000:091] [2023-12-08 00:23:57 +0000.871517][4dc0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79bf12aac0
[000:091] [2023-12-08 00:23:57 +0000.871749][4dc0] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:092] [2023-12-08 00:23:57 +0000.871885][4214] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:093] [2023-12-08 00:23:57 +0000.873413][4214] Error(ini.cc:191): Open the file
failed. error:2
[000:093] [2023-12-08 00:23:57 +0000.873503][4214]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:093] [2023-12-08 00:23:57 +0000.873605][4214] The device model: 21121119vl
usingSoftwareAEC value: 0
[000:099] [2023-12-08 00:23:57 +0000.879433][4214] Error(ini.cc:191): Open the file
failed. error:2
[000:099] [2023-12-08 00:23:57 +0000.879562][4214]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:099] [2023-12-08 00:23:57 +0000.879652][4214] The device model: 21121119vl
usingHardwareAEC value: 0
[000:099] [2023-12-08 00:23:57 +0000.879722][4214] The machine device: 21121119vl
usingHardwareAEC value: 0
[000:100] [2023-12-08 00:23:57 +0000.879787][4214] Using Default AEC type: software
AEC
[000:102] [2023-12-08 00:23:57 +0000.882137][4214] The device model: 21121119vl
enum value: 0
[000:103] [2023-12-08 00:23:57 +0000.883503][4214] GetMachineModel is 21121119VL
[000:103] [2023-12-08 00:23:57 +0000.883681][4214] GetMachineInfo: 21121119VL
[000:104] [2023-12-08 00:23:57 +0000.883770][4214] Construct BeautifyReader
begin...
[000:104] [2023-12-08 00:23:57 +0000.883846][4214] dumpStickerRgba:0
dumpStickerYuv:0
[000:104] [2023-12-08 00:23:57 +0000.883911][4214] Construct BeautifyReader done.
[000:109] [2023-12-08 00:23:57 +0000.889688][4214] Error(ini.cc:191): Open the file
failed. error:2
[000:110] [2023-12-08 00:23:57 +0000.889880][4214]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:110] [2023-12-08 00:23:57 +0000.890146][4214] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:110] [2023-12-08 00:23:57 +0000.890239][4214] AppDeviceManager telnet server
for statistics started......
[000:110] [2023-12-08 00:23:57 +0000.890218][4dc3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a656ba6a0
[000:111] [2023-12-08 00:23:57 +0000.891036][4214] CpuOverloadDetect time:371074292
enter.

[000:111] [2023-12-08 00:23:57 +0000.891201][4214] CpuOverloadDetect leave. expire


time = 0 ms

[000:111] [2023-12-08 00:23:57 +0000.891260][4dc4] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7a656c89c0
[000:112] [2023-12-08 00:23:57 +0000.892100][4214] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:112] [2023-12-08 00:23:57 +0000.892138][4214] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:112] [2023-12-08 00:23:57 +0000.892509][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:115] [2023-12-08 00:23:57 +0000.895205][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:116] [2023-12-08 00:23:57 +0000.895846][4214] CreatePlatformSpecificObjects:
[000:116] [2023-12-08 00:23:57 +0000.895913][4214] audio device use opensle input
and opensl output
[000:116] [2023-12-08 00:23:57 +0000.895970][4214] Create OpenSLES output module
with java VM support.

[000:116] [2023-12-08 00:23:57 +0000.896181][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:116] [2023-12-08 00:23:57 +0000.896472][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:117] [2023-12-08 00:23:57 +0000.896879][4214] Create OpenSLES output module
with buffer num:1

[000:117] [2023-12-08 00:23:57 +0000.897195][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:117] [2023-12-08 00:23:57 +0000.897472][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:118] [2023-12-08 00:23:57 +0000.897781][4214] Create OpenSLES input module
with java VM support.

[000:118] [2023-12-08 00:23:57 +0000.897875][4214] Create OpenSLES input module


with buffer num:1

[000:118] [2023-12-08 00:23:57 +0000.897978][4214] Error(trace.cc:40): Init the


output and input for audio device template.
[000:118] [2023-12-08 00:23:57 +0000.898047][4214] Init the output device.

[000:118] [2023-12-08 00:23:57 +0000.898109][4214] Init the opensl input.


[000:118] [2023-12-08 00:23:57 +0000.898178][4214] AppDeviceManager get setting
samplerate: 0
[000:119] [2023-12-08 00:23:57 +0000.899321][4214] The device model: 21121119vl
enum value: 0
[000:121] [2023-12-08 00:23:57 +0000.901378][4214] The device model: 21121119vl
enum value: 0
[000:121] [2023-12-08 00:23:57 +0000.901508][4214] Set the sample rate to be:48000

[000:121] [2023-12-08 00:23:57 +0000.901596][4214] Enable the recording stereo:0


[000:121] [2023-12-08 00:23:57 +0000.901673][4214] Set the playout as stereo:1
[000:121] [2023-12-08 00:23:57 +0000.901741][4214] Init the microphone.
[000:125] [2023-12-08 00:23:57 +0000.905709][4214] Update the recording sample rate
to be: 48000
[000:126] [2023-12-08 00:23:57 +0000.905857][4214] Init the speaker.
[000:126] [2023-12-08 00:23:57 +0000.906031][4214] Low latency buffer size:256 low
sample rate:48000
[000:126] [2023-12-08 00:23:57 +0000.906747][4214] Using 1 x 10ms for an audio
frame.

[000:133] [2023-12-08 00:23:57 +0000.912876][4214] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:133] [2023-12-08 00:23:57 +0000.913097][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:133] [2023-12-08 00:23:57 +0000.913269][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:143] [2023-12-08 00:23:57 +0000.923043][4214] The device model:21121119vl

[000:143] [2023-12-08 00:23:57 +0000.923184][4214] speaker output factor:100


defaultFactor: 100

[000:143] [2023-12-08 00:23:57 +0000.923242][4214] headset output factor:100


defaultFactor: 100

[000:144] [2023-12-08 00:23:57 +0000.924558][4214] AppDeviceManagerStart finished.


[000:144] [2023-12-08 00:23:57 +0000.924635][4214] AppDeviceManagerStartMic::mic
status is off
[000:144] [2023-12-08 00:23:57 +0000.924686][4214] AppDeviceManagerStartMic update
aec type: 2

[000:144] [2023-12-08 00:23:57 +0000.924710][4214] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:144] [2023-12-08 00:23:57 +0000.924731][4214]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:144] [2023-12-08 00:23:57 +0000.924752][4214]
AudioDeviceDataHandler::StartMicProcess
[000:145] [2023-12-08 00:23:57 +0000.924893][4214] Try to start webrtc recording
device.

[000:145] [2023-12-08 00:23:57 +0000.924952][4214] StartRecording. threadID:16916

[000:145] [2023-12-08 00:23:57 +0000.924950][4dc5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:145] [2023-12-08 00:23:57 +0000.925108][4dc5] haveEnoughProcessedData
internalAudioStream.length: 0
[000:146] [2023-12-08 00:23:57 +0000.925778][4214] The machine model:21121119VL

[000:146] [2023-12-08 00:23:57 +0000.925863][4214] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:146] [2023-12-08 00:23:57 +0000.925887][4214] Set the recording mode before


getSetting: 4
[000:146] [2023-12-08 00:23:57 +0000.925913][4214] Set the recording mode after
getSetting: 1
[000:192] [2023-12-08 00:23:57 +0000.971884][4214] StartRecording finished.

[000:192] [2023-12-08 00:23:57 +0000.971958][4214] audio: start the audio mic


checker timer.

[000:192] [2023-12-08 00:23:57 +0000.972697][4214] machine model :redmi


[000:192] [2023-12-08 00:23:57 +0000.972760][4214] Support this machine
model :redmi
[000:193] [2023-12-08 00:23:57 +0000.972933][4214] global inited! current sdk
version: 07-20-936c45f
[000:301] [2023-12-08 00:23:58 +0000.81265][4dc6] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:301] [2023-12-08 00:23:58 +0000.81458][4dc6] _deviceSampleRate:48000

[000:304] [2023-12-08 00:23:58 +0000.83827][4dc5] Run AGC when audioType = 0


[000:304] [2023-12-08 00:23:58 +0000.84165][4dc5]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:600] [2023-12-08 00:23:58 +0000.380176][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:600] [2023-12-08 00:23:58 +0000.380745][4dc1] MediaFilterCamera, recording
file context:0x7a6560cf80 input texture:8
[000:601] [2023-12-08 00:23:58 +0000.380919][4dc1] GLESContext:
[000:601] [2023-12-08 00:23:58 +0000.381025][4dc1] The result of eglGetDisplay is:
0x1
[000:602] [2023-12-08 00:23:58 +0000.382696][4dc1] The result of creation:
0x799e7f4600
[000:604] [2023-12-08 00:23:58 +0000.384177][4dc1] The result of
eglCreatePbufferSurface is: 0x799e7f4800
[000:604] [2023-12-08 00:23:58 +0000.384540][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7a6560cf80 input_texture: 8
[001:721] [2023-12-08 00:23:59 +0000.500880][41f7] SetOrientation:
MediaFilterCamera:: SetOrientation: 0
[001:721] [2023-12-08 00:23:59 +0000.501099][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 0
[001:725] [2023-12-08 00:23:59 +0000.505581][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[001:726] [2023-12-08 00:23:59 +0000.505896][4dc1] operator() time:371075907
enter.

[001:731] [2023-12-08 00:23:59 +0000.511004][4dc1] MediaFilterCamera, recording


file context:0x7a6560cf80 input texture:8
[001:732] [2023-12-08 00:23:59 +0000.512696][4dc1] MicSource: Mic source
created:10x7a6568aa00
[001:733] [2023-12-08 00:23:59 +0000.513565][4dc1] received external audio stream

[001:733] [2023-12-08 00:23:59 +0000.513686][4dc1] alloc thread: 0x7a65663f80


name:worker0 thread id:522209664192 to Mic_source
[001:733] [2023-12-08 00:23:59 +0000.513738][4dc1] audio: start the audio sender
thread.

[001:736] [2023-12-08 00:23:59 +0000.515969][4dc5] On audio frame the broadcast


with timestamp:371075917 samples:480. (1000 frame for one log)

[001:736] [2023-12-08 00:23:59 +0000.516460][4dc1] construct OpenGLRenderProgram


0x79a8ffe698
[001:736] [2023-12-08 00:23:59 +0000.516627][4dc1] CropFilter::SetOrientation
orientation: 0
[001:737] [2023-12-08 00:23:59 +0000.517436][4dc1] filter: filter pipeline
construtc this: 0x79a04b2000
[001:738] [2023-12-08 00:23:59 +0000.518136][4dc1] filter: filter pipeline2 update
pattern: 1
[001:738] [2023-12-08 00:23:59 +0000.518279][4dc1] CameraSource::source_id_:1
[001:739] [2023-12-08 00:23:59 +0000.518989][4dc1] RecordAudioSource::source_id_:2
[001:736] [2023-12-08 00:23:59 +0000.516700][4e1c] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[001:742] [2023-12-08 00:23:59 +0000.522877][4dc1] BindInputFilter 0x7a65664cc0
this 0x79a8ffe8c0
[001:743] [2023-12-08 00:23:59 +0000.523012][4dc1] BindInputFilter 0x7a65664e58
this 0x7a65664fd0
[001:743] [2023-12-08 00:23:59 +0000.523051][4dc1] BindInputFilter 0x79a8ffe8c0
this 0x79a04b20a0
[001:743] [2023-12-08 00:23:59 +0000.523111][4dc1] setParamentForFilters:
speed:1.000000
[001:743] [2023-12-08 00:23:59 +0000.523167][4dc1] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[001:743] [2023-12-08 00:23:59 +0000.523203][4dc1] SetParamForFilter time:371075924
enter.

[001:743] [2023-12-08 00:23:59 +0000.523229][4dc1] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[001:743] [2023-12-08 00:23:59 +0000.523280][4dc1] SetParamForFilter: Params video
index is: 0
[001:743] [2023-12-08 00:23:59 +0000.523310][4dc1] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[001:743] [2023-12-08 00:23:59 +0000.523391][4dc1] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[001:743] [2023-12-08 00:23:59 +0000.523435][4dc1] crop filter mode tpye:
citytravelvideo index:0
[001:744] [2023-12-08 00:23:59 +0000.524230][4e1c] The output timestamp from audio
mixer change:371075917
[001:744] [2023-12-08 00:23:59 +0000.524327][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[001:775] [2023-12-08 00:23:59 +0000.555329][4dc1]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:776] [2023-12-08 00:23:59 +0000.555921][4dc1]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:776] [2023-12-08 00:23:59 +0000.555991][4dc1]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:776] [2023-12-08 00:23:59 +0000.556663][4dc1]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:776] [2023-12-08 00:23:59 +0000.556737][4dc1]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:777] [2023-12-08 00:23:59 +0000.556768][4dc1]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:777] [2023-12-08 00:23:59 +0000.556843][4dc1]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:777] [2023-12-08 00:23:59 +0000.556882][4dc1]
Warning(parse_template_json.cc:81): json parament no found the parament
[001:777] [2023-12-08 00:23:59 +0000.556914][4dc1]
Warning(parse_template_json.cc:81): json parament no found the parament
[001:777] [2023-12-08 00:23:59 +0000.556948][4dc1]
Warning(parse_template_json.cc:67): json parament no found the parament
[001:777] [2023-12-08 00:23:59 +0000.556976][4dc1]
Warning(parse_template_json.cc:93): json parament no found the duration
[001:777] [2023-12-08 00:23:59 +0000.557054][4dc1] SetParamForFilter leave. expire
time = 34 ms

[001:777] [2023-12-08 00:23:59 +0000.557593][4dc1] OnOutputSizeChanged width 1280


height 720
[001:778] [2023-12-08 00:23:59 +0000.557920][4dc1] OpenGLFrameBuffer: width:1280
height:720
[001:778] [2023-12-08 00:23:59 +0000.557998][4dc1] OpenGLFrameBuffer: width:1280
height:720
[001:778] [2023-12-08 00:23:59 +0000.558044][4dc1] OpenGLFrameBuffer: width:1280
height:720
[001:778] [2023-12-08 00:23:59 +0000.558114][4dc1] OpenGLFrameBuffer: width:1280
height:720
[001:778] [2023-12-08 00:23:59 +0000.558313][4dc1] OpenGLFrameBuffer: width:1280
height:720
[001:778] [2023-12-08 00:23:59 +0000.558356][4dc1] OpenGLFrameBuffer: width:1280
height:720
[001:778] [2023-12-08 00:23:59 +0000.558386][4dc1] construct TrivalImageDrawer
0x79bef0b040
[001:778] [2023-12-08 00:23:59 +0000.558427][4dc1] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x79bef0b040 context 0x799e7e1480
[001:778] [2023-12-08 00:23:59 +0000.558499][4dc1] setupGLES:
[001:833] [2023-12-08 00:23:59 +0000.612795][4dc1] OpenGLRenderProgram::Initialize.
[001:833] [2023-12-08 00:23:59 +0000.613125][4dc1] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[001:833] [2023-12-08 00:23:59 +0000.613255][4dc1] The extension of the OpenGL:
GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat
GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap
GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax
GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context
GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic
GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables
GL_OES_sample_shading GL_OES_shader_multisample_interpolation
GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader
GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5
GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float
GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
GL_EXT_external_buffer GL_EXT_EGL_image_array GL_EXT_texture_filter_anisotropic
GL_ARM_texture_unnormalized_coordinates
[001:833] [2023-12-08 00:23:59 +0000.613352][4dc1] Init open gl render:
0x79a8ffe698
[001:833] [2023-12-08 00:23:59 +0000.613416][4dc1] Fragement shader path:
[001:833] [2023-12-08 00:23:59 +0000.613483][4dc1] Fragement shader path:
[001:833] [2023-12-08 00:23:59 +0000.613536][4dc1] create opengl program object.
[001:833] [2023-12-08 00:23:59 +0000.613623][4dc1] create shader: vertex
[001:845] [2023-12-08 00:23:59 +0000.625289][4dc1] create shader: fragment
[001:936] [2023-12-08 00:23:59 +0000.716349][4dc5] haveEnoughProcessedData
internalAudioStream.length: 0
[002:055] [2023-12-08 00:23:59 +0000.835038][4dc1] Have not extra filter filename!
[002:055] [2023-12-08 00:23:59 +0000.835153][4dc1] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[002:055] [2023-12-08 00:23:59 +0000.835192][4dc1] OpenGLRenderProgram::Initialize
success.
[002:073] [2023-12-08 00:23:59 +0000.853135][4dc1] Setup the OpenGL result:1
[002:076] [2023-12-08 00:23:59 +0000.856514][4dc0] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
[002:077] [2023-12-08 00:23:59 +0000.857532][4e36] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a58a2f698
[002:077] [2023-12-08 00:23:59 +0000.857519][4dc0] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[002:079] [2023-12-08 00:23:59 +0000.859072][4dc0] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[002:080] [2023-12-08 00:23:59 +0000.859885][4dc0] 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_371076254.mp4
fileFD: -1
[002:086] [2023-12-08 00:23:59 +0000.865788][4dc0] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
is opened successfully
[002:086] [2023-12-08 00:23:59 +0000.865957][4dc0] setupMediaProcessers:
[002:086] [2023-12-08 00:23:59 +0000.866029][4dc0]
RecordingSessionInternalSimple:setup media processers.
[002:086] [2023-12-08 00:23:59 +0000.866088][4dc0] construct AAC encoder
[002:087] [2023-12-08 00:23:59 +0000.867623][4dc0] H264Encoder creating:
superfast011818
[002:087] [2023-12-08 00:23:59 +0000.867740][4dc0] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[002:089] [2023-12-08 00:23:59 +0000.868879][4dc0] H264Encode::GetMachineModel is
21121119VL
[002:089] [2023-12-08 00:23:59 +0000.868992][4dc0] H264Encoder machine_mode
is:21121119VL
[002:089] [2023-12-08 00:23:59 +0000.869022][4dc0] H264Encode::machine size :9
machine_mode:21121119VL
[002:089] [2023-12-08 00:23:59 +0000.869054][4dc0] H264Encode::machine array
size :22 machine_mode:21121119VL
[002:089] [2023-12-08 00:23:59 +0000.869086][4dc0] H264Encode::current machine
is :21121119VL auto check hw codec decide to use hw codec
[002:089] [2023-12-08 00:23:59 +0000.869114][4dc0] setupCompressionSession:
[002:089] [2023-12-08 00:23:59 +0000.869142][4dc0] H264Encode::creating hareware
Encoder
[002:089] [2023-12-08 00:23:59 +0000.869171][4dc0] AndroidHwAvcEncoder
time:371076270 enter.

[002:090] [2023-12-08 00:23:59 +0000.869860][4dc0] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007afc6a7380 address:0x79adcb8760
[002:090] [2023-12-08 00:23:59 +0000.870168][4dc0] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[002:090] [2023-12-08 00:23:59 +0000.870301][4dc0] The video avc hw codec address
is 0x7a6d8e2fb0
[002:090] [2023-12-08 00:23:59 +0000.870498][4dc0] AndroidHwAvcEncoder leave.
expire time = 1 ms

[002:090] [2023-12-08 00:23:59 +0000.870595][4dc0] RegisterEncodeCompleteCallback


time:371076271 enter.

[002:091] [2023-12-08 00:23:59 +0000.871103][4dc0] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[002:091] [2023-12-08 00:23:59 +0000.871316][4dc0] InitEncode time:371076272


enter.

[002:092] [2023-12-08 00:23:59 +0000.871967][4dc0] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[002:092] [2023-12-08 00:23:59 +0000.872176][4dc0] Create time:371076273 enter.

[002:092] [2023-12-08 00:23:59 +0000.872249][4dc0] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[002:092] [2023-12-08 00:23:59 +0000.872450][4dc0]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79dd9e24c0
[002:210] [2023-12-08 00:23:59 +0000.990094][4dc0] supported_type:audio/mp4a-latm
[002:210] [2023-12-08 00:23:59 +0000.990220][4dc0] supported_type:audio/mp4a-latm
[002:210] [2023-12-08 00:23:59 +0000.990264][4dc0] supported_type:audio/3gpp
[002:210] [2023-12-08 00:23:59 +0000.990303][4dc0] supported_type:audio/3gpp
[002:210] [2023-12-08 00:23:59 +0000.990344][4dc0] supported_type:audio/amr-wb
[002:210] [2023-12-08 00:23:59 +0000.990379][4dc0] supported_type:audio/amr-wb
[002:210] [2023-12-08 00:23:59 +0000.990427][4dc0] supported_type:audio/flac
[002:210] [2023-12-08 00:23:59 +0000.990464][4dc0] supported_type:audio/flac
[002:210] [2023-12-08 00:23:59 +0000.990519][4dc0] supported_type:audio/opus
[002:210] [2023-12-08 00:23:59 +0000.990594][4dc0] supported_type:video/avc
[002:210] [2023-12-08 00:23:59 +0000.990637][4dc0] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[002:210] [2023-12-08 00:23:59 +0000.990705][4dc0] hwCodecPrefix :OMX.qcom.
[002:210] [2023-12-08 00:23:59 +0000.990738][4dc0] hwCodecPrefix :OMX.Nvidia.
[002:210] [2023-12-08 00:23:59 +0000.990763][4dc0] hwCodecPrefix :OMX.IMG.TOPAZ
[002:211] [2023-12-08 00:23:59 +0000.991148][4dc0] hwCodecPrefix :OMX.Exynos
[002:211] [2023-12-08 00:23:59 +0000.991211][4dc0] hwCodecPrefix :OMX.MTK
[002:211] [2023-12-08 00:23:59 +0000.991295][4dc0] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[002:211] [2023-12-08 00:23:59 +0000.991368][4dc0] mediacodec_createCodecByName
time:371076392 enter.

[002:211] [2023-12-08 00:23:59 +0000.991423][4dc0] WrapAndroidMediaCodec


time:371076392 enter.

[002:212] [2023-12-08 00:23:59 +0000.991823][4dc0] WrapAndroidMediaCodec leave.


expire time = 1 ms

[002:289] [2023-12-08 00:24:00 +0000.69762][4dc5] Run AGC when audioType = 0


[002:487] [2023-12-08 00:24:00 +0000.267328][4dc0] mediacodec_createCodecByName
leave. expire time = 276 ms

[002:487] [2023-12-08 00:24:00 +0000.267506][4dc0] WrapAndroidMediaFromat


time:371076668 enter.

[002:487] [2023-12-08 00:24:00 +0000.267760][4dc0] WrapAndroidMediaFromat leave.


expire time = 1 ms

[002:585] [2023-12-08 00:24:00 +0000.364896][4dc0] Destroy time:371076766 enter.

[002:585] [2023-12-08 00:24:00 +0000.365155][4dc0] WrapAndroidMediaFromat::


Destroy
[002:585] [2023-12-08 00:24:00 +0000.365255][4dc0] Destroy leave. expire time = 0
ms

[002:585] [2023-12-08 00:24:00 +0000.365333][4dc0] ~WrapAndroidMediaFromat


time:371076766 enter.

[002:585] [2023-12-08 00:24:00 +0000.365392][4dc0] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[002:585] [2023-12-08 00:24:00 +0000.365463][4dc0] Create leave. expire time = 493


ms

[002:585] [2023-12-08 00:24:00 +0000.365536][4dc0] isSemiPlanarSupport


time:371076766 enter.

[002:585] [2023-12-08 00:24:00 +0000.365583][4dc0] H264Encoder isSemiPlanarSupport


[002:585] [2023-12-08 00:24:00 +0000.365632][4dc0] isSemiPlanarSupport leave.
expire time = 0 ms

[002:585] [2023-12-08 00:24:00 +0000.365678][4dc0] creat hw H264Encoder success,


isSemiPlanar:1
[002:586] [2023-12-08 00:24:00 +0000.365962][4dc0] InitEncode leave. expire time =
495 ms

[002:586] [2023-12-08 00:24:00 +0000.366049][4dc0] H264Encode::created Encoder


[002:586] [2023-12-08 00:24:00 +0000.366126][4dc0] H264Encode:: H264 encoder
created.
[002:586] [2023-12-08 00:24:00 +0000.366201][4dc0] H264 encoder created.
[002:586] [2023-12-08 00:24:00 +0000.366265][4dc0]
RecordingSessionInternalSimple:created avc encoder avc: 0x79ddbc6780
[002:586] [2023-12-08 00:24:00 +0000.366317][4dc0] setOutput:
[002:586] [2023-12-08 00:24:00 +0000.366378][4dc0]
RecordingSessionInternalSimple:encoder set output to muxer!
[002:586] [2023-12-08 00:24:00 +0000.366440][4dc0] request a key frame
[002:586] [2023-12-08 00:24:00 +0000.366512][4dc0] H264Encode:: request a key frame
[002:586] [2023-12-08 00:24:00 +0000.366751][4dc0] setDisplayRotate :0
[002:587] [2023-12-08 00:24:00 +0000.366915][4dc0] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[002:587] [2023-12-08 00:24:00 +0000.367189][4dc1] StartRecording:
[002:587] [2023-12-08 00:24:00 +0000.367350][4e1c] operator(): Set the recording
session in mic source. recording session: 0x7a65664d00
[002:587] [2023-12-08 00:24:00 +0000.367686][4dc1] operator() leave. expire time =
861 ms

[002:588] [2023-12-08 00:24:00 +0000.367895][4e1b] AF_SpeedFilter audio


0x7a65664e80 PullFrame
[002:588] [2023-12-08 00:24:00 +0000.367967][4e1b]
RecordAudioSource::PullAudioFrame
[002:588] [2023-12-08 00:24:00 +0000.367998][4e1b] AF_SpeedFilter::PullFrame eof4
[002:590] [2023-12-08 00:24:00 +0000.370149][4e1b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[002:590] [2023-12-08 00:24:00 +0000.370500][4e1b] AF_SpeedFilter audio time,
0x7a65664e80 rcv time: 371076760
[002:590] [2023-12-08 00:24:00 +0000.370612][4e1b] AF_SpeedFilter audio time,
0x7a65664e80 rcv time: 371076760in_nSamples:441
[002:591] [2023-12-08 00:24:00 +0000.370844][4e1b] resampled_data_size:0
[002:638] [2023-12-08 00:24:00 +0000.418581][4dc1]
MediaFilterCamera::NeedProcessTexture
[002:638] [2023-12-08 00:24:00 +0000.418815][4dc1] begine recode to first frame
spend time:913
[002:639] [2023-12-08 00:24:00 +0000.418955][4dc1] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a65664b80
[002:639] [2023-12-08 00:24:00 +0000.419209][4dc1] blur_distance_:0
[002:639] [2023-12-08 00:24:00 +0000.419359][4dc1] blur_direction_angle_:-90
[002:639] [2023-12-08 00:24:00 +0000.419470][4dc1]
GPUImageProcessing::SetOrientation orientation: 0
[002:639] [2023-12-08 00:24:00 +0000.419631][4dc1] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[002:640] [2023-12-08 00:24:00 +0000.419802][4dc1] GPUImageProcessing: process
video frame with resolution 1280 X 720
[002:640] [2023-12-08 00:24:00 +0000.419905][4dc1] GPUImageProcessing: input frame
width1280 X 720
[002:640] [2023-12-08 00:24:00 +0000.420188][4dc1] drawYUV420 render
OpenGLRenderProgram:0x79a8ffe698
[002:641] [2023-12-08 00:24:00 +0000.420868][4dc1] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[002:641] [2023-12-08 00:24:00 +0000.421309][4dc1] CropFilter::OnVideoFrame
outputtexture :10
[002:641] [2023-12-08 00:24:00 +0000.421440][4dc1] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[002:652] [2023-12-08 00:24:00 +0000.431800][4dc1] The read pixel from buffer take:
11 width:1280 height:720 frameType:0
[002:669] [2023-12-08 00:24:00 +0000.449491][4dc1] drawYUV420 render
OpenGLRenderProgram:0x79a8ffe698
[002:684] [2023-12-08 00:24:00 +0000.464365][4dc1] The convert RGB to YUV take 4
[002:684] [2023-12-08 00:24:00 +0000.464725][4dc1] FilterPipeline2::OnVideoFrame
pts 22 last_video_timestamp_ 22
[002:685] [2023-12-08 00:24:00 +0000.464935][4dc1]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[002:685] [2023-12-08 00:24:00 +0000.465717][4e35]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[002:686] [2023-12-08 00:24:00 +0000.465833][4e35] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[002:686] [2023-12-08 00:24:00 +0000.465871][4e35] push video frame to H264
encoder. (100 frame for one log)

[002:686] [2023-12-08 00:24:00 +0000.465931][4e35] push video frame to H264


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

[002:686] [2023-12-08 00:24:00 +0000.465971][4e35] H264Encode::push video frame to


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

[002:686] [2023-12-08 00:24:00 +0000.466006][4e35] Push an pts:0 to dts queue.


[002:686] [2023-12-08 00:24:00 +0000.466052][4e35] DTS queue for
Generator:0x79ddb770b8 0
[002:686] [2023-12-08 00:24:00 +0000.466081][4e35] The input pts:0 fps:30
[002:688] [2023-12-08 00:24:00 +0000.467852][4e35]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[002:705] [2023-12-08 00:24:00 +0000.485307][4e1b] AF_SpeedFilter audio time 222,
0x7a65664e80 out time: 371076760 org time: 371076760
[002:705] [2023-12-08 00:24:00 +0000.485725][4e1b] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[002:706] [2023-12-08 00:24:00 +0000.485980][4e1b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 371076760
[002:706] [2023-12-08 00:24:00 +0000.486104][4e1b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[002:706] [2023-12-08 00:24:00 +0000.486298][4e1b] AF_SpeedFilter audio time
[002:706] [2023-12-08 00:24:00 +0000.486604][4e1b] AF_SpeedFilter audio time 111,
0x7a65664e80 out time: 371076770 org time: 371076770
[002:711] [2023-12-08 00:24:00 +0000.491541][4e34]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[002:712] [2023-12-08 00:24:00 +0000.492383][4e36] add aac audio track with id:1
[002:714] [2023-12-08 00:24:00 +0000.493867][4dc1] drawYUV420 render
OpenGLRenderProgram:0x79a8ffe698
[002:744] [2023-12-08 00:24:00 +0000.523852][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[002:758] [2023-12-08 00:24:00 +0000.538457][4e35] h264 add frame header cdr flag
[002:762] [2023-12-08 00:24:00 +0000.541921][4e35] h264 add frame header cdr flag
[002:762] [2023-12-08 00:24:00 +0000.542641][4e35] SendFrame
encodedImage._timeStamp:0encodedImage->_length:138740
[002:763] [2023-12-08 00:24:00 +0000.542887][4e35] Received key frame:0
[002:763] [2023-12-08 00:24:00 +0000.542998][4e35] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[002:763] [2023-12-08 00:24:00 +0000.543070][4e35] H264Encode::H264SWEncoder get
callback, length:138740 type:0 nalType:7length:18
[002:763] [2023-12-08 00:24:00 +0000.543127][4e35] H264Encode:: get a sps pps
header!headerSize:30
[002:763] [2023-12-08 00:24:00 +0000.543184][4e35] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[002:763] [2023-12-08 00:24:00 +0000.543379][4e36] get the H.264 SPS parameter
[002:766] [2023-12-08 00:24:00 +0000.546337][4e36] add video track with id:2
[002:768] [2023-12-08 00:24:00 +0000.547865][4e36] get the H.264 PPS parameter
[002:770] [2023-12-08 00:24:00 +0000.550464][4e36] get the H.264 IDR frame
[002:771] [2023-12-08 00:24:00 +0000.550855][4e36] resss:true
[002:771] [2023-12-08 00:24:00 +0000.550968][4e36] video start ts:0
[002:771] [2023-12-08 00:24:00 +0000.551346][4e36] the video frame has been written
into MP4 file
[002:796] [2023-12-08 00:24:00 +0000.576789][4e36] audio start ts:0
[002:797] [2023-12-08 00:24:00 +0000.577628][4e36] the audio frame has been written
into MP4 file
[003:135] [2023-12-08 00:24:00 +0000.915005][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[003:172] [2023-12-08 00:24:00 +0000.952334][4dc1] The convert RGB to YUV take 2
[003:506] [2023-12-08 00:24:01 +0000.286269][4e35] DTS queue for
Generator:0x79ddb770b8 800 833
[003:640] [2023-12-08 00:24:01 +0000.419896][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[003:688] [2023-12-08 00:24:01 +0000.468734][4dc5] haveEnoughProcessedData
internalAudioStream.length: 10
[003:695] [2023-12-08 00:24:01 +0000.477296][4dc1] The convert RGB to YUV take 4
[003:746] [2023-12-08 00:24:01 +0000.526176][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:009] [2023-12-08 00:24:01 +0000.789765][4e35] Push an pts:1341 to dts queue.
[004:044] [2023-12-08 00:24:01 +0000.824330][4e35] last dts:1296 currentPts:1341
ppsOrSPS:0 queue length:2
[004:130] [2023-12-08 00:24:01 +0000.910089][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[004:166] [2023-12-08 00:24:01 +0000.946017][4dc1] The convert RGB to YUV take 7
[004:196] [2023-12-08 00:24:01 +0000.976131][4dbc]
monitorTime:4004totalDuration:3920
[004:290] [2023-12-08 00:24:02 +0000.70797][4dc5] Run AGC when audioType = 0
[004:291] [2023-12-08 00:24:02 +0000.70943][4dc5]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:292] [2023-12-08 00:24:02 +0000.72609][4e1b] AF_SpeedFilter audio 0x7a65664e80
PullFrame
[004:332] [2023-12-08 00:24:02 +0000.112615][4e35] DTS queue for
Generator:0x79ddb770b8 1633 1665
[004:586] [2023-12-08 00:24:02 +0000.365986][4e1b]
RecordAudioSource::PullAudioFrame
[004:640] [2023-12-08 00:24:02 +0000.420473][4dc1] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[004:658] [2023-12-08 00:24:02 +0000.438647][4dc1] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[004:672] [2023-12-08 00:24:02 +0000.452627][4dc1] The convert RGB to YUV take 4
[004:715] [2023-12-08 00:24:02 +0000.495586][4e35] h264 add frame header cdr flag
[004:718] [2023-12-08 00:24:02 +0000.498510][4e35] Received key frame:1998
[004:744] [2023-12-08 00:24:02 +0000.524310][4e36] get the H.264 IDR frame
[004:745] [2023-12-08 00:24:02 +0000.524851][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:865] [2023-12-08 00:24:02 +0000.645167][4e1b] resampled_data_size:7168
[005:063] [2023-12-08 00:24:02 +0000.842897][4e34]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:4
[005:090] [2023-12-08 00:24:02 +0000.870157][4e1b] AF_SpeedFilter::PullFrame eof4
[005:093] [2023-12-08 00:24:02 +0000.873322][4e1b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[005:131] [2023-12-08 00:24:02 +0000.911361][4dc1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:140] [2023-12-08 00:24:02 +0000.920582][4e35] DTS queue for
Generator:0x79ddb770b8 2470
[005:184] [2023-12-08 00:24:02 +0000.963849][4dc1] The convert RGB to YUV take 5
[005:341] [2023-12-08 00:24:03 +0000.121380][4e35] Push an pts:2664 to dts queue.
[005:380] [2023-12-08 00:24:03 +0000.159994][4e35] last dts:2636 currentPts:2664
ppsOrSPS:0 queue length:2
[005:452] [2023-12-08 00:24:03 +0000.232421][4dc5] haveEnoughProcessedData
internalAudioStream.length: 0
[005:637] [2023-12-08 00:24:03 +0000.416781][4dc1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:673] [2023-12-08 00:24:03 +0000.453636][4dc1] The convert RGB to YUV take 3
[005:745] [2023-12-08 00:24:03 +0000.525716][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:940] [2023-12-08 00:24:03 +0000.720510][4dc1] drawYUV420 render
OpenGLRenderProgram:0x79a8ffe698
[005:975] [2023-12-08 00:24:03 +0000.755592][4e35] DTS queue for
Generator:0x79ddb770b8 3303
[005:994] [2023-12-08 00:24:03 +0000.774267][4dc1] GPUImageProcessing: process
video frame with resolution 1280 X 720
[005:994] [2023-12-08 00:24:03 +0000.774407][4dc1] GPUImageProcessing: input frame
width1280 X 720
[005:995] [2023-12-08 00:24:03 +0000.775090][4dc1] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[005:996] [2023-12-08 00:24:03 +0000.776168][4dc1] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[006:001] [2023-12-08 00:24:03 +0000.780887][4e1b] AF_SpeedFilter audio
0x7a65664e80 PullFrame
[006:005] [2023-12-08 00:24:03 +0000.785145][4e35]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3334
[006:011] [2023-12-08 00:24:03 +0000.791595][4e35] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3303 pts:3303
[006:038] [2023-12-08 00:24:03 +0000.818106][4e35] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3368
[006:038] [2023-12-08 00:24:03 +0000.818311][4e35] push video frame to H264
encoder. (100 frame for one log)

[006:038] [2023-12-08 00:24:03 +0000.818374][4e35] push video frame to H264


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

[006:038] [2023-12-08 00:24:03 +0000.818466][4e35] H264Encode::push video frame to


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

[006:038] [2023-12-08 00:24:03 +0000.818560][4e35] The input pts:3368 fps:30


[006:044] [2023-12-08 00:24:03 +0000.823946][4e35] SendFrame
encodedImage._timeStamp:3334encodedImage->_length:141205
[006:077] [2023-12-08 00:24:03 +0000.857754][4e35] H264Encode::H264SWEncoder get
callback, length:143558 type:1 nalType:1length:143554
[006:148] [2023-12-08 00:24:03 +0000.927812][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[006:177] [2023-12-08 00:24:03 +0000.957481][4dc1] The convert RGB to YUV take 4
[006:289] [2023-12-08 00:24:04 +0000.69773][4dc5] Run AGC when audioType = 0
[006:605] [2023-12-08 00:24:04 +0000.385458][4e1b]
RecordAudioSource::PullAudioFrame
[006:624] [2023-12-08 00:24:04 +0000.404068][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[006:662] [2023-12-08 00:24:04 +0000.442561][4dc1] The convert RGB to YUV take 2
[006:664] [2023-12-08 00:24:04 +0000.444152][4e35] Push an pts:3998 to dts queue.
[006:698] [2023-12-08 00:24:04 +0000.477882][4e35] h264 add frame header cdr flag
[006:698] [2023-12-08 00:24:04 +0000.478874][4e35] Received key frame:3998
[006:699] [2023-12-08 00:24:04 +0000.478995][4e35] last dts:3961 currentPts:3998
ppsOrSPS:0 queue length:2
[006:727] [2023-12-08 00:24:04 +0000.506939][4dc1] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[006:732] [2023-12-08 00:24:04 +0000.512541][4e36] get the H.264 IDR frame
[006:746] [2023-12-08 00:24:04 +0000.525988][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:812] [2023-12-08 00:24:04 +0000.592535][4e35] DTS queue for
Generator:0x79ddb770b8 4097 4140
[007:075] [2023-12-08 00:24:04 +0000.855767][4e1b] resampled_data_size:0
[007:131] [2023-12-08 00:24:04 +0000.911625][4dc1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:166] [2023-12-08 00:24:04 +0000.945965][4dc1] The convert RGB to YUV take 2
[007:220] [2023-12-08 00:24:05 +0000.565][4dc5] haveEnoughProcessedData
internalAudioStream.length: 0
[007:428] [2023-12-08 00:24:05 +0000.208095][4e34]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:8
[007:602] [2023-12-08 00:24:05 +0000.382201][4e1b] AF_SpeedFilter::PullFrame eof4
[007:605] [2023-12-08 00:24:05 +0000.384981][4e1b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[007:628] [2023-12-08 00:24:05 +0000.408190][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[007:645] [2023-12-08 00:24:05 +0000.425074][4e35] DTS queue for
Generator:0x79ddb770b8 4935 4965
[007:678] [2023-12-08 00:24:05 +0000.458343][4dc1] The convert RGB to YUV take 4
[007:704] [2023-12-08 00:24:05 +0000.484292][4e1b] AF_SpeedFilter audio
0x7a65664e80 PullFrame
[007:742] [2023-12-08 00:24:05 +0000.522350][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:004] [2023-12-08 00:24:05 +0000.784619][4e35] Push an pts:5338 to dts queue.
[008:040] [2023-12-08 00:24:05 +0000.820722][4e35] last dts:5300 currentPts:5338
ppsOrSPS:0 queue length:2
[008:127] [2023-12-08 00:24:05 +0000.907618][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[008:164] [2023-12-08 00:24:05 +0000.944287][4dc1] The convert RGB to YUV take 2
[008:291] [2023-12-08 00:24:06 +0000.71199][4dc5] Run AGC when audioType = 0
[008:291] [2023-12-08 00:24:06 +0000.71405][4dc5]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:465] [2023-12-08 00:24:06 +0000.245654][4e35] DTS queue for
Generator:0x79ddb770b8 5763 5798
[008:576] [2023-12-08 00:24:06 +0000.356591][4e1b]
RecordAudioSource::PullAudioFrame
[008:639] [2023-12-08 00:24:06 +0000.418938][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[008:669] [2023-12-08 00:24:06 +0000.448900][4dc1] The convert RGB to YUV take 8
[008:710] [2023-12-08 00:24:06 +0000.489811][4e35] h264 add frame header cdr flag
[008:710] [2023-12-08 00:24:06 +0000.490413][4e35] Received key frame:5998
[008:741] [2023-12-08 00:24:06 +0000.521720][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:743] [2023-12-08 00:24:06 +0000.522866][4e36] get the H.264 IDR frame
[008:796] [2023-12-08 00:24:06 +0000.575945][4dc1] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2984 diff: 17
[008:988] [2023-12-08 00:24:06 +0000.768335][4dc5] haveEnoughProcessedData
internalAudioStream.length: 0
[009:123] [2023-12-08 00:24:06 +0000.903004][4dc1] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[009:163] [2023-12-08 00:24:06 +0000.943657][4dc1] The convert RGB to YUV take 3
[009:255] [2023-12-08 00:24:07 +0000.35331][4dc1] drawYUV420 render
OpenGLRenderProgram:0x79a8ffe698
[009:265] [2023-12-08 00:24:07 +0000.45681][4e35] DTS queue for
Generator:0x79ddb770b8 6595
[009:299] [2023-12-08 00:24:07 +0000.79151][4e1b] resampled_data_size:10240
[009:327] [2023-12-08 00:24:07 +0000.107715][4e35]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6662
[009:328] [2023-12-08 00:24:07 +0000.107914][4e35] Push an pts:6662 to dts queue.
[009:356] [2023-12-08 00:24:07 +0000.136575][4dc1] GPUImageProcessing: process
video frame with resolution 1280 X 720
[009:356] [2023-12-08 00:24:07 +0000.136706][4dc1] GPUImageProcessing: input frame
width1280 X 720
[009:357] [2023-12-08 00:24:07 +0000.137083][4dc1] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[009:357] [2023-12-08 00:24:07 +0000.137295][4dc1] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[009:369] [2023-12-08 00:24:07 +0000.149018][4e1b] AF_SpeedFilter audio
0x7a65664e80 PullFrame
[009:369] [2023-12-08 00:24:07 +0000.149246][4e35] SendFrame
encodedImage._timeStamp:6662encodedImage->_length:219629
[009:369] [2023-12-08 00:24:07 +0000.149358][4e35] last dts:6630 currentPts:6662
ppsOrSPS:0 queue length:2
[009:369] [2023-12-08 00:24:07 +0000.149409][4e35] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6662 pts:6662
[009:400] [2023-12-08 00:24:07 +0000.179823][4e35] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:6727
[009:400] [2023-12-08 00:24:07 +0000.179941][4e35] push video frame to H264
encoder. (100 frame for one log)

[009:400] [2023-12-08 00:24:07 +0000.179982][4e35] push video frame to H264


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

[009:400] [2023-12-08 00:24:07 +0000.180020][4e35] H264Encode::push video frame to


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

[009:400] [2023-12-08 00:24:07 +0000.180068][4e35] The input pts:6727 fps:30


[009:434] [2023-12-08 00:24:07 +0000.214582][4e35] H264Encode::H264SWEncoder get
callback, length:237579 type:1 nalType:1length:237575
[009:632] [2023-12-08 00:24:07 +0000.412385][4dc1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[009:662] [2023-12-08 00:24:07 +0000.442083][4dc1] The convert RGB to YUV take 5
[009:688] [2023-12-08 00:24:07 +0000.468068][4e34]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:2
[009:746] [2023-12-08 00:24:07 +0000.525990][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:016] [2023-12-08 00:24:07 +0000.796411][4e1b] AF_SpeedFilter::PullFrame eof4
[010:018] [2023-12-08 00:24:07 +0000.798683][4e1b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[010:106] [2023-12-08 00:24:07 +0000.886219][4e35] DTS queue for
Generator:0x79ddb770b8 7433
[010:124] [2023-12-08 00:24:07 +0000.904093][4dc1] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[010:168] [2023-12-08 00:24:07 +0000.948441][4dc1] The convert RGB to YUV take 5
[010:286] [2023-12-08 00:24:08 +0000.66650][4dc6] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#
[010:287] [2023-12-08 00:24:08 +0000.67174][4dc6] _deviceSampleRate:48000

[010:288] [2023-12-08 00:24:08 +0000.68683][4dc5] Run AGC when audioType = 0


[010:505] [2023-12-08 00:24:08 +0000.285575][4e1b]
RecordAudioSource::PullAudioFrame
[010:623] [2023-12-08 00:24:08 +0000.403733][4dc1] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[010:658] [2023-12-08 00:24:08 +0000.438210][4dc1] The convert RGB to YUV take 3
[010:659] [2023-12-08 00:24:08 +0000.439712][4e35] Push an pts:7992 to dts queue.
[010:695] [2023-12-08 00:24:08 +0000.475170][4e35] h264 add frame header cdr flag
[010:696] [2023-12-08 00:24:08 +0000.476382][4e35] Received key frame:7992
[010:696] [2023-12-08 00:24:08 +0000.476452][4e35] last dts:7961 currentPts:7992
ppsOrSPS:0 queue length:2
[010:718] [2023-12-08 00:24:08 +0000.498599][4dc5] haveEnoughProcessedData
internalAudioStream.length: 0
[010:731] [2023-12-08 00:24:08 +0000.511487][4e36] get the H.264 IDR frame
[010:748] [2023-12-08 00:24:08 +0000.528388][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:885] [2023-12-08 00:24:08 +0000.665485][4dc1] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3980 diff: 21
[010:925] [2023-12-08 00:24:08 +0000.705115][4e35] DTS queue for
Generator:0x79ddb770b8 8225 8259
[010:982] [2023-12-08 00:24:08 +0000.762600][4e1b] AF_SpeedFilter audio
0x7a65664e80 PullFrame
[011:122] [2023-12-08 00:24:08 +0000.901880][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[011:158] [2023-12-08 00:24:08 +0000.938427][4dc1] The convert RGB to YUV take 1
[011:557] [2023-12-08 00:24:09 +0000.337645][4e1b] resampled_data_size:1024
[011:625] [2023-12-08 00:24:09 +0000.405643][4dc1] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[011:669] [2023-12-08 00:24:09 +0000.449152][4dc1] The convert RGB to YUV take 3
[011:716] [2023-12-08 00:24:09 +0000.496162][4e1c] The output timestamp from audio
mixer change:371085889
[011:740] [2023-12-08 00:24:09 +0000.520260][4dc5] On audio frame the broadcast
with timestamp:371085921 samples:480. (1000 frame for one log)

[011:748] [2023-12-08 00:24:09 +0000.528060][4e1c] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[011:748] [2023-12-08 00:24:09 +0000.528493][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[011:776] [2023-12-08 00:24:09 +0000.556262][4e35] DTS queue for
Generator:0x79ddb770b8 9068 9109
[011:998] [2023-12-08 00:24:09 +0000.778469][4e35] Push an pts:9332 to dts queue.
[012:024] [2023-12-08 00:24:09 +0000.804552][4e34]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:4
[012:048] [2023-12-08 00:24:09 +0000.828452][4e35] last dts:9309 currentPts:9332
ppsOrSPS:0 queue length:2
[012:128] [2023-12-08 00:24:09 +0000.908011][4dc1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[012:164] [2023-12-08 00:24:09 +0000.944124][4dc1] The convert RGB to YUV take 2
[012:291] [2023-12-08 00:24:10 +0000.70972][4dc5] Run AGC when audioType = 0
[012:291] [2023-12-08 00:24:10 +0000.71389][4dc5]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:372] [2023-12-08 00:24:10 +0000.151888][4e1b] AF_SpeedFilter::PullFrame eof4
[012:374] [2023-12-08 00:24:10 +0000.154438][4e1b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[012:412] [2023-12-08 00:24:10 +0000.191972][4e1b]
RecordAudioSource::PullAudioFrame
[012:457] [2023-12-08 00:24:10 +0000.237471][4dc5] haveEnoughProcessedData
internalAudioStream.length: 10
[012:583] [2023-12-08 00:24:10 +0000.363693][4e1b] AF_SpeedFilter audio time,
0x7a65664e80 rcv time: 371086759
[012:584] [2023-12-08 00:24:10 +0000.364060][4e1b] AF_SpeedFilter audio time,
0x7a65664e80 rcv time: 371086759in_nSamples:441
[012:589] [2023-12-08 00:24:10 +0000.369129][4dc1] drawYUV420 render
OpenGLRenderProgram:0x79a8ffe698
[012:594] [2023-12-08 00:24:10 +0000.374362][4e35] DTS queue for
Generator:0x79ddb770b8 9897 9928
[012:616] [2023-12-08 00:24:10 +0000.396091][4e1b] AF_SpeedFilter audio
0x7a65664e80 PullFrame
[012:625] [2023-12-08 00:24:10 +0000.404889][4dc1] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[012:663] [2023-12-08 00:24:10 +0000.443777][4dc1] The convert RGB to YUV take 5
[012:666] [2023-12-08 00:24:10 +0000.446442][4e35]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9996
[012:692] [2023-12-08 00:24:10 +0000.472128][4e1b] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[012:692] [2023-12-08 00:24:10 +0000.472411][4e1b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 371086760
[012:692] [2023-12-08 00:24:10 +0000.472503][4e1b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[012:703] [2023-12-08 00:24:10 +0000.483241][4e35] h264 add frame header cdr flag
[012:704] [2023-12-08 00:24:10 +0000.484297][4e35] SendFrame
encodedImage._timeStamp:9996encodedImage->_length:193532
[012:704] [2023-12-08 00:24:10 +0000.484404][4e35] Received key frame:9996
[012:722] [2023-12-08 00:24:10 +0000.502040][4dc1] GPUImageProcessing: process
video frame with resolution 1280 X 720
[012:722] [2023-12-08 00:24:10 +0000.502291][4dc1] GPUImageProcessing: input frame
width1280 X 720
[012:722] [2023-12-08 00:24:10 +0000.502752][4dc1] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[012:723] [2023-12-08 00:24:10 +0000.503077][4dc1] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[012:732] [2023-12-08 00:24:10 +0000.512696][4e35] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10031 pts:10031
[012:734] [2023-12-08 00:24:10 +0000.513932][4e36] get the H.264 IDR frame
[012:741] [2023-12-08 00:24:10 +0000.521570][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[012:762] [2023-12-08 00:24:10 +0000.542194][4e35] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:10093
[012:762] [2023-12-08 00:24:10 +0000.542337][4e35] push video frame to H264
encoder. (100 frame for one log)

[012:762] [2023-12-08 00:24:10 +0000.542378][4e35] push video frame to H264


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

[012:762] [2023-12-08 00:24:10 +0000.542417][4e35] H264Encode::push video frame to


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

[012:762] [2023-12-08 00:24:10 +0000.542467][4e35] The input pts:10093 fps:30


[012:799] [2023-12-08 00:24:10 +0000.578897][4e35] H264Encode::H264SWEncoder get
callback, length:132613 type:1 nalType:1length:132609
[012:965] [2023-12-08 00:24:10 +0000.745455][4dc1] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4984 diff: 17
[013:127] [2023-12-08 00:24:10 +0000.906951][4dc1] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[013:166] [2023-12-08 00:24:10 +0000.945930][4dc1] The convert RGB to YUV take 2
[013:329] [2023-12-08 00:24:11 +0000.108934][4e35] Push an pts:10661 to dts queue.
[013:368] [2023-12-08 00:24:11 +0000.148540][4e35] last dts:10635 currentPts:10661
ppsOrSPS:0 queue length:2
[013:402] [2023-12-08 00:24:11 +0000.181874][4e35] DTS queue for
Generator:0x79ddb770b8 10730
[013:627] [2023-12-08 00:24:11 +0000.407610][4dc1] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[013:666] [2023-12-08 00:24:11 +0000.446133][4dc1] The convert RGB to YUV take 6
[013:735] [2023-12-08 00:24:11 +0000.514875][4e1b] resampled_data_size:13312
[013:742] [2023-12-08 00:24:11 +0000.522641][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:759] [2023-12-08 00:24:11 +0000.539544][4dc1] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[013:811] [2023-12-08 00:24:11 +0000.591106][4e1b] AF_SpeedFilter audio time
[013:811] [2023-12-08 00:24:11 +0000.591291][4e1b] AF_SpeedFilter audio time 111,
0x7a65664e80 out time: 371087950 org time: 371087950
[014:124] [2023-12-08 00:24:11 +0000.904696][4dc1] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[014:161] [2023-12-08 00:24:11 +0000.941657][4dc1] The convert RGB to YUV take 3
[014:187] [2023-12-08 00:24:11 +0000.967331][4dc5] haveEnoughProcessedData
internalAudioStream.length: 10
[014:220] [2023-12-08 00:24:12 +0000.351][4e1b] AF_SpeedFilter audio 0x7a65664e80
PullFrame
[014:234] [2023-12-08 00:24:12 +0000.14523][4e35] DTS queue for
Generator:0x79ddb770b8 11561
[014:284] [2023-12-08 00:24:12 +0000.64219][4e1b] RecordAudioSource::PullAudioFrame
[014:291] [2023-12-08 00:24:12 +0000.72064][4dc5] Run AGC when audioType = 0
[014:390] [2023-12-08 00:24:12 +0000.169887][4e34]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:8
[014:505] [2023-12-08 00:24:12 +0000.285523][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[014:506] [2023-12-08 00:24:12 +0000.286142][4dc1] operator(): Stop
[014:506] [2023-12-08 00:24:12 +0000.286335][4dc1] StopPullFrameAndWriteMp4
time:371088687 enter.

[014:506] [2023-12-08 00:24:12 +0000.286417][4dc1] StopRecording:


[014:511] [2023-12-08 00:24:12 +0000.291002][4e1b] resampled_data_size:512
[014:511] [2023-12-08 00:24:12 +0000.291303][4e1b] AF_SpeedFilter audio time 222,
0x7a65664e80 out time: 371088620 org time: 371088620
[014:511] [2023-12-08 00:24:12 +0000.291537][4e1b] PullAudioFrame: PullFrame audio
finished.
[014:511] [2023-12-08 00:24:12 +0000.291615][4e1b]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[014:514] [2023-12-08 00:24:12 +0000.294711][4e35]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:356
[014:516] [2023-12-08 00:24:12 +0000.296251][4dc0] stop recording
[014:516] [2023-12-08 00:24:12 +0000.296515][4dc0]
RecordingSessionInternalSimple:destroy media processers
[014:516] [2023-12-08 00:24:12 +0000.296607][4dc0] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[014:516] [2023-12-08 00:24:12 +0000.296723][4dc0] H264Encode::flushing hareware
Encoder
[014:517] [2023-12-08 00:24:12 +0000.297067][4dc0] Flush time:371088698 enter.

[014:518] [2023-12-08 00:24:12 +0000.298235][4dc0] H264Encoder encoder flush


[014:518] [2023-12-08 00:24:12 +0000.298401][4dc0] flush output queue
[014:741] [2023-12-08 00:24:12 +0000.521582][4e1c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:834] [2023-12-08 00:24:12 +0000.614260][4dc0] Flush leave. expire time = 317
ms

[014:834] [2023-12-08 00:24:12 +0000.614575][4dc0] ~H264EncodeWrap:


[014:834] [2023-12-08 00:24:12 +0000.614681][4dc0] ~H264Encode:
[014:834] [2023-12-08 00:24:12 +0000.614734][4dc0] teardownCompressionSession:
H264Encode::destroying Encoder
[014:835] [2023-12-08 00:24:12 +0000.614926][4dc0] Release time:371089016 enter.

[014:835] [2023-12-08 00:24:12 +0000.615331][4dc0] Release:


MediaCodecVideoEncoder::Release _inited:1
[014:835] [2023-12-08 00:24:12 +0000.615433][4dc0] Destroy time:371089016 enter.

[014:835] [2023-12-08 00:24:12 +0000.615485][4dc0] H264Encoder encoderDestroy


[014:835] [2023-12-08 00:24:12 +0000.615536][4dc0]
AndroidMediaCodecVideoEncoder::release env: 0x7afc700640
[014:835] [2023-12-08 00:24:12 +0000.615582][4dc0]
AndroidMediaCodecVideoEncoder::Destroy
[014:877] [2023-12-08 00:24:12 +0000.656820][4dc0] Destroy leave. expire time = 42
ms

[014:877] [2023-12-08 00:24:12 +0000.657309][4dc0] Release leave. expire time = 42


ms

[014:877] [2023-12-08 00:24:12 +0000.657535][4dc0] ~AndroidHwAvcEncoder


time:371089058 enter.

[014:878] [2023-12-08 00:24:12 +0000.658385][4dc0] Release time:371089059 enter.

[014:878] [2023-12-08 00:24:12 +0000.658664][4dc0] Release:


MediaCodecVideoEncoder:: has been released before, just return
[014:879] [2023-12-08 00:24:12 +0000.658965][4dc0] Release leave. expire time = 1
ms

[014:879] [2023-12-08 00:24:12 +0000.659052][4dc0] ~AndroidMediaCodecVideoEncoder


[014:879] [2023-12-08 00:24:12 +0000.659154][4dc0] ~WrapAndroidMediaCodec
time:371089060 enter.

[014:879] [2023-12-08 00:24:12 +0000.659331][4dc0] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[014:880] [2023-12-08 00:24:12 +0000.660662][4dc0] video hevc hw codec


destructor:0x7a6d8e2fb0

[014:881] [2023-12-08 00:24:12 +0000.661280][4dc0] ~AndroidHwAvcEncoder leave.


expire time = 4 ms

[014:881] [2023-12-08 00:24:12 +0000.661494][4dc0] teardownCompressionSession:


H264Encode::destroyed Encoder
[014:881] [2023-12-08 00:24:12 +0000.661694][4dc0]
RecordingSessionInternalSimple:destroy aac encoder output!
[014:882] [2023-12-08 00:24:12 +0000.661876][4dc0] AACSWEncode destructor
[014:899] [2023-12-08 00:24:12 +0000.679067][4e36] MP4 close file successfully
[014:899] [2023-12-08 00:24:12 +0000.679388][4e36] Recording session Internal:
notify recording ok
[014:899] [2023-12-08 00:24:12 +0000.679550][4e36] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4,
output_video_timestamp_:11827 last_video_pts_:11827
[014:900] [2023-12-08 00:24:12 +0000.679986][4e36] OnRecordFinish:
[014:914] [2023-12-08 00:24:12 +0000.694558][4e36] onRecordingOk: net seek
pos:0record video duration:11860record audio duration:11842
[014:915] [2023-12-08 00:24:12 +0000.695543][4e1c] destructMicSource_w:
[014:916] [2023-12-08 00:24:12 +0000.695888][4e1c] setOutput_w:
MicSource::setOutput() 0x0
[014:916] [2023-12-08 00:24:12 +0000.695978][4e1c] close external audio stream

[014:916] [2023-12-08 00:24:12 +0000.696263][4dc1] releaseThread 0x7a65663f80


[014:916] [2023-12-08 00:24:12 +0000.696356][4dc1] ~MicSource: Mic source
destroyed:0x7a6568aa00
[014:917] [2023-12-08 00:24:12 +0000.697621][4dc1] StopPullFrameAndWriteMp4 leave.
expire time = 411 ms

[014:918] [2023-12-08 00:24:12 +0000.697786][4dc1] DestroyPipelineAndFilters


time:371089099 enter.

[014:918] [2023-12-08 00:24:12 +0000.697889][4dc1] UnbindInputFilter 0x7a65664cc0


this 0x79a8ffe8c0
[014:918] [2023-12-08 00:24:12 +0000.697972][4dc1] UnbindInputFilter 0x7a65664e58
this 0x7a65664fd0
[014:918] [2023-12-08 00:24:12 +0000.698091][4dc1] UnbindInputFilter 0x79a8ffe8c0
this 0x79a04b20a0
[014:918] [2023-12-08 00:24:12 +0000.698163][4dc1] filter: filter pipeline destroy
this: 0x79a04b2000
[014:918] [2023-12-08 00:24:12 +0000.698737][4dc1] ClearVideoOfSources: recodring
total frames:0
[014:919] [2023-12-08 00:24:12 +0000.699674][4dc1] ClearVideoOfSources:
[014:920] [2023-12-08 00:24:12 +0000.699906][4dc1] GPUImageProcessing destruct.
[014:920] [2023-12-08 00:24:12 +0000.700027][4dc1] destroy TrivalImageDrawer
0x79bef0b040
[014:920] [2023-12-08 00:24:12 +0000.700103][4dc1] The shader has been initialize,
clean up them.

[014:920] [2023-12-08 00:24:12 +0000.700324][4dc1] ~OpenGLFrameBuffer:


[014:921] [2023-12-08 00:24:12 +0000.701037][4dc1] ~OpenGLFrameBuffer:
[014:921] [2023-12-08 00:24:12 +0000.701391][4dc1] ~OpenGLFrameBuffer:
[014:921] [2023-12-08 00:24:12 +0000.701594][4dc1] ~OpenGLFrameBuffer:
[014:922] [2023-12-08 00:24:12 +0000.701786][4dc1] ~OpenGLFrameBuffer:
[014:922] [2023-12-08 00:24:12 +0000.701979][4dc1] ~OpenGLFrameBuffer:
[014:922] [2023-12-08 00:24:12 +0000.702415][4dc1] GPUImageProcessing destruct
finish.
[014:922] [2023-12-08 00:24:12 +0000.702534][4dc1] GPURGBAFrame destruct.
[014:922] [2023-12-08 00:24:12 +0000.702689][4dc1] destroy OpenGLRenderProgram
0x79a8ffe698
[014:923] [2023-12-08 00:24:12 +0000.702951][4dc1] ~CameraSource time:371089104
enter.

[014:923] [2023-12-08 00:24:12 +0000.703023][4dc1] ~CameraSource leave. expire


time = 0 ms

[014:923] [2023-12-08 00:24:12 +0000.703110][4dc1] ~RecordAudioSource


time:371089104 enter.
[014:923] [2023-12-08 00:24:12 +0000.703193][4dc1] ~RecordAudioSource leave.
expire time = 0 ms

[014:923] [2023-12-08 00:24:12 +0000.703273][4dc1] DestroyPipelineAndFilters


leave. expire time = 5 ms

[015:142] [2023-12-08 00:24:12 +0000.922685][41f7]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[015:145] [2023-12-08 00:24:12 +0000.924795][41f7] machine model :redmi
[015:145] [2023-12-08 00:24:12 +0000.924953][41f7] Support this machine
model :redmi
[015:146] [2023-12-08 00:24:12 +0000.925902][41f7] global inited! current sdk
version: 07-20-936c45f
[015:146] [2023-12-08 00:24:12 +0000.926359][41f7] filter: filter pipeline
construtc this: 0x79be1b4780
[015:146] [2023-12-08 00:24:12 +0000.926508][41f7] MediaFilterGraph:
MediaFilterGraph construct
[015:147] [2023-12-08 00:24:12 +0000.927576][41f7] GLESContext:
[015:148] [2023-12-08 00:24:12 +0000.928456][41f7] The result of eglGetDisplay is:
0x1
[015:156] [2023-12-08 00:24:12 +0000.936019][41f7] The result of creation:
0x79c4d92900
[015:156] [2023-12-08 00:24:12 +0000.936705][41f7] The result of
eglCreatePbufferSurface is: 0x79c4d92980
[015:159] [2023-12-08 00:24:12 +0000.939142][41f7] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
[015:159] [2023-12-08 00:24:12 +0000.939254][41f7] The source 0 speed:1
[015:161] [2023-12-08 00:24:12 +0000.941447][41f7] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4,
delay: 0
[015:161] [2023-12-08 00:24:12 +0000.941577][41f7] CreateDecoderByVideoSource
time:371089342 enter.

[015:163] [2023-12-08 00:24:12 +0000.943235][41f7] running_decoder_count:0max


count:2
[015:163] [2023-12-08 00:24:12 +0000.943371][41f7] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x79ddb0fc00
[015:190] [2023-12-08 00:24:12 +0000.969854][4ea6] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79ddc38e00] Current FFmpeg version git-2021-06-16-
97cea6f

[015:391] [2023-12-08 00:24:13 +0000.170861][4ea6] OnStreamInfoFound: video


duration_: 11860
[015:394] [2023-12-08 00:24:13 +0000.174550][4ea7] NO get frame from decoder
[015:394] [2023-12-08 00:24:13 +0000.174608][41f7] start decoder
[015:395] [2023-12-08 00:24:13 +0000.175002][41f7] CreateDecoderByVideoSource
leave. expire time = 234 ms

[015:395] [2023-12-08 00:24:13 +0000.175167][41f7] BindInputFilter 0x79c4d9fc20


this 0x79dd9e2558
[015:395] [2023-12-08 00:24:13 +0000.175260][41f7] BindInputFilter 0x79dd9e2558
this 0x79dd9e2618
[015:395] [2023-12-08 00:24:13 +0000.175362][41f7] BindInputFilter 0x79c4d9fc20
this 0x79be189218
[015:395] [2023-12-08 00:24:13 +0000.175443][41f7] BindInputFilter 0x79be189218
this 0x79be1892d8
[015:395] [2023-12-08 00:24:13 +0000.175545][41f7] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
[015:395] [2023-12-08 00:24:13 +0000.175687][41f7] BindInputFilter 0x79dd9e2618
this 0x798ffcf358
[015:396] [2023-12-08 00:24:13 +0000.175794][41f7] BindInputFilter 0x798ffcf358
this 0x79be1b4820
[015:396] [2023-12-08 00:24:13 +0000.175902][41f7] BindInputFilter 0x79be1892d8
this 0x798ffcf418
[015:396] [2023-12-08 00:24:13 +0000.175983][41f7] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
[015:396] [2023-12-08 00:24:13 +0000.176428][4ea7] NO get frame from decoder
[015:399] [2023-12-08 00:24:13 +0000.179695][4ea7] NO get frame from decoder
[015:402] [2023-12-08 00:24:13 +0000.182193][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[015:402] [2023-12-08 00:24:13 +0000.182843][4ea7] NO get frame from decoder
[015:404] [2023-12-08 00:24:13 +0000.184414][41f7] machine model :redmi
[015:404] [2023-12-08 00:24:13 +0000.184658][41f7] Support this machine
model :redmi
[015:405] [2023-12-08 00:24:13 +0000.184790][41f7] global inited! current sdk
version: 07-20-936c45f
[015:405] [2023-12-08 00:24:13 +0000.185705][41f7] GetPipeline:
-----------------------------------------
[015:406] [2023-12-08 00:24:13 +0000.185851][41f7] GetPipeline: source:
0x79c4d9fa00
[015:406] [2023-12-08 00:24:13 +0000.185910][41f7] GetPipeline: filter: NULLFilter
[015:406] [2023-12-08 00:24:13 +0000.185962][41f7] GetPipeline: filter: NULLFilter
[015:406] [2023-12-08 00:24:13 +0000.186012][41f7] GetPipeline: filter: NULLFilter
[015:406] [2023-12-08 00:24:13 +0000.186060][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[015:406] [2023-12-08 00:24:13 +0000.186108][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[015:406] [2023-12-08 00:24:13 +0000.186154][41f7] GetPipeline: audio filter:
AudioNUllFilter
[015:406] [2023-12-08 00:24:13 +0000.186201][41f7] GetPipeline:
------------------------------------------
[015:406] [2023-12-08 00:24:13 +0000.186292][41f7] filter: filter pipeline2 update
pattern: 0
[015:406] [2023-12-08 00:24:13 +0000.186583][4ea7] NO get frame from decoder
[015:410] [2023-12-08 00:24:13 +0000.190611][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[015:412] [2023-12-08 00:24:13 +0000.191789][4ea7] NO get frame from decoder
[015:417] [2023-12-08 00:24:13 +0000.196816][4ea7] NO get frame from decoder
[015:420] [2023-12-08 00:24:13 +0000.200644][4ea7] NO get frame from decoder
[015:421] [2023-12-08 00:24:13 +0000.201524][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[015:421] [2023-12-08 00:24:13 +0000.201762][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[015:422] [2023-12-08 00:24:13 +0000.202261][41f7] DeviceInit:
[015:436] [2023-12-08 00:24:13 +0000.215949][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[015:438] [2023-12-08 00:24:13 +0000.218854][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[015:440] [2023-12-08 00:24:13 +0000.220336][41f7] CreatePlatformSpecificObjects:
[015:440] [2023-12-08 00:24:13 +0000.220543][41f7] audio device use null audio
input and opensl output
[015:440] [2023-12-08 00:24:13 +0000.220640][41f7] Create OpenSLES output module
with java VM support.
[015:441] [2023-12-08 00:24:13 +0000.221063][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[015:441] [2023-12-08 00:24:13 +0000.221701][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[015:444] [2023-12-08 00:24:13 +0000.224415][41f7] Create OpenSLES output module
with buffer num:2

[015:447] [2023-12-08 00:24:13 +0000.227032][41f7] Error(trace.cc:40): Init the


output and input for audio device template.
[015:447] [2023-12-08 00:24:13 +0000.227185][41f7] Init the output device.

[015:448] [2023-12-08 00:24:13 +0000.228125][41f7] Set the playout as stereo:1


[015:448] [2023-12-08 00:24:13 +0000.228229][41f7] Set the sample rate to be:44100

[015:448] [2023-12-08 00:24:13 +0000.228298][41f7] Low latency buffer size:256 low


sample rate:48000
[015:448] [2023-12-08 00:24:13 +0000.228357][41f7] DeviceInit: Done
[015:448] [2023-12-08 00:24:13 +0000.228653][41f7] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[015:450] [2023-12-08 00:24:13 +0000.230736][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[015:455] [2023-12-08 00:24:13 +0000.235196][41f7]
MediaFilterPlayer::SetPlayerNotify 0x7990038300
[015:457] [2023-12-08 00:24:13 +0000.237430][41f7]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[015:457] [2023-12-08 00:24:13 +0000.237639][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[015:467] [2023-12-08 00:24:13 +0000.247731][4eb2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79c4d4c118
[015:468] [2023-12-08 00:24:13 +0000.248744][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[015:471] [2023-12-08 00:24:13 +0000.251052][41f7] SetGraphLoop: SetGraphLoop 1
[015:471] [2023-12-08 00:24:13 +0000.251250][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[015:472] [2023-12-08 00:24:13 +0000.252686][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[015:485] [2023-12-08 00:24:13 +0000.265202][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[015:488] [2023-12-08 00:24:13 +0000.268199][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[015:489] [2023-12-08 00:24:13 +0000.268875][4eb4] Start:
[015:489] [2023-12-08 00:24:13 +0000.269171][4eb3] operator(): video render
started.
[015:489] [2023-12-08 00:24:13 +0000.269323][4eb3] DriveRender working... (1/200)
[015:489] [2023-12-08 00:24:13 +0000.269353][4eb4] Start:
[015:489] [2023-12-08 00:24:13 +0000.269393][4eb3] Warning(video_render.cc:390): No
picture to display (1/50)
[015:489] [2023-12-08 00:24:13 +0000.269528][4eb4] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[015:489] [2023-12-08 00:24:13 +0000.269603][4eb4] Reset: history total size: 98
[015:489] [2023-12-08 00:24:13 +0000.269660][4eb4] DeviceStart:
audioDevice_:0x79731a8000
[015:489] [2023-12-08 00:24:13 +0000.269706][4eb4] DeviceStart: time profile
playout init before
[015:489] [2023-12-08 00:24:13 +0000.269753][4eb4] DeviceStart: time profile
playout init end
[015:490] [2023-12-08 00:24:13 +0000.269830][4eb4] OpenSlesOutput:Start playout

[015:491] [2023-12-08 00:24:13 +0000.271509][4eb4] Create the opensl output player.


streamtype before:0

[015:491] [2023-12-08 00:24:13 +0000.271632][4eb4] Create the opensl output player.


streamtype after:3

[015:513] [2023-12-08 00:24:13 +0000.293517][4eb4] Enqueue opensl buffer size:1764


[015:544] [2023-12-08 00:24:13 +0000.324630][4eb4] DeviceStart: time profile
playout all end
[015:544] [2023-12-08 00:24:13 +0000.324683][4eb7]
PlayerSimpleBufferQueueCallbackHandler function
[015:545] [2023-12-08 00:24:13 +0000.324902][4eb4] operator(): Audio playback
started.
[015:545] [2023-12-08 00:24:13 +0000.324992][4eb7] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[015:545] [2023-12-08 00:24:13 +0000.325018][4eb4] operator(): Started now!
[015:545] [2023-12-08 00:24:13 +0000.325051][4eb7]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[015:545] [2023-12-08 00:24:13 +0000.325094][4eb5] Pull audio failed.(wait video!)
[015:545] [2023-12-08 00:24:13 +0000.325309][4eb5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[015:546] [2023-12-08 00:24:13 +0000.326276][4eb6] Error(video_source.cc:430): wait
decoder a frame: 0
[015:548] [2023-12-08 00:24:13 +0000.328425][4eb6] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[015:554] [2023-12-08 00:24:13 +0000.334652][4eb5] audio_frame_list_ empty
[015:555] [2023-12-08 00:24:13 +0000.335144][4eb6] OnVideoFrameReady(1/200)
[015:555] [2023-12-08 00:24:13 +0000.335440][4eb3] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[015:560] [2023-12-08 00:24:13 +0000.340727][4eb3] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:371089741
[015:592] [2023-12-08 00:24:13 +0000.372010][4eb6]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[015:693] [2023-12-08 00:24:13 +0000.473643][4eb5] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[015:694] [2023-12-08 00:24:13 +0000.473814][4eb5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[015:694] [2023-12-08 00:24:13 +0000.473959][4eb4] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[015:694] [2023-12-08 00:24:13 +0000.474109][4eb4] The audio playback speed:100
(1/100)
[015:694] [2023-12-08 00:24:13 +0000.474158][4eb4] lipsync_debug: The current
played audio timestamp is:0(1/50)
[015:694] [2023-12-08 00:24:13 +0000.474197][4eb4] First audio frame rendering
[015:788] [2023-12-08 00:24:13 +0000.568331][4eb3] lipsync_debug: render a video
frame
[015:788] [2023-12-08 00:24:13 +0000.568760][4eb3] lipsync_debug: First video frame
rendering.
[015:799] [2023-12-08 00:24:13 +0000.578954][4eb3]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:41 timeDelta:239 last
video ts:900 frame->pts:4590 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[015:799] [2023-12-08 00:24:13 +0000.579166][4eb3] lipsync_debug: tsDelta -
timeDelta = -198
[015:799] [2023-12-08 00:24:13 +0000.579276][4eb3] lipsync_debug:result remaining
time:0
[015:799] [2023-12-08 00:24:13 +0000.579330][4eb3] dynamic updated lipsync delay:0
[015:811] [2023-12-08 00:24:13 +0000.590885][4eb6] video frame wait audio frame:
last_video_timestamp:413 last_audio_timestamp:300.907
[015:939] [2023-12-08 00:24:13 +0000.718956][4dc5] haveEnoughProcessedData
internalAudioStream.length: 0
[016:253] [2023-12-08 00:24:14 +0000.33246][4eb3] lipsync_debug:displaying video
ts:60930 The current displayed video timestamp is:371090434
[016:262] [2023-12-08 00:24:14 +0000.42359][4eb3] lipsync_debug:remaining time:10
tsDelta - timeDelta:3
[016:262] [2023-12-08 00:24:14 +0000.42437][4eb3] lipsync_debug:result remaining
time:3
[016:289] [2023-12-08 00:24:14 +0000.69645][4dc5] Run AGC when audioType = 0
[016:290] [2023-12-08 00:24:14 +0000.69980][4dc5]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:476] [2023-12-08 00:24:14 +0000.256717][4eb6] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5992 diff: 9
[016:517] [2023-12-08 00:24:14 +0000.296834][4eb7]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[016:545] [2023-12-08 00:24:14 +0000.325531][4eb4] do work DoLipsync!
[016:545] [2023-12-08 00:24:14 +0000.325710][4eb4] total delay:263 videoTsMS:969
audioTsMS:706 diff:263
[016:546] [2023-12-08 00:24:14 +0000.325779][4eb4] Set the lipsync delay:263
[016:774] [2023-12-08 00:24:14 +0000.554751][4eb6] Error(video_source.cc:430): wait
decoder a frame: 0
[017:073] [2023-12-08 00:24:14 +0000.853223][4eb3] lipsync_debug:displaying video
ts:120690 The current displayed video timestamp is:371091254
[017:505] [2023-12-08 00:24:15 +0000.285118][4eb7]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[017:541] [2023-12-08 00:24:15 +0000.320966][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[017:542] [2023-12-08 00:24:15 +0000.322045][4eb4] Stop:
[017:544] [2023-12-08 00:24:15 +0000.323947][4eb3] operator(): Video Render
stopped.
[017:544] [2023-12-08 00:24:15 +0000.324400][4eb4] Stop:
[017:545] [2023-12-08 00:24:15 +0000.324903][4eb4] DeviceStop:
audioDevice_:0x79731a8000
[017:545] [2023-12-08 00:24:15 +0000.325095][4eb4] OpenSlesOutput:Stop playout

[017:548] [2023-12-08 00:24:15 +0000.328004][4eb4] DeviceStop: Done


[017:548] [2023-12-08 00:24:15 +0000.328336][4eb4] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[017:548] [2023-12-08 00:24:15 +0000.328480][4eb4] operator(): Stop now!
[017:598] [2023-12-08 00:24:15 +0000.378696][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[017:599] [2023-12-08 00:24:15 +0000.379089][41f7] StopPreView: Have Stopped,
operation cancel
[017:599] [2023-12-08 00:24:15 +0000.379203][41f7] Stop:
[017:599] [2023-12-08 00:24:15 +0000.379501][4eb4] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[017:600] [2023-12-08 00:24:15 +0000.380210][41f7] DeviceRelease:
audioDevice_:0x79731a8000
[017:600] [2023-12-08 00:24:15 +0000.380354][41f7] OpenSlesOutput:Stop playout

[017:600] [2023-12-08 00:24:15 +0000.380454][41f7] DeviceRelease: Release the


webrtc device object.
[017:601] [2023-12-08 00:24:15 +0000.381012][41f7] OpenSlesOutput destruct.
[017:601] [2023-12-08 00:24:15 +0000.381196][41f7] DeviceRelease: Done
[017:601] [2023-12-08 00:24:15 +0000.381379][41f7] Stop:
[017:601] [2023-12-08 00:24:15 +0000.381560][4eb3] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[017:605] [2023-12-08 00:24:15 +0000.385310][41f7] global uninited!
[017:606] [2023-12-08 00:24:15 +0000.386403][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[017:606] [2023-12-08 00:24:15 +0000.386550][41f7] ~MediaFilterGraph:
MediaFilterGraph destruct
[017:606] [2023-12-08 00:24:15 +0000.386576][41f7] RemoveVideoBackGroud: hava not
add video backgroud
[017:606] [2023-12-08 00:24:15 +0000.386616][41f7] UnbindInputFilter 0x798ffcf358
this 0x79be1b4820
[017:606] [2023-12-08 00:24:15 +0000.386649][41f7] ClearAllSource: remove source
filter, sourceid: 0x79c4d9fa00
[017:606] [2023-12-08 00:24:15 +0000.386669][41f7] DestoryDecoderByVideoSource
time:371091787 enter.

[017:606] [2023-12-08 00:24:15 +0000.386695][41f7] ~VideoBindDecoder time:371091787


enter.

[017:607] [2023-12-08 00:24:15 +0000.386946][41f7] CleanUp time:371091788 enter.

[017:612] [2023-12-08 00:24:15 +0000.392577][41f7] CleanUp leave. expire time = 5


ms

[017:612] [2023-12-08 00:24:15 +0000.392670][41f7] CleanUp time:371091793 enter.

[017:613] [2023-12-08 00:24:15 +0000.393085][41f7] CleanUp leave. expire time = 1


ms

[017:613] [2023-12-08 00:24:15 +0000.393713][41f7] ~VideoBindDecoder leave. expire


time = 7 ms

[017:614] [2023-12-08 00:24:15 +0000.393837][41f7] DestoryDecoderByVideoSource


leave. expire time = 8 ms

[017:614] [2023-12-08 00:24:15 +0000.393923][41f7] UnbindInputFilter 0x79dd9e2618


this 0x798ffcf358
[017:614] [2023-12-08 00:24:15 +0000.393993][41f7] UnbindInputFilter 0x79dd9e2558
this 0x79dd9e2618
[017:614] [2023-12-08 00:24:15 +0000.394058][41f7] UnbindInputFilter 0x79c4d9fc20
this 0x79dd9e2558
[017:614] [2023-12-08 00:24:15 +0000.394145][41f7] UnbindInputFilter 0x79be1892d8
this 0x798ffcf418
[017:614] [2023-12-08 00:24:15 +0000.394215][41f7] UnbindInputFilter 0x79be189218
this 0x79be1892d8
[017:614] [2023-12-08 00:24:15 +0000.394283][41f7] UnbindInputFilter 0x79c4d9fc20
this 0x79be189218
[017:615] [2023-12-08 00:24:15 +0000.394905][41f7] ~GLESContext:
[017:618] [2023-12-08 00:24:15 +0000.398178][41f7] GLESContext destruct finish.
[017:618] [2023-12-08 00:24:15 +0000.398322][41f7] filter: filter pipeline destroy
this: 0x79be1b4780
[017:619] [2023-12-08 00:24:15 +0000.399271][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[017:621] [2023-12-08 00:24:15 +0000.401326][41f7] machine model :redmi
[017:621] [2023-12-08 00:24:15 +0000.401476][41f7] Support this machine
model :redmi
[017:623] [2023-12-08 00:24:15 +0000.402963][41f7] global inited! current sdk
version: 07-20-936c45f
[017:624] [2023-12-08 00:24:15 +0000.403888][41f7] filter: filter pipeline
construtc this: 0x79c4c29680
[017:624] [2023-12-08 00:24:15 +0000.404022][41f7] MediaFilterGraph:
MediaFilterGraph construct
[017:624] [2023-12-08 00:24:15 +0000.404096][41f7] GLESContext:
[017:624] [2023-12-08 00:24:15 +0000.404171][41f7] The result of eglGetDisplay is:
0x1
[017:625] [2023-12-08 00:24:15 +0000.405620][41f7] The result of creation:
0x79c4beae00
[017:626] [2023-12-08 00:24:15 +0000.406046][41f7] The result of
eglCreatePbufferSurface is: 0x79c4beae80
[017:626] [2023-12-08 00:24:15 +0000.406508][41f7] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
[017:626] [2023-12-08 00:24:15 +0000.406631][41f7] The source 0 speed:1
[017:626] [2023-12-08 00:24:15 +0000.406717][41f7] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4,
delay: 0
[017:627] [2023-12-08 00:24:15 +0000.407351][41f7] CreateDecoderByVideoSource
time:371091808 enter.

[017:628] [2023-12-08 00:24:15 +0000.407885][41f7] running_decoder_count:0max


count:2
[017:628] [2023-12-08 00:24:15 +0000.407990][41f7] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x79ddb0fc00
[017:632] [2023-12-08 00:24:15 +0000.412074][4ebc] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79ddc38e00] Current FFmpeg version git-2021-06-16-
97cea6f

[017:687] [2023-12-08 00:24:15 +0000.467438][4dc5] haveEnoughProcessedData


internalAudioStream.length: 0
[017:802] [2023-12-08 00:24:15 +0000.582462][4ebc] OnStreamInfoFound: video
duration_: 11860
[017:806] [2023-12-08 00:24:15 +0000.586265][41f7] start decoder
[017:806] [2023-12-08 00:24:15 +0000.586566][41f7] CreateDecoderByVideoSource
leave. expire time = 179 ms

[017:806] [2023-12-08 00:24:15 +0000.586265][4ebd] NO get frame from decoder


[017:806] [2023-12-08 00:24:15 +0000.586743][41f7] BindInputFilter 0x79c4cb7e20
this 0x79be1892d8
[017:807] [2023-12-08 00:24:15 +0000.586982][41f7] BindInputFilter 0x79be1892d8
this 0x798fcaa0d8
[017:807] [2023-12-08 00:24:15 +0000.587099][41f7] BindInputFilter 0x79c4cb7e20
this 0x798fcaa258
[017:807] [2023-12-08 00:24:15 +0000.587161][41f7] BindInputFilter 0x798fcaa258
this 0x798fcaa318
[017:807] [2023-12-08 00:24:15 +0000.587199][41f7] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
[017:807] [2023-12-08 00:24:15 +0000.587315][41f7] BindInputFilter 0x798fcaa0d8
this 0x798fcaa558
[017:807] [2023-12-08 00:24:15 +0000.587367][41f7] BindInputFilter 0x798fcaa558
this 0x79c4c29720
[017:807] [2023-12-08 00:24:15 +0000.587418][41f7] BindInputFilter 0x798fcaa318
this 0x798fcaaf18
[017:807] [2023-12-08 00:24:15 +0000.587473][41f7] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371076254.mp4
[017:807] [2023-12-08 00:24:15 +0000.587654][4ebd] NO get frame from decoder
[017:809] [2023-12-08 00:24:15 +0000.588897][4ebd] NO get frame from decoder
[017:812] [2023-12-08 00:24:15 +0000.592205][4ebd] NO get frame from decoder
[017:814] [2023-12-08 00:24:15 +0000.594513][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[017:815] [2023-12-08 00:24:15 +0000.595045][41f7] MediaComposeFile time:371091996
enter.

[017:815] [2023-12-08 00:24:15 +0000.595227][41f7] RecordingSessionInternalSimple:


Create session internal:720 X 1280 fps:30
[017:815] [2023-12-08 00:24:15 +0000.595567][41f7] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[017:815] [2023-12-08 00:24:15 +0000.595662][41f7] Recording session using default
bitrate support by app:31457280
[017:817] [2023-12-08 00:24:15 +0000.596928][4ebd] NO get frame from decoder
[017:818] [2023-12-08 00:24:15 +0000.598013][4ebd] NO get frame from decoder
[017:819] [2023-12-08 00:24:15 +0000.599730][4ebd] NO get frame from decoder
[017:821] [2023-12-08 00:24:15 +0000.601071][4ebd] NO get frame from decoder
[017:821] [2023-12-08 00:24:15 +0000.601859][4ec7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x798ffab440
[017:823] [2023-12-08 00:24:15 +0000.603473][4ec7] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[017:824] [2023-12-08 00:24:15 +0000.604006][41f7] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[017:824] [2023-12-08 00:24:15 +0000.604652][41f7] GetPipeline:
-----------------------------------------
[017:825] [2023-12-08 00:24:15 +0000.604861][41f7] GetPipeline: source:
0x79c4cb7c00
[017:825] [2023-12-08 00:24:15 +0000.605007][41f7] GetPipeline: filter: NULLFilter
[017:825] [2023-12-08 00:24:15 +0000.605082][41f7] GetPipeline: filter: NULLFilter
[017:825] [2023-12-08 00:24:15 +0000.605129][41f7] GetPipeline: filter: NULLFilter
[017:825] [2023-12-08 00:24:15 +0000.605172][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[017:825] [2023-12-08 00:24:15 +0000.605213][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[017:825] [2023-12-08 00:24:15 +0000.605258][41f7] GetPipeline: audio filter:
AudioNUllFilter
[017:825] [2023-12-08 00:24:15 +0000.605301][41f7] GetPipeline:
------------------------------------------
[017:825] [2023-12-08 00:24:15 +0000.605354][41f7] filter: filter pipeline2 update
pattern: 2
[017:826] [2023-12-08 00:24:15 +0000.605987][41f7] MediaComposeFile leave. expire
time = 11 ms

[017:827] [2023-12-08 00:24:15 +0000.607741][41f7] machine model :redmi


[017:828] [2023-12-08 00:24:15 +0000.608008][41f7] Support this machine
model :redmi
[017:828] [2023-12-08 00:24:15 +0000.608070][41f7] global inited! current sdk
version: 07-20-936c45f
[017:882] [2023-12-08 00:24:15 +0000.662022][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[017:883] [2023-12-08 00:24:15 +0000.663453][41f7] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 274
[017:886] [2023-12-08 00:24:15 +0000.665898][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[017:886] [2023-12-08 00:24:15 +0000.666151][41f7] BeginCompose: BeginCompose, is
composing 0
[017:887] [2023-12-08 00:24:15 +0000.667645][4ec7] start recording, file path:
[017:888] [2023-12-08 00:24:15 +0000.668064][4ec7] MP4 session params: fps:30
width:1280 height:720 file name: fileFd: 274 audio_timescale:44100
video_timescale:90000
[017:888] [2023-12-08 00:24:15 +0000.668224][4ec7] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[017:888] [2023-12-08 00:24:15 +0000.668367][4ec7] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file name:
fileFD: 274
[017:888] [2023-12-08 00:24:15 +0000.668648][4ecc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79a09f6498
[017:889] [2023-12-08 00:24:15 +0000.669720][4ec7] fd_open successed
handle:0xb400007afc75a0b0
[017:890] [2023-12-08 00:24:15 +0000.670293][4ec7] create mp4 file:291
m_fileHandle: 0x79a8c90000
[017:890] [2023-12-08 00:24:15 +0000.670420][4ec7] MP4 file: is opened successfully
[017:890] [2023-12-08 00:24:15 +0000.670478][4ec7] setupMediaProcessers:
[017:890] [2023-12-08 00:24:15 +0000.670526][4ec7]
RecordingSessionInternalSimple:setup media processers.
[017:890] [2023-12-08 00:24:15 +0000.670570][4ec7] construct AAC encoder
[017:892] [2023-12-08 00:24:15 +0000.672255][4ec7] H264Encoder creating:
ultrafast012323
[017:892] [2023-12-08 00:24:15 +0000.672402][4ec7] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[017:893] [2023-12-08 00:24:15 +0000.673587][4ec7] H264Encode::GetMachineModel is
21121119VL
[017:894] [2023-12-08 00:24:15 +0000.673843][4ec7] H264Encoder machine_mode
is:21121119VL
[017:894] [2023-12-08 00:24:15 +0000.673943][4ec7] H264Encode::machine size :9
machine_mode:21121119VL
[017:894] [2023-12-08 00:24:15 +0000.674005][4ec7] H264Encode::machine array
size :22 machine_mode:21121119VL
[017:894] [2023-12-08 00:24:15 +0000.674054][4ec7] H264Encode::current machine
is :21121119VL auto check hw codec decide to use hw codec
[017:894] [2023-12-08 00:24:15 +0000.674100][4ec7] setupCompressionSession:
[017:894] [2023-12-08 00:24:15 +0000.674144][4ec7] H264Encode::creating hareware
Encoder
[017:894] [2023-12-08 00:24:15 +0000.674193][4ec7] AndroidHwAvcEncoder
time:371092075 enter.

[017:894] [2023-12-08 00:24:15 +0000.674719][4ec7] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007afc6a7380 address:0x79adcb8760
[017:895] [2023-12-08 00:24:15 +0000.675322][4ec7] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[017:895] [2023-12-08 00:24:15 +0000.675558][4ec7] The video avc hw codec address
is 0x7a65638b80
[017:896] [2023-12-08 00:24:15 +0000.676100][4ec7] AndroidHwAvcEncoder leave.
expire time = 2 ms

[017:896] [2023-12-08 00:24:15 +0000.676179][4ec7] RegisterEncodeCompleteCallback


time:371092077 enter.

[017:896] [2023-12-08 00:24:15 +0000.676578][4ec7] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[017:896] [2023-12-08 00:24:15 +0000.676656][4ec7] InitEncode time:371092077


enter.
[017:897] [2023-12-08 00:24:15 +0000.676808][4ec7] InitEncode:
MediaCodecVideoEncoder::Release _inited:1
[017:897] [2023-12-08 00:24:15 +0000.676868][4ec7] Create time:371092078 enter.

[017:897] [2023-12-08 00:24:15 +0000.676908][4ec7] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[017:897] [2023-12-08 00:24:15 +0000.676955][4ec7]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7a656f1700
[017:897] [2023-12-08 00:24:15 +0000.677230][4ec7] supported_type:audio/mp4a-latm
[017:897] [2023-12-08 00:24:15 +0000.677297][4ec7] supported_type:audio/mp4a-latm
[017:897] [2023-12-08 00:24:15 +0000.677350][4ec7] supported_type:audio/3gpp
[017:897] [2023-12-08 00:24:15 +0000.677395][4ec7] supported_type:audio/3gpp
[017:897] [2023-12-08 00:24:15 +0000.677444][4ec7] supported_type:audio/amr-wb
[017:897] [2023-12-08 00:24:15 +0000.677485][4ec7] supported_type:audio/amr-wb
[017:897] [2023-12-08 00:24:15 +0000.677534][4ec7] supported_type:audio/flac
[017:897] [2023-12-08 00:24:15 +0000.677576][4ec7] supported_type:audio/flac
[017:897] [2023-12-08 00:24:15 +0000.677639][4ec7] supported_type:audio/opus
[017:897] [2023-12-08 00:24:15 +0000.677729][4ec7] supported_type:video/avc
[017:898] [2023-12-08 00:24:15 +0000.677767][4ec7] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[017:898] [2023-12-08 00:24:15 +0000.677875][4ec7] hwCodecPrefix :OMX.qcom.
[017:898] [2023-12-08 00:24:15 +0000.677914][4ec7] hwCodecPrefix :OMX.Nvidia.
[017:898] [2023-12-08 00:24:15 +0000.677944][4ec7] hwCodecPrefix :OMX.IMG.TOPAZ
[017:898] [2023-12-08 00:24:15 +0000.677973][4ec7] hwCodecPrefix :OMX.Exynos
[017:898] [2023-12-08 00:24:15 +0000.678001][4ec7] hwCodecPrefix :OMX.MTK
[017:898] [2023-12-08 00:24:15 +0000.678045][4ec7] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[017:898] [2023-12-08 00:24:15 +0000.678092][4ec7] mediacodec_createCodecByName
time:371092079 enter.

[017:898] [2023-12-08 00:24:15 +0000.678132][4ec7] WrapAndroidMediaCodec


time:371092079 enter.

[017:898] [2023-12-08 00:24:15 +0000.678341][4ec7] WrapAndroidMediaCodec leave.


expire time = 0 ms

[018:076] [2023-12-08 00:24:15 +0000.856083][4ec7] mediacodec_createCodecByName


leave. expire time = 178 ms

[018:076] [2023-12-08 00:24:15 +0000.856283][4ec7] WrapAndroidMediaFromat


time:371092257 enter.

[018:076] [2023-12-08 00:24:15 +0000.856634][4ec7] WrapAndroidMediaFromat leave.


expire time = 0 ms

[018:163] [2023-12-08 00:24:15 +0000.943641][4ec7] Destroy time:371092344 enter.

[018:164] [2023-12-08 00:24:15 +0000.943795][4ec7] WrapAndroidMediaFromat::


Destroy
[018:164] [2023-12-08 00:24:15 +0000.943885][4ec7] Destroy leave. expire time = 1
ms

[018:164] [2023-12-08 00:24:15 +0000.943958][4ec7] ~WrapAndroidMediaFromat


time:371092345 enter.

[018:164] [2023-12-08 00:24:15 +0000.944026][4ec7] ~WrapAndroidMediaFromat leave.


expire time = 0 ms
[018:164] [2023-12-08 00:24:15 +0000.944111][4ec7] Create leave. expire time = 267
ms

[018:164] [2023-12-08 00:24:15 +0000.944179][4ec7] isSemiPlanarSupport


time:371092345 enter.

[018:164] [2023-12-08 00:24:15 +0000.944241][4ec7] H264Encoder isSemiPlanarSupport


[018:164] [2023-12-08 00:24:15 +0000.944314][4ec7] isSemiPlanarSupport leave.
expire time = 0 ms

[018:164] [2023-12-08 00:24:15 +0000.944381][4ec7] creat hw H264Encoder success,


isSemiPlanar:1
[018:164] [2023-12-08 00:24:15 +0000.944617][4ec7] InitEncode leave. expire time =
268 ms

[018:164] [2023-12-08 00:24:15 +0000.944703][4ec7] H264Encode::created Encoder


[018:165] [2023-12-08 00:24:15 +0000.944779][4ec7] H264Encode:: H264 encoder
created.
[018:165] [2023-12-08 00:24:15 +0000.944827][4ec7] H264 encoder created.
[018:165] [2023-12-08 00:24:15 +0000.944875][4ec7]
RecordingSessionInternalSimple:created avc encoder avc: 0x79bef0e880
[018:165] [2023-12-08 00:24:15 +0000.944926][4ec7] setOutput:
[018:165] [2023-12-08 00:24:15 +0000.944972][4ec7]
RecordingSessionInternalSimple:encoder set output to muxer!
[018:165] [2023-12-08 00:24:15 +0000.945016][4ec7] request a key frame
[018:165] [2023-12-08 00:24:15 +0000.945057][4ec7] H264Encode:: request a key frame
[018:167] [2023-12-08 00:24:15 +0000.947519][4ec7] setDisplayRotate :0
[018:168] [2023-12-08 00:24:15 +0000.947954][4ec7] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[018:168] [2023-12-08 00:24:15 +0000.948732][4ec8] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[018:174] [2023-12-08 00:24:15 +0000.953790][4ec8]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[018:221] [2023-12-08 00:24:16 +0000.1406][4ec8] Push an pts:137 to dts queue.
[018:287] [2023-12-08 00:24:16 +0000.67347][4dc5] Run AGC when audioType = 0
[018:304] [2023-12-08 00:24:16 +0000.84600][4ec7] setDisplayRotate :0
[018:305] [2023-12-08 00:24:16 +0000.84782][4ec7] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[018:306] [2023-12-08 00:24:16 +0000.86310][4ecc] add aac audio track with id:1
[018:306] [2023-12-08 00:24:16 +0000.86628][4ecc] audio start ts:0
[018:306] [2023-12-08 00:24:16 +0000.86732][4ecc] the audio frame has been written
into MP4 file
[018:346] [2023-12-08 00:24:16 +0000.126422][4eca] Error(video_source.cc:430): wait
decoder a frame: 0
[018:351] [2023-12-08 00:24:16 +0000.131174][4ecb] audio frame wait video
frame.last_video_timestamp:609 last_audio_timestamp:811.746
[018:399] [2023-12-08 00:24:16 +0000.179630][4ecb] audio_frame_list_ empty
[018:453] [2023-12-08 00:24:16 +0000.233148][4ec8] h264 add frame header cdr flag
[018:455] [2023-12-08 00:24:16 +0000.234907][4ec8] h264 add frame header cdr flag
[018:456] [2023-12-08 00:24:16 +0000.235996][4ec8] Received key frame:10
[018:456] [2023-12-08 00:24:16 +0000.236297][4ec8] H264Encode:: get a sps pps
header!headerSize:30
[018:457] [2023-12-08 00:24:16 +0000.237690][4ecc] get the H.264 SPS parameter
[018:458] [2023-12-08 00:24:16 +0000.238130][4ecc] add video track with id:2
[018:459] [2023-12-08 00:24:16 +0000.239395][4ecc] get the H.264 PPS parameter
[018:464] [2023-12-08 00:24:16 +0000.244569][4ecc] get the H.264 IDR frame
[018:464] [2023-12-08 00:24:16 +0000.244731][4ecc] resss:true
[018:465] [2023-12-08 00:24:16 +0000.244772][4ecc] video start ts:10
[018:465] [2023-12-08 00:24:16 +0000.244924][4ecc] the video frame has been written
into MP4 file
[018:501] [2023-12-08 00:24:16 +0000.280883][4ec8] last dts:108 currentPts:137
ppsOrSPS:0 queue length:14
[018:569] [2023-12-08 00:24:16 +0000.349745][4ec8] DTS queue for
Generator:0x79a09f66b8 343 382 413 435 472 504 538 577 609 641 677 715
[018:780] [2023-12-08 00:24:16 +0000.560650][4ecb] audio_frame_list_ empty
[018:781] [2023-12-08 00:24:16 +0000.561244][4eca] Error(video_source.cc:430): wait
decoder a frame: 18
[018:813] [2023-12-08 00:24:16 +0000.593234][4ec8] Push an pts:1465 to dts queue.
[018:839] [2023-12-08 00:24:16 +0000.619401][4ec8] DTS queue for
Generator:0x79a09f66b8 1238 1268 1296 1341 1367 1399 1433 1465
[018:876] [2023-12-08 00:24:16 +0000.656173][4ec8] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:1597
[018:876] [2023-12-08 00:24:16 +0000.656303][4ec8] push video frame to H264
encoder. (100 frame for one log)

[018:876] [2023-12-08 00:24:16 +0000.656361][4ec8] push video frame to H264


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

[018:876] [2023-12-08 00:24:16 +0000.656407][4ec8] H264Encode::push video frame to


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

[018:876] [2023-12-08 00:24:16 +0000.656459][4ec8] The input pts:1597 fps:30


[018:898] [2023-12-08 00:24:16 +0000.678403][4ec8] SendFrame
encodedImage._timeStamp:1465encodedImage->_length:152881
[018:898] [2023-12-08 00:24:16 +0000.678557][4ec8] last dts:1433 currentPts:1465
ppsOrSPS:0 queue length:7
[018:898] [2023-12-08 00:24:16 +0000.678616][4ec8] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1465 pts:1465
[018:934] [2023-12-08 00:24:16 +0000.713955][4ec8] H264Encode::H264SWEncoder get
callback, length:139697 type:1 nalType:1length:139693
[019:103] [2023-12-08 00:24:16 +0000.883272][4ec8] h264 add frame header cdr flag
[019:104] [2023-12-08 00:24:16 +0000.884044][4ec8] Received key frame:1998
[019:104] [2023-12-08 00:24:16 +0000.884136][4ec8] DTS queue for
Generator:0x79a09f66b8 2042 2070 2103 2130 2164 2203 2233 2260 2299
[019:129] [2023-12-08 00:24:16 +0000.908952][4ecc] get the H.264 IDR frame
[019:149] [2023-12-08 00:24:16 +0000.929490][4ecb] audio_frame_list_ empty
[019:162] [2023-12-08 00:24:16 +0000.942292][4eca] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6920 diff: 81
[019:287] [2023-12-08 00:24:17 +0000.67618][4ec8] Push an pts:2812 to dts queue.
[019:337] [2023-12-08 00:24:17 +0000.117181][4ec8] last dts:2777 currentPts:2812
ppsOrSPS:0 queue length:5
[019:361] [2023-12-08 00:24:17 +0000.141235][4ec8] DTS queue for
Generator:0x79a09f66b8 2864 2903 2952 2975 3009 3038 3074 3110 3131
[019:425] [2023-12-08 00:24:17 +0000.204802][4ec7] setDisplayRotate :0
[019:425] [2023-12-08 00:24:17 +0000.204910][4ec7] 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
[019:427] [2023-12-08 00:24:17 +0000.207512][4eca] Error(video_source.cc:430): wait
decoder a frame: 0
[019:512] [2023-12-08 00:24:17 +0000.291858][4dc5] haveEnoughProcessedData
internalAudioStream.length: 10
[019:525] [2023-12-08 00:24:17 +0000.305318][4ecb] audio_frame_list_ empty
[019:655] [2023-12-08 00:24:17 +0000.434906][4ec8] DTS queue for
Generator:0x79a09f66b8 3830
[019:747] [2023-12-08 00:24:17 +0000.527764][4ec8] h264 add frame header cdr flag
[019:748] [2023-12-08 00:24:17 +0000.528445][4ec8] Received key frame:3998
[019:749] [2023-12-08 00:24:17 +0000.529632][4ec8] Push an pts:4140 to dts queue.
[019:769] [2023-12-08 00:24:17 +0000.549565][4ecc] get the H.264 IDR frame
[019:814] [2023-12-08 00:24:17 +0000.594499][4ec7] setDisplayRotate :0
[019:814] [2023-12-08 00:24:17 +0000.594651][4ec7] 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
[019:840] [2023-12-08 00:24:17 +0000.620346][4ec8] last dts:4097 currentPts:4140
ppsOrSPS:0 queue length:6
[019:858] [2023-12-08 00:24:17 +0000.638538][4eca] Error(video_source.cc:430): wait
decoder a frame: 0
[019:936] [2023-12-08 00:24:17 +0000.715925][4ecb] audio_frame_list_ empty
[019:986] [2023-12-08 00:24:17 +0000.766128][4ec8] DTS queue for
Generator:0x79a09f66b8 4600 4640 4667 4700
[020:030] [2023-12-08 00:24:17 +0000.810245][4ec8] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:4965
[020:030] [2023-12-08 00:24:17 +0000.810415][4ec8] push video frame to H264
encoder. (100 frame for one log)

[020:030] [2023-12-08 00:24:17 +0000.810484][4ec8] push video frame to H264


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

[020:030] [2023-12-08 00:24:17 +0000.810527][4ec8] H264Encode::push video frame to


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

[020:030] [2023-12-08 00:24:17 +0000.810581][4ec8] The input pts:4965 fps:30


[020:049] [2023-12-08 00:24:17 +0000.829230][4ec8] SendFrame
encodedImage._timeStamp:4799encodedImage->_length:107145
[020:059] [2023-12-08 00:24:17 +0000.838949][4ec8] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4836 pts:4836
[020:177] [2023-12-08 00:24:17 +0000.957524][4ec7] setDisplayRotate :0
[020:177] [2023-12-08 00:24:17 +0000.957633][4ec7] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[020:188] [2023-12-08 00:24:17 +0000.968523][4ec8] H264Encode::H264SWEncoder get
callback, length:23082 type:1 nalType:1length:23078
[020:233] [2023-12-08 00:24:18 +0000.13030][4ec8] Push an pts:5465 to dts queue.
[020:262] [2023-12-08 00:24:18 +0000.42050][4eca] Error(video_source.cc:430): wait
decoder a frame: 0
[020:262] [2023-12-08 00:24:18 +0000.42159][4ec8] DTS queue for
Generator:0x79a09f66b8 5435 5465 5498 5535
[020:267] [2023-12-08 00:24:18 +0000.47069][4ec8] last dts:5435 currentPts:5465
ppsOrSPS:0 queue length:3
[020:286] [2023-12-08 00:24:18 +0000.66030][4dc6] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:286] [2023-12-08 00:24:18 +0000.66313][4dc6] _deviceSampleRate:48000

[020:286] [2023-12-08 00:24:18 +0000.66564][4dc5] Run AGC when audioType = 0


[020:287] [2023-12-08 00:24:18 +0000.67308][4dc5]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:308] [2023-12-08 00:24:18 +0000.88262][4ecb] audio_frame_list_ empty
[020:460] [2023-12-08 00:24:18 +0000.239802][4ec8] h264 add frame header cdr flag
[020:460] [2023-12-08 00:24:18 +0000.240451][4ec8] Received key frame:5998
[020:503] [2023-12-08 00:24:18 +0000.283227][4ecc] get the H.264 IDR frame
[020:546] [2023-12-08 00:24:18 +0000.326014][4ec8] DTS queue for
Generator:0x79a09f66b8 6164 6203 6232 6261 6300 6331 6381 6413 6439
[020:648] [2023-12-08 00:24:18 +0000.428309][4ec8] Push an pts:6803 to dts queue.
[020:671] [2023-12-08 00:24:18 +0000.451384][4eca] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7944 diff: 57
[020:675] [2023-12-08 00:24:18 +0000.455772][4ecb] audio_frame_list_ empty
[020:717] [2023-12-08 00:24:18 +0000.497280][4ec8] last dts:6763 currentPts:6803
ppsOrSPS:0 queue length:10
[020:767] [2023-12-08 00:24:18 +0000.546838][4ec8] DTS queue for
Generator:0x79a09f66b8 6995 7035 7059 7097 7132 7165 7198 7236 7263
[020:855] [2023-12-08 00:24:18 +0000.634815][4ec7] setDisplayRotate :0
[020:855] [2023-12-08 00:24:18 +0000.634936][4ec7] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[020:862] [2023-12-08 00:24:18 +0000.642537][4eca] Error(video_source.cc:430): wait
decoder a frame: 0
[021:061] [2023-12-08 00:24:18 +0000.841781][4ecb] audio_frame_list_ empty
[021:231] [2023-12-08 00:24:19 +0000.11297][4eca] Error(video_source.cc:430): wait
decoder a frame: 0
[021:285] [2023-12-08 00:24:19 +0000.65188][4ec8] DTS queue for
Generator:0x79a09f66b8 7961
[021:312] [2023-12-08 00:24:19 +0000.93720][4ec8] h264 add frame header cdr flag
[021:314] [2023-12-08 00:24:19 +0000.94514][4ec8] Received key frame:7992
[021:324] [2023-12-08 00:24:19 +0000.104302][4ec8] Push an pts:8125 to dts queue.
[021:330] [2023-12-08 00:24:19 +0000.109797][4dc5] haveEnoughProcessedData
internalAudioStream.length: 10
[021:336] [2023-12-08 00:24:19 +0000.116056][4ecc] get the H.264 IDR frame
[021:363] [2023-12-08 00:24:19 +0000.142864][4ec8] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:8326
[021:363] [2023-12-08 00:24:19 +0000.143073][4ec8] push video frame to H264
encoder. (100 frame for one log)

[021:363] [2023-12-08 00:24:19 +0000.143196][4ec8] push video frame to H264


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

[021:363] [2023-12-08 00:24:19 +0000.143273][4ec8] H264Encode::push video frame to


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

[021:363] [2023-12-08 00:24:19 +0000.143380][4ec8] The input pts:8326 fps:30


[021:368] [2023-12-08 00:24:19 +0000.147828][4ec8] SendFrame
encodedImage._timeStamp:8125encodedImage->_length:129221
[021:368] [2023-12-08 00:24:19 +0000.148025][4ec8] last dts:8096 currentPts:8125
ppsOrSPS:0 queue length:7
[021:387] [2023-12-08 00:24:19 +0000.167222][4ec8] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8191 pts:8191
[021:422] [2023-12-08 00:24:19 +0000.202684][4ec8] H264Encode::H264SWEncoder get
callback, length:129292 type:1 nalType:1length:129288
[021:450] [2023-12-08 00:24:19 +0000.230549][4ecb] audio_frame_list_ empty
[021:521] [2023-12-08 00:24:19 +0000.300834][4ec8] DTS queue for
Generator:0x79a09f66b8 8593 8629 8658 8696 8729 8762 8798 8835 8864 8908 8934 8963
[021:709] [2023-12-08 00:24:19 +0000.488989][4ec7] setDisplayRotate :0
[021:709] [2023-12-08 00:24:19 +0000.489285][4ec7] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[021:767] [2023-12-08 00:24:19 +0000.547769][4ec8] Push an pts:9466 to dts queue.
[021:807] [2023-12-08 00:24:19 +0000.587635][4ec8] last dts:9434 currentPts:9466
ppsOrSPS:0 queue length:8
[021:809] [2023-12-08 00:24:19 +0000.588813][4ec8] DTS queue for
Generator:0x79a09f66b8 9499 9527 9563 9595 9627 9664 9696 9730
[021:829] [2023-12-08 00:24:19 +0000.609132][4eca] Error(video_source.cc:430): wait
decoder a frame: 19
[021:842] [2023-12-08 00:24:19 +0000.622360][4ecb] audio_frame_list_ empty
[021:930] [2023-12-08 00:24:19 +0000.710720][4eca] video frame wait audio frame:
last_video_timestamp:10402 last_audio_timestamp:10189.8
[021:982] [2023-12-08 00:24:19 +0000.762371][4ec8] h264 add frame header cdr flag
[021:983] [2023-12-08 00:24:19 +0000.763340][4ec8] Received key frame:9996
[021:989] [2023-12-08 00:24:19 +0000.769720][4ecc] get the H.264 IDR frame
[022:105] [2023-12-08 00:24:19 +0000.884817][4ec8] DTS queue for
Generator:0x79a09f66b8 10402 10436 10463
[022:186] [2023-12-08 00:24:19 +0000.966062][4ec8] Push an pts:10797 to dts queue.
[022:223] [2023-12-08 00:24:20 +0000.3019][4ec8] last dts:10761 currentPts:10797
ppsOrSPS:0 queue length:5
[022:242] [2023-12-08 00:24:20 +0000.21988][4eca] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8944 diff: 57
[022:286] [2023-12-08 00:24:20 +0000.66472][4dc5] Run AGC when audioType = 0
[022:315] [2023-12-08 00:24:20 +0000.95763][4ec8] DTS queue for
Generator:0x79a09f66b8 11228 11265 11292
[022:322] [2023-12-08 00:24:20 +0000.102504][4eca] Error(video_source.cc:430): wait
decoder a frame: 68
[022:335] [2023-12-08 00:24:20 +0000.115581][4ebd] av_read_frame AVERROR_EOF
[022:392] [2023-12-08 00:24:20 +0000.171966][4ec8] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:11694
[022:392] [2023-12-08 00:24:20 +0000.172142][4ec8] push video frame to H264
encoder. (100 frame for one log)

[022:392] [2023-12-08 00:24:20 +0000.172340][4ec8] push video frame to H264


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

[022:392] [2023-12-08 00:24:20 +0000.172439][4ec8] H264Encode::push video frame to


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

[022:392] [2023-12-08 00:24:20 +0000.172537][4ec8] The input pts:11694 fps:30


[022:398] [2023-12-08 00:24:20 +0000.178332][4ec8] SendFrame
encodedImage._timeStamp:11462encodedImage->_length:132913
[022:425] [2023-12-08 00:24:20 +0000.205273][4ebd] OnReceiveEOF:
[022:425] [2023-12-08 00:24:20 +0000.205619][4ebd] OnDecoderEOF time:371096606
enter.

[022:426] [2023-12-08 00:24:20 +0000.205883][4ebd] OnDecoderEOF leave. expire time


= 1 ms

[022:426] [2023-12-08 00:24:20 +0000.206049][4ebd] OnDecoderFinished:


OnDecoderFinished total decoder frames:356 this:0x79c4cb7c00
[022:426] [2023-12-08 00:24:20 +0000.206102][4ebb] CleanUp time:371096607 enter.

[022:428] [2023-12-08 00:24:20 +0000.208231][4ecb] PullAudioFrame: PullFrame audio


finished.
[022:428] [2023-12-08 00:24:20 +0000.208413][4ecb]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[022:428] [2023-12-08 00:24:20 +0000.208489][4ecb] OnAudioTimer: OnAudioTimer
return
[022:431] [2023-12-08 00:24:20 +0000.211766][4ec7] setDisplayRotate :0
[022:432] [2023-12-08 00:24:20 +0000.211967][4ec7] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[022:432] [2023-12-08 00:24:20 +0000.212242][4eca]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[022:432] [2023-12-08 00:24:20 +0000.212593][4eca] OnVideoTimer: OnVideoTimer
EndComposeFile
[022:432] [2023-12-08 00:24:20 +0000.212636][4eca] EndComposeFile: EndComposeFile,
is composing 1
[022:436] [2023-12-08 00:24:20 +0000.216136][4ec8] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11561 pts:11561
[022:439] [2023-12-08 00:24:20 +0000.219503][4ec8]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:356
[022:439] [2023-12-08 00:24:20 +0000.219635][4ec8]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x79c4d6d800
[022:442] [2023-12-08 00:24:20 +0000.222918][4ebb] CleanUp leave. expire time = 17
ms

[022:443] [2023-12-08 00:24:20 +0000.223218][4ebb] clean up


[022:443] [2023-12-08 00:24:20 +0000.223354][4ebb] running_decoder_count:0max
count:2
[022:443] [2023-12-08 00:24:20 +0000.223488][4ec9]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[022:443] [2023-12-08 00:24:20 +0000.223586][4ec9]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[022:444] [2023-12-08 00:24:20 +0000.223904][4ec7] stop recording
[022:444] [2023-12-08 00:24:20 +0000.224047][4ec7]
RecordingSessionInternalSimple:destroy media processers
[022:444] [2023-12-08 00:24:20 +0000.224148][4ec7] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[022:444] [2023-12-08 00:24:20 +0000.224203][4ec7] H264Encode::flushing hareware
Encoder
[022:445] [2023-12-08 00:24:20 +0000.225194][4ec7] Flush time:371096626 enter.

[022:445] [2023-12-08 00:24:20 +0000.225557][4ec7] H264Encoder encoder flush


[022:446] [2023-12-08 00:24:20 +0000.225937][4ec7] flush output queue
[022:449] [2023-12-08 00:24:20 +0000.229734][4ec7] H264Encode::H264SWEncoder get
callback, length:150542 type:1 nalType:1length:150538
[022:788] [2023-12-08 00:24:20 +0000.567909][4ec7] Flush leave. expire time = 343
ms

[022:788] [2023-12-08 00:24:20 +0000.568137][4ec7] ~H264EncodeWrap:


[022:788] [2023-12-08 00:24:20 +0000.568190][4ec7] ~H264Encode:
[022:788] [2023-12-08 00:24:20 +0000.568239][4ec7] teardownCompressionSession:
H264Encode::destroying Encoder
[022:788] [2023-12-08 00:24:20 +0000.568279][4ec7] Release time:371096969 enter.

[022:788] [2023-12-08 00:24:20 +0000.568491][4ec7] Release:


MediaCodecVideoEncoder::Release _inited:1
[022:788] [2023-12-08 00:24:20 +0000.568558][4ec7] Destroy time:371096969 enter.

[022:788] [2023-12-08 00:24:20 +0000.568596][4ec7] H264Encoder encoderDestroy


[022:788] [2023-12-08 00:24:20 +0000.568646][4ec7]
AndroidMediaCodecVideoEncoder::release env: 0x79bef0e9c0
[022:788] [2023-12-08 00:24:20 +0000.568683][4ec7]
AndroidMediaCodecVideoEncoder::Destroy
[022:829] [2023-12-08 00:24:20 +0000.609496][4ec7] Destroy leave. expire time = 41
ms

[022:829] [2023-12-08 00:24:20 +0000.609739][4ec7] Release leave. expire time = 41


ms
[022:830] [2023-12-08 00:24:20 +0000.609789][4ec7] ~AndroidHwAvcEncoder
time:371097011 enter.

[022:830] [2023-12-08 00:24:20 +0000.610006][4ec7] Release time:371097011 enter.

[022:830] [2023-12-08 00:24:20 +0000.610071][4ec7] Release:


MediaCodecVideoEncoder:: has been released before, just return
[022:830] [2023-12-08 00:24:20 +0000.610111][4ec7] Release leave. expire time = 0
ms

[022:830] [2023-12-08 00:24:20 +0000.610150][4ec7] ~AndroidMediaCodecVideoEncoder


[022:830] [2023-12-08 00:24:20 +0000.610186][4ec7] ~WrapAndroidMediaCodec
time:371097011 enter.

[022:830] [2023-12-08 00:24:20 +0000.610226][4ec7] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[022:830] [2023-12-08 00:24:20 +0000.610264][4ec7] video hevc hw codec


destructor:0x7a65638b80

[022:830] [2023-12-08 00:24:20 +0000.610354][4ec7] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[022:830] [2023-12-08 00:24:20 +0000.610409][4ec7] teardownCompressionSession:


H264Encode::destroyed Encoder
[022:830] [2023-12-08 00:24:20 +0000.610453][4ec7]
RecordingSessionInternalSimple:destroy aac encoder output!
[022:830] [2023-12-08 00:24:20 +0000.610489][4ec7] AACSWEncode destructor
[022:845] [2023-12-08 00:24:20 +0000.625479][4ecc] fd_close successed!
[022:847] [2023-12-08 00:24:20 +0000.627555][4ecc] MP4 close file successfully
[022:847] [2023-12-08 00:24:20 +0000.627724][4ecc] Recording session Internal:
notify recording ok
[022:848] [2023-12-08 00:24:20 +0000.627788][4ecc] onRecordingOk: Recording Ok,
compose use time: 4962, averagefps 0
[022:848] [2023-12-08 00:24:20 +0000.627837][4ecc] OnReceiveEOF:
[022:850] [2023-12-08 00:24:20 +0000.629821][4eca] OnVideoTimer: OnVideoTimer
return
[022:965] [2023-12-08 00:24:20 +0000.745620][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[022:966] [2023-12-08 00:24:20 +0000.745800][41f7] ~MediaComposeFile time:371097147
enter.

[022:966] [2023-12-08 00:24:20 +0000.745850][41f7] CancelCompose: CancelCompose,


is composing 0
[022:966] [2023-12-08 00:24:20 +0000.746033][4ec7] stop recording
[022:966] [2023-12-08 00:24:20 +0000.746149][4ec7] we have stopped recording before
[022:967] [2023-12-08 00:24:20 +0000.746838][41f7] ~MediaComposeFile leave. expire
time = 1 ms

[022:967] [2023-12-08 00:24:20 +0000.747105][41f7] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[022:969] [2023-12-08 00:24:20 +0000.748789][41f7] global uninited!
[022:969] [2023-12-08 00:24:20 +0000.749232][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[022:969] [2023-12-08 00:24:20 +0000.749440][41f7] ~MediaFilterGraph:
MediaFilterGraph destruct
[022:969] [2023-12-08 00:24:20 +0000.749528][41f7] RemoveVideoBackGroud: hava not
add video backgroud
[022:969] [2023-12-08 00:24:20 +0000.749619][41f7] UnbindInputFilter 0x798fcaa558
this 0x79c4c29720
[022:969] [2023-12-08 00:24:20 +0000.749716][41f7] ClearAllSource: remove source
filter, sourceid: 0x79c4cb7c00
[022:970] [2023-12-08 00:24:20 +0000.749824][41f7] DestoryDecoderByVideoSource
time:371097151 enter.

[022:970] [2023-12-08 00:24:20 +0000.749886][41f7] ~VideoBindDecoder time:371097151


enter.

[022:972] [2023-12-08 00:24:20 +0000.751976][41f7] CleanUp time:371097153 enter.

[022:973] [2023-12-08 00:24:20 +0000.753332][41f7] CleanUp leave. expire time = 1


ms

[022:973] [2023-12-08 00:24:20 +0000.753606][41f7] CleanUp time:371097154 enter.

[022:974] [2023-12-08 00:24:20 +0000.754379][41f7] CleanUp leave. expire time = 1


ms

[022:976] [2023-12-08 00:24:20 +0000.755843][41f7] ~VideoBindDecoder leave. expire


time = 6 ms

[022:976] [2023-12-08 00:24:20 +0000.756207][41f7] DestoryDecoderByVideoSource


leave. expire time = 6 ms

[022:976] [2023-12-08 00:24:20 +0000.756440][41f7] UnbindInputFilter 0x798fcaa0d8


this 0x798fcaa558
[022:976] [2023-12-08 00:24:20 +0000.756558][41f7] UnbindInputFilter 0x79be1892d8
this 0x798fcaa0d8
[022:976] [2023-12-08 00:24:20 +0000.756685][41f7] UnbindInputFilter 0x79c4cb7e20
this 0x79be1892d8
[022:977] [2023-12-08 00:24:20 +0000.756806][41f7] UnbindInputFilter 0x798fcaa318
this 0x798fcaaf18
[022:977] [2023-12-08 00:24:20 +0000.756894][41f7] UnbindInputFilter 0x798fcaa258
this 0x798fcaa318
[022:977] [2023-12-08 00:24:20 +0000.756980][41f7] UnbindInputFilter 0x79c4cb7e20
this 0x798fcaa258
[022:977] [2023-12-08 00:24:20 +0000.757139][41f7] ~GLESContext:
[022:978] [2023-12-08 00:24:20 +0000.758154][41f7] GLESContext destruct finish.
[022:978] [2023-12-08 00:24:20 +0000.758392][41f7] filter: filter pipeline destroy
this: 0x79c4c29680
[023:147] [2023-12-08 00:24:20 +0000.927328][4dc5] haveEnoughProcessedData
internalAudioStream.length: 10
[024:291] [2023-12-08 00:24:22 +0000.70921][4dc5] Run AGC when audioType = 0
[024:291] [2023-12-08 00:24:22 +0000.71155][4dc5]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:910] [2023-12-08 00:24:22 +0000.690719][4dc5] haveEnoughProcessedData
internalAudioStream.length: 10
[025:467] [2023-12-08 00:24:23 +0000.247386][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[025:485] [2023-12-08 00:24:23 +0000.265329][4214] ~MediaFilterCamera
time:371099666 enter.

[025:487] [2023-12-08 00:24:23 +0000.267122][4214] StopPullFrameAndWriteMp4


time:371099668 enter.

[025:488] [2023-12-08 00:24:23 +0000.268759][4dc0] stop recording


[025:489] [2023-12-08 00:24:23 +0000.268945][4dc0] we have stopped recording before
[025:489] [2023-12-08 00:24:23 +0000.269179][4214] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[025:492] [2023-12-08 00:24:23 +0000.271920][4214] DestroyPipelineAndFilters


time:371099673 enter.

[025:492] [2023-12-08 00:24:23 +0000.272078][4214] DestroyPipelineAndFilters


leave. expire time = 0 ms

[025:492] [2023-12-08 00:24:23 +0000.272137][4214] AppDeviceManagerStopMic

[025:492] [2023-12-08 00:24:23 +0000.272251][4214] AppDeviceManagerStopMic::mic


status is on
[025:492] [2023-12-08 00:24:23 +0000.272344][4214] Try to stop webrtc device.

[025:498] [2023-12-08 00:24:23 +0000.278678][4214] Set record state to


stopped.threadID:16916

[025:629] [2023-12-08 00:24:23 +0000.409008][4214] Try to destory the


recorder.threadID:16916

[025:829] [2023-12-08 00:24:23 +0000.609292][4214] DestroyAudioRecorder:


[025:829] [2023-12-08 00:24:23 +0000.609525][4214] Cleanup the buffer queue in the
recorder.
[025:829] [2023-12-08 00:24:23 +0000.609637][4214] Destroy the recorder.

[025:833] [2023-12-08 00:24:23 +0000.613656][4214] StopRecording finished.

[025:834] [2023-12-08 00:24:23 +0000.613780][4214] The stop recording success.

[025:834] [2023-12-08 00:24:23 +0000.613835][4214]


AudioDeviceDataHandler::StopMicProcess

[025:836] [2023-12-08 00:24:23 +0000.616560][4214] AppDeviceManager stop.

[025:838] [2023-12-08 00:24:23 +0000.618075][4214] Rlease the webrtc device object.

[025:839] [2023-12-08 00:24:23 +0000.618901][4214] OpenSlesInput destruct.

[025:839] [2023-12-08 00:24:23 +0000.620691][4214] OpenSlesOutput destruct.

[025:846] [2023-12-08 00:24:23 +0000.626528][4214] EventDispatchServerScope


destruct
[025:846] [2023-12-08 00:24:23 +0000.626655][4214]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[025:846] [2023-12-08 00:24:23 +0000.626711][4214] ~AudioDeviceDataHandler

[025:848] [2023-12-08 00:24:23 +0000.627788][4214] AppDeviceManagerDestruct.

[025:848] [2023-12-08 00:24:23 +0000.627882][4214] ~AppDeviceManager:


[025:848] [2023-12-08 00:24:23 +0000.627934][4214] ~CpuOverloadDetect
time:371100029 enter.

[025:848] [2023-12-08 00:24:23 +0000.628317][4214] ~CpuOverloadDetect leave.


expire time = 0 ms

[025:898] [2023-12-08 00:24:23 +0000.677970][4214] Destruct BeautifyReader begin...


[025:898] [2023-12-08 00:24:23 +0000.678126][4214] Destruct BeautifyReader done.
[025:898] [2023-12-08 00:24:23 +0000.678211][4214] ~MediaFilterCamera leave.
expire time = 413 ms

[025:898] [2023-12-08 00:24:23 +0000.678542][4214] ~GLESContext:


[025:900] [2023-12-08 00:24:23 +0000.679951][4214] GLESContext destruct finish.
[025:900] [2023-12-08 00:24:23 +0000.680136][4214] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[025:901] [2023-12-08 00:24:23 +0000.681128][4214] global uninited!
[025:907] [2023-12-08 00:24:23 +0000.687085][4214] clear AppID 50011
[025:907] [2023-12-08 00:24:23 +0000.687322][4214] UnRegister JVM for Xplatform
util
[025:907] [2023-12-08 00:24:23 +0000.687386][4214] Dispose::unregister webrtc video
engine
[025:907] [2023-12-08 00:24:23 +0000.687428][4214] Init the android object with
jvm:0x0 env:0x0 context:0x0

[025:907] [2023-12-08 00:24:23 +0000.687488][4214] SetAndroidMediaCodecObjects


time:371100088 enter.

[025:907] [2023-12-08 00:24:23 +0000.687552][4214] ClearAndroidMediaCodecObjects


time:371100088 enter.

[025:907] [2023-12-08 00:24:23 +0000.687619][4214] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[025:907] [2023-12-08 00:24:23 +0000.687680][4214] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[025:907] [2023-12-08 00:24:23 +0000.687740][4214] SetAndroidMediaCodecObjects


time:371100088 enter.

[025:908] [2023-12-08 00:24:23 +0000.687800][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[025:908] [2023-12-08 00:24:23 +0000.687845][4214] ClearAndroidMediaCodecObjects
time:371100089 enter.

[025:908] [2023-12-08 00:24:23 +0000.687970][4214] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[025:908] [2023-12-08 00:24:23 +0000.688035][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[025:908] [2023-12-08 00:24:23 +0000.688094][4214] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[025:908] [2023-12-08 00:24:23 +0000.688153][4214] Dispose::unregister webrtc voice


engine
[025:908] [2023-12-08 00:24:23 +0000.688210][4214] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[025:908] [2023-12-08 00:24:23 +0000.688306][4214] SystemUtil UnInit done


[356:396] [2023-12-08 00:29:54 +0000.179086][4214] Register JVM for xplatform util
[356:420] [2023-12-08 00:29:54 +0000.200270][4214] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-12-
08 00:29:54 +0000
[356:420] [2023-12-08 00:29:54 +0000.200621][4214] set AppID=50011 old AppID=-1
[356:420] [2023-12-08 00:29:54 +0000.200699][4214] Init the android object with
jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[356:421] [2023-12-08 00:29:54 +0000.201721][4214] SetAndroidMediaCodecObjects


time:371430602 enter.
[356:423] [2023-12-08 00:29:54 +0000.203038][4214] SetAndroidMediaCodecObjects
leave. expire time = 2 ms

[356:423] [2023-12-08 00:29:54 +0000.203109][4214] SetAndroidMediaCodecObjects


time:371430604 enter.

[356:423] [2023-12-08 00:29:54 +0000.203170][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007afc6a7380
[356:423] [2023-12-08 00:29:54 +0000.203255][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007afc6a7380 address:0x79adcb8760
[356:424] [2023-12-08 00:29:54 +0000.204020][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007afc6a7380
address:0x79adcb8760
[356:424] [2023-12-08 00:29:54 +0000.204085][4214] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[356:425] [2023-12-08 00:29:54 +0000.204824][4214] Set the android objects with


jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[356:425] [2023-12-08 00:29:54 +0000.205595][4214] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7a58d52680
[356:425] [2023-12-08 00:29:54 +0000.205649][4214] SystemUtil Init done
[356:426] [2023-12-08 00:29:54 +0000.206626][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[356:428] [2023-12-08 00:29:54 +0000.208589][4214] MediaFilterCamera
[356:429] [2023-12-08 00:29:54 +0000.209473][4214] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[356:429] [2023-12-08 00:29:54 +0000.209725][4214] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[356:430] [2023-12-08 00:29:54 +0000.209790][6147] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a65622140
[356:430] [2023-12-08 00:29:54 +0000.209832][4214] Recording session using default
bitrate support by app:31457280
[356:431] [2023-12-08 00:29:54 +0000.210885][6147] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[356:431] [2023-12-08 00:29:54 +0000.211068][4214] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[356:434] [2023-12-08 00:29:54 +0000.213914][4214] Error(ini.cc:191): Open the file
failed. error:2
[356:434] [2023-12-08 00:29:54 +0000.214248][4214]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[356:434] [2023-12-08 00:29:54 +0000.214449][4214] The device model: 21121119vl
usingSoftwareAEC value: 0
[356:439] [2023-12-08 00:29:54 +0000.219204][4214] Error(ini.cc:191): Open the file
failed. error:2
[356:439] [2023-12-08 00:29:54 +0000.219292][4214]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[356:439] [2023-12-08 00:29:54 +0000.219323][4214] The device model: 21121119vl
usingHardwareAEC value: 0
[356:439] [2023-12-08 00:29:54 +0000.219344][4214] The machine device: 21121119vl
usingHardwareAEC value: 0
[356:439] [2023-12-08 00:29:54 +0000.219366][4214] Using Default AEC type: software
AEC
[356:440] [2023-12-08 00:29:54 +0000.220610][4214] The device model: 21121119vl
enum value: 0
[356:442] [2023-12-08 00:29:54 +0000.221947][4214] GetMachineModel is 21121119VL
[356:442] [2023-12-08 00:29:54 +0000.222018][4214] GetMachineInfo: 21121119VL
[356:442] [2023-12-08 00:29:54 +0000.222069][4214] Construct BeautifyReader
begin...
[356:442] [2023-12-08 00:29:54 +0000.222099][4214] dumpStickerRgba:0
dumpStickerYuv:0
[356:442] [2023-12-08 00:29:54 +0000.222120][4214] Construct BeautifyReader done.
[356:449] [2023-12-08 00:29:54 +0000.228973][4214] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[356:449] [2023-12-08 00:29:54 +0000.229027][614a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a657f99a0
[356:449] [2023-12-08 00:29:54 +0000.229155][4214] AppDeviceManager telnet server
for statistics started......
[356:451] [2023-12-08 00:29:54 +0000.231761][4214] CpuOverloadDetect time:371430632
enter.

[356:452] [2023-12-08 00:29:54 +0000.232018][4214] CpuOverloadDetect leave. expire


time = 1 ms

[356:452] [2023-12-08 00:29:54 +0000.232049][614b] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7a656c8f00
[356:453] [2023-12-08 00:29:54 +0000.233686][4214] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[356:453] [2023-12-08 00:29:54 +0000.233759][4214] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[356:454] [2023-12-08 00:29:54 +0000.234345][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[356:458] [2023-12-08 00:29:54 +0000.238359][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[356:459] [2023-12-08 00:29:54 +0000.239024][4214] CreatePlatformSpecificObjects:
[356:459] [2023-12-08 00:29:54 +0000.239146][4214] audio device use opensle input
and opensl output
[356:459] [2023-12-08 00:29:54 +0000.239241][4214] Create OpenSLES output module
with java VM support.

[356:459] [2023-12-08 00:29:54 +0000.239555][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[356:460] [2023-12-08 00:29:54 +0000.240300][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[356:461] [2023-12-08 00:29:54 +0000.240790][4214] Create OpenSLES output module
with buffer num:1

[356:461] [2023-12-08 00:29:54 +0000.241052][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[356:461] [2023-12-08 00:29:54 +0000.241254][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[356:461] [2023-12-08 00:29:54 +0000.241447][4214] Create OpenSLES input module
with java VM support.

[356:461] [2023-12-08 00:29:54 +0000.241486][4214] Create OpenSLES input module


with buffer num:1

[356:462] [2023-12-08 00:29:54 +0000.241855][4214] Error(trace.cc:40): Init the


output and input for audio device template.
[356:462] [2023-12-08 00:29:54 +0000.241940][4214] Init the output device.

[356:462] [2023-12-08 00:29:54 +0000.242009][4214] Init the opensl input.


[356:462] [2023-12-08 00:29:54 +0000.242073][4214] AppDeviceManager get setting
samplerate: 0
[356:463] [2023-12-08 00:29:54 +0000.243198][4214] The device model: 21121119vl
enum value: 0
[356:465] [2023-12-08 00:29:54 +0000.245233][4214] The device model: 21121119vl
enum value: 0
[356:465] [2023-12-08 00:29:54 +0000.245376][4214] Set the sample rate to be:48000

[356:465] [2023-12-08 00:29:54 +0000.245468][4214] Enable the recording stereo:0


[356:465] [2023-12-08 00:29:54 +0000.245546][4214] Set the playout as stereo:1
[356:465] [2023-12-08 00:29:54 +0000.245646][4214] Init the microphone.
[356:469] [2023-12-08 00:29:54 +0000.248953][4214] Update the recording sample rate
to be: 48000
[356:469] [2023-12-08 00:29:54 +0000.249039][4214] Init the speaker.
[356:469] [2023-12-08 00:29:54 +0000.249100][4214] Low latency buffer size:256 low
sample rate:48000
[356:470] [2023-12-08 00:29:54 +0000.249906][4214] Using 1 x 10ms for an audio
frame.

[356:473] [2023-12-08 00:29:54 +0000.253585][4214] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[356:474] [2023-12-08 00:29:54 +0000.254209][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[356:474] [2023-12-08 00:29:54 +0000.254293][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[356:479] [2023-12-08 00:29:54 +0000.259696][4214] The device model:21121119vl

[356:480] [2023-12-08 00:29:54 +0000.259793][4214] speaker output factor:100


defaultFactor: 100

[356:480] [2023-12-08 00:29:54 +0000.259820][4214] headset output factor:100


defaultFactor: 100

[356:480] [2023-12-08 00:29:54 +0000.260536][4214] AppDeviceManagerStart finished.


[356:480] [2023-12-08 00:29:54 +0000.260600][4214] AppDeviceManagerStartMic::mic
status is off
[356:480] [2023-12-08 00:29:54 +0000.260654][4214] AppDeviceManagerStartMic update
aec type: 2

[356:480] [2023-12-08 00:29:54 +0000.260682][4214] AppDeviceManagerStartMic update


voiceChangeMode: 4

[356:480] [2023-12-08 00:29:54 +0000.260704][4214]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[356:480] [2023-12-08 00:29:54 +0000.260734][4214]
AudioDeviceDataHandler::StartMicProcess

[356:481] [2023-12-08 00:29:54 +0000.260851][4214] Try to start webrtc recording


device.

[356:481] [2023-12-08 00:29:54 +0000.260888][4214] StartRecording. threadID:16916

[356:481] [2023-12-08 00:29:54 +0000.260911][614c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[356:481] [2023-12-08 00:29:54 +0000.261575][4214] default mode: Set the recording
mode to voice communication to enable HW AEC .

[356:481] [2023-12-08 00:29:54 +0000.261611][4214] Set the recording mode before


getSetting: 4
[356:481] [2023-12-08 00:29:54 +0000.261658][4214] Set the recording mode after
getSetting: 1
[356:506] [2023-12-08 00:29:54 +0000.286085][4214] StartRecording finished.
[356:506] [2023-12-08 00:29:54 +0000.286152][4214] audio: start the audio mic
checker timer.

[356:507] [2023-12-08 00:29:54 +0000.286860][4214] machine model :redmi


[356:507] [2023-12-08 00:29:54 +0000.286917][4214] Support this machine
model :redmi
[356:517] [2023-12-08 00:29:54 +0000.297058][4214] global inited! current sdk
version: 07-20-936c45f
[356:814] [2023-12-08 00:29:54 +0000.594629][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[356:815] [2023-12-08 00:29:54 +0000.595159][6148] MediaFilterCamera, recording
file context:0x7a6560cf80 input texture:15
[356:815] [2023-12-08 00:29:54 +0000.595330][6148] GLESContext:
[356:815] [2023-12-08 00:29:54 +0000.595508][6148] The result of eglGetDisplay is:
0x1
[356:821] [2023-12-08 00:29:54 +0000.601226][6148] The result of creation:
0x79dda16e80
[356:823] [2023-12-08 00:29:54 +0000.603508][6148] The result of
eglCreatePbufferSurface is: 0x79dda16f80
[356:823] [2023-12-08 00:29:54 +0000.603746][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7a6560cf80 input_texture: 15
[357:385] [2023-12-08 00:29:55 +0000.165193][614c] Run AGC when audioType = 0
[357:432] [2023-12-08 00:29:55 +0000.212202][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[358:778] [2023-12-08 00:29:56 +0000.558428][41f7] SetOrientation:
MediaFilterCamera:: SetOrientation: 0
[358:778] [2023-12-08 00:29:56 +0000.558510][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 0
[358:778] [2023-12-08 00:29:56 +0000.558661][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[358:779] [2023-12-08 00:29:56 +0000.559142][6148] operator() time:371432960
enter.

[358:780] [2023-12-08 00:29:56 +0000.560343][6148] MediaFilterCamera, recording


file context:0x7a6560cf80 input texture:15
[358:782] [2023-12-08 00:29:56 +0000.562611][6148] MicSource: Mic source
created:10x798fe4c100
[358:784] [2023-12-08 00:29:56 +0000.563934][6148] alloc thread: 0x79e8dda100
name:worker0 thread id:523088129216 to Mic_source
[358:784] [2023-12-08 00:29:56 +0000.564132][6148] audio: start the audio sender
thread.

[358:785] [2023-12-08 00:29:56 +0000.565149][6148] construct OpenGLRenderProgram


0x79be187b98
[358:785] [2023-12-08 00:29:56 +0000.565241][6148] CropFilter::SetOrientation
orientation: 0
[358:785] [2023-12-08 00:29:56 +0000.565496][6148] filter: filter pipeline
construtc this: 0x79be09f9c0
[358:785] [2023-12-08 00:29:56 +0000.565587][6148] filter: filter pipeline2 update
pattern: 1
[358:785] [2023-12-08 00:29:56 +0000.565718][6148] CameraSource::source_id_:5
[358:785] [2023-12-08 00:29:56 +0000.565764][6148] RecordAudioSource::source_id_:6
[358:787] [2023-12-08 00:29:56 +0000.566831][6148] BindInputFilter 0x79e8dda9c0
this 0x79be187dc0
[358:787] [2023-12-08 00:29:56 +0000.567035][6148] BindInputFilter 0x79e8ddacd8
this 0x79e8ddae50
[358:787] [2023-12-08 00:29:56 +0000.567114][6148] BindInputFilter 0x79be187dc0
this 0x79be09fa60
[358:787] [2023-12-08 00:29:56 +0000.567187][6148] setParamentForFilters:
speed:1.000000
[358:787] [2023-12-08 00:29:56 +0000.567222][6148] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[358:787] [2023-12-08 00:29:56 +0000.567264][6148] SetParamForFilter time:371432968
enter.

[358:787] [2023-12-08 00:29:56 +0000.567293][6148] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[358:787] [2023-12-08 00:29:56 +0000.567327][6148] SetParamForFilter: Params video
index is: 0
[358:787] [2023-12-08 00:29:56 +0000.567353][6148] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[358:787] [2023-12-08 00:29:56 +0000.567384][6148] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[358:787] [2023-12-08 00:29:56 +0000.567410][6148] crop filter mode tpye:
citytravelvideo index:0
[358:795] [2023-12-08 00:29:56 +0000.575461][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[358:795] [2023-12-08 00:29:56 +0000.575556][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[358:795] [2023-12-08 00:29:56 +0000.575581][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[358:795] [2023-12-08 00:29:56 +0000.575604][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[358:796] [2023-12-08 00:29:56 +0000.576294][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[358:796] [2023-12-08 00:29:56 +0000.576462][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[358:796] [2023-12-08 00:29:56 +0000.576503][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[358:796] [2023-12-08 00:29:56 +0000.576541][6148]
Warning(parse_template_json.cc:81): json parament no found the parament
[358:796] [2023-12-08 00:29:56 +0000.576591][6148]
Warning(parse_template_json.cc:81): json parament no found the parament
[358:796] [2023-12-08 00:29:56 +0000.576640][6148]
Warning(parse_template_json.cc:67): json parament no found the parament
[358:796] [2023-12-08 00:29:56 +0000.576685][6148]
Warning(parse_template_json.cc:93): json parament no found the duration
[358:797] [2023-12-08 00:29:56 +0000.576935][6148] SetParamForFilter leave. expire
time = 10 ms

[358:797] [2023-12-08 00:29:56 +0000.577374][6148] OnOutputSizeChanged width 1280


height 720
[358:797] [2023-12-08 00:29:56 +0000.577483][6148] OpenGLFrameBuffer: width:1280
height:720
[358:797] [2023-12-08 00:29:56 +0000.577596][6148] OpenGLFrameBuffer: width:1280
height:720
[358:797] [2023-12-08 00:29:56 +0000.577622][6148] OpenGLFrameBuffer: width:1280
height:720
[358:797] [2023-12-08 00:29:56 +0000.577650][6148] OpenGLFrameBuffer: width:1280
height:720
[358:797] [2023-12-08 00:29:56 +0000.577674][6148] OpenGLFrameBuffer: width:1280
height:720
[358:797] [2023-12-08 00:29:56 +0000.577697][6148] OpenGLFrameBuffer: width:1280
height:720
[358:797] [2023-12-08 00:29:56 +0000.577739][6148] construct TrivalImageDrawer
0x79c4cf5980
[358:798] [2023-12-08 00:29:56 +0000.577766][6148] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x79c4cf5980 context 0x7a58d3fc00
[358:798] [2023-12-08 00:29:56 +0000.577793][6148] setupGLES:
[358:815] [2023-12-08 00:29:56 +0000.594965][6148] OpenGLRenderProgram::Initialize.
[358:815] [2023-12-08 00:29:56 +0000.595085][6148] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[358:815] [2023-12-08 00:29:56 +0000.595123][6148] The extension of the OpenGL:
GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat
GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap
GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax
GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context
GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic
GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables
GL_OES_sample_shading GL_OES_shader_multisample_interpolation
GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader
GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5
GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float
GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
GL_EXT_external_buffer GL_EXT_EGL_image_array GL_EXT_texture_filter_anisotropic
GL_ARM_texture_unnormalized_coordinates
[358:815] [2023-12-08 00:29:56 +0000.595211][6148] Init open gl render:
0x79be187b98
[358:815] [2023-12-08 00:29:56 +0000.595252][6148] Fragement shader path:
[358:815] [2023-12-08 00:29:56 +0000.595286][6148] Fragement shader path:
[358:815] [2023-12-08 00:29:56 +0000.595307][6148] create opengl program object.
[358:815] [2023-12-08 00:29:56 +0000.595330][6148] create shader: vertex
[358:815] [2023-12-08 00:29:56 +0000.595597][6148] create shader: fragment
[358:821] [2023-12-08 00:29:56 +0000.601563][6148] Have not extra filter filename!
[358:821] [2023-12-08 00:29:56 +0000.601673][6148] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[358:821] [2023-12-08 00:29:56 +0000.601714][6148] OpenGLRenderProgram::Initialize
success.
[358:827] [2023-12-08 00:29:56 +0000.607154][6148] Setup the OpenGL result:1
[358:828] [2023-12-08 00:29:56 +0000.608172][6147] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371433008.mp4
[358:828] [2023-12-08 00:29:56 +0000.608597][6147] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_371433008.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[358:829] [2023-12-08 00:29:56 +0000.608796][6147] 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
[358:828] [2023-12-08 00:29:56 +0000.608774][6192] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79a18dcc98
[358:829] [2023-12-08 00:29:56 +0000.608982][6147] 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_371433008.mp4
fileFD: -1
[358:830] [2023-12-08 00:29:56 +0000.610743][6147] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_371433008.mp4
is opened successfully
[358:831] [2023-12-08 00:29:56 +0000.610994][6147] setupMediaProcessers:
[358:831] [2023-12-08 00:29:56 +0000.611105][6147]
RecordingSessionInternalSimple:setup media processers.
[358:831] [2023-12-08 00:29:56 +0000.611198][6147] construct AAC encoder
[358:832] [2023-12-08 00:29:56 +0000.612074][6147] H264Encoder creating:
superfast011818
[358:832] [2023-12-08 00:29:56 +0000.612302][6147] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[358:834] [2023-12-08 00:29:56 +0000.614620][6147] H264Encode::GetMachineModel is
21121119VL
[358:835] [2023-12-08 00:29:56 +0000.614928][6147] H264Encoder machine_mode
is:21121119VL
[358:835] [2023-12-08 00:29:56 +0000.614976][6147] H264Encode::machine size :9
machine_mode:21121119VL
[358:835] [2023-12-08 00:29:56 +0000.615083][6147] H264Encode::machine array
size :22 machine_mode:21121119VL
[358:835] [2023-12-08 00:29:56 +0000.615131][6147] H264Encode::current machine
is :21121119VL auto check hw codec decide to use hw codec
[358:835] [2023-12-08 00:29:56 +0000.615297][6147] setupCompressionSession:
[358:835] [2023-12-08 00:29:56 +0000.615366][6147] H264Encode::creating hareware
Encoder
[358:835] [2023-12-08 00:29:56 +0000.615406][6147] AndroidHwAvcEncoder
time:371433016 enter.

[358:835] [2023-12-08 00:29:56 +0000.615690][6147] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007afc6a7380 address:0x79adcb8760
[358:836] [2023-12-08 00:29:56 +0000.615969][6147] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[358:836] [2023-12-08 00:29:56 +0000.616019][6147] The video avc hw codec address
is 0x7a65638bd8
[358:836] [2023-12-08 00:29:56 +0000.616679][6147] AndroidHwAvcEncoder leave.
expire time = 1 ms

[358:837] [2023-12-08 00:29:56 +0000.616809][6147] RegisterEncodeCompleteCallback


time:371433018 enter.

[358:837] [2023-12-08 00:29:56 +0000.617469][6147] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[358:837] [2023-12-08 00:29:56 +0000.617614][6147] InitEncode time:371433018


enter.
[358:839] [2023-12-08 00:29:56 +0000.618977][6147] InitEncode:
MediaCodecVideoEncoder::Release _inited:1
[358:839] [2023-12-08 00:29:56 +0000.619094][6147] Create time:371433020 enter.

[358:839] [2023-12-08 00:29:56 +0000.619147][6147] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[358:839] [2023-12-08 00:29:56 +0000.619181][6147]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79a0ae5b80
[358:839] [2023-12-08 00:29:56 +0000.619422][6147] supported_type:audio/mp4a-latm
[358:839] [2023-12-08 00:29:56 +0000.619469][6147] supported_type:audio/mp4a-latm
[358:839] [2023-12-08 00:29:56 +0000.619505][6147] supported_type:audio/3gpp
[358:839] [2023-12-08 00:29:56 +0000.619536][6147] supported_type:audio/3gpp
[358:839] [2023-12-08 00:29:56 +0000.619570][6147] supported_type:audio/amr-wb
[358:839] [2023-12-08 00:29:56 +0000.619599][6147] supported_type:audio/amr-wb
[358:839] [2023-12-08 00:29:56 +0000.619633][6147] supported_type:audio/flac
[358:839] [2023-12-08 00:29:56 +0000.619661][6147] supported_type:audio/flac
[358:839] [2023-12-08 00:29:56 +0000.619709][6147] supported_type:audio/opus
[358:840] [2023-12-08 00:29:56 +0000.619786][6147] supported_type:video/avc
[358:840] [2023-12-08 00:29:56 +0000.619814][6147] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[358:840] [2023-12-08 00:29:56 +0000.619875][6147] hwCodecPrefix :OMX.qcom.
[358:840] [2023-12-08 00:29:56 +0000.619902][6147] hwCodecPrefix :OMX.Nvidia.
[358:840] [2023-12-08 00:29:56 +0000.619922][6147] hwCodecPrefix :OMX.IMG.TOPAZ
[358:840] [2023-12-08 00:29:56 +0000.619947][6147] hwCodecPrefix :OMX.Exynos
[358:840] [2023-12-08 00:29:56 +0000.620011][6147] hwCodecPrefix :OMX.MTK
[358:840] [2023-12-08 00:29:56 +0000.620041][6147] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[358:840] [2023-12-08 00:29:56 +0000.620077][6147] mediacodec_createCodecByName
time:371433021 enter.

[358:840] [2023-12-08 00:29:56 +0000.620108][6147] WrapAndroidMediaCodec


time:371433021 enter.

[358:840] [2023-12-08 00:29:56 +0000.620355][6147] WrapAndroidMediaCodec leave.


expire time = 0 ms

[358:854] [2023-12-08 00:29:56 +0000.634008][6147] mediacodec_createCodecByName


leave. expire time = 14 ms

[358:854] [2023-12-08 00:29:56 +0000.634234][6147] WrapAndroidMediaFromat


time:371433035 enter.

[358:854] [2023-12-08 00:29:56 +0000.634541][6147] WrapAndroidMediaFromat leave.


expire time = 0 ms

[358:900] [2023-12-08 00:29:56 +0000.680013][6147] Destroy time:371433081 enter.

[358:900] [2023-12-08 00:29:56 +0000.680226][6147] WrapAndroidMediaFromat::


Destroy
[358:900] [2023-12-08 00:29:56 +0000.680365][6147] Destroy leave. expire time = 0
ms

[358:900] [2023-12-08 00:29:56 +0000.680489][6147] ~WrapAndroidMediaFromat


time:371433081 enter.

[358:900] [2023-12-08 00:29:56 +0000.680591][6147] ~WrapAndroidMediaFromat leave.


expire time = 0 ms
[358:900] [2023-12-08 00:29:56 +0000.680695][6147] Create leave. expire time = 61
ms

[358:901] [2023-12-08 00:29:56 +0000.680772][6147] isSemiPlanarSupport


time:371433082 enter.

[358:901] [2023-12-08 00:29:56 +0000.680845][6147] H264Encoder isSemiPlanarSupport


[358:901] [2023-12-08 00:29:56 +0000.680922][6147] isSemiPlanarSupport leave.
expire time = 0 ms

[358:901] [2023-12-08 00:29:56 +0000.680994][6147] creat hw H264Encoder success,


isSemiPlanar:1
[358:901] [2023-12-08 00:29:56 +0000.681336][6147] InitEncode leave. expire time =
64 ms

[358:901] [2023-12-08 00:29:56 +0000.681415][6147] H264Encode::created Encoder


[358:901] [2023-12-08 00:29:56 +0000.681492][6147] H264Encode:: H264 encoder
created.
[358:901] [2023-12-08 00:29:56 +0000.681562][6147] H264 encoder created.
[358:901] [2023-12-08 00:29:56 +0000.681629][6147]
RecordingSessionInternalSimple:created avc encoder avc: 0x79bef0eec0
[358:901] [2023-12-08 00:29:56 +0000.681703][6147] setOutput:
[358:902] [2023-12-08 00:29:56 +0000.681771][6147]
RecordingSessionInternalSimple:encoder set output to muxer!
[358:902] [2023-12-08 00:29:56 +0000.681841][6147] request a key frame
[358:902] [2023-12-08 00:29:56 +0000.681890][6147] H264Encode:: request a key frame
[358:902] [2023-12-08 00:29:56 +0000.682188][6147] setDisplayRotate :0
[358:902] [2023-12-08 00:29:56 +0000.682296][6147] 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
[358:902] [2023-12-08 00:29:56 +0000.682585][6148] StartRecording:
[358:903] [2023-12-08 00:29:56 +0000.682823][618b] operator(): Set the recording
session in mic source. recording session: 0x79e8ddab80
[358:903] [2023-12-08 00:29:56 +0000.683154][6148] operator() leave. expire time =
124 ms

[358:969] [2023-12-08 00:29:56 +0000.749178][6148] begine recode to first frame


spend time:190
[358:969] [2023-12-08 00:29:56 +0000.749691][6148]
GPUImageProcessing::SetOrientation orientation: 0
[358:971] [2023-12-08 00:29:56 +0000.751378][6148] drawYUV420 render
OpenGLRenderProgram:0x79be187b98
[359:002] [2023-12-08 00:29:56 +0000.781883][6148] drawYUV420 render
OpenGLRenderProgram:0x79be187b98
[359:019] [2023-12-08 00:29:56 +0000.799162][6191]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[359:044] [2023-12-08 00:29:56 +0000.824618][6148] drawYUV420 render
OpenGLRenderProgram:0x79be187b98
[359:081] [2023-12-08 00:29:56 +0000.861662][6148] The read pixel from buffer take:
8 width:1280 height:720 frameType:0
[359:082] [2023-12-08 00:29:56 +0000.862421][618a] AF_SpeedFilter::PullFrame eof4
[359:088] [2023-12-08 00:29:56 +0000.868708][618a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[359:091] [2023-12-08 00:29:56 +0000.871444][6191] h264 add frame header cdr flag
[359:093] [2023-12-08 00:29:56 +0000.872950][6191] h264 add frame header cdr flag
[359:094] [2023-12-08 00:29:56 +0000.874128][6191] Received key frame:0
[359:094] [2023-12-08 00:29:56 +0000.874299][6191] H264Encode:: get a sps pps
header!headerSize:30
[359:094] [2023-12-08 00:29:56 +0000.874680][6192] get the H.264 SPS parameter
[359:095] [2023-12-08 00:29:56 +0000.875540][6192] add video track with id:1
[359:097] [2023-12-08 00:29:56 +0000.877302][6192] get the H.264 PPS parameter
[359:099] [2023-12-08 00:29:56 +0000.879083][6192] get the H.264 IDR frame
[359:099] [2023-12-08 00:29:56 +0000.879289][6192] resss:true
[359:099] [2023-12-08 00:29:56 +0000.879374][6192] video start ts:0
[359:100] [2023-12-08 00:29:56 +0000.879960][6192] the video frame has been written
into MP4 file
[359:124] [2023-12-08 00:29:56 +0000.904282][6192] add aac audio track with id:2
[359:125] [2023-12-08 00:29:56 +0000.904837][6192] audio start ts:0
[359:125] [2023-12-08 00:29:56 +0000.905147][6192] the audio frame has been written
into MP4 file
[359:145] [2023-12-08 00:29:56 +0000.925744][614c] haveEnoughProcessedData
internalAudioStream.length: 10
[359:147] [2023-12-08 00:29:56 +0000.927816][6148] The convert RGB to YUV take 2
[359:247] [2023-12-08 00:29:57 +0000.27059][6191] DTS queue for
Generator:0x79a18dceb8 202 239
[359:276] [2023-12-08 00:29:57 +0000.56726][6191] Push an pts:268 to dts queue.
[359:321] [2023-12-08 00:29:57 +0000.100992][6191] last dts:239 currentPts:268
ppsOrSPS:0 queue length:2
[359:384] [2023-12-08 00:29:57 +0000.163852][614c] Run AGC when audioType = 0
[359:384] [2023-12-08 00:29:57 +0000.164113][614c]
AudioDeviceDataHandler::MixAndSendOutFrame
[359:573] [2023-12-08 00:29:57 +0000.353201][6148] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[359:618] [2023-12-08 00:29:57 +0000.398713][618b] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[359:645] [2023-12-08 00:29:57 +0000.424844][6148] The convert RGB to YUV take 3
[360:088] [2023-12-08 00:29:57 +0000.868558][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[360:096] [2023-12-08 00:29:57 +0000.876472][6191] DTS queue for
Generator:0x79a18dceb8 1047 1084
[360:136] [2023-12-08 00:29:57 +0000.916016][6148] The convert RGB to YUV take 3
[360:250] [2023-12-08 00:29:58 +0000.29845][618a] AF_SpeedFilter audio 0x79e8ddad00
PullFrame
[360:438] [2023-12-08 00:29:58 +0000.218036][618a] resampled_data_size:1024
[360:475] [2023-12-08 00:29:58 +0000.255546][6191]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:1466
[360:510] [2023-12-08 00:29:58 +0000.290879][4dbc]
monitorTime:4004totalDuration:3910
[360:537] [2023-12-08 00:29:58 +0000.317384][6148] GPUImageProcessing: process
video frame with resolution 1280 X 720
[360:537] [2023-12-08 00:29:58 +0000.317643][6148] GPUImageProcessing: input frame
width1280 X 720
[360:538] [2023-12-08 00:29:58 +0000.318054][6148] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[360:538] [2023-12-08 00:29:58 +0000.318472][6148] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[360:574] [2023-12-08 00:29:58 +0000.354079][6148] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[360:582] [2023-12-08 00:29:58 +0000.362663][618a]
RecordAudioSource::PullAudioFrame
[360:615] [2023-12-08 00:29:58 +0000.395121][6191] Push an pts:1606 to dts queue.
[360:617] [2023-12-08 00:29:58 +0000.397520][618b] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[360:649] [2023-12-08 00:29:58 +0000.428910][6148] The convert RGB to YUV take 3
[360:656] [2023-12-08 00:29:58 +0000.436030][6191] last dts:1568 currentPts:1606
ppsOrSPS:0 queue length:2
[360:838] [2023-12-08 00:29:58 +0000.618722][6148] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9984 diff: 17
[360:869] [2023-12-08 00:29:58 +0000.648933][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[360:908] [2023-12-08 00:29:58 +0000.687962][6191] DTS queue for
Generator:0x79a18dceb8 1871 1900
[361:047] [2023-12-08 00:29:58 +0000.827426][6191] h264 add frame header cdr flag
[361:048] [2023-12-08 00:29:58 +0000.828421][6191] Received key frame:2004
[361:072] [2023-12-08 00:29:58 +0000.852239][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[361:082] [2023-12-08 00:29:58 +0000.862244][6192] get the H.264 IDR frame
[361:107] [2023-12-08 00:29:58 +0000.887387][618a] FilterPipeline2::OnAudioFrame
pts 2100 last_audio_timestamp_ 2100
[361:114] [2023-12-08 00:29:58 +0000.894302][6190]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2066queue_audio_frame_:1
[361:145] [2023-12-08 00:29:58 +0000.925634][6148] The convert RGB to YUV take 2
[361:380] [2023-12-08 00:29:59 +0000.160763][614d] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[361:381] [2023-12-08 00:29:59 +0000.160975][614d] _deviceSampleRate:48000

[361:381] [2023-12-08 00:29:59 +0000.161586][614c] Run AGC when audioType = 0


[361:422] [2023-12-08 00:29:59 +0000.202162][618a] AF_SpeedFilter::PullFrame eof4
[361:426] [2023-12-08 00:29:59 +0000.206582][618a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[361:571] [2023-12-08 00:29:59 +0000.351363][6148] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[361:625] [2023-12-08 00:29:59 +0000.405309][618b] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[361:646] [2023-12-08 00:29:59 +0000.426517][6148] The convert RGB to YUV take 4
[361:716] [2023-12-08 00:29:59 +0000.496211][6191] DTS queue for
Generator:0x79a18dceb8 2703
[361:850] [2023-12-08 00:29:59 +0000.630604][618a] AF_SpeedFilter audio
0x79e8ddad00 PullFrame
[361:941] [2023-12-08 00:29:59 +0000.721008][6191] Push an pts:2932 to dts queue.
[361:978] [2023-12-08 00:29:59 +0000.758758][6191] SendFrame
encodedImage._timeStamp:2932encodedImage->_length:130887
[361:979] [2023-12-08 00:29:59 +0000.759063][6191] last dts:2901 currentPts:2932
ppsOrSPS:0 queue length:2
[362:048] [2023-12-08 00:29:59 +0000.828763][6191] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3007 pts:3007
[362:067] [2023-12-08 00:29:59 +0000.847341][6148] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[362:134] [2023-12-08 00:29:59 +0000.914153][6148] The convert RGB to YUV take 3
[362:207] [2023-12-08 00:29:59 +0000.987450][6191] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3198
[362:207] [2023-12-08 00:29:59 +0000.987588][6191] push video frame to H264
encoder. (100 frame for one log)

[362:207] [2023-12-08 00:29:59 +0000.987648][6191] push video frame to H264


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

[362:207] [2023-12-08 00:29:59 +0000.987690][6191] H264Encode::push video frame to


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

[362:207] [2023-12-08 00:29:59 +0000.987739][6191] The input pts:3198 fps:30


[362:247] [2023-12-08 00:30:00 +0000.27053][6191] H264Encode::H264SWEncoder get
callback, length:121954 type:1 nalType:1length:121950
[362:269] [2023-12-08 00:30:00 +0000.48815][6148] drawYUV420 render
OpenGLRenderProgram:0x79be187b98
[362:451] [2023-12-08 00:30:00 +0000.231005][618a]
RecordAudioSource::PullAudioFrame
[362:548] [2023-12-08 00:30:00 +0000.328650][6191] DTS queue for
Generator:0x79a18dceb8 3534
[362:574] [2023-12-08 00:30:00 +0000.353806][6148] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[362:583] [2023-12-08 00:30:00 +0000.363152][614c] haveEnoughProcessedData
internalAudioStream.length: 10
[362:616] [2023-12-08 00:30:00 +0000.396532][618a] resampled_data_size:13312
[362:623] [2023-12-08 00:30:00 +0000.403031][618b] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[362:645] [2023-12-08 00:30:00 +0000.425666][6148] The convert RGB to YUV take 2
[362:909] [2023-12-08 00:30:00 +0000.689554][6148] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10984 diff: 17
[363:049] [2023-12-08 00:30:00 +0000.829221][6191] h264 add frame header cdr flag
[363:050] [2023-12-08 00:30:00 +0000.829926][6191] Received key frame:4002
[363:077] [2023-12-08 00:30:00 +0000.857000][6148] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[363:086] [2023-12-08 00:30:00 +0000.866525][6192] get the H.264 IDR frame
[363:147] [2023-12-08 00:30:00 +0000.927100][6148] The convert RGB to YUV take 3
[363:272] [2023-12-08 00:30:01 +0000.51822][6191] Push an pts:4262 to dts queue.
[363:312] [2023-12-08 00:30:01 +0000.92422][6191] last dts:4233 currentPts:4262
ppsOrSPS:0 queue length:2
[363:378] [2023-12-08 00:30:01 +0000.158122][6191] DTS queue for
Generator:0x79a18dceb8 4331 4370
[363:383] [2023-12-08 00:30:01 +0000.162903][614c] Run AGC when audioType = 0
[363:383] [2023-12-08 00:30:01 +0000.163505][614c]
AudioDeviceDataHandler::MixAndSendOutFrame
[363:462] [2023-12-08 00:30:01 +0000.242062][618a] AF_SpeedFilter audio
0x79e8ddad00 PullFrame
[363:471] [2023-12-08 00:30:01 +0000.251721][6190]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4388queue_audio_frame_:4
[363:565] [2023-12-08 00:30:01 +0000.345533][6148] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[363:617] [2023-12-08 00:30:01 +0000.396986][618b] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[363:634] [2023-12-08 00:30:01 +0000.413839][6148] The convert RGB to YUV take 4
[363:711] [2023-12-08 00:30:01 +0000.491587][618a] AF_SpeedFilter::PullFrame eof4
[363:716] [2023-12-08 00:30:01 +0000.496025][618a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[363:802] [2023-12-08 00:30:01 +0000.582367][6191]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4796
[363:899] [2023-12-08 00:30:01 +0000.679473][6148] GPUImageProcessing: process
video frame with resolution 1280 X 720
[363:899] [2023-12-08 00:30:01 +0000.679626][6148] GPUImageProcessing: input frame
width1280 X 720
[363:900] [2023-12-08 00:30:01 +0000.680449][6148] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[363:901] [2023-12-08 00:30:01 +0000.680937][6148] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[364:065] [2023-12-08 00:30:01 +0000.845068][6148] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[364:130] [2023-12-08 00:30:01 +0000.910458][6148] The convert RGB to YUV take 3
[364:152] [2023-12-08 00:30:01 +0000.932218][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[364:152] [2023-12-08 00:30:01 +0000.932413][6148] operator(): Stop
[364:152] [2023-12-08 00:30:01 +0000.932447][6148] StopPullFrameAndWriteMp4
time:371438333 enter.

[364:152] [2023-12-08 00:30:01 +0000.932473][6148] StopRecording:


[364:156] [2023-12-08 00:30:01 +0000.935924][618a] PullAudioFrame: PullFrame audio
finished.
[364:156] [2023-12-08 00:30:01 +0000.936015][618a]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[364:159] [2023-12-08 00:30:01 +0000.938923][6191]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:155
[364:159] [2023-12-08 00:30:01 +0000.939691][6147] stop recording
[364:160] [2023-12-08 00:30:01 +0000.939767][6147]
RecordingSessionInternalSimple:destroy media processers
[364:160] [2023-12-08 00:30:01 +0000.939789][6147] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[364:160] [2023-12-08 00:30:01 +0000.939810][6147] H264Encode::flushing hareware
Encoder
[364:160] [2023-12-08 00:30:01 +0000.940006][6147] Flush time:371438341 enter.

[364:160] [2023-12-08 00:30:01 +0000.940055][6147] H264Encoder encoder flush


[364:160] [2023-12-08 00:30:01 +0000.940080][6147] flush output queue
[364:293] [2023-12-08 00:30:02 +0000.73767][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[364:473] [2023-12-08 00:30:02 +0000.253148][6147] Flush leave. expire time = 313
ms

[364:473] [2023-12-08 00:30:02 +0000.253581][6147] ~H264EncodeWrap:


[364:473] [2023-12-08 00:30:02 +0000.253764][6147] ~H264Encode:
[364:474] [2023-12-08 00:30:02 +0000.253898][6147] teardownCompressionSession:
H264Encode::destroying Encoder
[364:474] [2023-12-08 00:30:02 +0000.254065][6147] Release time:371438655 enter.

[364:474] [2023-12-08 00:30:02 +0000.254490][6147] Release:


MediaCodecVideoEncoder::Release _inited:1
[364:474] [2023-12-08 00:30:02 +0000.254623][6147] Destroy time:371438655 enter.

[364:474] [2023-12-08 00:30:02 +0000.254710][6147] H264Encoder encoderDestroy


[364:475] [2023-12-08 00:30:02 +0000.254842][6147]
AndroidMediaCodecVideoEncoder::release env: 0x7a65607000
[364:475] [2023-12-08 00:30:02 +0000.254914][6147]
AndroidMediaCodecVideoEncoder::Destroy
[364:514] [2023-12-08 00:30:02 +0000.294308][6147] Destroy leave. expire time = 40
ms

[364:514] [2023-12-08 00:30:02 +0000.294509][6147] Release leave. expire time = 40


ms

[364:514] [2023-12-08 00:30:02 +0000.294562][6147] ~AndroidHwAvcEncoder


time:371438695 enter.

[364:514] [2023-12-08 00:30:02 +0000.294750][6147] Release time:371438695 enter.

[364:515] [2023-12-08 00:30:02 +0000.294852][6147] Release:


MediaCodecVideoEncoder:: has been released before, just return
[364:515] [2023-12-08 00:30:02 +0000.294907][6147] Release leave. expire time = 1
ms

[364:515] [2023-12-08 00:30:02 +0000.294945][6147] ~AndroidMediaCodecVideoEncoder


[364:515] [2023-12-08 00:30:02 +0000.294975][6147] ~WrapAndroidMediaCodec
time:371438696 enter.

[364:515] [2023-12-08 00:30:02 +0000.295012][6147] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[364:515] [2023-12-08 00:30:02 +0000.295045][6147] video hevc hw codec


destructor:0x7a65638bd8

[364:515] [2023-12-08 00:30:02 +0000.295128][6147] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[364:515] [2023-12-08 00:30:02 +0000.295182][6147] teardownCompressionSession:


H264Encode::destroyed Encoder
[364:515] [2023-12-08 00:30:02 +0000.295239][6147]
RecordingSessionInternalSimple:destroy aac encoder output!
[364:515] [2023-12-08 00:30:02 +0000.295292][6147] AACSWEncode destructor
[364:520] [2023-12-08 00:30:02 +0000.299925][6192] MP4 close file successfully
[364:520] [2023-12-08 00:30:02 +0000.300132][6192] Recording session Internal:
notify recording ok
[364:520] [2023-12-08 00:30:02 +0000.300235][6192] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_371433008.mp4,
output_video_timestamp_:5125 last_video_pts_:5125
[364:520] [2023-12-08 00:30:02 +0000.300350][6192] OnRecordFinish:
[364:521] [2023-12-08 00:30:02 +0000.301322][6192] onRecordingOk: net seek
pos:0record video duration:5158record audio duration:5131
[364:522] [2023-12-08 00:30:02 +0000.302006][618b] destructMicSource_w:
[364:522] [2023-12-08 00:30:02 +0000.302107][618b] setOutput_w:
MicSource::setOutput() 0x0
[364:522] [2023-12-08 00:30:02 +0000.302370][6148] releaseThread 0x79e8dda100
[364:522] [2023-12-08 00:30:02 +0000.302431][6148] ~MicSource: Mic source
destroyed:0x798fe4c100
[364:523] [2023-12-08 00:30:02 +0000.303490][6148] StopPullFrameAndWriteMp4 leave.
expire time = 371 ms

[364:523] [2023-12-08 00:30:02 +0000.303564][6148] DestroyPipelineAndFilters


time:371438704 enter.

[364:523] [2023-12-08 00:30:02 +0000.303615][6148] UnbindInputFilter 0x79e8dda9c0


this 0x79be187dc0
[364:523] [2023-12-08 00:30:02 +0000.303659][6148] UnbindInputFilter 0x79e8ddacd8
this 0x79e8ddae50
[364:523] [2023-12-08 00:30:02 +0000.303722][6148] UnbindInputFilter 0x79be187dc0
this 0x79be09fa60
[364:523] [2023-12-08 00:30:02 +0000.303764][6148] filter: filter pipeline destroy
this: 0x79be09f9c0
[364:524] [2023-12-08 00:30:02 +0000.304101][6148] ClearVideoOfSources: recodring
total frames:0
[364:524] [2023-12-08 00:30:02 +0000.304186][6148] ClearVideoOfSources:
[364:524] [2023-12-08 00:30:02 +0000.304222][6148] GPUImageProcessing destruct.
[364:524] [2023-12-08 00:30:02 +0000.304280][6148] destroy TrivalImageDrawer
0x79c4cf5980
[364:524] [2023-12-08 00:30:02 +0000.304317][6148] The shader has been initialize,
clean up them.

[364:524] [2023-12-08 00:30:02 +0000.304369][6148] ~OpenGLFrameBuffer:


[364:524] [2023-12-08 00:30:02 +0000.304556][6148] ~OpenGLFrameBuffer:
[364:524] [2023-12-08 00:30:02 +0000.304703][6148] ~OpenGLFrameBuffer:
[364:525] [2023-12-08 00:30:02 +0000.304874][6148] ~OpenGLFrameBuffer:
[364:525] [2023-12-08 00:30:02 +0000.305006][6148] ~OpenGLFrameBuffer:
[364:525] [2023-12-08 00:30:02 +0000.305136][6148] ~OpenGLFrameBuffer:
[364:525] [2023-12-08 00:30:02 +0000.305479][6148] GPUImageProcessing destruct
finish.
[364:525] [2023-12-08 00:30:02 +0000.305550][6148] GPURGBAFrame destruct.
[364:525] [2023-12-08 00:30:02 +0000.305722][6148] destroy OpenGLRenderProgram
0x79be187b98
[364:526] [2023-12-08 00:30:02 +0000.305786][6148] ~CameraSource time:371438707
enter.

[364:526] [2023-12-08 00:30:02 +0000.305830][6148] ~CameraSource leave. expire


time = 0 ms

[364:526] [2023-12-08 00:30:02 +0000.305885][6148] ~RecordAudioSource


time:371438707 enter.

[364:526] [2023-12-08 00:30:02 +0000.305946][6148] ~RecordAudioSource leave.


expire time = 0 ms

[364:526] [2023-12-08 00:30:02 +0000.306001][6148] DestroyPipelineAndFilters


leave. expire time = 3 ms

[365:380] [2023-12-08 00:30:03 +0000.160688][614c] Run AGC when audioType = 0


[366:002] [2023-12-08 00:30:03 +0000.782040][614c] haveEnoughProcessedData
internalAudioStream.length: 10
[367:385] [2023-12-08 00:30:05 +0000.165723][614c] Run AGC when audioType = 0
[367:386] [2023-12-08 00:30:05 +0000.166027][614c]
AudioDeviceDataHandler::MixAndSendOutFrame
[367:707] [2023-12-08 00:30:05 +0000.487722][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[369:385] [2023-12-08 00:30:07 +0000.165594][614c] Run AGC when audioType = 0
[369:412] [2023-12-08 00:30:07 +0000.191930][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[370:904] [2023-12-08 00:30:08 +0000.684004][41f7] SetOrientation:
MediaFilterCamera:: SetOrientation: 0
[370:904] [2023-12-08 00:30:08 +0000.684100][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 0
[370:904] [2023-12-08 00:30:08 +0000.684270][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[370:904] [2023-12-08 00:30:08 +0000.684478][6148] operator() time:371445085
enter.

[370:904] [2023-12-08 00:30:08 +0000.684595][6148] MediaFilterCamera, recording


file context:0x7a6560cf80 input texture:15
[370:908] [2023-12-08 00:30:08 +0000.687927][6148] MicSource: Mic source
created:10x79c4c57280
[370:909] [2023-12-08 00:30:08 +0000.689233][6148] alloc thread: 0x79be2b4800
name:worker0 thread id:523177462976 to Mic_source
[370:909] [2023-12-08 00:30:08 +0000.689416][6148] audio: start the audio sender
thread.

[370:909] [2023-12-08 00:30:08 +0000.689532][6148] construct OpenGLRenderProgram


0x79be187e98
[370:909] [2023-12-08 00:30:08 +0000.689595][6148] CropFilter::SetOrientation
orientation: 0
[370:910] [2023-12-08 00:30:08 +0000.689947][6148] filter: filter pipeline
construtc this: 0x79e9373b80
[370:910] [2023-12-08 00:30:08 +0000.690040][6148] filter: filter pipeline2 update
pattern: 1
[370:910] [2023-12-08 00:30:08 +0000.690106][6148] CameraSource::source_id_:7
[370:910] [2023-12-08 00:30:08 +0000.690171][6148] RecordAudioSource::source_id_:8
[370:911] [2023-12-08 00:30:08 +0000.691621][6148] BindInputFilter 0x79be2b56c0
this 0x79be1880c0
[370:912] [2023-12-08 00:30:08 +0000.691893][6148] BindInputFilter 0x79be2b5858
this 0x79be34b7d0
[370:912] [2023-12-08 00:30:08 +0000.692318][6148] BindInputFilter 0x79be1880c0
this 0x79e9373c20
[370:912] [2023-12-08 00:30:08 +0000.692543][6148] setParamentForFilters:
speed:1.000000
[370:912] [2023-12-08 00:30:08 +0000.692611][6148] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[370:912] [2023-12-08 00:30:08 +0000.692686][6148] SetParamForFilter time:371445093
enter.

[370:912] [2023-12-08 00:30:08 +0000.692742][6148] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[370:913] [2023-12-08 00:30:08 +0000.692806][6148] SetParamForFilter: Params video
index is: 0
[370:913] [2023-12-08 00:30:08 +0000.692861][6148] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[370:913] [2023-12-08 00:30:08 +0000.692918][6148] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[370:913] [2023-12-08 00:30:08 +0000.693058][6148] crop filter mode tpye:
citytravelvideo index:0
[370:922] [2023-12-08 00:30:08 +0000.702293][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[370:922] [2023-12-08 00:30:08 +0000.702452][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[370:922] [2023-12-08 00:30:08 +0000.702577][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[370:922] [2023-12-08 00:30:08 +0000.702655][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[370:922] [2023-12-08 00:30:08 +0000.702733][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[370:923] [2023-12-08 00:30:08 +0000.702855][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[370:923] [2023-12-08 00:30:08 +0000.702915][6148]
Warning(parse_template_json.cc:45): json parament no found the parament
[370:923] [2023-12-08 00:30:08 +0000.702968][6148]
Warning(parse_template_json.cc:81): json parament no found the parament
[370:923] [2023-12-08 00:30:08 +0000.703020][6148]
Warning(parse_template_json.cc:81): json parament no found the parament
[370:923] [2023-12-08 00:30:08 +0000.703093][6148]
Warning(parse_template_json.cc:67): json parament no found the parament
[370:923] [2023-12-08 00:30:08 +0000.703166][6148]
Warning(parse_template_json.cc:93): json parament no found the duration
[370:923] [2023-12-08 00:30:08 +0000.703251][6148] SetParamForFilter leave. expire
time = 11 ms

[370:923] [2023-12-08 00:30:08 +0000.703452][6148] OnOutputSizeChanged width 1280


height 720
[370:923] [2023-12-08 00:30:08 +0000.703537][6148] OpenGLFrameBuffer: width:1280
height:720
[370:923] [2023-12-08 00:30:08 +0000.703595][6148] OpenGLFrameBuffer: width:1280
height:720
[370:923] [2023-12-08 00:30:08 +0000.703647][6148] OpenGLFrameBuffer: width:1280
height:720
[370:923] [2023-12-08 00:30:08 +0000.703697][6148] OpenGLFrameBuffer: width:1280
height:720
[370:923] [2023-12-08 00:30:08 +0000.703766][6148] OpenGLFrameBuffer: width:1280
height:720
[370:924] [2023-12-08 00:30:08 +0000.703838][6148] OpenGLFrameBuffer: width:1280
height:720
[370:924] [2023-12-08 00:30:08 +0000.703907][6148] construct TrivalImageDrawer
0x79be3b8400
[370:924] [2023-12-08 00:30:08 +0000.703999][6148] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x79be3b8400 context 0x7a58d3fc00
[370:924] [2023-12-08 00:30:08 +0000.704094][6148] setupGLES:
[370:929] [2023-12-08 00:30:08 +0000.709419][6148] OpenGLRenderProgram::Initialize.
[370:929] [2023-12-08 00:30:08 +0000.709587][6148] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[370:929] [2023-12-08 00:30:08 +0000.709631][6148] The extension of the OpenGL:
GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat
GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap
GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax
GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context
GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic
GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables
GL_OES_sample_shading GL_OES_shader_multisample_interpolation
GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader
GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5
GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float
GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
GL_EXT_external_buffer GL_EXT_EGL_image_array GL_EXT_texture_filter_anisotropic
GL_ARM_texture_unnormalized_coordinates
[370:930] [2023-12-08 00:30:08 +0000.709774][6148] Init open gl render:
0x79be187e98
[370:930] [2023-12-08 00:30:08 +0000.709834][6148] Fragement shader path:
[370:930] [2023-12-08 00:30:08 +0000.709890][6148] Fragement shader path:
[370:930] [2023-12-08 00:30:08 +0000.709928][6148] create opengl program object.
[370:930] [2023-12-08 00:30:08 +0000.709966][6148] create shader: vertex
[370:930] [2023-12-08 00:30:08 +0000.710216][6148] create shader: fragment
[370:932] [2023-12-08 00:30:08 +0000.711857][6148] Have not extra filter filename!
[370:932] [2023-12-08 00:30:08 +0000.711988][6148] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[370:932] [2023-12-08 00:30:08 +0000.712043][6148] OpenGLRenderProgram::Initialize
success.
[370:932] [2023-12-08 00:30:08 +0000.712167][6148] Setup the OpenGL result:1
[370:932] [2023-12-08 00:30:08 +0000.712554][6147] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
[370:933] [2023-12-08 00:30:08 +0000.712918][6147] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[370:933] [2023-12-08 00:30:08 +0000.713047][61a5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79a18dcc98
[370:933] [2023-12-08 00:30:08 +0000.713061][6147] 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
[370:933] [2023-12-08 00:30:08 +0000.713297][6147] 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_371445113.mp4
fileFD: -1
[370:934] [2023-12-08 00:30:08 +0000.714018][6147] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
is opened successfully
[370:934] [2023-12-08 00:30:08 +0000.714118][6147] setupMediaProcessers:
[370:934] [2023-12-08 00:30:08 +0000.714161][6147]
RecordingSessionInternalSimple:setup media processers.
[370:934] [2023-12-08 00:30:08 +0000.714210][6147] construct AAC encoder
[370:934] [2023-12-08 00:30:08 +0000.714734][6147] H264Encoder creating:
superfast011818
[370:935] [2023-12-08 00:30:08 +0000.714868][6147] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[370:936] [2023-12-08 00:30:08 +0000.716035][6147] H264Encode::GetMachineModel is
21121119VL
[370:936] [2023-12-08 00:30:08 +0000.716134][6147] H264Encoder machine_mode
is:21121119VL
[370:936] [2023-12-08 00:30:08 +0000.716216][6147] H264Encode::machine size :9
machine_mode:21121119VL
[370:936] [2023-12-08 00:30:08 +0000.716270][6147] H264Encode::machine array
size :22 machine_mode:21121119VL
[370:936] [2023-12-08 00:30:08 +0000.716316][6147] H264Encode::current machine
is :21121119VL auto check hw codec decide to use hw codec
[370:936] [2023-12-08 00:30:08 +0000.716356][6147] setupCompressionSession:
[370:936] [2023-12-08 00:30:08 +0000.716393][6147] H264Encode::creating hareware
Encoder
[370:936] [2023-12-08 00:30:08 +0000.716432][6147] AndroidHwAvcEncoder
time:371445117 enter.

[370:936] [2023-12-08 00:30:08 +0000.716732][6147] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007afc6a7380 address:0x79adcb8760
[370:937] [2023-12-08 00:30:08 +0000.717023][6147] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[370:937] [2023-12-08 00:30:08 +0000.717085][6147] The video avc hw codec address
is 0x7a65638b50
[370:937] [2023-12-08 00:30:08 +0000.717239][6147] AndroidHwAvcEncoder leave.
expire time = 1 ms
[370:937] [2023-12-08 00:30:08 +0000.717297][6147] RegisterEncodeCompleteCallback
time:371445118 enter.

[370:937] [2023-12-08 00:30:08 +0000.717541][6147] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[370:937] [2023-12-08 00:30:08 +0000.717610][6147] InitEncode time:371445118


enter.

[370:938] [2023-12-08 00:30:08 +0000.717872][6147] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[370:938] [2023-12-08 00:30:08 +0000.717937][6147] Create time:371445119 enter.

[370:938] [2023-12-08 00:30:08 +0000.717991][6147] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[370:938] [2023-12-08 00:30:08 +0000.718046][6147]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7a656f4940
[370:938] [2023-12-08 00:30:08 +0000.718406][6147] supported_type:audio/mp4a-latm
[370:938] [2023-12-08 00:30:08 +0000.718475][6147] supported_type:audio/mp4a-latm
[370:938] [2023-12-08 00:30:08 +0000.718543][6147] supported_type:audio/3gpp
[370:938] [2023-12-08 00:30:08 +0000.718679][6147] supported_type:audio/3gpp
[370:938] [2023-12-08 00:30:08 +0000.718745][6147] supported_type:audio/amr-wb
[370:939] [2023-12-08 00:30:08 +0000.718851][6147] supported_type:audio/amr-wb
[370:939] [2023-12-08 00:30:08 +0000.718919][6147] supported_type:audio/flac
[370:939] [2023-12-08 00:30:08 +0000.718976][6147] supported_type:audio/flac
[370:939] [2023-12-08 00:30:08 +0000.719058][6147] supported_type:audio/opus
[370:939] [2023-12-08 00:30:08 +0000.719180][6147] supported_type:video/avc
[370:939] [2023-12-08 00:30:08 +0000.719226][6147] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[370:939] [2023-12-08 00:30:08 +0000.719303][6147] hwCodecPrefix :OMX.qcom.
[370:939] [2023-12-08 00:30:08 +0000.719343][6147] hwCodecPrefix :OMX.Nvidia.
[370:939] [2023-12-08 00:30:08 +0000.719380][6147] hwCodecPrefix :OMX.IMG.TOPAZ
[370:939] [2023-12-08 00:30:08 +0000.719418][6147] hwCodecPrefix :OMX.Exynos
[370:939] [2023-12-08 00:30:08 +0000.719454][6147] hwCodecPrefix :OMX.MTK
[370:939] [2023-12-08 00:30:08 +0000.719497][6147] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[370:939] [2023-12-08 00:30:08 +0000.719545][6147] mediacodec_createCodecByName
time:371445120 enter.

[370:939] [2023-12-08 00:30:08 +0000.719596][6147] WrapAndroidMediaCodec


time:371445120 enter.

[370:940] [2023-12-08 00:30:08 +0000.719831][6147] WrapAndroidMediaCodec leave.


expire time = 1 ms

[370:950] [2023-12-08 00:30:08 +0000.730648][6147] mediacodec_createCodecByName


leave. expire time = 11 ms

[370:951] [2023-12-08 00:30:08 +0000.730972][6147] WrapAndroidMediaFromat


time:371445132 enter.

[370:951] [2023-12-08 00:30:08 +0000.731140][6147] WrapAndroidMediaFromat leave.


expire time = 0 ms

[371:003] [2023-12-08 00:30:08 +0000.783391][6147] Destroy time:371445184 enter.

[371:003] [2023-12-08 00:30:08 +0000.783621][6147] WrapAndroidMediaFromat::


Destroy
[371:004] [2023-12-08 00:30:08 +0000.783774][6147] Destroy leave. expire time = 1
ms

[371:004] [2023-12-08 00:30:08 +0000.783842][6147] ~WrapAndroidMediaFromat


time:371445185 enter.

[371:004] [2023-12-08 00:30:08 +0000.783899][6147] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[371:004] [2023-12-08 00:30:08 +0000.783961][6147] Create leave. expire time = 66


ms

[371:004] [2023-12-08 00:30:08 +0000.783996][619e] Error(MicSource.cpp:254): There


is no output connect to mic source, discard the frame.
[371:004] [2023-12-08 00:30:08 +0000.784014][6147] isSemiPlanarSupport
time:371445185 enter.

[371:004] [2023-12-08 00:30:08 +0000.784157][6147] H264Encoder isSemiPlanarSupport


[371:004] [2023-12-08 00:30:08 +0000.784323][6147] isSemiPlanarSupport leave.
expire time = 0 ms

[371:004] [2023-12-08 00:30:08 +0000.784441][6147] creat hw H264Encoder success,


isSemiPlanar:1
[371:004] [2023-12-08 00:30:08 +0000.784723][6147] InitEncode leave. expire time =
67 ms

[371:005] [2023-12-08 00:30:08 +0000.784814][6147] H264Encode::created Encoder


[371:005] [2023-12-08 00:30:08 +0000.784876][6147] H264Encode:: H264 encoder
created.
[371:005] [2023-12-08 00:30:08 +0000.784927][6147] H264 encoder created.
[371:005] [2023-12-08 00:30:08 +0000.785000][6147]
RecordingSessionInternalSimple:created avc encoder avc: 0x79bef0c940
[371:005] [2023-12-08 00:30:08 +0000.785082][6147] setOutput:
[371:005] [2023-12-08 00:30:08 +0000.785137][6147]
RecordingSessionInternalSimple:encoder set output to muxer!
[371:005] [2023-12-08 00:30:08 +0000.785219][6147] request a key frame
[371:005] [2023-12-08 00:30:08 +0000.785271][6147] H264Encode:: request a key frame
[371:005] [2023-12-08 00:30:08 +0000.785491][6147] setDisplayRotate :0
[371:005] [2023-12-08 00:30:08 +0000.785590][6147] 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
[371:006] [2023-12-08 00:30:08 +0000.785778][6148] StartRecording:
[371:006] [2023-12-08 00:30:08 +0000.785945][619e] operator(): Set the recording
session in mic source. recording session: 0x79be2b5700
[371:006] [2023-12-08 00:30:08 +0000.786198][6148] operator() leave. expire time =
102 ms

[371:067] [2023-12-08 00:30:08 +0000.847133][6148] begine recode to first frame


spend time:163
[371:067] [2023-12-08 00:30:08 +0000.847276][6148]
GPUImageProcessing::SetOrientation orientation: 0
[371:067] [2023-12-08 00:30:08 +0000.847549][6148] drawYUV420 render
OpenGLRenderProgram:0x79be187e98
[371:099] [2023-12-08 00:30:08 +0000.878982][6148] drawYUV420 render
OpenGLRenderProgram:0x79be187e98
[371:113] [2023-12-08 00:30:08 +0000.893037][61a4]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[371:121] [2023-12-08 00:30:08 +0000.901430][614c] haveEnoughProcessedData
internalAudioStream.length: 10
[371:137] [2023-12-08 00:30:08 +0000.917604][6148] drawYUV420 render
OpenGLRenderProgram:0x79be187e98
[371:145] [2023-12-08 00:30:08 +0000.925379][61a5] add aac audio track with id:1
[371:152] [2023-12-08 00:30:08 +0000.932659][61a4] DTS queue for
Generator:0x79a18dceb8 0 39
[371:164] [2023-12-08 00:30:08 +0000.944648][619d]
RecordAudioSource::PullAudioFrame
[371:182] [2023-12-08 00:30:08 +0000.962716][61a4] h264 add frame header cdr flag
[371:184] [2023-12-08 00:30:08 +0000.963899][61a4] h264 add frame header cdr flag
[371:185] [2023-12-08 00:30:08 +0000.964869][61a4] Received key frame:0
[371:185] [2023-12-08 00:30:08 +0000.965073][61a4] H264Encode:: get a sps pps
header!headerSize:30
[371:185] [2023-12-08 00:30:08 +0000.965316][61a5] get the H.264 SPS parameter
[371:186] [2023-12-08 00:30:08 +0000.965781][61a5] add video track with id:2
[371:188] [2023-12-08 00:30:08 +0000.967882][61a5] get the H.264 PPS parameter
[371:190] [2023-12-08 00:30:08 +0000.970131][61a5] get the H.264 IDR frame
[371:190] [2023-12-08 00:30:08 +0000.970299][61a5] resss:true
[371:190] [2023-12-08 00:30:08 +0000.970341][61a5] video start ts:0
[371:190] [2023-12-08 00:30:08 +0000.970650][61a5] the video frame has been written
into MP4 file
[371:231] [2023-12-08 00:30:09 +0000.11514][61a5] audio start ts:0
[371:232] [2023-12-08 00:30:09 +0000.11886][61a5] the audio frame has been written
into MP4 file
[371:381] [2023-12-08 00:30:09 +0000.160806][614d] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[371:381] [2023-12-08 00:30:09 +0000.161040][614d] _deviceSampleRate:48000

[371:383] [2023-12-08 00:30:09 +0000.163766][614c] Run AGC when audioType = 0


[371:384] [2023-12-08 00:30:09 +0000.164081][614c]
AudioDeviceDataHandler::MixAndSendOutFrame
[371:468] [2023-12-08 00:30:09 +0000.248130][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[371:538] [2023-12-08 00:30:09 +0000.318164][61a4] Push an pts:434 to dts queue.
[371:568] [2023-12-08 00:30:09 +0000.348490][6148] The convert RGB to YUV take 3
[371:575] [2023-12-08 00:30:09 +0000.354934][61a4] last dts:400 currentPts:434
ppsOrSPS:0 queue length:2
[371:803] [2023-12-08 00:30:09 +0000.583669][619d] resampled_data_size:1024
[371:898] [2023-12-08 00:30:09 +0000.678825][619d] AF_SpeedFilter audio
0x79be34b680 PullFrame
[371:906] [2023-12-08 00:30:09 +0000.686645][6148] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11984 diff: 17
[371:946] [2023-12-08 00:30:09 +0000.725836][61a4] DTS queue for
Generator:0x79a18dceb8 836
[371:950] [2023-12-08 00:30:09 +0000.730619][619e] The output timestamp from audio
mixer change:371446124
[371:972] [2023-12-08 00:30:09 +0000.751832][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[371:996] [2023-12-08 00:30:09 +0000.776126][614c] On audio frame the broadcast
with timestamp:371446177 samples:480. (1000 frame for one log)

[372:003] [2023-12-08 00:30:09 +0000.783715][619e] Get data in mic source, which


has byte length:1764micAudioStream->length():10
[372:004] [2023-12-08 00:30:09 +0000.783938][619e] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[372:073] [2023-12-08 00:30:09 +0000.853178][6148] The convert RGB to YUV take 3
[372:247] [2023-12-08 00:30:10 +0000.27093][61a4] SendFrame
encodedImage._timeStamp:1106encodedImage->_length:133263
[372:280] [2023-12-08 00:30:10 +0000.60089][61a4] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1138 pts:1138
[372:305] [2023-12-08 00:30:10 +0000.85637][6148] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[372:487] [2023-12-08 00:30:10 +0000.267503][6148] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[372:510] [2023-12-08 00:30:10 +0000.290553][61a4] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:1404
[372:511] [2023-12-08 00:30:10 +0000.291028][61a4] push video frame to H264
encoder. (100 frame for one log)

[372:511] [2023-12-08 00:30:10 +0000.291406][61a4] push video frame to H264


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

[372:511] [2023-12-08 00:30:10 +0000.291609][61a4] H264Encode::push video frame to


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

[372:511] [2023-12-08 00:30:10 +0000.291742][61a4] The input pts:1404 fps:30


[372:545] [2023-12-08 00:30:10 +0000.325531][61a4] H264Encode::H264SWEncoder get
callback, length:148104 type:1 nalType:1length:148100
[372:571] [2023-12-08 00:30:10 +0000.351600][6148] The convert RGB to YUV take 3
[372:751] [2023-12-08 00:30:10 +0000.531015][61a3]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 1555queue_audio_frame_:6
[372:774] [2023-12-08 00:30:10 +0000.554482][61a4] DTS queue for
Generator:0x79a18dceb8 1666
[372:846] [2023-12-08 00:30:10 +0000.627070][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[372:866] [2023-12-08 00:30:10 +0000.646896][619d] AF_SpeedFilter::PullFrame eof4
[372:874] [2023-12-08 00:30:10 +0000.654536][61a4] Push an pts:1766 to dts queue.
[372:875] [2023-12-08 00:30:10 +0000.655345][619d]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[372:911] [2023-12-08 00:30:10 +0000.690886][61a4] last dts:1741 currentPts:1766
ppsOrSPS:0 queue length:2
[372:969] [2023-12-08 00:30:10 +0000.748815][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[373:008] [2023-12-08 00:30:10 +0000.788083][619e] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[373:055] [2023-12-08 00:30:10 +0000.835137][619d]
RecordAudioSource::PullAudioFrame
[373:068] [2023-12-08 00:30:10 +0000.848095][6148] The convert RGB to YUV take 4
[373:139] [2023-12-08 00:30:10 +0000.919640][61a4] h264 add frame header cdr flag
[373:140] [2023-12-08 00:30:10 +0000.920317][61a4] Received key frame:2003
[373:180] [2023-12-08 00:30:10 +0000.960653][61a5] get the H.264 IDR frame
[373:386] [2023-12-08 00:30:11 +0000.165913][614c] Run AGC when audioType = 0
[373:406] [2023-12-08 00:30:11 +0000.186072][6148] FilterPipeline2::OnVideoFrame
pts 2331 last_video_timestamp_ 2331
[373:467] [2023-12-08 00:30:11 +0000.247066][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[373:517] [2023-12-08 00:30:11 +0000.297598][619d] AF_SpeedFilter audio
0x79be34b680 PullFrame
[373:569] [2023-12-08 00:30:11 +0000.349363][6148] The convert RGB to YUV take 5
[373:612] [2023-12-08 00:30:11 +0000.391823][61a4] DTS queue for
Generator:0x79a18dceb8 2464 2506
[373:845] [2023-12-08 00:30:11 +0000.625310][619d] AF_SpeedFilter audio time,
0x79be34b680 rcv time: 371448023
[373:845] [2023-12-08 00:30:11 +0000.625462][619d] AF_SpeedFilter audio time,
0x79be34b680 rcv time: 371448023in_nSamples:441
[373:962] [2023-12-08 00:30:11 +0000.742550][619d] resampled_data_size:13824
[373:963] [2023-12-08 00:30:11 +0000.742938][619d]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 371448022
[373:963] [2023-12-08 00:30:11 +0000.743110][619d]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[373:968] [2023-12-08 00:30:11 +0000.748628][6148] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[373:970] [2023-12-08 00:30:11 +0000.750625][6148] webrtc common_video plane
old ..... (1/1000) new: 13001 delete: 12984 diff: 17
[374:013] [2023-12-08 00:30:11 +0000.793393][619e] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[374:073] [2023-12-08 00:30:11 +0000.853708][6148] The convert RGB to YUV take 3
[374:075] [2023-12-08 00:30:11 +0000.854841][61a4]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:2970
[374:168] [2023-12-08 00:30:11 +0000.947822][6148] GPUImageProcessing: process
video frame with resolution 1280 X 720
[374:168] [2023-12-08 00:30:11 +0000.947988][6148] GPUImageProcessing: input frame
width1280 X 720
[374:168] [2023-12-08 00:30:11 +0000.948378][6148] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[374:168] [2023-12-08 00:30:11 +0000.948545][6148] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[374:210] [2023-12-08 00:30:11 +0000.990475][61a4] Push an pts:3104 to dts queue.
[374:242] [2023-12-08 00:30:12 +0000.22662][61a4] last dts:3069 currentPts:3104
ppsOrSPS:0 queue length:2
[374:367] [2023-12-08 00:30:12 +0000.147685][6148] drawYUV420 render
OpenGLRenderProgram:0x79be187e98
[374:444] [2023-12-08 00:30:12 +0000.224578][61a4] DTS queue for
Generator:0x79a18dceb8 3300 3334
[374:466] [2023-12-08 00:30:12 +0000.246520][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[374:568] [2023-12-08 00:30:12 +0000.348661][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[374:572] [2023-12-08 00:30:12 +0000.352492][6148] The convert RGB to YUV take 2
[374:932] [2023-12-08 00:30:12 +0000.712277][619d]
RecordAudioSource::PullAudioFrame
[374:968] [2023-12-08 00:30:12 +0000.748038][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[375:010] [2023-12-08 00:30:12 +0000.790502][619e] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[375:070] [2023-12-08 00:30:12 +0000.850344][6148] The convert RGB to YUV take 2
[375:091] [2023-12-08 00:30:12 +0000.871221][61a3]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3877queue_audio_frame_:9
[375:121] [2023-12-08 00:30:12 +0000.901655][619d] AF_SpeedFilter audio
0x79be34b680 PullFrame
[375:143] [2023-12-08 00:30:12 +0000.923129][61a4] h264 add frame header cdr flag
[375:144] [2023-12-08 00:30:12 +0000.923855][61a4] Received key frame:4003
[375:175] [2023-12-08 00:30:12 +0000.955572][61a5] get the H.264 IDR frame
[375:180] [2023-12-08 00:30:12 +0000.960101][619d] AF_SpeedFilter::PullFrame eof4
[375:187] [2023-12-08 00:30:12 +0000.966946][619d]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[375:245] [2023-12-08 00:30:13 +0000.24771][61a4] DTS queue for
Generator:0x79a18dceb8 4133
[375:385] [2023-12-08 00:30:13 +0000.164837][614c] Run AGC when audioType = 0
[375:385] [2023-12-08 00:30:13 +0000.165059][614c]
AudioDeviceDataHandler::MixAndSendOutFrame
[375:465] [2023-12-08 00:30:13 +0000.245083][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[375:539] [2023-12-08 00:30:13 +0000.319271][61a4] Push an pts:4433 to dts queue.
[375:571] [2023-12-08 00:30:13 +0000.351669][6148] The convert RGB to YUV take 3
[375:577] [2023-12-08 00:30:13 +0000.357080][61a4] SendFrame
encodedImage._timeStamp:4433encodedImage->_length:119775
[375:577] [2023-12-08 00:30:13 +0000.357308][61a4] last dts:4403 currentPts:4433
ppsOrSPS:0 queue length:2
[375:642] [2023-12-08 00:30:13 +0000.422757][61a4] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4505 pts:4505
[375:873] [2023-12-08 00:30:13 +0000.652990][61a4] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:4769
[375:873] [2023-12-08 00:30:13 +0000.653190][61a4] push video frame to H264
encoder. (100 frame for one log)

[375:873] [2023-12-08 00:30:13 +0000.653266][61a4] push video frame to H264


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

[375:873] [2023-12-08 00:30:13 +0000.653458][61a4] H264Encode::push video frame to


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

[375:873] [2023-12-08 00:30:13 +0000.653549][61a4] The input pts:4769 fps:30


[375:910] [2023-12-08 00:30:13 +0000.689788][61a4] H264Encode::H264SWEncoder get
callback, length:111302 type:1 nalType:1length:111298
[375:972] [2023-12-08 00:30:13 +0000.751947][6148] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[376:011] [2023-12-08 00:30:13 +0000.791535][619e] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[376:069] [2023-12-08 00:30:13 +0000.849494][6148] webrtc common_video plane
old ..... (1/1000) new: 14001 delete: 13984 diff: 17
[376:074] [2023-12-08 00:30:13 +0000.854391][6148] The convert RGB to YUV take 2
[376:079] [2023-12-08 00:30:13 +0000.859395][61a4] DTS queue for
Generator:0x79a18dceb8 4971
[376:219] [2023-12-08 00:30:13 +0000.999569][619d] resampled_data_size:4608
[376:282] [2023-12-08 00:30:14 +0000.62518][614c] haveEnoughProcessedData
internalAudioStream.length: 10
[376:326] [2023-12-08 00:30:14 +0000.106262][619d] AF_SpeedFilter audio time 111,
0x79be34b680 out time: 371450412 org time: 371450412
[376:410] [2023-12-08 00:30:14 +0000.190429][619d] AF_SpeedFilter audio time
[376:463] [2023-12-08 00:30:14 +0000.243459][6148] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[376:571] [2023-12-08 00:30:14 +0000.351306][6148] The convert RGB to YUV take 2
[376:713] [2023-12-08 00:30:14 +0000.493152][619d] AF_SpeedFilter audio
0x79be34b680 PullFrame
[376:788] [2023-12-08 00:30:14 +0000.568275][619d]
RecordAudioSource::PullAudioFrame
[376:873] [2023-12-08 00:30:14 +0000.653548][61a4] Push an pts:5770 to dts queue.
[376:904] [2023-12-08 00:30:14 +0000.684365][61a4] last dts:5733 currentPts:5770
ppsOrSPS:0 queue length:2
[376:904] [2023-12-08 00:30:14 +0000.684610][61a4] DTS queue for
Generator:0x79a18dceb8 5795
[376:965] [2023-12-08 00:30:14 +0000.745602][6148] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[377:011] [2023-12-08 00:30:14 +0000.791570][619e] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[377:062] [2023-12-08 00:30:14 +0000.841883][6148] The convert RGB to YUV take 4
[377:081] [2023-12-08 00:30:14 +0000.860812][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[377:081] [2023-12-08 00:30:14 +0000.860995][6148] operator(): Stop
[377:081] [2023-12-08 00:30:14 +0000.861038][6148] StopPullFrameAndWriteMp4
time:371451262 enter.

[377:081] [2023-12-08 00:30:14 +0000.861063][6148] StopRecording:


[377:084] [2023-12-08 00:30:14 +0000.864155][619d] PullAudioFrame: PullFrame audio
finished.
[377:084] [2023-12-08 00:30:14 +0000.864245][619d]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[377:087] [2023-12-08 00:30:14 +0000.867552][61a4]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:180
[377:088] [2023-12-08 00:30:14 +0000.868361][6147] stop recording
[377:088] [2023-12-08 00:30:14 +0000.868431][6147]
RecordingSessionInternalSimple:destroy media processers
[377:088] [2023-12-08 00:30:14 +0000.868455][6147] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[377:088] [2023-12-08 00:30:14 +0000.868478][6147] H264Encode::flushing hareware
Encoder
[377:088] [2023-12-08 00:30:14 +0000.868654][6147] Flush time:371451269 enter.

[377:088] [2023-12-08 00:30:14 +0000.868696][6147] H264Encoder encoder flush


[377:088] [2023-12-08 00:30:14 +0000.868720][6147] flush output queue
[377:384] [2023-12-08 00:30:15 +0000.164755][614c] Run AGC when audioType = 0
[377:401] [2023-12-08 00:30:15 +0000.181035][6147] Flush leave. expire time = 313
ms

[377:401] [2023-12-08 00:30:15 +0000.181254][6147] ~H264EncodeWrap:


[377:401] [2023-12-08 00:30:15 +0000.181329][6147] ~H264Encode:
[377:401] [2023-12-08 00:30:15 +0000.181373][6147] teardownCompressionSession:
H264Encode::destroying Encoder
[377:401] [2023-12-08 00:30:15 +0000.181439][6147] Release time:371451582 enter.

[377:401] [2023-12-08 00:30:15 +0000.181684][6147] Release:


MediaCodecVideoEncoder::Release _inited:1
[377:401] [2023-12-08 00:30:15 +0000.181765][6147] Destroy time:371451582 enter.

[377:402] [2023-12-08 00:30:15 +0000.181806][6147] H264Encoder encoderDestroy


[377:402] [2023-12-08 00:30:15 +0000.181846][6147]
AndroidMediaCodecVideoEncoder::release env: 0x79bef0ca80
[377:402] [2023-12-08 00:30:15 +0000.181919][6147]
AndroidMediaCodecVideoEncoder::Destroy
[377:442] [2023-12-08 00:30:15 +0000.221996][6147] Destroy leave. expire time = 41
ms

[377:442] [2023-12-08 00:30:15 +0000.222385][6147] Release leave. expire time = 41


ms

[377:442] [2023-12-08 00:30:15 +0000.222507][6147] ~AndroidHwAvcEncoder


time:371451623 enter.

[377:443] [2023-12-08 00:30:15 +0000.222947][6147] Release time:371451624 enter.

[377:443] [2023-12-08 00:30:15 +0000.223067][6147] Release:


MediaCodecVideoEncoder:: has been released before, just return
[377:443] [2023-12-08 00:30:15 +0000.223134][6147] Release leave. expire time = 0
ms

[377:443] [2023-12-08 00:30:15 +0000.223226][6147] ~AndroidMediaCodecVideoEncoder


[377:443] [2023-12-08 00:30:15 +0000.223279][6147] ~WrapAndroidMediaCodec
time:371451624 enter.

[377:443] [2023-12-08 00:30:15 +0000.223335][6147] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[377:443] [2023-12-08 00:30:15 +0000.223434][6147] video hevc hw codec


destructor:0x7a65638b50

[377:443] [2023-12-08 00:30:15 +0000.223668][6147] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[377:443] [2023-12-08 00:30:15 +0000.223769][6147] teardownCompressionSession:


H264Encode::destroyed Encoder
[377:444] [2023-12-08 00:30:15 +0000.223941][6147]
RecordingSessionInternalSimple:destroy aac encoder output!
[377:444] [2023-12-08 00:30:15 +0000.224032][6147] AACSWEncode destructor
[377:467] [2023-12-08 00:30:15 +0000.246846][61a5] MP4 close file successfully
[377:467] [2023-12-08 00:30:15 +0000.246974][61a5] Recording session Internal:
notify recording ok
[377:467] [2023-12-08 00:30:15 +0000.247017][61a5] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4,
output_video_timestamp_:5959 last_video_pts_:5959
[377:467] [2023-12-08 00:30:15 +0000.247127][61a5] OnRecordFinish:
[377:467] [2023-12-08 00:30:15 +0000.247603][61a5] onRecordingOk: net seek
pos:0record video duration:5992record audio duration:5967
[377:468] [2023-12-08 00:30:15 +0000.248207][619e] destructMicSource_w:
[377:468] [2023-12-08 00:30:15 +0000.248310][619e] setOutput_w:
MicSource::setOutput() 0x0
[377:469] [2023-12-08 00:30:15 +0000.248958][6148] releaseThread 0x79be2b4800
[377:469] [2023-12-08 00:30:15 +0000.249076][6148] ~MicSource: Mic source
destroyed:0x79c4c57280
[377:470] [2023-12-08 00:30:15 +0000.250524][6148] StopPullFrameAndWriteMp4 leave.
expire time = 389 ms

[377:470] [2023-12-08 00:30:15 +0000.250633][6148] DestroyPipelineAndFilters


time:371451651 enter.

[377:470] [2023-12-08 00:30:15 +0000.250702][6148] UnbindInputFilter 0x79be2b56c0


this 0x79be1880c0
[377:472] [2023-12-08 00:30:15 +0000.251856][6148] UnbindInputFilter 0x79be2b5858
this 0x79be34b7d0
[377:472] [2023-12-08 00:30:15 +0000.251944][6148] UnbindInputFilter 0x79be1880c0
this 0x79e9373c20
[377:472] [2023-12-08 00:30:15 +0000.251991][6148] filter: filter pipeline destroy
this: 0x79e9373b80
[377:472] [2023-12-08 00:30:15 +0000.252509][6148] ClearVideoOfSources: recodring
total frames:0
[377:472] [2023-12-08 00:30:15 +0000.252622][6148] ClearVideoOfSources:
[377:472] [2023-12-08 00:30:15 +0000.252699][6148] GPUImageProcessing destruct.
[377:473] [2023-12-08 00:30:15 +0000.252806][6148] destroy TrivalImageDrawer
0x79be3b8400
[377:473] [2023-12-08 00:30:15 +0000.252885][6148] The shader has been initialize,
clean up them.

[377:473] [2023-12-08 00:30:15 +0000.252990][6148] ~OpenGLFrameBuffer:


[377:473] [2023-12-08 00:30:15 +0000.253244][6148] ~OpenGLFrameBuffer:
[377:473] [2023-12-08 00:30:15 +0000.253471][6148] ~OpenGLFrameBuffer:
[377:473] [2023-12-08 00:30:15 +0000.253683][6148] ~OpenGLFrameBuffer:
[377:474] [2023-12-08 00:30:15 +0000.253878][6148] ~OpenGLFrameBuffer:
[377:474] [2023-12-08 00:30:15 +0000.254075][6148] ~OpenGLFrameBuffer:
[377:474] [2023-12-08 00:30:15 +0000.254354][6148] GPUImageProcessing destruct
finish.
[377:474] [2023-12-08 00:30:15 +0000.254457][6148] GPURGBAFrame destruct.
[377:474] [2023-12-08 00:30:15 +0000.254600][6148] destroy OpenGLRenderProgram
0x79be187e98
[377:474] [2023-12-08 00:30:15 +0000.254687][6148] ~CameraSource time:371451655
enter.

[377:474] [2023-12-08 00:30:15 +0000.254839][6148] ~CameraSource leave. expire


time = 1 ms

[377:475] [2023-12-08 00:30:15 +0000.254971][6148] ~RecordAudioSource


time:371451656 enter.

[377:475] [2023-12-08 00:30:15 +0000.255050][6148] ~RecordAudioSource leave.


expire time = 0 ms

[377:475] [2023-12-08 00:30:15 +0000.255133][6148] DestroyPipelineAndFilters


leave. expire time = 5 ms

[377:506] [2023-12-08 00:30:15 +0000.286096][41f7]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[377:507] [2023-12-08 00:30:15 +0000.287586][41f7] machine model :redmi
[377:507] [2023-12-08 00:30:15 +0000.287728][41f7] Support this machine
model :redmi
[377:508] [2023-12-08 00:30:15 +0000.287812][41f7] global inited! current sdk
version: 07-20-936c45f
[377:508] [2023-12-08 00:30:15 +0000.288195][41f7] filter: filter pipeline
construtc this: 0x79c4c29b00
[377:508] [2023-12-08 00:30:15 +0000.288320][41f7] MediaFilterGraph:
MediaFilterGraph construct
[377:508] [2023-12-08 00:30:15 +0000.288393][41f7] GLESContext:
[377:508] [2023-12-08 00:30:15 +0000.288475][41f7] The result of eglGetDisplay is:
0x1
[377:509] [2023-12-08 00:30:15 +0000.289747][41f7] The result of creation:
0x7a5893b100
[377:512] [2023-12-08 00:30:15 +0000.292063][41f7] The result of
eglCreatePbufferSurface is: 0x79ddb4c480
[377:512] [2023-12-08 00:30:15 +0000.292492][41f7] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
[377:512] [2023-12-08 00:30:15 +0000.292738][41f7] The source 0 speed:1
[377:513] [2023-12-08 00:30:15 +0000.292880][41f7] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4,
delay: 0
[377:513] [2023-12-08 00:30:15 +0000.293053][41f7] CreateDecoderByVideoSource
time:371451694 enter.

[377:514] [2023-12-08 00:30:15 +0000.294647][41f7] running_decoder_count:0max


count:2
[377:515] [2023-12-08 00:30:15 +0000.295024][41f7] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x79bdf0a000
[377:538] [2023-12-08 00:30:15 +0000.318055][61b0] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79c4c50200] Current FFmpeg version git-2021-06-16-
97cea6f
[377:570] [2023-12-08 00:30:15 +0000.350804][61b0] OnStreamInfoFound: video
duration_: 5992
[377:574] [2023-12-08 00:30:15 +0000.354653][41f7] start decoder
[377:574] [2023-12-08 00:30:15 +0000.354628][61b1] NO get frame from decoder
[377:575] [2023-12-08 00:30:15 +0000.355114][41f7] CreateDecoderByVideoSource
leave. expire time = 62 ms

[377:575] [2023-12-08 00:30:15 +0000.355426][41f7] BindInputFilter 0x79dda621a0


this 0x79dd9e26d8
[377:575] [2023-12-08 00:30:15 +0000.355565][41f7] BindInputFilter 0x79dd9e26d8
this 0x79ddafcbd8
[377:576] [2023-12-08 00:30:15 +0000.355781][41f7] BindInputFilter 0x79dda621a0
this 0x79ddafcd58
[377:576] [2023-12-08 00:30:15 +0000.355829][41f7] BindInputFilter 0x79ddafcd58
this 0x79ddafcf98
[377:576] [2023-12-08 00:30:15 +0000.355854][41f7] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
[377:576] [2023-12-08 00:30:15 +0000.355898][41f7] BindInputFilter 0x79ddafcbd8
this 0x79ddafd058
[377:576] [2023-12-08 00:30:15 +0000.355932][41f7] BindInputFilter 0x79ddafd058
this 0x79c4c29ba0
[377:576] [2023-12-08 00:30:15 +0000.355967][41f7] BindInputFilter 0x79ddafcf98
this 0x79ddafd118
[377:576] [2023-12-08 00:30:15 +0000.356003][41f7] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
[377:576] [2023-12-08 00:30:15 +0000.356065][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[377:577] [2023-12-08 00:30:15 +0000.356803][41f7] machine model :redmi
[377:577] [2023-12-08 00:30:15 +0000.356868][41f7] Support this machine
model :redmi
[377:577] [2023-12-08 00:30:15 +0000.356895][41f7] global inited! current sdk
version: 07-20-936c45f
[377:577] [2023-12-08 00:30:15 +0000.356986][41f7] GetPipeline:
-----------------------------------------
[377:577] [2023-12-08 00:30:15 +0000.357013][41f7] GetPipeline: source:
0x79dda61f80
[377:577] [2023-12-08 00:30:15 +0000.357039][41f7] GetPipeline: filter: NULLFilter
[377:577] [2023-12-08 00:30:15 +0000.357064][41f7] GetPipeline: filter: NULLFilter
[377:577] [2023-12-08 00:30:15 +0000.357087][41f7] GetPipeline: filter: NULLFilter
[377:577] [2023-12-08 00:30:15 +0000.357111][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[377:577] [2023-12-08 00:30:15 +0000.357133][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[377:577] [2023-12-08 00:30:15 +0000.357156][41f7] GetPipeline: audio filter:
AudioNUllFilter
[377:577] [2023-12-08 00:30:15 +0000.357179][41f7] GetPipeline:
------------------------------------------
[377:577] [2023-12-08 00:30:15 +0000.357206][41f7] filter: filter pipeline2 update
pattern: 0
[377:577] [2023-12-08 00:30:15 +0000.357366][61b1] NO get frame from decoder
[377:578] [2023-12-08 00:30:15 +0000.357975][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[377:578] [2023-12-08 00:30:15 +0000.358246][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[377:578] [2023-12-08 00:30:15 +0000.358325][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[377:578] [2023-12-08 00:30:15 +0000.358502][41f7] DeviceInit:
[377:579] [2023-12-08 00:30:15 +0000.358854][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[377:579] [2023-12-08 00:30:15 +0000.359355][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[377:580] [2023-12-08 00:30:15 +0000.360119][41f7] CreatePlatformSpecificObjects:
[377:580] [2023-12-08 00:30:15 +0000.360302][41f7] audio device use null audio
input and opensl output
[377:580] [2023-12-08 00:30:15 +0000.360443][41f7] Create OpenSLES output module
with java VM support.

[377:581] [2023-12-08 00:30:15 +0000.360978][41f7] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[377:581] [2023-12-08 00:30:15 +0000.361142][61b1] NO get frame from decoder
[377:582] [2023-12-08 00:30:15 +0000.362014][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[377:583] [2023-12-08 00:30:15 +0000.363054][41f7] Create OpenSLES output module
with buffer num:2

[377:583] [2023-12-08 00:30:15 +0000.363220][41f7] Error(trace.cc:40): Init the


output and input for audio device template.
[377:583] [2023-12-08 00:30:15 +0000.363254][41f7] Init the output device.

[377:583] [2023-12-08 00:30:15 +0000.363282][41f7] Set the playout as stereo:1


[377:583] [2023-12-08 00:30:15 +0000.363310][41f7] Set the sample rate to be:44100

[377:583] [2023-12-08 00:30:15 +0000.363436][41f7] Low latency buffer size:256 low


sample rate:48000
[377:583] [2023-12-08 00:30:15 +0000.363488][41f7] DeviceInit: Done
[377:583] [2023-12-08 00:30:15 +0000.363744][41f7] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[377:584] [2023-12-08 00:30:15 +0000.363857][61bc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x799023a918
[377:585] [2023-12-08 00:30:15 +0000.365007][61b1] NO get frame from decoder
[377:585] [2023-12-08 00:30:15 +0000.365052][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[377:585] [2023-12-08 00:30:15 +0000.365270][41f7]
MediaFilterPlayer::SetPlayerNotify 0x7a6d838be0
[377:585] [2023-12-08 00:30:15 +0000.365371][41f7]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[377:585] [2023-12-08 00:30:15 +0000.365435][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[377:587] [2023-12-08 00:30:15 +0000.366989][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[377:588] [2023-12-08 00:30:15 +0000.368206][41f7] SetGraphLoop: SetGraphLoop 1
[377:588] [2023-12-08 00:30:15 +0000.368285][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[377:588] [2023-12-08 00:30:15 +0000.368315][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[377:588] [2023-12-08 00:30:15 +0000.368571][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[377:588] [2023-12-08 00:30:15 +0000.368720][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[377:589] [2023-12-08 00:30:15 +0000.368886][61bf] Start:
[377:589] [2023-12-08 00:30:15 +0000.369105][61bd] operator(): video render
started.
[377:589] [2023-12-08 00:30:15 +0000.369238][61bf] Start:
[377:589] [2023-12-08 00:30:15 +0000.369530][61bf] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[377:589] [2023-12-08 00:30:15 +0000.369546][61b1] NO get frame from decoder
[377:589] [2023-12-08 00:30:15 +0000.369583][61bf] Reset: history total size: 98
[377:589] [2023-12-08 00:30:15 +0000.369622][61bf] DeviceStart:
audioDevice_:0x79e8e2a000
[377:589] [2023-12-08 00:30:15 +0000.369649][61bf] DeviceStart: time profile
playout init before
[377:589] [2023-12-08 00:30:15 +0000.369686][61bf] DeviceStart: time profile
playout init end
[377:589] [2023-12-08 00:30:15 +0000.369713][61bf] OpenSlesOutput:Start playout

[377:591] [2023-12-08 00:30:15 +0000.371571][61bf] Create the opensl output player.


streamtype before:0

[377:591] [2023-12-08 00:30:15 +0000.371751][61bf] Create the opensl output player.


streamtype after:3

[377:594] [2023-12-08 00:30:15 +0000.373955][61b1] NO get frame from decoder


[377:600] [2023-12-08 00:30:15 +0000.380345][61b1] NO get frame from decoder
[377:604] [2023-12-08 00:30:15 +0000.384678][61b1] NO get frame from decoder
[377:624] [2023-12-08 00:30:15 +0000.403945][61bf] Enqueue opensl buffer size:1764
[377:662] [2023-12-08 00:30:15 +0000.442058][61bf] DeviceStart: time profile
playout all end
[377:662] [2023-12-08 00:30:15 +0000.442229][61bf] operator(): Audio playback
started.
[377:663] [2023-12-08 00:30:15 +0000.442887][61bf] operator(): Started now!
[377:690] [2023-12-08 00:30:15 +0000.470367][61c2] Warning(opensles_output.cc:582):
The opensles audio play call back didn't finished in 20ms, and used:28
[377:715] [2023-12-08 00:30:15 +0000.494921][61bd] lipsync_debug: First video frame
rendering.
[377:747] [2023-12-08 00:30:15 +0000.527333][61c0] audio_frame_list_ empty
[377:811] [2023-12-08 00:30:15 +0000.591509][61bf] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[377:811] [2023-12-08 00:30:15 +0000.591704][61bf] First audio frame rendering
[377:914] [2023-12-08 00:30:15 +0000.694702][61c0] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 13270
[377:915] [2023-12-08 00:30:15 +0000.694917][61c0] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[377:966] [2023-12-08 00:30:15 +0000.746112][61bd] lipsync_debug:displaying video
ts:24120 The current displayed video timestamp is:371452147
[377:990] [2023-12-08 00:30:15 +0000.770324][61bd] DriveRender working... (1/200)
[378:013] [2023-12-08 00:30:15 +0000.793585][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[378:055] [2023-12-08 00:30:15 +0000.835593][61bf] The audio playback speed:100
(1/100)
[378:056] [2023-12-08 00:30:15 +0000.835983][61bf] lipsync_debug: The current
played audio timestamp is:16356(1/50)
[378:151] [2023-12-08 00:30:15 +0000.930980][61bd]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:35 timeDelta:5 last video
ts:41850 frame->pts:45000 pkt_dts:-9223372036854775808 pkt_pts:-9223372036854775808
[378:151] [2023-12-08 00:30:15 +0000.931160][61bd] lipsync_debug: tsDelta -
timeDelta = 30
[378:515] [2023-12-08 00:30:16 +0000.295403][61c1] Error(video_source.cc:430): wait
decoder a frame: 0
[378:591] [2023-12-08 00:30:16 +0000.371678][61c2]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[378:615] [2023-12-08 00:30:16 +0000.395546][61bd] lipsync_debug:displaying video
ts:84060 The current displayed video timestamp is:371452796
[378:717] [2023-12-08 00:30:16 +0000.496851][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[378:718] [2023-12-08 00:30:16 +0000.498186][61bf] Stop:
[378:718] [2023-12-08 00:30:16 +0000.498423][61bd] operator(): Video Render
stopped.
[378:718] [2023-12-08 00:30:16 +0000.498629][61bf] Stop:
[378:719] [2023-12-08 00:30:16 +0000.499267][61bf] DeviceStop:
audioDevice_:0x79e8e2a000
[378:719] [2023-12-08 00:30:16 +0000.499336][61bf] OpenSlesOutput:Stop playout

[378:721] [2023-12-08 00:30:16 +0000.500828][61bf] DeviceStop: Done


[378:721] [2023-12-08 00:30:16 +0000.501162][61bf] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[378:721] [2023-12-08 00:30:16 +0000.501326][61bf] operator(): Stop now!
[378:747] [2023-12-08 00:30:16 +0000.527099][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[378:747] [2023-12-08 00:30:16 +0000.527303][41f7] StopPreView: Have Stopped,
operation cancel
[378:747] [2023-12-08 00:30:16 +0000.527389][41f7] Stop:
[378:747] [2023-12-08 00:30:16 +0000.527601][61bf] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[378:748] [2023-12-08 00:30:16 +0000.527896][41f7] DeviceRelease:
audioDevice_:0x79e8e2a000
[378:748] [2023-12-08 00:30:16 +0000.527938][41f7] OpenSlesOutput:Stop playout

[378:748] [2023-12-08 00:30:16 +0000.527974][41f7] DeviceRelease: Release the


webrtc device object.
[378:748] [2023-12-08 00:30:16 +0000.528525][41f7] OpenSlesOutput destruct.

[378:748] [2023-12-08 00:30:16 +0000.528625][41f7] DeviceRelease: Done


[378:749] [2023-12-08 00:30:16 +0000.528861][41f7] Stop:
[378:749] [2023-12-08 00:30:16 +0000.529006][61bd] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[378:754] [2023-12-08 00:30:16 +0000.534355][41f7] global uninited!
[378:754] [2023-12-08 00:30:16 +0000.534561][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[378:754] [2023-12-08 00:30:16 +0000.534727][41f7] ~MediaFilterGraph:
MediaFilterGraph destruct
[378:755] [2023-12-08 00:30:16 +0000.534871][41f7] RemoveVideoBackGroud: hava not
add video backgroud
[378:755] [2023-12-08 00:30:16 +0000.535056][41f7] UnbindInputFilter 0x79ddafd058
this 0x79c4c29ba0
[378:755] [2023-12-08 00:30:16 +0000.535135][41f7] ClearAllSource: remove source
filter, sourceid: 0x79dda61f80
[378:755] [2023-12-08 00:30:16 +0000.535182][41f7] DestoryDecoderByVideoSource
time:371452936 enter.

[378:755] [2023-12-08 00:30:16 +0000.535238][41f7] ~VideoBindDecoder time:371452936


enter.

[378:755] [2023-12-08 00:30:16 +0000.535569][41f7] CleanUp time:371452936 enter.

[378:763] [2023-12-08 00:30:16 +0000.542919][41f7] CleanUp leave. expire time = 8


ms

[378:763] [2023-12-08 00:30:16 +0000.543048][41f7] CleanUp time:371452944 enter.


[378:763] [2023-12-08 00:30:16 +0000.543473][41f7] CleanUp leave. expire time = 0
ms

[378:764] [2023-12-08 00:30:16 +0000.544415][41f7] ~VideoBindDecoder leave. expire


time = 9 ms

[378:764] [2023-12-08 00:30:16 +0000.544495][41f7] DestoryDecoderByVideoSource


leave. expire time = 9 ms

[378:764] [2023-12-08 00:30:16 +0000.544535][41f7] UnbindInputFilter 0x79ddafcbd8


this 0x79ddafd058
[378:764] [2023-12-08 00:30:16 +0000.544569][41f7] UnbindInputFilter 0x79dd9e26d8
this 0x79ddafcbd8
[378:764] [2023-12-08 00:30:16 +0000.544601][41f7] UnbindInputFilter 0x79dda621a0
this 0x79dd9e26d8
[378:764] [2023-12-08 00:30:16 +0000.544633][41f7] UnbindInputFilter 0x79ddafcf98
this 0x79ddafd118
[378:764] [2023-12-08 00:30:16 +0000.544663][41f7] UnbindInputFilter 0x79ddafcd58
this 0x79ddafcf98
[378:764] [2023-12-08 00:30:16 +0000.544694][41f7] UnbindInputFilter 0x79dda621a0
this 0x79ddafcd58
[378:765] [2023-12-08 00:30:16 +0000.545061][41f7] ~GLESContext:
[378:765] [2023-12-08 00:30:16 +0000.545479][41f7] GLESContext destruct finish.
[378:765] [2023-12-08 00:30:16 +0000.545528][41f7] filter: filter pipeline destroy
this: 0x79c4c29b00
[378:767] [2023-12-08 00:30:16 +0000.546934][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[378:768] [2023-12-08 00:30:16 +0000.547902][41f7] machine model :redmi
[378:768] [2023-12-08 00:30:16 +0000.547973][41f7] Support this machine
model :redmi
[378:768] [2023-12-08 00:30:16 +0000.547997][41f7] global inited! current sdk
version: 07-20-936c45f
[378:768] [2023-12-08 00:30:16 +0000.548159][41f7] filter: filter pipeline
construtc this: 0x79c4c29b00
[378:768] [2023-12-08 00:30:16 +0000.548191][41f7] MediaFilterGraph:
MediaFilterGraph construct
[378:768] [2023-12-08 00:30:16 +0000.548213][41f7] GLESContext:
[378:768] [2023-12-08 00:30:16 +0000.548252][41f7] The result of eglGetDisplay is:
0x1
[378:769] [2023-12-08 00:30:16 +0000.548778][41f7] The result of creation:
0x7a5893b000
[378:769] [2023-12-08 00:30:16 +0000.548956][41f7] The result of
eglCreatePbufferSurface is: 0x7a5893b100
[378:769] [2023-12-08 00:30:16 +0000.549058][41f7] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
[378:769] [2023-12-08 00:30:16 +0000.549096][41f7] The source 0 speed:1
[378:769] [2023-12-08 00:30:16 +0000.549137][41f7] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4,
delay: 0
[378:769] [2023-12-08 00:30:16 +0000.549168][41f7] CreateDecoderByVideoSource
time:371452950 enter.

[378:769] [2023-12-08 00:30:16 +0000.549761][41f7] running_decoder_count:0max


count:2
[378:770] [2023-12-08 00:30:16 +0000.549815][41f7] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7a58a5d800
[378:772] [2023-12-08 00:30:16 +0000.552418][61c4] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79c4c50200] Current FFmpeg version git-2021-06-16-
97cea6f

[378:788] [2023-12-08 00:30:16 +0000.568767][61c4] OnStreamInfoFound: video


duration_: 5992
[378:791] [2023-12-08 00:30:16 +0000.571608][61c5] NO get frame from decoder
[378:791] [2023-12-08 00:30:16 +0000.571654][41f7] start decoder
[378:791] [2023-12-08 00:30:16 +0000.571728][41f7] CreateDecoderByVideoSource
leave. expire time = 22 ms

[378:792] [2023-12-08 00:30:16 +0000.571782][41f7] BindInputFilter 0x79dda5fea0


this 0x79ddafcd58
[378:792] [2023-12-08 00:30:16 +0000.571813][41f7] BindInputFilter 0x79ddafcd58
this 0x79ddafcf98
[378:792] [2023-12-08 00:30:16 +0000.571856][41f7] BindInputFilter 0x79dda5fea0
this 0x79ddafd058
[378:792] [2023-12-08 00:30:16 +0000.571893][41f7] BindInputFilter 0x79ddafd058
this 0x79ddafd118
[378:792] [2023-12-08 00:30:16 +0000.571913][41f7] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
[378:792] [2023-12-08 00:30:16 +0000.571946][41f7] BindInputFilter 0x79ddafcf98
this 0x79ddafe498
[378:792] [2023-12-08 00:30:16 +0000.572007][41f7] BindInputFilter 0x79ddafe498
this 0x79c4c29ba0
[378:792] [2023-12-08 00:30:16 +0000.572037][41f7] BindInputFilter 0x79ddafd118
this 0x79ddafe558
[378:792] [2023-12-08 00:30:16 +0000.572071][41f7] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371445113.mp4
[378:792] [2023-12-08 00:30:16 +0000.572116][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[378:792] [2023-12-08 00:30:16 +0000.572258][41f7] MediaComposeFile time:371452973
enter.

[378:792] [2023-12-08 00:30:16 +0000.572401][41f7] RecordingSessionInternalSimple:


Create session internal:720 X 1280 fps:30
[378:792] [2023-12-08 00:30:16 +0000.572591][41f7] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[378:792] [2023-12-08 00:30:16 +0000.572658][41f7] Recording session using default
bitrate support by app:31457280
[378:793] [2023-12-08 00:30:16 +0000.572819][61cf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79e8ea14c0
[378:793] [2023-12-08 00:30:16 +0000.572873][61cf] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[378:793] [2023-12-08 00:30:16 +0000.573011][41f7] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[378:793] [2023-12-08 00:30:16 +0000.573007][61c5] NO get frame from decoder
[378:793] [2023-12-08 00:30:16 +0000.573187][41f7] GetPipeline:
-----------------------------------------
[378:793] [2023-12-08 00:30:16 +0000.573241][41f7] GetPipeline: source:
0x79dda5fc80
[378:793] [2023-12-08 00:30:16 +0000.573264][41f7] GetPipeline: filter: NULLFilter
[378:793] [2023-12-08 00:30:16 +0000.573284][41f7] GetPipeline: filter: NULLFilter
[378:793] [2023-12-08 00:30:16 +0000.573311][41f7] GetPipeline: filter: NULLFilter
[378:793] [2023-12-08 00:30:16 +0000.573335][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[378:793] [2023-12-08 00:30:16 +0000.573367][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[378:793] [2023-12-08 00:30:16 +0000.573390][41f7] GetPipeline: audio filter:
AudioNUllFilter
[378:793] [2023-12-08 00:30:16 +0000.573414][41f7] GetPipeline:
------------------------------------------
[378:793] [2023-12-08 00:30:16 +0000.573447][41f7] filter: filter pipeline2 update
pattern: 2
[378:794] [2023-12-08 00:30:16 +0000.574205][41f7] MediaComposeFile leave. expire
time = 2 ms

[378:794] [2023-12-08 00:30:16 +0000.574374][61c5] NO get frame from decoder


[378:795] [2023-12-08 00:30:16 +0000.575480][41f7] machine model :redmi
[378:795] [2023-12-08 00:30:16 +0000.575586][41f7] Support this machine
model :redmi
[378:795] [2023-12-08 00:30:16 +0000.575609][41f7] global inited! current sdk
version: 07-20-936c45f
[378:796] [2023-12-08 00:30:16 +0000.575867][61c5] NO get frame from decoder
[378:797] [2023-12-08 00:30:16 +0000.576854][61c5] NO get frame from decoder
[378:798] [2023-12-08 00:30:16 +0000.577837][61c5] NO get frame from decoder
[378:799] [2023-12-08 00:30:16 +0000.579328][61c5] NO get frame from decoder
[378:800] [2023-12-08 00:30:16 +0000.580171][61c5] NO get frame from decoder
[378:827] [2023-12-08 00:30:16 +0000.607146][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[378:828] [2023-12-08 00:30:16 +0000.608764][41f7] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 300
[378:829] [2023-12-08 00:30:16 +0000.609120][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[378:829] [2023-12-08 00:30:16 +0000.609340][41f7] BeginCompose: BeginCompose, is
composing 0
[378:829] [2023-12-08 00:30:16 +0000.609613][61cf] start recording, file path:
[378:830] [2023-12-08 00:30:16 +0000.609867][61cf] MP4 session params: fps:30
width:1280 height:720 file name: fileFd: 300 audio_timescale:44100
video_timescale:90000
[378:830] [2023-12-08 00:30:16 +0000.609924][61cf] 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
[378:830] [2023-12-08 00:30:16 +0000.609965][61cf] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file name:
fileFD: 300
[378:830] [2023-12-08 00:30:16 +0000.610006][61cf] fd_open successed
handle:0xb400007afc75a0b0
[378:830] [2023-12-08 00:30:16 +0000.610308][61cf] create mp4 file:315
m_fileHandle: 0x79ddaf1500
[378:830] [2023-12-08 00:30:16 +0000.610346][61cf] MP4 file: is opened successfully
[378:830] [2023-12-08 00:30:16 +0000.610369][61cf] setupMediaProcessers:
[378:830] [2023-12-08 00:30:16 +0000.610391][61cf]
RecordingSessionInternalSimple:setup media processers.
[378:830] [2023-12-08 00:30:16 +0000.610412][61cf] construct AAC encoder
[378:831] [2023-12-08 00:30:16 +0000.610835][61cf] H264Encoder creating:
ultrafast012323
[378:831] [2023-12-08 00:30:16 +0000.610902][61cf] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[378:831] [2023-12-08 00:30:16 +0000.611558][61cf] H264Encode::GetMachineModel is
21121119VL
[378:831] [2023-12-08 00:30:16 +0000.611625][61cf] H264Encoder machine_mode
is:21121119VL
[378:831] [2023-12-08 00:30:16 +0000.611648][61cf] H264Encode::machine size :9
machine_mode:21121119VL
[378:831] [2023-12-08 00:30:16 +0000.611672][61cf] H264Encode::machine array
size :22 machine_mode:21121119VL
[378:831] [2023-12-08 00:30:16 +0000.611692][61cf] H264Encode::current machine
is :21121119VL auto check hw codec decide to use hw codec
[378:831] [2023-12-08 00:30:16 +0000.611714][61cf] setupCompressionSession:
[378:831] [2023-12-08 00:30:16 +0000.611732][61cf] H264Encode::creating hareware
Encoder
[378:831] [2023-12-08 00:30:16 +0000.611755][61cf] AndroidHwAvcEncoder
time:371453012 enter.

[378:832] [2023-12-08 00:30:16 +0000.611978][61cf] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007afc6a7380 address:0x79adcb8760
[378:832] [2023-12-08 00:30:16 +0000.612111][61cf] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[378:832] [2023-12-08 00:30:16 +0000.612144][61cf] The video avc hw codec address
is 0x79ddb6c848
[378:832] [2023-12-08 00:30:16 +0000.612224][61cf] AndroidHwAvcEncoder leave.
expire time = 1 ms

[378:832] [2023-12-08 00:30:16 +0000.612254][61cf] RegisterEncodeCompleteCallback


time:371453013 enter.

[378:832] [2023-12-08 00:30:16 +0000.612399][61cf] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[378:832] [2023-12-08 00:30:16 +0000.612442][61cf] InitEncode time:371453013


enter.

[378:832] [2023-12-08 00:30:16 +0000.612543][61cf] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[378:832] [2023-12-08 00:30:16 +0000.612611][61cf] Create time:371453013 enter.

[378:832] [2023-12-08 00:30:16 +0000.612633][61cf] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[378:832] [2023-12-08 00:30:16 +0000.612662][61cf]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79ddb1c480
[378:833] [2023-12-08 00:30:16 +0000.612904][61cf] supported_type:audio/mp4a-latm
[378:833] [2023-12-08 00:30:16 +0000.612946][61cf] supported_type:audio/mp4a-latm
[378:833] [2023-12-08 00:30:16 +0000.612985][61cf] supported_type:audio/3gpp
[378:833] [2023-12-08 00:30:16 +0000.613015][61cf] supported_type:audio/3gpp
[378:833] [2023-12-08 00:30:16 +0000.613050][61cf] supported_type:audio/amr-wb
[378:833] [2023-12-08 00:30:16 +0000.613081][61cf] supported_type:audio/amr-wb
[378:833] [2023-12-08 00:30:16 +0000.613115][61cf] supported_type:audio/flac
[378:833] [2023-12-08 00:30:16 +0000.613143][61cf] supported_type:audio/flac
[378:833] [2023-12-08 00:30:16 +0000.613188][61cf] supported_type:audio/opus
[378:833] [2023-12-08 00:30:16 +0000.613251][61cf] supported_type:video/avc
[378:833] [2023-12-08 00:30:16 +0000.613278][61cf] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[378:833] [2023-12-08 00:30:16 +0000.613326][61cf] hwCodecPrefix :OMX.qcom.
[378:833] [2023-12-08 00:30:16 +0000.613351][61cf] hwCodecPrefix :OMX.Nvidia.
[378:833] [2023-12-08 00:30:16 +0000.613374][61cf] hwCodecPrefix :OMX.IMG.TOPAZ
[378:833] [2023-12-08 00:30:16 +0000.613396][61cf] hwCodecPrefix :OMX.Exynos
[378:833] [2023-12-08 00:30:16 +0000.613418][61cf] hwCodecPrefix :OMX.MTK
[378:833] [2023-12-08 00:30:16 +0000.613443][61cf] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[378:833] [2023-12-08 00:30:16 +0000.613474][61cf] mediacodec_createCodecByName
time:371453014 enter.

[378:833] [2023-12-08 00:30:16 +0000.613502][61cf] WrapAndroidMediaCodec


time:371453014 enter.

[378:833] [2023-12-08 00:30:16 +0000.613658][61cf] WrapAndroidMediaCodec leave.


expire time = 0 ms

[378:835] [2023-12-08 00:30:16 +0000.615340][61d4] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x79be1be698
[378:849] [2023-12-08 00:30:16 +0000.629641][61cf] mediacodec_createCodecByName
leave. expire time = 16 ms

[378:850] [2023-12-08 00:30:16 +0000.629790][61cf] WrapAndroidMediaFromat


time:371453031 enter.

[378:850] [2023-12-08 00:30:16 +0000.630008][61cf] WrapAndroidMediaFromat leave.


expire time = 0 ms

[378:949] [2023-12-08 00:30:16 +0000.728887][61cf] Destroy time:371453130 enter.

[378:949] [2023-12-08 00:30:16 +0000.729064][61cf] WrapAndroidMediaFromat::


Destroy
[378:949] [2023-12-08 00:30:16 +0000.729175][61cf] Destroy leave. expire time = 0
ms

[378:949] [2023-12-08 00:30:16 +0000.729259][61cf] ~WrapAndroidMediaFromat


time:371453130 enter.

[378:949] [2023-12-08 00:30:16 +0000.729339][61cf] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[378:949] [2023-12-08 00:30:16 +0000.729427][61cf] Create leave. expire time = 117


ms

[378:949] [2023-12-08 00:30:16 +0000.729484][61cf] isSemiPlanarSupport


time:371453130 enter.

[378:949] [2023-12-08 00:30:16 +0000.729538][61cf] H264Encoder isSemiPlanarSupport


[378:949] [2023-12-08 00:30:16 +0000.729615][61cf] isSemiPlanarSupport leave.
expire time = 0 ms

[378:949] [2023-12-08 00:30:16 +0000.729674][61cf] creat hw H264Encoder success,


isSemiPlanar:1
[378:950] [2023-12-08 00:30:16 +0000.729906][61cf] InitEncode leave. expire time =
118 ms

[378:950] [2023-12-08 00:30:16 +0000.730044][61cf] H264Encode::created Encoder


[378:950] [2023-12-08 00:30:16 +0000.730104][61cf] H264Encode:: H264 encoder
created.
[378:950] [2023-12-08 00:30:16 +0000.730170][61cf] H264 encoder created.
[378:950] [2023-12-08 00:30:16 +0000.730248][61cf]
RecordingSessionInternalSimple:created avc encoder avc: 0x798fea53c0
[378:950] [2023-12-08 00:30:16 +0000.730335][61cf] setOutput:
[378:950] [2023-12-08 00:30:16 +0000.730390][61cf]
RecordingSessionInternalSimple:encoder set output to muxer!
[378:950] [2023-12-08 00:30:16 +0000.730448][61cf] request a key frame
[378:950] [2023-12-08 00:30:16 +0000.730497][61cf] H264Encode:: request a key frame
[378:952] [2023-12-08 00:30:16 +0000.732270][61cf] setDisplayRotate :0
[378:952] [2023-12-08 00:30:16 +0000.732450][61cf] 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
[378:956] [2023-12-08 00:30:16 +0000.735928][61d0]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[379:065] [2023-12-08 00:30:16 +0000.844813][61d4] add aac audio track with id:1
[379:065] [2023-12-08 00:30:16 +0000.845411][61cf] setDisplayRotate :0
[379:065] [2023-12-08 00:30:16 +0000.845508][61d4] audio start ts:0
[379:065] [2023-12-08 00:30:16 +0000.845531][61cf] 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
[379:065] [2023-12-08 00:30:16 +0000.845618][61d4] the audio frame has been written
into MP4 file
[379:112] [2023-12-08 00:30:16 +0000.892328][61d3] FilterPipeline2::OnAudioFrame
pts 32756 last_audio_timestamp_ 742.766
[379:134] [2023-12-08 00:30:16 +0000.914544][61d2] webrtc common_video plane
old ..... (1/1000) new: 15001 delete: 14932 diff: 69
[379:221] [2023-12-08 00:30:17 +0000.993][61d2] Error(video_source.cc:430): wait
decoder a frame: 0
[379:241] [2023-12-08 00:30:17 +0000.21071][61d3] audio_frame_list_ empty
[379:385] [2023-12-08 00:30:17 +0000.165210][614c] Run AGC when audioType = 0
[379:385] [2023-12-08 00:30:17 +0000.165352][614c]
AudioDeviceDataHandler::MixAndSendOutFrame
[379:416] [2023-12-08 00:30:17 +0000.196608][61d0] h264 add frame header cdr flag
[379:419] [2023-12-08 00:30:17 +0000.199240][61d0] h264 add frame header cdr flag
[379:420] [2023-12-08 00:30:17 +0000.199881][61d0] Received key frame:10
[379:420] [2023-12-08 00:30:17 +0000.200007][61d0] H264Encode:: get a sps pps
header!headerSize:30
[379:420] [2023-12-08 00:30:17 +0000.200200][61d4] get the H.264 SPS parameter
[379:421] [2023-12-08 00:30:17 +0000.200939][61d4] add video track with id:2
[379:422] [2023-12-08 00:30:17 +0000.201997][61d4] get the H.264 PPS parameter
[379:423] [2023-12-08 00:30:17 +0000.203254][61d4] get the H.264 IDR frame
[379:423] [2023-12-08 00:30:17 +0000.203439][61d4] resss:true
[379:423] [2023-12-08 00:30:17 +0000.203510][61d4] video start ts:10
[379:423] [2023-12-08 00:30:17 +0000.203722][61d4] the video frame has been written
into MP4 file
[379:463] [2023-12-08 00:30:17 +0000.242976][61d2] too much frame will be writed
[379:511] [2023-12-08 00:30:17 +0000.291383][61d0] DTS queue for
Generator:0x79be5e42b8 465 500 538 571 607 638 669 703 742 767
[379:596] [2023-12-08 00:30:17 +0000.375827][61d3] audio_frame_list_ empty
[379:606] [2023-12-08 00:30:17 +0000.386518][61d0] Push an pts:1106 to dts queue.
[379:647] [2023-12-08 00:30:17 +0000.426970][61d2] Error(video_source.cc:430): wait
decoder a frame: 0
[379:654] [2023-12-08 00:30:17 +0000.434485][61d3] too much frame will be writed
[379:684] [2023-12-08 00:30:17 +0000.464008][61d3] too much frame will be writed
[379:694] [2023-12-08 00:30:17 +0000.474248][61d2] too much frame will be writed
[379:706] [2023-12-08 00:30:17 +0000.486406][61d0] last dts:1071 currentPts:1106
ppsOrSPS:0 queue length:5
[379:714] [2023-12-08 00:30:17 +0000.493798][61d3] too much frame will be writed
[379:737] [2023-12-08 00:30:17 +0000.517592][61d3] too much frame will be writed
[379:766] [2023-12-08 00:30:17 +0000.546027][61d2] too much frame will be writed
[379:768] [2023-12-08 00:30:17 +0000.548510][61d0] DTS queue for
Generator:0x79be5e42b8 1342 1387 1404 1437 1467 1502 1536 1567
[379:796] [2023-12-08 00:30:17 +0000.575917][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[379:836] [2023-12-08 00:30:17 +0000.615876][61d2] too much frame will be writed
[379:916] [2023-12-08 00:30:17 +0000.696125][61d0] SendFrame
encodedImage._timeStamp:1766encodedImage->_length:133300
[379:927] [2023-12-08 00:30:17 +0000.707309][61d0] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1800 pts:1800
[379:932] [2023-12-08 00:30:17 +0000.712504][61d0] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:2134
[379:932] [2023-12-08 00:30:17 +0000.712607][61d0] push video frame to H264
encoder. (100 frame for one log)

[379:932] [2023-12-08 00:30:17 +0000.712635][61d0] push video frame to H264


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

[379:932] [2023-12-08 00:30:17 +0000.712706][61d0] H264Encode::push video frame to


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

[379:932] [2023-12-08 00:30:17 +0000.712747][61d0] The input pts:2134 fps:30


[379:978] [2023-12-08 00:30:17 +0000.758111][61d0] h264 add frame header cdr flag
[379:978] [2023-12-08 00:30:17 +0000.758599][61d0] Received key frame:2003
[379:983] [2023-12-08 00:30:17 +0000.763477][61d4] get the H.264 IDR frame
[380:012] [2023-12-08 00:30:17 +0000.792387][61d0] H264Encode::H264SWEncoder get
callback, length:129741 type:1 nalType:1length:129737
[380:017] [2023-12-08 00:30:17 +0000.797024][61d0] DTS queue for
Generator:0x79be5e42b8 2202 2234 2270 2300 2339
[380:064] [2023-12-08 00:30:17 +0000.844090][61d0] Push an pts:2441 to dts queue.
[380:066] [2023-12-08 00:30:17 +0000.846743][61d2] Error(video_source.cc:430): wait
decoder a frame: 0
[380:087] [2023-12-08 00:30:17 +0000.867505][61d0] last dts:2401 currentPts:2441
ppsOrSPS:0 queue length:3
[380:112] [2023-12-08 00:30:17 +0000.892123][61d3] audio_frame_list_ empty
[380:123] [2023-12-08 00:30:17 +0000.903521][61d2] too much frame will be writed
[380:313] [2023-12-08 00:30:18 +0000.93673][61d0] DTS queue for
Generator:0x79be5e42b8 3035 3069 3104 3135 3168
[380:314] [2023-12-08 00:30:18 +0000.94394][61d3] too much frame will be writed
[380:339] [2023-12-08 00:30:18 +0000.119108][61d2] too much frame will be writed
[380:373] [2023-12-08 00:30:18 +0000.152890][61d3] too much frame will be writed
[380:398] [2023-12-08 00:30:18 +0000.177889][61d3] too much frame will be writed
[380:405] [2023-12-08 00:30:18 +0000.185608][61d2] webrtc common_video plane
old ..... (1/1000) new: 16001 delete: 15808 diff: 193
[380:408] [2023-12-08 00:30:18 +0000.188082][61d2] too much frame will be writed
[380:444] [2023-12-08 00:30:18 +0000.224410][61d0] Push an pts:3769 to dts queue.
[380:459] [2023-12-08 00:30:18 +0000.239335][61d2] Error(video_source.cc:430): wait
decoder a frame: 0
[380:472] [2023-12-08 00:30:18 +0000.252146][61d3] too much frame will be writed
[380:495] [2023-12-08 00:30:18 +0000.275590][61d3] too much frame will be writed
[380:502] [2023-12-08 00:30:18 +0000.282351][61d2] too much frame will be writed
[380:507] [2023-12-08 00:30:18 +0000.287705][61d0] last dts:3730 currentPts:3769
ppsOrSPS:0 queue length:3
[380:531] [2023-12-08 00:30:18 +0000.311292][61d3] too much frame will be writed
[380:532] [2023-12-08 00:30:18 +0000.312669][61d0] DTS queue for
Generator:0x79be5e42b8 3868 3899 3934 3967 4003
[380:558] [2023-12-08 00:30:18 +0000.337986][61c5] av_read_frame AVERROR_EOF
[380:591] [2023-12-08 00:30:18 +0000.371154][61d0] h264 add frame header cdr flag
[380:592] [2023-12-08 00:30:18 +0000.371800][61d0] Received key frame:4003
[380:594] [2023-12-08 00:30:18 +0000.373906][61d4] get the H.264 IDR frame
[380:649] [2023-12-08 00:30:18 +0000.429414][61c5] OnReceiveEOF:
[380:649] [2023-12-08 00:30:18 +0000.429638][61c5] OnDecoderEOF time:371454830
enter.

[380:650] [2023-12-08 00:30:18 +0000.430041][61c5] OnDecoderEOF leave. expire time


= 1 ms

[380:651] [2023-12-08 00:30:18 +0000.430881][61c3] CleanUp time:371454832 enter.


[380:651] [2023-12-08 00:30:18 +0000.431283][61c5] OnDecoderFinished:
OnDecoderFinished total decoder frames:180 this:0x79dda5fc80
[380:652] [2023-12-08 00:30:18 +0000.432356][61c5] NULLFilter::OnVideoSourceEOF
0x79dda5fc80 this 0x79ddafccc0
[380:652] [2023-12-08 00:30:18 +0000.432475][61c5] NULLFilter::OnVideoSourceEOF
0x79ddafccc0 this 0x79ddafcf00
[380:652] [2023-12-08 00:30:18 +0000.432623][61c5] NULLFilter::OnVideoSourceEOF
0x79ddafcf00 this 0x79ddafe400
[380:652] [2023-12-08 00:30:18 +0000.432670][61d2] OnVideoTimer: OnVideoTimer
return
[380:652] [2023-12-08 00:30:18 +0000.432676][61d3] PullAudioFrame: PullFrame audio
finished.
[380:653] [2023-12-08 00:30:18 +0000.432911][61d3] OnAudioTimer: OnAudioTimer
EndComposeFile
[380:653] [2023-12-08 00:30:18 +0000.432969][61d3] EndComposeFile: EndComposeFile,
is composing 1
[380:671] [2023-12-08 00:30:18 +0000.450995][61c3] CleanUp leave. expire time = 20
ms

[380:671] [2023-12-08 00:30:18 +0000.451220][61c3] clean up


[380:671] [2023-12-08 00:30:18 +0000.451367][61c3] running_decoder_count:0max
count:2
[380:713] [2023-12-08 00:30:18 +0000.493308][61d0] DTS queue for
Generator:0x79be5e42b8 4565 4603 4635 4668 4703 4736 4769 4802 4836 4870 4905 4932
[380:742] [2023-12-08 00:30:18 +0000.522230][61d0] Push an pts:5100 to dts queue.
[380:827] [2023-12-08 00:30:18 +0000.607291][61d0] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:5498
[380:827] [2023-12-08 00:30:18 +0000.607512][61d0] push video frame to H264
encoder. (100 frame for one log)

[380:827] [2023-12-08 00:30:18 +0000.607648][61d0] push video frame to H264


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

[380:827] [2023-12-08 00:30:18 +0000.607713][61d0] H264Encode::push video frame to


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

[380:828] [2023-12-08 00:30:18 +0000.607801][61d0] The input pts:5498 fps:30


[380:834] [2023-12-08 00:30:18 +0000.613930][61d0] SendFrame
encodedImage._timeStamp:5100encodedImage->_length:135613
[380:834] [2023-12-08 00:30:18 +0000.614096][61d0] last dts:5064 currentPts:5100
ppsOrSPS:0 queue length:13
[380:848] [2023-12-08 00:30:18 +0000.628033][61d0] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:5166 pts:5166
[380:894] [2023-12-08 00:30:18 +0000.674295][61d0] DTS queue for
Generator:0x79be5e42b8 5398 5434 5465 5498 5533 5568 5603 5631 5666 5698 5733 5770
[380:922] [2023-12-08 00:30:18 +0000.701909][61d0] H264Encode::H264SWEncoder get
callback, length:134870 type:1 nalType:1length:134866
[380:944] [2023-12-08 00:30:18 +0000.724571][61d0]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:180
[380:945] [2023-12-08 00:30:18 +0000.724817][61d0]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x79e8ea5000
[380:947] [2023-12-08 00:30:18 +0000.727077][61d1]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[380:947] [2023-12-08 00:30:18 +0000.727258][61d1]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[380:948] [2023-12-08 00:30:18 +0000.727848][61cf] stop recording
[380:948] [2023-12-08 00:30:18 +0000.727962][61cf]
RecordingSessionInternalSimple:destroy media processers
[380:948] [2023-12-08 00:30:18 +0000.728003][61cf] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[380:948] [2023-12-08 00:30:18 +0000.728055][61cf] H264Encode::flushing hareware
Encoder
[380:948] [2023-12-08 00:30:18 +0000.728351][61cf] Flush time:371455129 enter.

[380:948] [2023-12-08 00:30:18 +0000.728432][61cf] H264Encoder encoder flush


[380:948] [2023-12-08 00:30:18 +0000.728475][61cf] flush output queue
[381:277] [2023-12-08 00:30:19 +0000.57300][61cf] Flush leave. expire time = 329
ms

[381:277] [2023-12-08 00:30:19 +0000.57669][61cf] ~H264EncodeWrap:


[381:278] [2023-12-08 00:30:19 +0000.57816][61cf] ~H264Encode:
[381:278] [2023-12-08 00:30:19 +0000.57911][61cf] teardownCompressionSession:
H264Encode::destroying Encoder
[381:278] [2023-12-08 00:30:19 +0000.58017][61cf] Release time:371455459 enter.

[381:278] [2023-12-08 00:30:19 +0000.58382][61cf] Release:


MediaCodecVideoEncoder::Release _inited:1
[381:278] [2023-12-08 00:30:19 +0000.58489][61cf] Destroy time:371455459 enter.

[381:278] [2023-12-08 00:30:19 +0000.58568][61cf] H264Encoder encoderDestroy


[381:278] [2023-12-08 00:30:19 +0000.58647][61cf]
AndroidMediaCodecVideoEncoder::release env: 0x7a58d518c0
[381:278] [2023-12-08 00:30:19 +0000.58726][61cf]
AndroidMediaCodecVideoEncoder::Destroy
[381:319] [2023-12-08 00:30:19 +0000.98845][61cf] Destroy leave. expire time = 41
ms

[381:319] [2023-12-08 00:30:19 +0000.99171][61cf] Release leave. expire time = 41


ms

[381:319] [2023-12-08 00:30:19 +0000.99237][61cf] ~AndroidHwAvcEncoder


time:371455500 enter.

[381:319] [2023-12-08 00:30:19 +0000.99454][61cf] Release time:371455500 enter.

[381:319] [2023-12-08 00:30:19 +0000.99564][61cf] Release: MediaCodecVideoEncoder::


has been released before, just return
[381:319] [2023-12-08 00:30:19 +0000.99612][61cf] Release leave. expire time = 0
ms

[381:319] [2023-12-08 00:30:19 +0000.99651][61cf] ~AndroidMediaCodecVideoEncoder


[381:319] [2023-12-08 00:30:19 +0000.99687][61cf] ~WrapAndroidMediaCodec
time:371455500 enter.

[381:319] [2023-12-08 00:30:19 +0000.99729][61cf] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[381:320] [2023-12-08 00:30:19 +0000.99773][61cf] video hevc hw codec


destructor:0x79ddb6c848

[381:320] [2023-12-08 00:30:19 +0000.99878][61cf] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[381:320] [2023-12-08 00:30:19 +0000.99936][61cf] teardownCompressionSession:


H264Encode::destroyed Encoder
[381:320] [2023-12-08 00:30:19 +0000.99982][61cf]
RecordingSessionInternalSimple:destroy aac encoder output!
[381:320] [2023-12-08 00:30:19 +0000.100024][61cf] AACSWEncode destructor
[381:336] [2023-12-08 00:30:19 +0000.116676][61d4] fd_close successed!
[381:337] [2023-12-08 00:30:19 +0000.117102][61d4] MP4 close file successfully
[381:337] [2023-12-08 00:30:19 +0000.117171][61d4] Recording session Internal:
notify recording ok
[381:337] [2023-12-08 00:30:19 +0000.117207][61d4] onRecordingOk: Recording Ok,
compose use time: 2508, averagefps 0
[381:337] [2023-12-08 00:30:19 +0000.117246][61d4] OnReceiveEOF:
[381:339] [2023-12-08 00:30:19 +0000.118902][61d3] OnAudioTimer: OnAudioTimer
return
[381:365] [2023-12-08 00:30:19 +0000.145665][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[381:366] [2023-12-08 00:30:19 +0000.145823][41f7] ~MediaComposeFile time:371455547
enter.

[381:366] [2023-12-08 00:30:19 +0000.145867][41f7] CancelCompose: CancelCompose,


is composing 0
[381:366] [2023-12-08 00:30:19 +0000.146076][61cf] stop recording
[381:366] [2023-12-08 00:30:19 +0000.146199][61cf] we have stopped recording before
[381:367] [2023-12-08 00:30:19 +0000.147024][41f7] ~MediaComposeFile leave. expire
time = 1 ms

[381:367] [2023-12-08 00:30:19 +0000.147338][41f7] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[381:368] [2023-12-08 00:30:19 +0000.148082][41f7] global uninited!
[381:368] [2023-12-08 00:30:19 +0000.148223][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[381:368] [2023-12-08 00:30:19 +0000.148311][41f7] ~MediaFilterGraph:
MediaFilterGraph destruct
[381:368] [2023-12-08 00:30:19 +0000.148353][41f7] RemoveVideoBackGroud: hava not
add video backgroud
[381:368] [2023-12-08 00:30:19 +0000.148417][41f7] UnbindInputFilter 0x79ddafe498
this 0x79c4c29ba0
[381:368] [2023-12-08 00:30:19 +0000.148475][41f7] ClearAllSource: remove source
filter, sourceid: 0x79dda5fc80
[381:368] [2023-12-08 00:30:19 +0000.148512][41f7] DestoryDecoderByVideoSource
time:371455549 enter.

[381:368] [2023-12-08 00:30:19 +0000.148556][41f7] ~VideoBindDecoder time:371455549


enter.

[381:369] [2023-12-08 00:30:19 +0000.148830][41f7] CleanUp time:371455550 enter.

[381:369] [2023-12-08 00:30:19 +0000.149247][41f7] CleanUp leave. expire time = 0


ms

[381:369] [2023-12-08 00:30:19 +0000.149303][41f7] CleanUp time:371455550 enter.

[381:369] [2023-12-08 00:30:19 +0000.149708][41f7] CleanUp leave. expire time = 0


ms

[381:371] [2023-12-08 00:30:19 +0000.151051][41f7] ~VideoBindDecoder leave. expire


time = 3 ms

[381:371] [2023-12-08 00:30:19 +0000.151142][41f7] DestoryDecoderByVideoSource


leave. expire time = 3 ms

[381:371] [2023-12-08 00:30:19 +0000.151208][41f7] UnbindInputFilter 0x79ddafcf98


this 0x79ddafe498
[381:371] [2023-12-08 00:30:19 +0000.151270][41f7] UnbindInputFilter 0x79ddafcd58
this 0x79ddafcf98
[381:371] [2023-12-08 00:30:19 +0000.151327][41f7] UnbindInputFilter 0x79dda5fea0
this 0x79ddafcd58
[381:371] [2023-12-08 00:30:19 +0000.151385][41f7] UnbindInputFilter 0x79ddafd118
this 0x79ddafe558
[381:371] [2023-12-08 00:30:19 +0000.151441][41f7] UnbindInputFilter 0x79ddafd058
this 0x79ddafd118
[381:371] [2023-12-08 00:30:19 +0000.151496][41f7] UnbindInputFilter 0x79dda5fea0
this 0x79ddafd058
[381:371] [2023-12-08 00:30:19 +0000.151598][41f7] ~GLESContext:
[381:372] [2023-12-08 00:30:19 +0000.152146][41f7] GLESContext destruct finish.
[381:372] [2023-12-08 00:30:19 +0000.152253][41f7] filter: filter pipeline destroy
this: 0x79c4c29b00
[381:381] [2023-12-08 00:30:19 +0000.160836][614d] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[381:381] [2023-12-08 00:30:19 +0000.161016][614d] _deviceSampleRate:48000

[381:384] [2023-12-08 00:30:19 +0000.164251][614c] Run AGC when audioType = 0


[381:557] [2023-12-08 00:30:19 +0000.337567][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[383:301] [2023-12-08 00:30:21 +0000.81446][614c] haveEnoughProcessedData
internalAudioStream.length: 0
[383:381] [2023-12-08 00:30:21 +0000.161394][614c] Run AGC when audioType = 0
[383:381] [2023-12-08 00:30:21 +0000.161632][614c]
AudioDeviceDataHandler::MixAndSendOutFrame
[383:460] [2023-12-08 00:30:21 +0000.240453][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[383:460] [2023-12-08 00:30:21 +0000.240542][4214] ~MediaFilterCamera
time:371457641 enter.

[383:460] [2023-12-08 00:30:21 +0000.240572][4214] StopPullFrameAndWriteMp4


time:371457641 enter.

[383:461] [2023-12-08 00:30:21 +0000.241173][6147] stop recording


[383:461] [2023-12-08 00:30:21 +0000.241278][6147] we have stopped recording before
[383:462] [2023-12-08 00:30:21 +0000.241869][4214] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[383:464] [2023-12-08 00:30:21 +0000.244695][4214] DestroyPipelineAndFilters


time:371457645 enter.

[383:465] [2023-12-08 00:30:21 +0000.244923][4214] DestroyPipelineAndFilters


leave. expire time = 1 ms

[383:465] [2023-12-08 00:30:21 +0000.245002][4214] AppDeviceManagerStopMic

[383:465] [2023-12-08 00:30:21 +0000.245485][4214] AppDeviceManagerStopMic::mic


status is on
[383:465] [2023-12-08 00:30:21 +0000.245543][4214] Try to stop webrtc device.

[383:465] [2023-12-08 00:30:21 +0000.245564][4214] Set record state to


stopped.threadID:16916

[383:497] [2023-12-08 00:30:21 +0000.276912][4214] Try to destory the


recorder.threadID:16916
[383:697] [2023-12-08 00:30:21 +0000.477140][4214] DestroyAudioRecorder:
[383:697] [2023-12-08 00:30:21 +0000.477307][4214] Cleanup the buffer queue in the
recorder.
[383:697] [2023-12-08 00:30:21 +0000.477366][4214] Destroy the recorder.

[383:701] [2023-12-08 00:30:21 +0000.480992][4214] StopRecording finished.

[383:701] [2023-12-08 00:30:21 +0000.481082][4214] The stop recording success.

[383:701] [2023-12-08 00:30:21 +0000.481105][4214]


AudioDeviceDataHandler::StopMicProcess

[383:703] [2023-12-08 00:30:21 +0000.483503][4214] AppDeviceManager stop.

[383:704] [2023-12-08 00:30:21 +0000.484289][4214] Rlease the webrtc device object.

[383:705] [2023-12-08 00:30:21 +0000.485272][4214] OpenSlesInput destruct.

[383:705] [2023-12-08 00:30:21 +0000.485456][4214] OpenSlesOutput destruct.

[383:707] [2023-12-08 00:30:21 +0000.487424][4214] EventDispatchServerScope


destruct
[383:707] [2023-12-08 00:30:21 +0000.487566][4214]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[383:708] [2023-12-08 00:30:21 +0000.487783][4214] ~AudioDeviceDataHandler

[383:710] [2023-12-08 00:30:21 +0000.489910][4214] AppDeviceManagerDestruct.

[383:710] [2023-12-08 00:30:21 +0000.490707][4214] ~AppDeviceManager:


[383:711] [2023-12-08 00:30:21 +0000.491069][4214] ~CpuOverloadDetect
time:371457892 enter.

[383:711] [2023-12-08 00:30:21 +0000.491690][4214] ~CpuOverloadDetect leave.


expire time = 0 ms

[383:714] [2023-12-08 00:30:21 +0000.493850][4214] Destruct BeautifyReader begin...


[383:714] [2023-12-08 00:30:21 +0000.493936][4214] Destruct BeautifyReader done.
[383:714] [2023-12-08 00:30:21 +0000.493968][4214] ~MediaFilterCamera leave.
expire time = 254 ms

[383:714] [2023-12-08 00:30:21 +0000.494134][4214] ~GLESContext:


[383:715] [2023-12-08 00:30:21 +0000.495188][4214] GLESContext destruct finish.
[383:715] [2023-12-08 00:30:21 +0000.495311][4214] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[383:716] [2023-12-08 00:30:21 +0000.495812][4214] global uninited!
[383:716] [2023-12-08 00:30:21 +0000.496393][4214] clear AppID 50011
[383:716] [2023-12-08 00:30:21 +0000.496486][4214] UnRegister JVM for Xplatform
util
[383:716] [2023-12-08 00:30:21 +0000.496558][4214] Dispose::unregister webrtc video
engine
[383:716] [2023-12-08 00:30:21 +0000.496618][4214] Init the android object with
jvm:0x0 env:0x0 context:0x0

[383:716] [2023-12-08 00:30:21 +0000.496673][4214] SetAndroidMediaCodecObjects


time:371457897 enter.

[383:716] [2023-12-08 00:30:21 +0000.496717][4214] ClearAndroidMediaCodecObjects


time:371457897 enter.
[383:716] [2023-12-08 00:30:21 +0000.496765][4214] ClearAndroidMediaCodecObjects
leave. expire time = 1 ms

[383:717] [2023-12-08 00:30:21 +0000.496810][4214] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[383:717] [2023-12-08 00:30:21 +0000.496853][4214] SetAndroidMediaCodecObjects


time:371457898 enter.

[383:717] [2023-12-08 00:30:21 +0000.496894][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[383:717] [2023-12-08 00:30:21 +0000.496938][4214] ClearAndroidMediaCodecObjects
time:371457898 enter.

[383:717] [2023-12-08 00:30:21 +0000.496979][4214] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[383:717] [2023-12-08 00:30:21 +0000.497042][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[383:717] [2023-12-08 00:30:21 +0000.497100][4214] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[383:717] [2023-12-08 00:30:21 +0000.497159][4214] Dispose::unregister webrtc voice


engine
[383:717] [2023-12-08 00:30:21 +0000.497213][4214] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[383:717] [2023-12-08 00:30:21 +0000.497279][4214] SystemUtil UnInit done


[410:089] [2023-12-08 00:30:47 +0000.869239][4214] Register JVM for xplatform util
[410:095] [2023-12-08 00:30:47 +0000.875201][4214] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-12-
08 00:30:47 +0000
[410:095] [2023-12-08 00:30:47 +0000.875293][4214] set AppID=50011 old AppID=-1
[410:095] [2023-12-08 00:30:47 +0000.875317][4214] Init the android object with
jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[410:095] [2023-12-08 00:30:47 +0000.875342][4214] SetAndroidMediaCodecObjects


time:371484276 enter.

[410:095] [2023-12-08 00:30:47 +0000.875369][4214] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[410:095] [2023-12-08 00:30:47 +0000.875401][4214] SetAndroidMediaCodecObjects


time:371484276 enter.

[410:095] [2023-12-08 00:30:47 +0000.875422][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007afc6a7380
[410:095] [2023-12-08 00:30:47 +0000.875443][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007afc6a7380 address:0x79adcb8760
[410:095] [2023-12-08 00:30:47 +0000.875480][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007afc6a7380
address:0x79adcb8760
[410:095] [2023-12-08 00:30:47 +0000.875502][4214] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[410:095] [2023-12-08 00:30:47 +0000.875523][4214] Set the android objects with


jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8
[410:095] [2023-12-08 00:30:47 +0000.875569][4214] audio jni debug :manager
SetAndroidAudioDeviceObjects env:0x7a58d52680
[410:095] [2023-12-08 00:30:47 +0000.875595][4214] SystemUtil Init done
[410:095] [2023-12-08 00:30:47 +0000.875751][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[410:096] [2023-12-08 00:30:47 +0000.875867][4214] MediaFilterCamera
[410:096] [2023-12-08 00:30:47 +0000.875907][4214] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[410:096] [2023-12-08 00:30:47 +0000.876029][4214] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[410:096] [2023-12-08 00:30:47 +0000.876074][4214] Recording session using default
bitrate support by app:31457280
[410:096] [2023-12-08 00:30:47 +0000.876151][6308] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a65622640
[410:096] [2023-12-08 00:30:47 +0000.876262][6308] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[410:096] [2023-12-08 00:30:47 +0000.876384][4214] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[410:098] [2023-12-08 00:30:47 +0000.878223][4214] Error(ini.cc:191): Open the file
failed. error:2
[410:098] [2023-12-08 00:30:47 +0000.878309][4214]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[410:098] [2023-12-08 00:30:47 +0000.878333][4214] The device model: 21121119vl
usingSoftwareAEC value: 0
[410:103] [2023-12-08 00:30:47 +0000.883008][4214] Error(ini.cc:191): Open the file
failed. error:2
[410:103] [2023-12-08 00:30:47 +0000.883094][4214]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[410:103] [2023-12-08 00:30:47 +0000.883130][4214] The device model: 21121119vl
usingHardwareAEC value: 0
[410:103] [2023-12-08 00:30:47 +0000.883153][4214] The machine device: 21121119vl
usingHardwareAEC value: 0
[410:103] [2023-12-08 00:30:47 +0000.883196][4214] Using Default AEC type: software
AEC
[410:104] [2023-12-08 00:30:47 +0000.884502][4214] The device model: 21121119vl
enum value: 0
[410:105] [2023-12-08 00:30:47 +0000.885165][4214] GetMachineModel is 21121119VL
[410:105] [2023-12-08 00:30:47 +0000.885210][4214] GetMachineInfo: 21121119VL
[410:105] [2023-12-08 00:30:47 +0000.885232][4214] Construct BeautifyReader
begin...
[410:105] [2023-12-08 00:30:47 +0000.885254][4214] dumpStickerRgba:0
dumpStickerYuv:0
[410:105] [2023-12-08 00:30:47 +0000.885275][4214] Construct BeautifyReader done.
[410:108] [2023-12-08 00:30:47 +0000.888293][4214] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[410:108] [2023-12-08 00:30:47 +0000.888332][630b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a656b98a0
[410:108] [2023-12-08 00:30:47 +0000.888386][4214] AppDeviceManager telnet server
for statistics started......
[410:109] [2023-12-08 00:30:47 +0000.888843][4214] CpuOverloadDetect time:371484290
enter.

[410:109] [2023-12-08 00:30:47 +0000.888951][4214] CpuOverloadDetect leave. expire


time = 0 ms

[410:109] [2023-12-08 00:30:47 +0000.888981][630c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7a656c7f40
[410:110] [2023-12-08 00:30:47 +0000.889819][4214] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[410:110] [2023-12-08 00:30:47 +0000.889868][4214] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[410:110] [2023-12-08 00:30:47 +0000.890134][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[410:110] [2023-12-08 00:30:47 +0000.890396][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[410:111] [2023-12-08 00:30:47 +0000.890840][4214] CreatePlatformSpecificObjects:
[410:111] [2023-12-08 00:30:47 +0000.890899][4214] audio device use opensle input
and opensl output
[410:111] [2023-12-08 00:30:47 +0000.890929][4214] Create OpenSLES output module
with java VM support.

[410:111] [2023-12-08 00:30:47 +0000.891157][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[410:111] [2023-12-08 00:30:47 +0000.891506][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[410:112] [2023-12-08 00:30:47 +0000.891888][4214] Create OpenSLES output module
with buffer num:1

[410:112] [2023-12-08 00:30:47 +0000.892217][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[410:112] [2023-12-08 00:30:47 +0000.892613][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[410:113] [2023-12-08 00:30:47 +0000.893074][4214] Create OpenSLES input module
with java VM support.

[410:113] [2023-12-08 00:30:47 +0000.893180][4214] Create OpenSLES input module


with buffer num:1

[410:113] [2023-12-08 00:30:47 +0000.893266][4214] Error(trace.cc:40): Init the


output and input for audio device template.
[410:113] [2023-12-08 00:30:47 +0000.893331][4214] Init the output device.

[410:113] [2023-12-08 00:30:47 +0000.893388][4214] Init the opensl input.


[410:113] [2023-12-08 00:30:47 +0000.893451][4214] AppDeviceManager get setting
samplerate: 0
[410:114] [2023-12-08 00:30:47 +0000.894647][4214] The device model: 21121119vl
enum value: 0
[410:116] [2023-12-08 00:30:47 +0000.896716][4214] The device model: 21121119vl
enum value: 0
[410:117] [2023-12-08 00:30:47 +0000.896876][4214] Set the sample rate to be:48000

[410:117] [2023-12-08 00:30:47 +0000.896956][4214] Enable the recording stereo:0


[410:117] [2023-12-08 00:30:47 +0000.897025][4214] Set the playout as stereo:1
[410:117] [2023-12-08 00:30:47 +0000.897086][4214] Init the microphone.
[410:117] [2023-12-08 00:30:47 +0000.897549][4214] Update the recording sample rate
to be: 48000
[410:117] [2023-12-08 00:30:47 +0000.897601][4214] Init the speaker.
[410:117] [2023-12-08 00:30:47 +0000.897637][4214] Low latency buffer size:256 low
sample rate:48000
[410:118] [2023-12-08 00:30:47 +0000.897965][4214] Using 1 x 10ms for an audio
frame.

[410:121] [2023-12-08 00:30:47 +0000.901485][4214] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[410:121] [2023-12-08 00:30:47 +0000.901589][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[410:121] [2023-12-08 00:30:47 +0000.901642][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[410:126] [2023-12-08 00:30:47 +0000.906740][4214] The device model:21121119vl

[410:127] [2023-12-08 00:30:47 +0000.906874][4214] speaker output factor:100


defaultFactor: 100

[410:127] [2023-12-08 00:30:47 +0000.906901][4214] headset output factor:100


defaultFactor: 100

[410:128] [2023-12-08 00:30:47 +0000.907804][4214] AppDeviceManagerStart finished.


[410:128] [2023-12-08 00:30:47 +0000.907883][4214] AppDeviceManagerStartMic::mic
status is off
[410:128] [2023-12-08 00:30:47 +0000.907934][4214] AppDeviceManagerStartMic update
aec type: 2

[410:128] [2023-12-08 00:30:47 +0000.907956][4214] AppDeviceManagerStartMic update


voiceChangeMode: 4

[410:128] [2023-12-08 00:30:47 +0000.907976][4214]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[410:128] [2023-12-08 00:30:47 +0000.907996][4214]
AudioDeviceDataHandler::StartMicProcess

[410:128] [2023-12-08 00:30:47 +0000.908121][4214] Try to start webrtc recording


device.

[410:128] [2023-12-08 00:30:47 +0000.908148][4214] StartRecording. threadID:16916

[410:128] [2023-12-08 00:30:47 +0000.908199][4214] default mode: Set the recording


mode to voice communication to enable HW AEC .

[410:128] [2023-12-08 00:30:47 +0000.908230][4214] Set the recording mode before


getSetting: 4
[410:128] [2023-12-08 00:30:47 +0000.908316][4214] Set the recording mode after
getSetting: 1
[410:128] [2023-12-08 00:30:47 +0000.908180][630d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[410:156] [2023-12-08 00:30:47 +0000.935908][4214] StartRecording finished.

[410:156] [2023-12-08 00:30:47 +0000.936030][4214] audio: start the audio mic


checker timer.

[410:157] [2023-12-08 00:30:47 +0000.937179][4214] machine model :redmi


[410:157] [2023-12-08 00:30:47 +0000.937280][4214] Support this machine
model :redmi
[410:157] [2023-12-08 00:30:47 +0000.937343][4214] global inited! current sdk
version: 07-20-936c45f
[410:420] [2023-12-08 00:30:48 +0000.200161][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[410:420] [2023-12-08 00:30:48 +0000.200393][6309] MediaFilterCamera, recording
file context:0x7a6560cf80 input texture:16
[410:420] [2023-12-08 00:30:48 +0000.200482][6309] GLESContext:
[410:420] [2023-12-08 00:30:48 +0000.200561][6309] The result of eglGetDisplay is:
0x1
[410:422] [2023-12-08 00:30:48 +0000.201879][6309] The result of creation:
0x79dda16f00
[410:423] [2023-12-08 00:30:48 +0000.203619][6309] The result of
eglCreatePbufferSurface is: 0x79dda16f80
[410:424] [2023-12-08 00:30:48 +0000.203909][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7a6560cf80 input_texture: 16
[411:556] [2023-12-08 00:30:49 +0000.336483][630d] haveEnoughProcessedData
internalAudioStream.length: 0
[412:145] [2023-12-08 00:30:49 +0000.924974][630d] Run AGC when audioType = 0
[413:263] [2023-12-08 00:30:51 +0000.42955][630d] haveEnoughProcessedData
internalAudioStream.length: 0
[413:376] [2023-12-08 00:30:51 +0000.156069][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[413:376] [2023-12-08 00:30:51 +0000.156299][4214] ~MediaFilterCamera
time:371487557 enter.

[413:376] [2023-12-08 00:30:51 +0000.156389][4214] StopPullFrameAndWriteMp4


time:371487557 enter.

[413:377] [2023-12-08 00:30:51 +0000.156819][6308] stop recording


[413:377] [2023-12-08 00:30:51 +0000.156870][6308] we have stopped recording before
[413:377] [2023-12-08 00:30:51 +0000.156938][4214] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[413:377] [2023-12-08 00:30:51 +0000.157355][4214] DestroyPipelineAndFilters


time:371487558 enter.

[413:377] [2023-12-08 00:30:51 +0000.157519][4214] DestroyPipelineAndFilters


leave. expire time = 0 ms

[413:377] [2023-12-08 00:30:51 +0000.157593][4214] AppDeviceManagerStopMic

[413:377] [2023-12-08 00:30:51 +0000.157768][4214] AppDeviceManagerStopMic::mic


status is on
[413:378] [2023-12-08 00:30:51 +0000.157844][4214] Try to stop webrtc device.

[413:378] [2023-12-08 00:30:51 +0000.157908][4214] Set record state to


stopped.threadID:16916

[413:403] [2023-12-08 00:30:51 +0000.183224][4214] Try to destory the


recorder.threadID:16916

[413:603] [2023-12-08 00:30:51 +0000.383397][4214] DestroyAudioRecorder:


[413:603] [2023-12-08 00:30:51 +0000.383553][4214] Cleanup the buffer queue in the
recorder.
[413:603] [2023-12-08 00:30:51 +0000.383696][4214] Destroy the recorder.

[413:606] [2023-12-08 00:30:51 +0000.386445][4214] StopRecording finished.

[413:606] [2023-12-08 00:30:51 +0000.386557][4214] The stop recording success.

[413:606] [2023-12-08 00:30:51 +0000.386622][4214]


AudioDeviceDataHandler::StopMicProcess

[413:611] [2023-12-08 00:30:51 +0000.391007][4214] AppDeviceManager stop.

[413:611] [2023-12-08 00:30:51 +0000.391158][4214] Rlease the webrtc device object.

[413:612] [2023-12-08 00:30:51 +0000.391780][4214] OpenSlesInput destruct.

[413:612] [2023-12-08 00:30:51 +0000.391937][4214] OpenSlesOutput destruct.

[413:612] [2023-12-08 00:30:51 +0000.392631][4214] EventDispatchServerScope


destruct
[413:612] [2023-12-08 00:30:51 +0000.392705][4214]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[413:612] [2023-12-08 00:30:51 +0000.392755][4214] ~AudioDeviceDataHandler

[413:614] [2023-12-08 00:30:51 +0000.394086][4214] AppDeviceManagerDestruct.

[413:614] [2023-12-08 00:30:51 +0000.394208][4214] ~AppDeviceManager:


[413:614] [2023-12-08 00:30:51 +0000.394322][4214] ~CpuOverloadDetect
time:371487795 enter.

[413:615] [2023-12-08 00:30:51 +0000.394847][4214] ~CpuOverloadDetect leave.


expire time = 1 ms

[413:617] [2023-12-08 00:30:51 +0000.397230][4214] Destruct BeautifyReader begin...


[413:617] [2023-12-08 00:30:51 +0000.397360][4214] Destruct BeautifyReader done.
[413:617] [2023-12-08 00:30:51 +0000.397427][4214] ~MediaFilterCamera leave.
expire time = 241 ms

[413:617] [2023-12-08 00:30:51 +0000.397725][4214] ~GLESContext:


[413:618] [2023-12-08 00:30:51 +0000.398416][4214] GLESContext destruct finish.
[413:618] [2023-12-08 00:30:51 +0000.398537][4214] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[413:619] [2023-12-08 00:30:51 +0000.399106][4214] global uninited!
[413:619] [2023-12-08 00:30:51 +0000.399412][4214] clear AppID 50011
[413:619] [2023-12-08 00:30:51 +0000.399485][4214] UnRegister JVM for Xplatform
util
[413:619] [2023-12-08 00:30:51 +0000.399567][4214] Dispose::unregister webrtc video
engine
[413:619] [2023-12-08 00:30:51 +0000.399639][4214] Init the android object with
jvm:0x0 env:0x0 context:0x0

[413:619] [2023-12-08 00:30:51 +0000.399715][4214] SetAndroidMediaCodecObjects


time:371487800 enter.

[413:620] [2023-12-08 00:30:51 +0000.399778][4214] ClearAndroidMediaCodecObjects


time:371487801 enter.

[413:620] [2023-12-08 00:30:51 +0000.399853][4214] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[413:620] [2023-12-08 00:30:51 +0000.399917][4214] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[413:620] [2023-12-08 00:30:51 +0000.399976][4214] SetAndroidMediaCodecObjects


time:371487801 enter.

[413:620] [2023-12-08 00:30:51 +0000.400037][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[413:620] [2023-12-08 00:30:51 +0000.400098][4214] ClearAndroidMediaCodecObjects
time:371487801 enter.

[413:620] [2023-12-08 00:30:51 +0000.400178][4214] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[413:620] [2023-12-08 00:30:51 +0000.400244][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[413:620] [2023-12-08 00:30:51 +0000.400287][4214] SetAndroidMediaCodecObjects
leave. expire time = 0 ms
[413:620] [2023-12-08 00:30:51 +0000.400329][4214] Dispose::unregister webrtc voice
engine
[413:620] [2023-12-08 00:30:51 +0000.400367][4214] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[413:620] [2023-12-08 00:30:51 +0000.400414][4214] SystemUtil UnInit done


[470:430] [2023-12-08 00:31:48 +0000.210072][4214] Register JVM for xplatform util
[470:437] [2023-12-08 00:31:48 +0000.217676][4214] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-12-
08 00:31:48 +0000
[470:437] [2023-12-08 00:31:48 +0000.217720][4214] set AppID=50011 old AppID=-1
[470:437] [2023-12-08 00:31:48 +0000.217743][4214] Init the android object with
jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[470:438] [2023-12-08 00:31:48 +0000.217769][4214] SetAndroidMediaCodecObjects


time:371544619 enter.

[470:438] [2023-12-08 00:31:48 +0000.217796][4214] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[470:438] [2023-12-08 00:31:48 +0000.217823][4214] SetAndroidMediaCodecObjects


time:371544619 enter.

[470:438] [2023-12-08 00:31:48 +0000.217844][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007afc6a7380
[470:438] [2023-12-08 00:31:48 +0000.217864][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007afc6a7380 address:0x79adcb8760
[470:438] [2023-12-08 00:31:48 +0000.217886][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007afc6a7380
address:0x79adcb8760
[470:438] [2023-12-08 00:31:48 +0000.217907][4214] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[470:438] [2023-12-08 00:31:48 +0000.217941][4214] Set the android objects with


jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[470:438] [2023-12-08 00:31:48 +0000.217964][4214] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7a58d52680
[470:438] [2023-12-08 00:31:48 +0000.217999][4214] SystemUtil Init done
[470:438] [2023-12-08 00:31:48 +0000.218146][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[470:438] [2023-12-08 00:31:48 +0000.218255][4214] MediaFilterCamera
[470:438] [2023-12-08 00:31:48 +0000.218293][4214] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[470:438] [2023-12-08 00:31:48 +0000.218416][4214] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[470:438] [2023-12-08 00:31:48 +0000.218459][4214] Recording session using default
bitrate support by app:31457280
[470:438] [2023-12-08 00:31:48 +0000.218486][6533] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a65622640
[470:438] [2023-12-08 00:31:48 +0000.218578][6533] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[470:438] [2023-12-08 00:31:48 +0000.218690][4214] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[470:439] [2023-12-08 00:31:48 +0000.219758][4214] Error(ini.cc:191): Open the file
failed. error:2
[470:440] [2023-12-08 00:31:48 +0000.219833][4214]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[470:440] [2023-12-08 00:31:48 +0000.219860][4214] The device model: 21121119vl
usingSoftwareAEC value: 0
[470:445] [2023-12-08 00:31:48 +0000.224986][4214] Error(ini.cc:191): Open the file
failed. error:2
[470:445] [2023-12-08 00:31:48 +0000.225082][4214]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[470:445] [2023-12-08 00:31:48 +0000.225115][4214] The device model: 21121119vl
usingHardwareAEC value: 0
[470:445] [2023-12-08 00:31:48 +0000.225137][4214] The machine device: 21121119vl
usingHardwareAEC value: 0
[470:445] [2023-12-08 00:31:48 +0000.225160][4214] Using Default AEC type: software
AEC
[470:446] [2023-12-08 00:31:48 +0000.226405][4214] The device model: 21121119vl
enum value: 0
[470:447] [2023-12-08 00:31:48 +0000.227167][4214] GetMachineModel is 21121119VL
[470:447] [2023-12-08 00:31:48 +0000.227248][4214] GetMachineInfo: 21121119VL
[470:447] [2023-12-08 00:31:48 +0000.227272][4214] Construct BeautifyReader
begin...
[470:447] [2023-12-08 00:31:48 +0000.227297][4214] dumpStickerRgba:0
dumpStickerYuv:0
[470:447] [2023-12-08 00:31:48 +0000.227319][4214] Construct BeautifyReader done.
[470:452] [2023-12-08 00:31:48 +0000.232649][4214] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[470:452] [2023-12-08 00:31:48 +0000.232706][6537] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a657529a0
[470:452] [2023-12-08 00:31:48 +0000.232746][4214] AppDeviceManager telnet server
for statistics started......
[470:453] [2023-12-08 00:31:48 +0000.233369][4214] CpuOverloadDetect time:371544634
enter.

[470:453] [2023-12-08 00:31:48 +0000.233467][4214] CpuOverloadDetect leave. expire


time = 0 ms

[470:453] [2023-12-08 00:31:48 +0000.233525][6538] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7a656c8b80
[470:454] [2023-12-08 00:31:48 +0000.234313][4214] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[470:454] [2023-12-08 00:31:48 +0000.234350][4214] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[470:454] [2023-12-08 00:31:48 +0000.234583][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[470:455] [2023-12-08 00:31:48 +0000.234980][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[470:455] [2023-12-08 00:31:48 +0000.235412][4214] CreatePlatformSpecificObjects:
[470:455] [2023-12-08 00:31:48 +0000.235508][4214] audio device use opensle input
and opensl output
[470:455] [2023-12-08 00:31:48 +0000.235587][4214] Create OpenSLES output module
with java VM support.

[470:456] [2023-12-08 00:31:48 +0000.235914][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[470:456] [2023-12-08 00:31:48 +0000.236158][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[470:456] [2023-12-08 00:31:48 +0000.236484][4214] Create OpenSLES output module
with buffer num:1

[470:456] [2023-12-08 00:31:48 +0000.236699][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[470:457] [2023-12-08 00:31:48 +0000.237035][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[470:457] [2023-12-08 00:31:48 +0000.237293][4214] Create OpenSLES input module
with java VM support.

[470:457] [2023-12-08 00:31:48 +0000.237339][4214] Create OpenSLES input module


with buffer num:1

[470:457] [2023-12-08 00:31:48 +0000.237375][4214] Error(trace.cc:40): Init the


output and input for audio device template.
[470:457] [2023-12-08 00:31:48 +0000.237398][4214] Init the output device.

[470:457] [2023-12-08 00:31:48 +0000.237420][4214] Init the opensl input.


[470:457] [2023-12-08 00:31:48 +0000.237443][4214] AppDeviceManager get setting
samplerate: 0
[470:458] [2023-12-08 00:31:48 +0000.237981][4214] The device model: 21121119vl
enum value: 0
[470:459] [2023-12-08 00:31:48 +0000.238894][4214] The device model: 21121119vl
enum value: 0
[470:459] [2023-12-08 00:31:48 +0000.238937][4214] Set the sample rate to be:48000

[470:459] [2023-12-08 00:31:48 +0000.238959][4214] Enable the recording stereo:0


[470:459] [2023-12-08 00:31:48 +0000.238983][4214] Set the playout as stereo:1
[470:459] [2023-12-08 00:31:48 +0000.239020][4214] Init the microphone.
[470:459] [2023-12-08 00:31:48 +0000.239343][4214] Update the recording sample rate
to be: 48000
[470:459] [2023-12-08 00:31:48 +0000.239397][4214] Init the speaker.
[470:459] [2023-12-08 00:31:48 +0000.239431][4214] Low latency buffer size:256 low
sample rate:48000
[470:459] [2023-12-08 00:31:48 +0000.239730][4214] Using 1 x 10ms for an audio
frame.

[470:463] [2023-12-08 00:31:48 +0000.243723][4214] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[470:464] [2023-12-08 00:31:48 +0000.243841][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[470:464] [2023-12-08 00:31:48 +0000.243885][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[470:469] [2023-12-08 00:31:48 +0000.249231][4214] The device model:21121119vl

[470:469] [2023-12-08 00:31:48 +0000.249314][4214] speaker output factor:100


defaultFactor: 100

[470:469] [2023-12-08 00:31:48 +0000.249338][4214] headset output factor:100


defaultFactor: 100

[470:470] [2023-12-08 00:31:48 +0000.249822][4214] AppDeviceManagerStart finished.


[470:470] [2023-12-08 00:31:48 +0000.249860][4214] AppDeviceManagerStartMic::mic
status is off
[470:470] [2023-12-08 00:31:48 +0000.249910][4214] AppDeviceManagerStartMic update
aec type: 2

[470:470] [2023-12-08 00:31:48 +0000.249936][4214] AppDeviceManagerStartMic update


voiceChangeMode: 4

[470:470] [2023-12-08 00:31:48 +0000.249957][4214]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[470:470] [2023-12-08 00:31:48 +0000.249988][4214]
AudioDeviceDataHandler::StartMicProcess
[470:470] [2023-12-08 00:31:48 +0000.250128][4214] Try to start webrtc recording
device.

[470:470] [2023-12-08 00:31:48 +0000.250161][4214] StartRecording. threadID:16916

[470:470] [2023-12-08 00:31:48 +0000.250211][4214] default mode: Set the recording


mode to voice communication to enable HW AEC .

[470:470] [2023-12-08 00:31:48 +0000.250188][6539] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[470:470] [2023-12-08 00:31:48 +0000.250238][4214] Set the recording mode before
getSetting: 4
[470:470] [2023-12-08 00:31:48 +0000.250331][4214] Set the recording mode after
getSetting: 1
[470:494] [2023-12-08 00:31:48 +0000.274188][4214] StartRecording finished.

[470:494] [2023-12-08 00:31:48 +0000.274268][4214] audio: start the audio mic


checker timer.

[470:495] [2023-12-08 00:31:48 +0000.275245][4214] machine model :redmi


[470:495] [2023-12-08 00:31:48 +0000.275378][4214] Support this machine
model :redmi
[470:495] [2023-12-08 00:31:48 +0000.275414][4214] global inited! current sdk
version: 07-20-936c45f
[470:794] [2023-12-08 00:31:48 +0000.574139][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[470:794] [2023-12-08 00:31:48 +0000.574327][6534] MediaFilterCamera, recording
file context:0x7a6560cf80 input texture:2
[470:794] [2023-12-08 00:31:48 +0000.574459][6534] GLESContext:
[470:794] [2023-12-08 00:31:48 +0000.574534][6534] The result of eglGetDisplay is:
0x1
[470:796] [2023-12-08 00:31:48 +0000.575957][6534] The result of creation:
0x79dda78d80
[470:797] [2023-12-08 00:31:48 +0000.577621][6534] The result of
eglCreatePbufferSurface is: 0x79ddb4c080
[470:798] [2023-12-08 00:31:48 +0000.577817][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7a6560cf80 input_texture: 2
[471:333] [2023-12-08 00:31:49 +0000.113122][6539] Run AGC when audioType = 0
[471:333] [2023-12-08 00:31:49 +0000.113337][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[471:933] [2023-12-08 00:31:49 +0000.713287][6539] haveEnoughProcessedData
internalAudioStream.length: 10
[473:337] [2023-12-08 00:31:51 +0000.117194][6539] Run AGC when audioType = 0
[473:399] [2023-12-08 00:31:51 +0000.179250][41f7] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[473:399] [2023-12-08 00:31:51 +0000.179489][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[473:400] [2023-12-08 00:31:51 +0000.179931][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[473:400] [2023-12-08 00:31:51 +0000.180457][6534] operator() time:371547581
enter.

[473:400] [2023-12-08 00:31:51 +0000.180631][6534] MediaFilterCamera, recording


file context:0x7a6560cf80 input texture:2
[473:404] [2023-12-08 00:31:51 +0000.184347][6534] MicSource: Mic source
created:10x798fe4eb00
[473:405] [2023-12-08 00:31:51 +0000.185697][6534] alloc thread: 0x798fe28180
name:worker0 thread id:523414383808 to Mic_source
[473:406] [2023-12-08 00:31:51 +0000.185903][6534] audio: start the audio sender
thread.

[473:406] [2023-12-08 00:31:51 +0000.186066][6534] construct OpenGLRenderProgram


0x79c4e9a498
[473:406] [2023-12-08 00:31:51 +0000.186174][6534] CropFilter::SetOrientation
orientation: 90
[473:406] [2023-12-08 00:31:51 +0000.186487][6534] filter: filter pipeline
construtc this: 0x798fcde9c0
[473:406] [2023-12-08 00:31:51 +0000.186592][6534] filter: filter pipeline2 update
pattern: 1
[473:406] [2023-12-08 00:31:51 +0000.186679][6534] CameraSource::source_id_:11
[473:407] [2023-12-08 00:31:51 +0000.186909][6534] RecordAudioSource::source_id_:12
[473:407] [2023-12-08 00:31:51 +0000.187148][6534] BindInputFilter 0x798fe288c0
this 0x79c4e9a6c0
[473:407] [2023-12-08 00:31:51 +0000.187195][6534] BindInputFilter 0x798fe28a58
this 0x798fe28bd0
[473:407] [2023-12-08 00:31:51 +0000.187231][6534] BindInputFilter 0x79c4e9a6c0
this 0x798fcdea60
[473:407] [2023-12-08 00:31:51 +0000.187287][6534] setParamentForFilters:
speed:1.000000
[473:407] [2023-12-08 00:31:51 +0000.187322][6534] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[473:407] [2023-12-08 00:31:51 +0000.187365][6534] SetParamForFilter time:371547588
enter.

[473:407] [2023-12-08 00:31:51 +0000.187389][6534] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[473:407] [2023-12-08 00:31:51 +0000.187430][6534] SetParamForFilter: Params video
index is: 0
[473:407] [2023-12-08 00:31:51 +0000.187454][6534] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[473:407] [2023-12-08 00:31:51 +0000.187497][6534] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[473:407] [2023-12-08 00:31:51 +0000.187522][6534] crop filter mode tpye:
citytravelvideo index:0
[473:415] [2023-12-08 00:31:51 +0000.194856][6534]
Warning(parse_template_json.cc:45): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.194986][6534]
Warning(parse_template_json.cc:45): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195030][6534]
Warning(parse_template_json.cc:45): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195077][6534]
Warning(parse_template_json.cc:45): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195115][6534]
Warning(parse_template_json.cc:45): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195164][6534]
Warning(parse_template_json.cc:45): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195212][6534]
Warning(parse_template_json.cc:45): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195259][6534]
Warning(parse_template_json.cc:81): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195305][6534]
Warning(parse_template_json.cc:81): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195350][6534]
Warning(parse_template_json.cc:67): json parament no found the parament
[473:415] [2023-12-08 00:31:51 +0000.195397][6534]
Warning(parse_template_json.cc:93): json parament no found the duration
[473:415] [2023-12-08 00:31:51 +0000.195450][6534] SetParamForFilter leave. expire
time = 8 ms

[473:415] [2023-12-08 00:31:51 +0000.195749][6534] OnOutputSizeChanged width 1280


height 720
[473:416] [2023-12-08 00:31:51 +0000.195799][6534] OpenGLFrameBuffer: width:1280
height:720
[473:416] [2023-12-08 00:31:51 +0000.195824][6534] OpenGLFrameBuffer: width:1280
height:720
[473:416] [2023-12-08 00:31:51 +0000.195847][6534] OpenGLFrameBuffer: width:1280
height:720
[473:416] [2023-12-08 00:31:51 +0000.195867][6534] OpenGLFrameBuffer: width:1280
height:720
[473:416] [2023-12-08 00:31:51 +0000.195889][6534] OpenGLFrameBuffer: width:1280
height:720
[473:416] [2023-12-08 00:31:51 +0000.195909][6534] OpenGLFrameBuffer: width:1280
height:720
[473:416] [2023-12-08 00:31:51 +0000.195930][6534] construct TrivalImageDrawer
0x79be3b9f80
[473:416] [2023-12-08 00:31:51 +0000.195952][6534] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x79be3b9f80 context 0x7a58d8dcc0
[473:416] [2023-12-08 00:31:51 +0000.195976][6534] setupGLES:
[473:431] [2023-12-08 00:31:51 +0000.210842][6534] OpenGLRenderProgram::Initialize.
[473:431] [2023-12-08 00:31:51 +0000.210958][6534] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[473:431] [2023-12-08 00:31:51 +0000.210987][6534] The extension of the OpenGL:
GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat
GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap
GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax
GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context
GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic
GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables
GL_OES_sample_shading GL_OES_shader_multisample_interpolation
GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader
GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5
GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float
GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
GL_EXT_external_buffer GL_EXT_EGL_image_array GL_EXT_texture_filter_anisotropic
GL_ARM_texture_unnormalized_coordinates
[473:431] [2023-12-08 00:31:51 +0000.211077][6534] Init open gl render:
0x79c4e9a498
[473:431] [2023-12-08 00:31:51 +0000.211113][6534] Fragement shader path:
[473:431] [2023-12-08 00:31:51 +0000.211147][6534] Fragement shader path:
[473:431] [2023-12-08 00:31:51 +0000.211169][6534] create opengl program object.
[473:431] [2023-12-08 00:31:51 +0000.211187][6534] create shader: vertex
[473:431] [2023-12-08 00:31:51 +0000.211268][6534] create shader: fragment
[473:433] [2023-12-08 00:31:51 +0000.213217][6534] Have not extra filter filename!
[473:433] [2023-12-08 00:31:51 +0000.213306][6534] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[473:433] [2023-12-08 00:31:51 +0000.213336][6534] OpenGLRenderProgram::Initialize
success.
[473:438] [2023-12-08 00:31:51 +0000.217859][6534] Setup the OpenGL result:1
[473:438] [2023-12-08 00:31:51 +0000.218451][6533] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
[473:439] [2023-12-08 00:31:51 +0000.219265][6533] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[473:439] [2023-12-08 00:31:51 +0000.219375][6533] 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
[473:439] [2023-12-08 00:31:51 +0000.219438][6533] 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_371547619.mp4
fileFD: -1
[473:439] [2023-12-08 00:31:51 +0000.219730][657f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79a212da98
[473:440] [2023-12-08 00:31:51 +0000.219890][6533] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
is opened successfully
[473:440] [2023-12-08 00:31:51 +0000.219929][6533] setupMediaProcessers:
[473:440] [2023-12-08 00:31:51 +0000.219954][6533]
RecordingSessionInternalSimple:setup media processers.
[473:440] [2023-12-08 00:31:51 +0000.219998][6533] construct AAC encoder
[473:440] [2023-12-08 00:31:51 +0000.220319][6533] H264Encoder creating:
superfast011818
[473:440] [2023-12-08 00:31:51 +0000.220367][6533] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[473:441] [2023-12-08 00:31:51 +0000.221097][6533] H264Encode::GetMachineModel is
21121119VL
[473:441] [2023-12-08 00:31:51 +0000.221146][6533] H264Encoder machine_mode
is:21121119VL
[473:441] [2023-12-08 00:31:51 +0000.221170][6533] H264Encode::machine size :9
machine_mode:21121119VL
[473:441] [2023-12-08 00:31:51 +0000.221206][6533] H264Encode::machine array
size :22 machine_mode:21121119VL
[473:441] [2023-12-08 00:31:51 +0000.221231][6533] H264Encode::current machine
is :21121119VL auto check hw codec decide to use hw codec
[473:441] [2023-12-08 00:31:51 +0000.221264][6533] setupCompressionSession:
[473:441] [2023-12-08 00:31:51 +0000.221286][6533] H264Encode::creating hareware
Encoder
[473:441] [2023-12-08 00:31:51 +0000.221323][6533] AndroidHwAvcEncoder
time:371547622 enter.

[473:441] [2023-12-08 00:31:51 +0000.221605][6533] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007afc6a7380 address:0x79adcb8760
[473:441] [2023-12-08 00:31:51 +0000.221747][6533] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[473:442] [2023-12-08 00:31:51 +0000.221782][6533] The video avc hw codec address
is 0x7a65638bd8
[473:442] [2023-12-08 00:31:51 +0000.221870][6533] AndroidHwAvcEncoder leave.
expire time = 1 ms

[473:442] [2023-12-08 00:31:51 +0000.221904][6533] RegisterEncodeCompleteCallback


time:371547623 enter.

[473:442] [2023-12-08 00:31:51 +0000.222070][6533] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[473:442] [2023-12-08 00:31:51 +0000.222111][6533] InitEncode time:371547623


enter.

[473:442] [2023-12-08 00:31:51 +0000.222203][6533] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[473:442] [2023-12-08 00:31:51 +0000.222237][6533] Create time:371547623 enter.

[473:442] [2023-12-08 00:31:51 +0000.222262][6533] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[473:442] [2023-12-08 00:31:51 +0000.222291][6533]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79a2133640
[473:442] [2023-12-08 00:31:51 +0000.222526][6533] supported_type:audio/mp4a-latm
[473:442] [2023-12-08 00:31:51 +0000.222569][6533] supported_type:audio/mp4a-latm
[473:442] [2023-12-08 00:31:51 +0000.222605][6533] supported_type:audio/3gpp
[473:442] [2023-12-08 00:31:51 +0000.222640][6533] supported_type:audio/3gpp
[473:442] [2023-12-08 00:31:51 +0000.222690][6533] supported_type:audio/amr-wb
[473:442] [2023-12-08 00:31:51 +0000.222729][6533] supported_type:audio/amr-wb
[473:442] [2023-12-08 00:31:51 +0000.222763][6533] supported_type:audio/flac
[473:443] [2023-12-08 00:31:51 +0000.222846][6533] supported_type:audio/flac
[473:443] [2023-12-08 00:31:51 +0000.222904][6533] supported_type:audio/opus
[473:443] [2023-12-08 00:31:51 +0000.222982][6533] supported_type:video/avc
[473:443] [2023-12-08 00:31:51 +0000.223013][6533] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[473:443] [2023-12-08 00:31:51 +0000.223068][6533] hwCodecPrefix :OMX.qcom.
[473:443] [2023-12-08 00:31:51 +0000.223098][6533] hwCodecPrefix :OMX.Nvidia.
[473:443] [2023-12-08 00:31:51 +0000.223152][6533] hwCodecPrefix :OMX.IMG.TOPAZ
[473:443] [2023-12-08 00:31:51 +0000.223180][6533] hwCodecPrefix :OMX.Exynos
[473:443] [2023-12-08 00:31:51 +0000.223203][6533] hwCodecPrefix :OMX.MTK
[473:443] [2023-12-08 00:31:51 +0000.223231][6533] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[473:443] [2023-12-08 00:31:51 +0000.223264][6533] mediacodec_createCodecByName
time:371547624 enter.

[473:443] [2023-12-08 00:31:51 +0000.223291][6533] WrapAndroidMediaCodec


time:371547624 enter.

[473:443] [2023-12-08 00:31:51 +0000.223454][6533] WrapAndroidMediaCodec leave.


expire time = 0 ms

[473:548] [2023-12-08 00:31:51 +0000.328314][6533] mediacodec_createCodecByName


leave. expire time = 105 ms

[473:548] [2023-12-08 00:31:51 +0000.328561][6533] WrapAndroidMediaFromat


time:371547729 enter.

[473:549] [2023-12-08 00:31:51 +0000.328804][6533] WrapAndroidMediaFromat leave.


expire time = 1 ms

[473:605] [2023-12-08 00:31:51 +0000.384993][6533] Destroy time:371547786 enter.

[473:605] [2023-12-08 00:31:51 +0000.385182][6533] WrapAndroidMediaFromat::


Destroy
[473:605] [2023-12-08 00:31:51 +0000.385277][6533] Destroy leave. expire time = 0
ms

[473:605] [2023-12-08 00:31:51 +0000.385374][6533] ~WrapAndroidMediaFromat


time:371547786 enter.

[473:605] [2023-12-08 00:31:51 +0000.385463][6533] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[473:605] [2023-12-08 00:31:51 +0000.385546][6533] Create leave. expire time = 163


ms

[473:605] [2023-12-08 00:31:51 +0000.385620][6533] isSemiPlanarSupport


time:371547786 enter.

[473:605] [2023-12-08 00:31:51 +0000.385691][6533] H264Encoder isSemiPlanarSupport


[473:605] [2023-12-08 00:31:51 +0000.385766][6533] isSemiPlanarSupport leave.
expire time = 1 ms

[473:606] [2023-12-08 00:31:51 +0000.385841][6533] creat hw H264Encoder success,


isSemiPlanar:1
[473:606] [2023-12-08 00:31:51 +0000.386086][6533] InitEncode leave. expire time =
164 ms

[473:606] [2023-12-08 00:31:51 +0000.386164][6533] H264Encode::created Encoder


[473:606] [2023-12-08 00:31:51 +0000.386238][6533] H264Encode:: H264 encoder
created.
[473:606] [2023-12-08 00:31:51 +0000.386306][6533] H264 encoder created.
[473:606] [2023-12-08 00:31:51 +0000.386357][6533]
RecordingSessionInternalSimple:created avc encoder avc: 0x79bf10e380
[473:606] [2023-12-08 00:31:51 +0000.386409][6533] setOutput:
[473:606] [2023-12-08 00:31:51 +0000.386478][6533]
RecordingSessionInternalSimple:encoder set output to muxer!
[473:606] [2023-12-08 00:31:51 +0000.386548][6533] request a key frame
[473:606] [2023-12-08 00:31:51 +0000.386622][6533] H264Encode:: request a key frame
[473:607] [2023-12-08 00:31:51 +0000.386869][6533] setDisplayRotate :90
[473:607] [2023-12-08 00:31:51 +0000.386920][6533] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[473:607] [2023-12-08 00:31:51 +0000.387104][6534] StartRecording:
[473:607] [2023-12-08 00:31:51 +0000.387230][6578] operator(): Set the recording
session in mic source. recording session: 0x798fe28900
[473:607] [2023-12-08 00:31:51 +0000.387345][6534] operator() leave. expire time =
207 ms

[473:633] [2023-12-08 00:31:51 +0000.412888][6539] haveEnoughProcessedData


internalAudioStream.length: 0
[473:646] [2023-12-08 00:31:51 +0000.426755][6534] begine recode to first frame
spend time:247
[473:647] [2023-12-08 00:31:51 +0000.427313][6534]
GPUImageProcessing::SetOrientation orientation: 90
[473:647] [2023-12-08 00:31:51 +0000.427688][6534] drawYUV420 render
OpenGLRenderProgram:0x79c4e9a498
[473:687] [2023-12-08 00:31:51 +0000.467723][6534] drawYUV420 render
OpenGLRenderProgram:0x79c4e9a498
[473:702] [2023-12-08 00:31:51 +0000.482293][657e]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[473:719] [2023-12-08 00:31:51 +0000.499665][6534] drawYUV420 render
OpenGLRenderProgram:0x79c4e9a498
[473:737] [2023-12-08 00:31:51 +0000.516846][657f] add aac audio track with id:1
[473:738] [2023-12-08 00:31:51 +0000.518131][657f] audio start ts:0
[473:738] [2023-12-08 00:31:51 +0000.518412][657f] the audio frame has been written
into MP4 file
[473:802] [2023-12-08 00:31:51 +0000.582815][657e] h264 add frame header cdr flag
[473:804] [2023-12-08 00:31:51 +0000.583807][657e] h264 add frame header cdr flag
[473:804] [2023-12-08 00:31:51 +0000.584664][657e] Received key frame:0
[473:805] [2023-12-08 00:31:51 +0000.584896][657e] H264Encode:: get a sps pps
header!headerSize:30
[473:805] [2023-12-08 00:31:51 +0000.585143][657f] get the H.264 SPS parameter
[473:806] [2023-12-08 00:31:51 +0000.586101][657f] add video track with id:2
[473:808] [2023-12-08 00:31:51 +0000.587869][657f] get the H.264 PPS parameter
[473:809] [2023-12-08 00:31:51 +0000.589578][657f] get the H.264 IDR frame
[473:810] [2023-12-08 00:31:51 +0000.589773][657f] resss:true
[473:810] [2023-12-08 00:31:51 +0000.589824][657f] video start ts:0
[473:810] [2023-12-08 00:31:51 +0000.590102][657f] the video frame has been written
into MP4 file
[473:932] [2023-12-08 00:31:51 +0000.712237][657d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 208queue_audio_frame_:1
[473:955] [2023-12-08 00:31:51 +0000.735076][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[473:989] [2023-12-08 00:31:51 +0000.769326][6577] AF_SpeedFilter::PullFrame eof4
[473:991] [2023-12-08 00:31:51 +0000.771343][657e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:297
[474:003] [2023-12-08 00:31:51 +0000.782941][6577]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[474:028] [2023-12-08 00:31:51 +0000.808262][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[474:089] [2023-12-08 00:31:51 +0000.869026][6534] GPUImageProcessing: process
video frame with resolution 1280 X 720
[474:089] [2023-12-08 00:31:51 +0000.869213][6534] GPUImageProcessing: input frame
width1280 X 720
[474:089] [2023-12-08 00:31:51 +0000.869712][6534] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[474:090] [2023-12-08 00:31:51 +0000.869929][6534] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[474:100] [2023-12-08 00:31:51 +0000.880256][657e] DTS queue for
Generator:0x79a212dcb8 400
[474:129] [2023-12-08 00:31:51 +0000.909366][657e] Push an pts:436 to dts queue.
[474:162] [2023-12-08 00:31:51 +0000.941995][6534] The convert RGB to YUV take 3
[474:168] [2023-12-08 00:31:51 +0000.947863][657e] last dts:400 currentPts:436
ppsOrSPS:0 queue length:2
[474:495] [2023-12-08 00:31:52 +0000.275195][4dbc]
monitorTime:4001totalDuration:3930
[474:526] [2023-12-08 00:31:52 +0000.306228][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[474:658] [2023-12-08 00:31:52 +0000.438425][6534] The convert RGB to YUV take 4
[474:867] [2023-12-08 00:31:52 +0000.647141][6577] AF_SpeedFilter audio
0x798fe28a80 PullFrame
[474:931] [2023-12-08 00:31:52 +0000.711693][657e] DTS queue for
Generator:0x79a212dcb8 1233
[474:954] [2023-12-08 00:31:52 +0000.734154][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[474:957] [2023-12-08 00:31:52 +0000.737647][6577] resampled_data_size:15360
[475:025] [2023-12-08 00:31:52 +0000.805331][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[475:161] [2023-12-08 00:31:52 +0000.941563][6534] The convert RGB to YUV take 2
[475:209] [2023-12-08 00:31:52 +0000.989035][6577]
RecordAudioSource::PullAudioFrame
[475:255] [2023-12-08 00:31:53 +0000.35278][6534] webrtc common_video plane
old ..... (1/1000) new: 17001 delete: 16980 diff: 21
[475:333] [2023-12-08 00:31:53 +0000.113454][653a] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[475:334] [2023-12-08 00:31:53 +0000.114420][653a] _deviceSampleRate:48000

[475:340] [2023-12-08 00:31:53 +0000.119977][6539] Run AGC when audioType = 0


[475:340] [2023-12-08 00:31:53 +0000.120178][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[475:356] [2023-12-08 00:31:53 +0000.135803][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[475:464] [2023-12-08 00:31:53 +0000.243807][657e] Push an pts:1771 to dts queue.
[475:499] [2023-12-08 00:31:53 +0000.279704][657e] last dts:1731 currentPts:1771
ppsOrSPS:0 queue length:2
[475:522] [2023-12-08 00:31:53 +0000.302726][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[475:664] [2023-12-08 00:31:53 +0000.444169][6534] The convert RGB to YUV take 3
[475:738] [2023-12-08 00:31:53 +0000.517855][657e] h264 add frame header cdr flag
[475:738] [2023-12-08 00:31:53 +0000.518710][657e] Received key frame:1997
[475:755] [2023-12-08 00:31:53 +0000.535460][657e] DTS queue for
Generator:0x79a212dcb8 2038 2061
[475:762] [2023-12-08 00:31:53 +0000.542596][657f] get the H.264 IDR frame
[475:952] [2023-12-08 00:31:53 +0000.732735][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[476:024] [2023-12-08 00:31:53 +0000.803859][6534] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[476:160] [2023-12-08 00:31:53 +0000.940663][6534] The convert RGB to YUV take 2
[476:166] [2023-12-08 00:31:53 +0000.945926][657e] SendFrame
encodedImage._timeStamp:2433encodedImage->_length:140614
[476:201] [2023-12-08 00:31:53 +0000.980969][657e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2467 pts:2467
[476:278] [2023-12-08 00:31:54 +0000.58248][657d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2530queue_audio_frame_:4
[476:332] [2023-12-08 00:31:54 +0000.112517][6577] AF_SpeedFilter::PullFrame eof4
[476:342] [2023-12-08 00:31:54 +0000.122384][6577]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[476:476] [2023-12-08 00:31:54 +0000.256647][6577] AF_SpeedFilter audio
0x798fe28a80 PullFrame
[476:522] [2023-12-08 00:31:54 +0000.302307][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[476:560] [2023-12-08 00:31:54 +0000.339978][657e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:2864
[476:560] [2023-12-08 00:31:54 +0000.340175][657e] push video frame to H264
encoder. (100 frame for one log)
[476:560] [2023-12-08 00:31:54 +0000.340298][657e] push video frame to H264
encoder. (100 frame for one log) used width:1280 height:720

[476:560] [2023-12-08 00:31:54 +0000.340383][657e] H264Encode::push video frame to


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

[476:560] [2023-12-08 00:31:54 +0000.340478][657e] The input pts:2864 fps:30


[476:595] [2023-12-08 00:31:54 +0000.375013][657e] DTS queue for
Generator:0x79a212dcb8 2864 2900
[476:598] [2023-12-08 00:31:54 +0000.377888][657e] H264Encode::H264SWEncoder get
callback, length:115634 type:1 nalType:1length:115630
[476:657] [2023-12-08 00:31:54 +0000.437198][6534] The convert RGB to YUV take 3
[476:793] [2023-12-08 00:31:54 +0000.572850][657e] Push an pts:3100 to dts queue.
[476:833] [2023-12-08 00:31:54 +0000.612980][657e] last dts:3068 currentPts:3100
ppsOrSPS:0 queue length:2
[476:950] [2023-12-08 00:31:54 +0000.730721][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[476:956] [2023-12-08 00:31:54 +0000.736046][6534] drawYUV420 render
OpenGLRenderProgram:0x79c4e9a498
[477:021] [2023-12-08 00:31:54 +0000.801020][6534] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[477:078] [2023-12-08 00:31:54 +0000.858483][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[477:092] [2023-12-08 00:31:54 +0000.871894][6577]
RecordAudioSource::PullAudioFrame
[477:156] [2023-12-08 00:31:54 +0000.936476][6534] The convert RGB to YUV take 3
[477:212] [2023-12-08 00:31:54 +0000.992164][6577] resampled_data_size:6144
[477:323] [2023-12-08 00:31:55 +0000.102974][6534] webrtc common_video plane
old ..... (1/1000) new: 18001 delete: 17984 diff: 17
[477:323] [2023-12-08 00:31:55 +0000.103573][657e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3630
[477:333] [2023-12-08 00:31:55 +0000.113209][6539] Run AGC when audioType = 0
[477:429] [2023-12-08 00:31:55 +0000.208971][657e] DTS queue for
Generator:0x79a212dcb8 3697 3736
[477:452] [2023-12-08 00:31:55 +0000.232648][6534] GPUImageProcessing: process
video frame with resolution 1280 X 720
[477:453] [2023-12-08 00:31:55 +0000.232798][6534] GPUImageProcessing: input frame
width1280 X 720
[477:453] [2023-12-08 00:31:55 +0000.233339][6534] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[477:453] [2023-12-08 00:31:55 +0000.233588][6534] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[477:518] [2023-12-08 00:31:55 +0000.297895][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[477:667] [2023-12-08 00:31:55 +0000.446845][6534] The convert RGB to YUV take 3
[477:725] [2023-12-08 00:31:55 +0000.505214][657e] h264 add frame header cdr flag
[477:726] [2023-12-08 00:31:55 +0000.505962][657e] Received key frame:3996
[477:764] [2023-12-08 00:31:55 +0000.544777][657f] get the H.264 IDR frame
[477:859] [2023-12-08 00:31:55 +0000.639019][6578] The output timestamp from audio
mixer change:371552038
[477:935] [2023-12-08 00:31:55 +0000.715603][6539] On audio frame the broadcast
with timestamp:371552116 samples:480. (1000 frame for one log)

[477:956] [2023-12-08 00:31:55 +0000.735875][6578] Get data in mic source, which


has byte length:1764micAudioStream->length():10
[477:956] [2023-12-08 00:31:55 +0000.736370][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[477:988] [2023-12-08 00:31:55 +0000.768426][6534] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[478:025] [2023-12-08 00:31:55 +0000.805503][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[478:080] [2023-12-08 00:31:55 +0000.859895][6577] AF_SpeedFilter audio
0x798fe28a80 PullFrame
[478:126] [2023-12-08 00:31:55 +0000.906426][657e] Push an pts:4430 to dts queue.
[478:162] [2023-12-08 00:31:55 +0000.941791][6534] The convert RGB to YUV take 4
[478:166] [2023-12-08 00:31:55 +0000.946579][657e] last dts:4403 currentPts:4430
ppsOrSPS:0 queue length:2
[478:233] [2023-12-08 00:31:56 +0000.13335][657e] DTS queue for
Generator:0x79a212dcb8 4534
[478:522] [2023-12-08 00:31:56 +0000.302534][6534] The read pixel from buffer take:
4 width:1280 height:720 frameType:0
[478:642] [2023-12-08 00:31:56 +0000.421821][657d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4852queue_audio_frame_:8
[478:646] [2023-12-08 00:31:56 +0000.426505][6577] AF_SpeedFilter::PullFrame eof4
[478:656] [2023-12-08 00:31:56 +0000.436157][6577]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[478:658] [2023-12-08 00:31:56 +0000.438398][6534] The convert RGB to YUV take 2
[478:797] [2023-12-08 00:31:56 +0000.577075][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[478:951] [2023-12-08 00:31:56 +0000.730916][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[478:972] [2023-12-08 00:31:56 +0000.752568][6577]
RecordAudioSource::PullAudioFrame
[479:019] [2023-12-08 00:31:56 +0000.798984][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[479:066] [2023-12-08 00:31:56 +0000.846248][657e] DTS queue for
Generator:0x79a212dcb8 5365
[479:155] [2023-12-08 00:31:56 +0000.935792][6534] The convert RGB to YUV take 2
[479:337] [2023-12-08 00:31:57 +0000.116837][6539] Run AGC when audioType = 0
[479:337] [2023-12-08 00:31:57 +0000.117130][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[479:396] [2023-12-08 00:31:57 +0000.175951][6577] resampled_data_size:0
[479:417] [2023-12-08 00:31:57 +0000.197740][6534] webrtc common_video plane
old ..... (1/1000) new: 19001 delete: 18980 diff: 21
[479:459] [2023-12-08 00:31:57 +0000.239494][657e] Push an pts:5765 to dts queue.
[479:494] [2023-12-08 00:31:57 +0000.274326][657e] SendFrame
encodedImage._timeStamp:5765encodedImage->_length:119626
[479:494] [2023-12-08 00:31:57 +0000.274743][657e] last dts:5730 currentPts:5765
ppsOrSPS:0 queue length:2
[479:518] [2023-12-08 00:31:57 +0000.298218][6534] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[479:561] [2023-12-08 00:31:57 +0000.341449][657e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:5830 pts:5830
[479:660] [2023-12-08 00:31:57 +0000.439862][6534] The convert RGB to YUV take 4
[479:696] [2023-12-08 00:31:57 +0000.475986][6577] AF_SpeedFilter audio
0x798fe28a80 PullFrame
[479:731] [2023-12-08 00:31:57 +0000.511522][657e] h264 add frame header cdr flag
[479:732] [2023-12-08 00:31:57 +0000.512460][657e] Received key frame:5997
[479:764] [2023-12-08 00:31:57 +0000.544715][657f] get the H.264 IDR frame
[479:896] [2023-12-08 00:31:57 +0000.676647][657e] DTS queue for
Generator:0x79a212dcb8 6168 6200
[479:926] [2023-12-08 00:31:57 +0000.706065][657e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:6231
[479:926] [2023-12-08 00:31:57 +0000.706386][657e] push video frame to H264
encoder. (100 frame for one log)
[479:926] [2023-12-08 00:31:57 +0000.706661][657e] push video frame to H264
encoder. (100 frame for one log) used width:1280 height:720

[479:927] [2023-12-08 00:31:57 +0000.706823][657e] H264Encode::push video frame to


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

[479:927] [2023-12-08 00:31:57 +0000.707237][657e] The input pts:6231 fps:30


[479:952] [2023-12-08 00:31:57 +0000.732606][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[479:963] [2023-12-08 00:31:57 +0000.743748][657e] H264Encode::H264SWEncoder get
callback, length:130221 type:1 nalType:1length:130217
[480:022] [2023-12-08 00:31:57 +0000.802415][6534] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[480:158] [2023-12-08 00:31:57 +0000.938750][6534] The convert RGB to YUV take 2
[480:284] [2023-12-08 00:31:58 +0000.63837][6534] drawYUV420 render
OpenGLRenderProgram:0x79c4e9a498
[480:382] [2023-12-08 00:31:58 +0000.162921][6577] AF_SpeedFilter audio time,
0x798fe28a80 rcv time: 371554557
[480:383] [2023-12-08 00:31:58 +0000.163407][6577] AF_SpeedFilter audio time,
0x798fe28a80 rcv time: 371554557in_nSamples:441
[480:416] [2023-12-08 00:31:58 +0000.196709][6577]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 371554558
[480:417] [2023-12-08 00:31:58 +0000.196895][6577]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[480:514] [2023-12-08 00:31:58 +0000.294085][6534] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[480:518] [2023-12-08 00:31:58 +0000.298224][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[480:658] [2023-12-08 00:31:58 +0000.438472][6534] The convert RGB to YUV take 2
[480:661] [2023-12-08 00:31:58 +0000.441559][657e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6962
[480:724] [2023-12-08 00:31:58 +0000.503962][657e] DTS queue for
Generator:0x79a212dcb8 7004 7031
[480:790] [2023-12-08 00:31:58 +0000.570532][657e] Push an pts:7096 to dts queue.
[480:820] [2023-12-08 00:31:58 +0000.600412][6534] GPUImageProcessing: process
video frame with resolution 1280 X 720
[480:820] [2023-12-08 00:31:58 +0000.600624][6534] GPUImageProcessing: input frame
width1280 X 720
[480:821] [2023-12-08 00:31:58 +0000.601244][6534] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[480:821] [2023-12-08 00:31:58 +0000.601564][6534] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[480:829] [2023-12-08 00:31:58 +0000.608955][657e] last dts:7066 currentPts:7096
ppsOrSPS:0 queue length:2
[480:861] [2023-12-08 00:31:58 +0000.641368][6577]
RecordAudioSource::PullAudioFrame
[480:901] [2023-12-08 00:31:58 +0000.681359][657d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 7174queue_audio_frame_:2
[480:956] [2023-12-08 00:31:58 +0000.735934][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[480:979] [2023-12-08 00:31:58 +0000.759573][6577] AF_SpeedFilter::PullFrame eof4
[480:988] [2023-12-08 00:31:58 +0000.768335][6577]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[481:021] [2023-12-08 00:31:58 +0000.800804][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[481:159] [2023-12-08 00:31:58 +0000.939752][6534] The convert RGB to YUV take 2
[481:313] [2023-12-08 00:31:59 +0000.92870][6577] AF_SpeedFilter audio 0x798fe28a80
PullFrame
[481:335] [2023-12-08 00:31:59 +0000.115251][6539] Run AGC when audioType = 0
[481:463] [2023-12-08 00:31:59 +0000.243459][6577] FilterPipeline2::OnAudioFrame
pts 7750 last_audio_timestamp_ 7750
[481:492] [2023-12-08 00:31:59 +0000.272163][6534] webrtc common_video plane
old ..... (1/1000) new: 20001 delete: 19984 diff: 17
[481:519] [2023-12-08 00:31:59 +0000.299238][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[481:560] [2023-12-08 00:31:59 +0000.340148][657e] DTS queue for
Generator:0x79a212dcb8 7829 7866
[481:649] [2023-12-08 00:31:59 +0000.429478][6577] resampled_data_size:9216
[481:661] [2023-12-08 00:31:59 +0000.441145][6534] The convert RGB to YUV take 2
[481:727] [2023-12-08 00:31:59 +0000.506850][657e] h264 add frame header cdr flag
[481:727] [2023-12-08 00:31:59 +0000.507720][657e] Received key frame:7993
[481:766] [2023-12-08 00:31:59 +0000.546112][657f] get the H.264 IDR frame
[481:956] [2023-12-08 00:31:59 +0000.736326][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[482:024] [2023-12-08 00:31:59 +0000.804096][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[482:121] [2023-12-08 00:31:59 +0000.901667][657e] Push an pts:8429 to dts queue.
[482:159] [2023-12-08 00:31:59 +0000.938967][6534] The convert RGB to YUV take 4
[482:164] [2023-12-08 00:31:59 +0000.944528][657e] last dts:8396 currentPts:8429
ppsOrSPS:0 queue length:2
[482:244] [2023-12-08 00:32:00 +0000.24425][6539] haveEnoughProcessedData
internalAudioStream.length: 10
[482:366] [2023-12-08 00:32:00 +0000.145933][657e] DTS queue for
Generator:0x79a212dcb8 8667
[482:522] [2023-12-08 00:32:00 +0000.302209][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[482:653] [2023-12-08 00:32:00 +0000.433371][6534] The convert RGB to YUV take 3
[482:742] [2023-12-08 00:32:00 +0000.522178][6577]
RecordAudioSource::PullAudioFrame
[482:835] [2023-12-08 00:32:00 +0000.614902][657e] SendFrame
encodedImage._timeStamp:9098encodedImage->_length:134204
[482:925] [2023-12-08 00:32:00 +0000.705643][657e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9201 pts:9201
[482:928] [2023-12-08 00:32:00 +0000.707942][6577] AF_SpeedFilter audio
0x798fe28a80 PullFrame
[482:955] [2023-12-08 00:32:00 +0000.735483][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[483:015] [2023-12-08 00:32:00 +0000.795327][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[483:159] [2023-12-08 00:32:00 +0000.938967][6534] The convert RGB to YUV take 2
[483:195] [2023-12-08 00:32:00 +0000.975768][657e] DTS queue for
Generator:0x79a212dcb8 9497
[483:244] [2023-12-08 00:32:01 +0000.24609][657d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9496queue_audio_frame_:4
[483:296] [2023-12-08 00:32:01 +0000.76435][6577] AF_SpeedFilter::PullFrame eof4
[483:296] [2023-12-08 00:32:01 +0000.76400][657e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:9601
[483:297] [2023-12-08 00:32:01 +0000.76852][657e] push video frame to H264 encoder.
(100 frame for one log)

[483:297] [2023-12-08 00:32:01 +0000.77015][657e] push video frame to H264 encoder.


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

[483:297] [2023-12-08 00:32:01 +0000.77172][657e] H264Encode::push video frame to


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

[483:297] [2023-12-08 00:32:01 +0000.77256][657e] The input pts:9601 fps:30


[483:305] [2023-12-08 00:32:01 +0000.85367][6577]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[483:330] [2023-12-08 00:32:01 +0000.110145][657e] H264Encode::H264SWEncoder get
callback, length:132378 type:1 nalType:1length:132374
[483:337] [2023-12-08 00:32:01 +0000.117193][6539] Run AGC when audioType = 0
[483:337] [2023-12-08 00:32:01 +0000.117438][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[483:461] [2023-12-08 00:32:01 +0000.241761][657e] Push an pts:9765 to dts queue.
[483:496] [2023-12-08 00:32:01 +0000.276151][657e] last dts:9728 currentPts:9765
ppsOrSPS:0 queue length:2
[483:519] [2023-12-08 00:32:01 +0000.299250][6534] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[483:590] [2023-12-08 00:32:01 +0000.370650][6534] webrtc common_video plane
old ..... (1/1000) new: 21001 delete: 20980 diff: 21
[483:615] [2023-12-08 00:32:01 +0000.395659][6534] drawYUV420 render
OpenGLRenderProgram:0x79c4e9a498
[483:662] [2023-12-08 00:32:01 +0000.442620][6534] The convert RGB to YUV take 2
[483:731] [2023-12-08 00:32:01 +0000.511222][657e] h264 add frame header cdr flag
[483:732] [2023-12-08 00:32:01 +0000.511963][657e] Received key frame:9996
[483:753] [2023-12-08 00:32:01 +0000.532976][6534]
MediaFilterCamera::NeedProcessTexture
[483:766] [2023-12-08 00:32:01 +0000.546523][657f] get the H.264 IDR frame
[483:852] [2023-12-08 00:32:01 +0000.632467][6534] CameraSource::PushExtraFrame
pkt_dts: 10205, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x798fe28780
[483:853] [2023-12-08 00:32:01 +0000.633614][6534] CropFilter::OnVideoFrame
outputtexture :8
[483:889] [2023-12-08 00:32:01 +0000.669283][6577] resampled_data_size:0
[483:891] [2023-12-08 00:32:01 +0000.671141][6534]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:10198
[483:951] [2023-12-08 00:32:01 +0000.731552][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[483:963] [2023-12-08 00:32:01 +0000.743123][6539] haveEnoughProcessedData
internalAudioStream.length: 10
[483:994] [2023-12-08 00:32:01 +0000.773799][657e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:10299
[483:999] [2023-12-08 00:32:01 +0000.779179][6577] AF_SpeedFilter audio time 111,
0x798fe28a80 out time: 371558138 org time: 371558138
[484:024] [2023-12-08 00:32:01 +0000.804043][6534] The read pixel from buffer take:
4 width:1280 height:720 frameType:0
[484:029] [2023-12-08 00:32:01 +0000.809028][657e] DTS queue for
Generator:0x79a212dcb8 10299 10329
[484:159] [2023-12-08 00:32:01 +0000.939273][6534] The convert RGB to YUV take 2
[484:184] [2023-12-08 00:32:01 +0000.963959][6534] GPUImageProcessing: process
video frame with resolution 1280 X 720
[484:184] [2023-12-08 00:32:01 +0000.964380][6534] GPUImageProcessing: input frame
width1280 X 720
[484:186] [2023-12-08 00:32:01 +0000.966425][6534] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[484:186] [2023-12-08 00:32:01 +0000.966650][6534] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[484:192] [2023-12-08 00:32:01 +0000.971798][6577] AF_SpeedFilter audio time
[484:517] [2023-12-08 00:32:02 +0000.296819][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[484:555] [2023-12-08 00:32:02 +0000.335015][6577] AF_SpeedFilter audio
0x798fe28a80 PullFrame
[484:639] [2023-12-08 00:32:02 +0000.418880][6577]
RecordAudioSource::PullAudioFrame
[484:657] [2023-12-08 00:32:02 +0000.437472][6534] The convert RGB to YUV take 2
[484:787] [2023-12-08 00:32:02 +0000.567358][657e] Push an pts:11092 to dts queue.
[484:829] [2023-12-08 00:32:02 +0000.609478][657e] last dts:11069 currentPts:11092
ppsOrSPS:0 queue length:2
[484:856] [2023-12-08 00:32:02 +0000.636286][657e] DTS queue for
Generator:0x79a212dcb8 11131 11159
[484:954] [2023-12-08 00:32:02 +0000.734603][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[485:020] [2023-12-08 00:32:02 +0000.800485][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[485:156] [2023-12-08 00:32:02 +0000.936205][6534] The convert RGB to YUV take 3
[485:332] [2023-12-08 00:32:03 +0000.112508][653a] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[485:332] [2023-12-08 00:32:03 +0000.112698][653a] _deviceSampleRate:48000

[485:337] [2023-12-08 00:32:03 +0000.116862][6539] Run AGC when audioType = 0


[485:521] [2023-12-08 00:32:03 +0000.301017][6534] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[485:605] [2023-12-08 00:32:03 +0000.385274][657d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11818queue_audio_frame_:8
[485:632] [2023-12-08 00:32:03 +0000.411968][6577] AF_SpeedFilter::PullFrame eof4
[485:640] [2023-12-08 00:32:03 +0000.420589][6577]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[485:655] [2023-12-08 00:32:03 +0000.435607][6534] The convert RGB to YUV take 2
[485:656] [2023-12-08 00:32:03 +0000.435880][6534] webrtc common_video plane
old ..... (1/1000) new: 22001 delete: 21984 diff: 17
[485:687] [2023-12-08 00:32:03 +0000.467694][6539] haveEnoughProcessedData
internalAudioStream.length: 10
[485:691] [2023-12-08 00:32:03 +0000.471136][657e] DTS queue for
Generator:0x79a212dcb8 11965 11994
[485:732] [2023-12-08 00:32:03 +0000.511875][657e] h264 add frame header cdr flag
[485:732] [2023-12-08 00:32:03 +0000.512738][657e] Received key frame:11994
[485:768] [2023-12-08 00:32:03 +0000.548069][657f] get the H.264 IDR frame
[485:953] [2023-12-08 00:32:03 +0000.733341][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[486:022] [2023-12-08 00:32:03 +0000.802714][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[486:073] [2023-12-08 00:32:03 +0000.853225][6577] resampled_data_size:12288
[486:124] [2023-12-08 00:32:03 +0000.904087][657e] Push an pts:12429 to dts queue.
[486:155] [2023-12-08 00:32:03 +0000.935542][6534] The convert RGB to YUV take 2
[486:160] [2023-12-08 00:32:03 +0000.939963][657e] SendFrame
encodedImage._timeStamp:12429encodedImage->_length:114652
[486:160] [2023-12-08 00:32:03 +0000.940112][657e] last dts:12398 currentPts:12429
ppsOrSPS:0 queue length:2
[486:170] [2023-12-08 00:32:03 +0000.949802][6577] AF_SpeedFilter audio
0x798fe28a80 PullFrame
[486:297] [2023-12-08 00:32:04 +0000.77177][657e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:12566 pts:12566
[486:488] [2023-12-08 00:32:04 +0000.268715][657e] DTS queue for
Generator:0x79a212dcb8 12792
[486:523] [2023-12-08 00:32:04 +0000.303070][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[486:535] [2023-12-08 00:32:04 +0000.315217][6577]
RecordAudioSource::PullAudioFrame
[486:654] [2023-12-08 00:32:04 +0000.434378][6534] The convert RGB to YUV take 3
[486:655] [2023-12-08 00:32:04 +0000.435082][657e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:12963
[486:655] [2023-12-08 00:32:04 +0000.435208][657e] push video frame to H264
encoder. (100 frame for one log)

[486:655] [2023-12-08 00:32:04 +0000.435270][657e] push video frame to H264


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

[486:655] [2023-12-08 00:32:04 +0000.435325][657e] H264Encode::push video frame to


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

[486:655] [2023-12-08 00:32:04 +0000.435387][657e] The input pts:12963 fps:30


[486:694] [2023-12-08 00:32:04 +0000.474337][657e] H264Encode::H264SWEncoder get
callback, length:3113 type:1 nalType:1length:3109
[486:944] [2023-12-08 00:32:04 +0000.724612][6534] drawYUV420 render
OpenGLRenderProgram:0x79c4e9a498
[486:949] [2023-12-08 00:32:04 +0000.729616][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[487:019] [2023-12-08 00:32:04 +0000.799189][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[487:154] [2023-12-08 00:32:04 +0000.934283][6534] The convert RGB to YUV take 3
[487:332] [2023-12-08 00:32:05 +0000.112744][657e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:13636
[487:336] [2023-12-08 00:32:05 +0000.115799][6539] Run AGC when audioType = 0
[487:336] [2023-12-08 00:32:05 +0000.116384][657e] DTS queue for
Generator:0x79a212dcb8 13636
[487:336] [2023-12-08 00:32:05 +0000.116636][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[487:415] [2023-12-08 00:32:05 +0000.194905][6539] haveEnoughProcessedData
internalAudioStream.length: 10
[487:458] [2023-12-08 00:32:05 +0000.237834][657e] Push an pts:13761 to dts queue.
[487:500] [2023-12-08 00:32:05 +0000.280624][657e] last dts:13737 currentPts:13761
ppsOrSPS:0 queue length:2
[487:513] [2023-12-08 00:32:05 +0000.293158][6534] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[487:551] [2023-12-08 00:32:05 +0000.331322][6534] GPUImageProcessing: process
video frame with resolution 1280 X 720
[487:551] [2023-12-08 00:32:05 +0000.331505][6534] GPUImageProcessing: input frame
width1280 X 720
[487:552] [2023-12-08 00:32:05 +0000.332766][6534] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[487:553] [2023-12-08 00:32:05 +0000.333651][6534] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[487:659] [2023-12-08 00:32:05 +0000.439079][6534] The convert RGB to YUV take 5
[487:727] [2023-12-08 00:32:05 +0000.507379][657e] h264 add frame header cdr flag
[487:728] [2023-12-08 00:32:05 +0000.508116][657e] Received key frame:13999
[487:754] [2023-12-08 00:32:05 +0000.533851][6534] webrtc common_video plane
old ..... (1/1000) new: 23001 delete: 22980 diff: 21
[487:766] [2023-12-08 00:32:05 +0000.546201][657f] get the H.264 IDR frame
[487:776] [2023-12-08 00:32:05 +0000.555976][6577] AF_SpeedFilter audio
0x798fe28a80 PullFrame
[487:827] [2023-12-08 00:32:05 +0000.607050][6578] The output timestamp from audio
mixer change:371562006
[487:869] [2023-12-08 00:32:05 +0000.649136][657d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 14140queue_audio_frame_:2
[487:936] [2023-12-08 00:32:05 +0000.716091][6539] On audio frame the broadcast
with timestamp:371562117 samples:480. (1000 frame for one log)

[487:952] [2023-12-08 00:32:05 +0000.732487][6578] Get data in mic source, which


has byte length:1764micAudioStream->length():10
[487:953] [2023-12-08 00:32:05 +0000.733183][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[487:962] [2023-12-08 00:32:05 +0000.742200][6577] AF_SpeedFilter::PullFrame eof4
[487:971] [2023-12-08 00:32:05 +0000.751053][6577]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[488:022] [2023-12-08 00:32:05 +0000.802119][6534] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[488:153] [2023-12-08 00:32:05 +0000.933305][6534] The convert RGB to YUV take 4
[488:155] [2023-12-08 00:32:05 +0000.935254][657e] DTS queue for
Generator:0x79a212dcb8 14429 14460
[488:335] [2023-12-08 00:32:06 +0000.115772][6577] resampled_data_size:3072
[488:412] [2023-12-08 00:32:06 +0000.192613][6577]
RecordAudioSource::PullAudioFrame
[488:518] [2023-12-08 00:32:06 +0000.297954][6534] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[488:658] [2023-12-08 00:32:06 +0000.438269][6534] The convert RGB to YUV take 3
[488:792] [2023-12-08 00:32:06 +0000.572358][657e] Push an pts:15097 to dts queue.
[488:828] [2023-12-08 00:32:06 +0000.608408][657e] last dts:15056 currentPts:15097
ppsOrSPS:0 queue length:2
[488:889] [2023-12-08 00:32:06 +0000.669690][6534] StopRecording:
[488:893] [2023-12-08 00:32:06 +0000.672878][6534] OnNeedStopRecording:
[488:896] [2023-12-08 00:32:06 +0000.676150][6577] PullAudioFrame: PullFrame audio
finished.
[488:896] [2023-12-08 00:32:06 +0000.676323][6577]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[488:905] [2023-12-08 00:32:06 +0000.685475][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[488:905] [2023-12-08 00:32:06 +0000.685775][6534] operator(): Stop
[488:906] [2023-12-08 00:32:06 +0000.685905][6534] StopPullFrameAndWriteMp4
time:371563087 enter.

[488:906] [2023-12-08 00:32:06 +0000.686033][6534] StopRecording:


[488:908] [2023-12-08 00:32:06 +0000.688329][657e]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:456
[488:909] [2023-12-08 00:32:06 +0000.689410][6533] stop recording
[488:909] [2023-12-08 00:32:06 +0000.689582][6533]
RecordingSessionInternalSimple:destroy media processers
[488:909] [2023-12-08 00:32:06 +0000.689705][6533] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[488:910] [2023-12-08 00:32:06 +0000.689789][6533] H264Encode::flushing hareware
Encoder
[488:910] [2023-12-08 00:32:06 +0000.690145][6533] Flush time:371563091 enter.

[488:910] [2023-12-08 00:32:06 +0000.690262][6533] H264Encoder encoder flush


[488:910] [2023-12-08 00:32:06 +0000.690330][6533] flush output queue
[488:954] [2023-12-08 00:32:06 +0000.734324][6578] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[489:142] [2023-12-08 00:32:06 +0000.921818][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[489:226] [2023-12-08 00:32:07 +0000.6155][6533] Flush leave. expire time = 316 ms

[489:226] [2023-12-08 00:32:07 +0000.6490][6533] ~H264EncodeWrap:


[489:226] [2023-12-08 00:32:07 +0000.6664][6533] ~H264Encode:
[489:226] [2023-12-08 00:32:07 +0000.6757][6533] teardownCompressionSession:
H264Encode::destroying Encoder
[489:227] [2023-12-08 00:32:07 +0000.6903][6533] Release time:371563408 enter.

[489:227] [2023-12-08 00:32:07 +0000.7304][6533] Release:


MediaCodecVideoEncoder::Release _inited:1
[489:227] [2023-12-08 00:32:07 +0000.7418][6533] Destroy time:371563408 enter.

[489:227] [2023-12-08 00:32:07 +0000.7505][6533] H264Encoder encoderDestroy


[489:227] [2023-12-08 00:32:07 +0000.7586][6533]
AndroidMediaCodecVideoEncoder::release env: 0x7a65607140
[489:227] [2023-12-08 00:32:07 +0000.7662][6533]
AndroidMediaCodecVideoEncoder::Destroy
[489:265] [2023-12-08 00:32:07 +0000.45262][6533] Destroy leave. expire time = 38
ms

[489:265] [2023-12-08 00:32:07 +0000.45588][6533] Release leave. expire time = 38


ms

[489:266] [2023-12-08 00:32:07 +0000.45785][6533] ~AndroidHwAvcEncoder


time:371563447 enter.

[489:266] [2023-12-08 00:32:07 +0000.46297][6533] Release time:371563447 enter.

[489:266] [2023-12-08 00:32:07 +0000.46467][6533] Release: MediaCodecVideoEncoder::


has been released before, just return
[489:266] [2023-12-08 00:32:07 +0000.46570][6533] Release leave. expire time = 0
ms

[489:266] [2023-12-08 00:32:07 +0000.46666][6533] ~AndroidMediaCodecVideoEncoder


[489:266] [2023-12-08 00:32:07 +0000.46722][6533] ~WrapAndroidMediaCodec
time:371563447 enter.

[489:267] [2023-12-08 00:32:07 +0000.46869][6533] ~WrapAndroidMediaCodec leave.


expire time = 1 ms

[489:267] [2023-12-08 00:32:07 +0000.46934][6533] video hevc hw codec


destructor:0x7a65638bd8

[489:267] [2023-12-08 00:32:07 +0000.47177][6533] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[489:267] [2023-12-08 00:32:07 +0000.47301][6533] teardownCompressionSession:


H264Encode::destroyed Encoder
[489:267] [2023-12-08 00:32:07 +0000.47400][6533]
RecordingSessionInternalSimple:destroy aac encoder output!
[489:267] [2023-12-08 00:32:07 +0000.47477][6533] AACSWEncode destructor
[489:286] [2023-12-08 00:32:07 +0000.66580][657f] MP4 close file successfully
[489:286] [2023-12-08 00:32:07 +0000.66726][657f] Recording session Internal:
notify recording ok
[489:286] [2023-12-08 00:32:07 +0000.66761][657f] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4,
output_video_timestamp_:15196 last_video_pts_:15163
[489:287] [2023-12-08 00:32:07 +0000.66881][657f] OnRecordFinish:
[489:293] [2023-12-08 00:32:07 +0000.72995][657f] onRecordingOk: net seek
pos:0record video duration:15196record audio duration:15185
[489:293] [2023-12-08 00:32:07 +0000.73731][6578] destructMicSource_w:
[489:294] [2023-12-08 00:32:07 +0000.73892][6578] setOutput_w:
MicSource::setOutput() 0x0
[489:294] [2023-12-08 00:32:07 +0000.74254][6534] releaseThread 0x798fe28180
[489:294] [2023-12-08 00:32:07 +0000.74362][6534] ~MicSource: Mic source
destroyed:0x798fe4eb00
[489:295] [2023-12-08 00:32:07 +0000.75598][6534] StopPullFrameAndWriteMp4 leave.
expire time = 389 ms

[489:295] [2023-12-08 00:32:07 +0000.75724][6534] DestroyPipelineAndFilters


time:371563476 enter.

[489:296] [2023-12-08 00:32:07 +0000.75855][6534] UnbindInputFilter 0x798fe288c0


this 0x79c4e9a6c0
[489:296] [2023-12-08 00:32:07 +0000.75960][6534] UnbindInputFilter 0x798fe28a58
this 0x798fe28bd0
[489:296] [2023-12-08 00:32:07 +0000.76085][6534] UnbindInputFilter 0x79c4e9a6c0
this 0x798fcdea60
[489:296] [2023-12-08 00:32:07 +0000.76158][6534] filter: filter pipeline destroy
this: 0x798fcde9c0
[489:296] [2023-12-08 00:32:07 +0000.76624][6534] ClearVideoOfSources: recodring
total frames:0
[489:296] [2023-12-08 00:32:07 +0000.76718][6534] ClearVideoOfSources:
[489:297] [2023-12-08 00:32:07 +0000.76789][6534] GPUImageProcessing destruct.
[489:297] [2023-12-08 00:32:07 +0000.76907][6534] destroy TrivalImageDrawer
0x79be3b9f80
[489:297] [2023-12-08 00:32:07 +0000.77016][6534] The shader has been initialize,
clean up them.

[489:297] [2023-12-08 00:32:07 +0000.77117][6534] ~OpenGLFrameBuffer:


[489:297] [2023-12-08 00:32:07 +0000.77355][6534] ~OpenGLFrameBuffer:
[489:297] [2023-12-08 00:32:07 +0000.77585][6534] ~OpenGLFrameBuffer:
[489:298] [2023-12-08 00:32:07 +0000.77795][6534] ~OpenGLFrameBuffer:
[489:298] [2023-12-08 00:32:07 +0000.77989][6534] ~OpenGLFrameBuffer:
[489:298] [2023-12-08 00:32:07 +0000.78204][6534] ~OpenGLFrameBuffer:
[489:298] [2023-12-08 00:32:07 +0000.78464][6534] GPUImageProcessing destruct
finish.
[489:298] [2023-12-08 00:32:07 +0000.78566][6534] GPURGBAFrame destruct.
[489:298] [2023-12-08 00:32:07 +0000.78729][6534] destroy OpenGLRenderProgram
0x79c4e9a498
[489:299] [2023-12-08 00:32:07 +0000.78866][6534] ~CameraSource time:371563480
enter.

[489:299] [2023-12-08 00:32:07 +0000.78942][6534] ~CameraSource leave. expire time


= 0 ms

[489:299] [2023-12-08 00:32:07 +0000.79026][6534] ~RecordAudioSource time:371563480


enter.

[489:299] [2023-12-08 00:32:07 +0000.79099][6534] ~RecordAudioSource leave. expire


time = 0 ms

[489:299] [2023-12-08 00:32:07 +0000.79178][6534] DestroyPipelineAndFilters leave.


expire time = 4 ms

[489:314] [2023-12-08 00:32:07 +0000.94521][41f7]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[489:315] [2023-12-08 00:32:07 +0000.95723][41f7] machine model :redmi
[489:316] [2023-12-08 00:32:07 +0000.95869][41f7] Support this machine model :redmi
[489:316] [2023-12-08 00:32:07 +0000.95898][41f7] global inited! current sdk
version: 07-20-936c45f
[489:316] [2023-12-08 00:32:07 +0000.96253][41f7] filter: filter pipeline construtc
this: 0x79be196080
[489:316] [2023-12-08 00:32:07 +0000.96355][41f7] MediaFilterGraph:
MediaFilterGraph construct
[489:316] [2023-12-08 00:32:07 +0000.96392][41f7] GLESContext:
[489:316] [2023-12-08 00:32:07 +0000.96481][41f7] The result of eglGetDisplay is:
0x1
[489:317] [2023-12-08 00:32:07 +0000.97341][41f7] The result of creation:
0x79ddb78f80
[489:318] [2023-12-08 00:32:07 +0000.98404][41f7] The result of
eglCreatePbufferSurface is: 0x79ddbe2000
[489:318] [2023-12-08 00:32:07 +0000.98571][41f7] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
[489:318] [2023-12-08 00:32:07 +0000.98615][41f7] The source 0 speed:1
[489:318] [2023-12-08 00:32:07 +0000.98659][41f7] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4,
delay: 0
[489:318] [2023-12-08 00:32:07 +0000.98691][41f7] CreateDecoderByVideoSource
time:371563499 enter.

[489:320] [2023-12-08 00:32:07 +0000.99777][41f7] running_decoder_count:0max


count:2
[489:320] [2023-12-08 00:32:07 +0000.99859][41f7] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7a58794800
[489:323] [2023-12-08 00:32:07 +0000.102959][658f] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79ddd31600] Current FFmpeg version git-2021-06-16-
97cea6f

[489:333] [2023-12-08 00:32:07 +0000.113642][6539] Run AGC when audioType = 0


[489:347] [2023-12-08 00:32:07 +0000.127388][658f] OnStreamInfoFound: video
duration_: 15196
[489:351] [2023-12-08 00:32:07 +0000.131346][6590] NO get frame from decoder
[489:351] [2023-12-08 00:32:07 +0000.131348][41f7] start decoder
[489:351] [2023-12-08 00:32:07 +0000.131608][41f7] CreateDecoderByVideoSource
leave. expire time = 33 ms

[489:351] [2023-12-08 00:32:07 +0000.131747][41f7] BindInputFilter 0x79dda612a0


this 0x798fca8458
[489:352] [2023-12-08 00:32:07 +0000.131850][41f7] BindInputFilter 0x798fca8458
this 0x798fca8518
[489:352] [2023-12-08 00:32:07 +0000.132016][41f7] BindInputFilter 0x79dda612a0
this 0x798fca85d8
[489:352] [2023-12-08 00:32:07 +0000.132096][41f7] BindInputFilter 0x798fca85d8
this 0x798fca8758
[489:352] [2023-12-08 00:32:07 +0000.132122][41f7] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
[489:352] [2023-12-08 00:32:07 +0000.132383][41f7] BindInputFilter 0x798fca8518
this 0x798fca8818
[489:352] [2023-12-08 00:32:07 +0000.132441][41f7] BindInputFilter 0x798fca8818
this 0x79be196120
[489:352] [2023-12-08 00:32:07 +0000.132487][41f7] BindInputFilter 0x798fca8758
this 0x798fca88d8
[489:352] [2023-12-08 00:32:07 +0000.132531][41f7] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
[489:352] [2023-12-08 00:32:07 +0000.132579][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[489:353] [2023-12-08 00:32:07 +0000.133282][41f7] machine model :redmi
[489:353] [2023-12-08 00:32:07 +0000.133326][41f7] Support this machine
model :redmi
[489:353] [2023-12-08 00:32:07 +0000.133350][41f7] global inited! current sdk
version: 07-20-936c45f
[489:353] [2023-12-08 00:32:07 +0000.133426][41f7] GetPipeline:
-----------------------------------------
[489:353] [2023-12-08 00:32:07 +0000.133451][41f7] GetPipeline: source:
0x79dda61080
[489:353] [2023-12-08 00:32:07 +0000.133474][41f7] GetPipeline: filter: NULLFilter
[489:353] [2023-12-08 00:32:07 +0000.133498][41f7] GetPipeline: filter: NULLFilter
[489:353] [2023-12-08 00:32:07 +0000.133520][41f7] GetPipeline: filter: NULLFilter
[489:353] [2023-12-08 00:32:07 +0000.133542][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[489:353] [2023-12-08 00:32:07 +0000.133564][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[489:353] [2023-12-08 00:32:07 +0000.133586][41f7] GetPipeline: audio filter:
AudioNUllFilter
[489:353] [2023-12-08 00:32:07 +0000.133622][41f7] GetPipeline:
------------------------------------------
[489:353] [2023-12-08 00:32:07 +0000.133652][41f7] filter: filter pipeline2 update
pattern: 0
[489:353] [2023-12-08 00:32:07 +0000.133641][6590] NO get frame from decoder
[489:355] [2023-12-08 00:32:07 +0000.134857][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[489:355] [2023-12-08 00:32:07 +0000.135133][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[489:355] [2023-12-08 00:32:07 +0000.135209][41f7] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[489:355] [2023-12-08 00:32:07 +0000.135372][41f7] DeviceInit:
[489:355] [2023-12-08 00:32:07 +0000.135672][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[489:356] [2023-12-08 00:32:07 +0000.136503][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[489:358] [2023-12-08 00:32:07 +0000.137887][6590] NO get frame from decoder
[489:358] [2023-12-08 00:32:07 +0000.137887][41f7] CreatePlatformSpecificObjects:
[489:358] [2023-12-08 00:32:07 +0000.138481][41f7] audio device use null audio
input and opensl output
[489:358] [2023-12-08 00:32:07 +0000.138626][41f7] Create OpenSLES output module
with java VM support.

[489:360] [2023-12-08 00:32:07 +0000.140074][6590] NO get frame from decoder


[489:360] [2023-12-08 00:32:07 +0000.140153][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[489:361] [2023-12-08 00:32:07 +0000.140908][41f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[489:361] [2023-12-08 00:32:07 +0000.141680][41f7] Create OpenSLES output module
with buffer num:2

[489:362] [2023-12-08 00:32:07 +0000.141870][41f7] Error(trace.cc:40): Init the


output and input for audio device template.
[489:362] [2023-12-08 00:32:07 +0000.142001][41f7] Init the output device.

[489:362] [2023-12-08 00:32:07 +0000.142086][41f7] Set the playout as stereo:1


[489:362] [2023-12-08 00:32:07 +0000.142316][41f7] Set the sample rate to be:44100

[489:362] [2023-12-08 00:32:07 +0000.142418][41f7] Low latency buffer size:256 low


sample rate:48000
[489:362] [2023-12-08 00:32:07 +0000.142511][41f7] DeviceInit: Done
[489:363] [2023-12-08 00:32:07 +0000.142866][41f7] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[489:363] [2023-12-08 00:32:07 +0000.142953][659a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79ddb56c18
[489:363] [2023-12-08 00:32:07 +0000.143059][6590] NO get frame from decoder
[489:364] [2023-12-08 00:32:07 +0000.143958][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[489:364] [2023-12-08 00:32:07 +0000.144178][41f7]
MediaFilterPlayer::SetPlayerNotify 0x79c4bf0a20
[489:364] [2023-12-08 00:32:07 +0000.144334][41f7]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[489:364] [2023-12-08 00:32:07 +0000.144416][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[489:364] [2023-12-08 00:32:07 +0000.144495][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[489:364] [2023-12-08 00:32:07 +0000.144718][41f7] SetGraphLoop: SetGraphLoop 1
[489:365] [2023-12-08 00:32:07 +0000.144844][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[489:365] [2023-12-08 00:32:07 +0000.144921][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[489:365] [2023-12-08 00:32:07 +0000.145095][6590] NO get frame from decoder
[489:365] [2023-12-08 00:32:07 +0000.145370][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[489:365] [2023-12-08 00:32:07 +0000.145695][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[489:366] [2023-12-08 00:32:07 +0000.145918][659c] Start:
[489:366] [2023-12-08 00:32:07 +0000.146118][659b] operator(): video render
started.
[489:366] [2023-12-08 00:32:07 +0000.146293][659c] Start:
[489:366] [2023-12-08 00:32:07 +0000.146542][659c] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[489:366] [2023-12-08 00:32:07 +0000.146645][659c] Reset: history total size: 98
[489:366] [2023-12-08 00:32:07 +0000.146719][659c] DeviceStart:
audioDevice_:0x7972deb000
[489:367] [2023-12-08 00:32:07 +0000.146864][659c] DeviceStart: time profile
playout init before
[489:367] [2023-12-08 00:32:07 +0000.146898][659c] DeviceStart: time profile
playout init end
[489:367] [2023-12-08 00:32:07 +0000.146921][659c] OpenSlesOutput:Start playout

[489:370] [2023-12-08 00:32:07 +0000.150214][659c] Create the opensl output player.


streamtype before:0

[489:370] [2023-12-08 00:32:07 +0000.150375][659c] Create the opensl output player.


streamtype after:3

[489:368] [2023-12-08 00:32:07 +0000.150839][6590] NO get frame from decoder


[489:372] [2023-12-08 00:32:07 +0000.152020][6590] NO get frame from decoder
[489:393] [2023-12-08 00:32:07 +0000.173395][659c] Enqueue opensl buffer size:1764
[489:407] [2023-12-08 00:32:07 +0000.186914][659c] DeviceStart: time profile
playout all end
[489:407] [2023-12-08 00:32:07 +0000.187060][659c] operator(): Audio playback
started.
[489:407] [2023-12-08 00:32:07 +0000.187169][659c] operator(): Started now!
[489:409] [2023-12-08 00:32:07 +0000.189139][659d] Pull audio failed.(wait video!)
[489:409] [2023-12-08 00:32:07 +0000.189298][659d]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[489:412] [2023-12-08 00:32:07 +0000.192467][659d] Pull audio failed.(wait video!)
[489:414] [2023-12-08 00:32:07 +0000.194593][659d]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[489:414] [2023-12-08 00:32:07 +0000.194606][659e] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[489:430] [2023-12-08 00:32:07 +0000.210430][659e] OnVideoFrameReady(1/200)
[489:431] [2023-12-08 00:32:07 +0000.211207][659b] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[489:493] [2023-12-08 00:32:07 +0000.273529][659b] lipsync_debug: First video frame
rendering.
[489:501] [2023-12-08 00:32:07 +0000.281081][659d] audio_frame_list_ empty
[489:586] [2023-12-08 00:32:07 +0000.366878][659c] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[489:588] [2023-12-08 00:32:07 +0000.368293][659c] First audio frame rendering
[489:845] [2023-12-08 00:32:07 +0000.624859][659b] lipsync_debug:remaining time:10
tsDelta - timeDelta:16
[489:845] [2023-12-08 00:32:07 +0000.625070][659b] lipsync_debug:result remaining
time:10
[489:971] [2023-12-08 00:32:07 +0000.751723][659e] Error(video_source.cc:430): wait
decoder a frame: 0
[489:992] [2023-12-08 00:32:07 +0000.772259][659b] lipsync_debug:displaying video
ts:51030 The current displayed video timestamp is:371564173
[489:998] [2023-12-08 00:32:07 +0000.778455][659b] lipsync_debug: render a video
frame
[490:094] [2023-12-08 00:32:07 +0000.874487][659b] lipsync_debug:result remaining
time:0
[490:094] [2023-12-08 00:32:07 +0000.874717][659b] dynamic updated lipsync delay:0
[490:266] [2023-12-08 00:32:08 +0000.46031][659f]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[490:577] [2023-12-08 00:32:08 +0000.357105][659b] DriveRender working... (1/200)
[490:791] [2023-12-08 00:32:08 +0000.571179][659b]
lipsync_debug:lipsync_threadhold: lipsync_delta:17 tsDelta:51 timeDelta:51 last
video ts:107910 frame->pts:110970 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[490:791] [2023-12-08 00:32:08 +0000.571394][659b] lipsync_debug: tsDelta -
timeDelta = 0
[490:791] [2023-12-08 00:32:08 +0000.571524][659b] lipsync_debug:displaying video
ts:110970 The current displayed video timestamp is:371564972
[490:889] [2023-12-08 00:32:08 +0000.669179][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[490:907] [2023-12-08 00:32:08 +0000.687776][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[490:908] [2023-12-08 00:32:08 +0000.688473][659c] Stop:
[490:908] [2023-12-08 00:32:08 +0000.688674][659b] operator(): Video Render
stopped.
[490:909] [2023-12-08 00:32:08 +0000.689183][659c] Stop:
[490:909] [2023-12-08 00:32:08 +0000.689523][659c] DeviceStop:
audioDevice_:0x7972deb000
[490:909] [2023-12-08 00:32:08 +0000.689583][659c] OpenSlesOutput:Stop playout

[490:911] [2023-12-08 00:32:08 +0000.690940][659c] DeviceStop: Done


[490:911] [2023-12-08 00:32:08 +0000.691232][659c] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[490:911] [2023-12-08 00:32:08 +0000.691332][659c] operator(): Stop now!
[490:948] [2023-12-08 00:32:08 +0000.728031][41f7]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[490:948] [2023-12-08 00:32:08 +0000.728262][41f7] StopPreView: Have Stopped,
operation cancel
[490:948] [2023-12-08 00:32:08 +0000.728308][41f7] Stop:
[490:948] [2023-12-08 00:32:08 +0000.728507][659c] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[490:948] [2023-12-08 00:32:08 +0000.728747][41f7] DeviceRelease:
audioDevice_:0x7972deb000
[490:949] [2023-12-08 00:32:08 +0000.728811][41f7] OpenSlesOutput:Stop playout

[490:949] [2023-12-08 00:32:08 +0000.728854][41f7] DeviceRelease: Release the


webrtc device object.
[490:949] [2023-12-08 00:32:08 +0000.729039][41f7] OpenSlesOutput destruct.

[490:949] [2023-12-08 00:32:08 +0000.729143][41f7] DeviceRelease: Done


[490:949] [2023-12-08 00:32:08 +0000.729274][41f7] Stop:
[490:949] [2023-12-08 00:32:08 +0000.729542][659b] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[490:953] [2023-12-08 00:32:08 +0000.733081][41f7] global uninited!
[490:953] [2023-12-08 00:32:08 +0000.733220][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[490:953] [2023-12-08 00:32:08 +0000.733282][41f7] ~MediaFilterGraph:
MediaFilterGraph destruct
[490:953] [2023-12-08 00:32:08 +0000.733312][41f7] RemoveVideoBackGroud: hava not
add video backgroud
[490:953] [2023-12-08 00:32:08 +0000.733414][41f7] UnbindInputFilter 0x798fca8818
this 0x79be196120
[490:953] [2023-12-08 00:32:08 +0000.733447][41f7] ClearAllSource: remove source
filter, sourceid: 0x79dda61080
[490:953] [2023-12-08 00:32:08 +0000.733468][41f7] DestoryDecoderByVideoSource
time:371565134 enter.

[490:953] [2023-12-08 00:32:08 +0000.733493][41f7] ~VideoBindDecoder time:371565134


enter.

[490:953] [2023-12-08 00:32:08 +0000.733680][41f7] CleanUp time:371565134 enter.

[490:957] [2023-12-08 00:32:08 +0000.737034][41f7] CleanUp leave. expire time = 4


ms

[490:957] [2023-12-08 00:32:08 +0000.737132][41f7] CleanUp time:371565138 enter.

[490:958] [2023-12-08 00:32:08 +0000.737777][41f7] CleanUp leave. expire time = 1


ms

[490:958] [2023-12-08 00:32:08 +0000.738446][41f7] ~VideoBindDecoder leave. expire


time = 5 ms

[490:958] [2023-12-08 00:32:08 +0000.738581][41f7] DestoryDecoderByVideoSource


leave. expire time = 5 ms

[490:958] [2023-12-08 00:32:08 +0000.738682][41f7] UnbindInputFilter 0x798fca8518


this 0x798fca8818
[490:959] [2023-12-08 00:32:08 +0000.738871][41f7] UnbindInputFilter 0x798fca8458
this 0x798fca8518
[490:959] [2023-12-08 00:32:08 +0000.738980][41f7] UnbindInputFilter 0x79dda612a0
this 0x798fca8458
[490:959] [2023-12-08 00:32:08 +0000.739060][41f7] UnbindInputFilter 0x798fca8758
this 0x798fca88d8
[490:959] [2023-12-08 00:32:08 +0000.739122][41f7] UnbindInputFilter 0x798fca85d8
this 0x798fca8758
[490:959] [2023-12-08 00:32:08 +0000.739199][41f7] UnbindInputFilter 0x79dda612a0
this 0x798fca85d8
[490:960] [2023-12-08 00:32:08 +0000.740499][41f7] ~GLESContext:
[490:961] [2023-12-08 00:32:08 +0000.741606][41f7] GLESContext destruct finish.
[490:961] [2023-12-08 00:32:08 +0000.741694][41f7] filter: filter pipeline destroy
this: 0x79be196080
[490:962] [2023-12-08 00:32:08 +0000.742538][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[490:963] [2023-12-08 00:32:08 +0000.743487][41f7] machine model :redmi
[490:963] [2023-12-08 00:32:08 +0000.743563][41f7] Support this machine
model :redmi
[490:963] [2023-12-08 00:32:08 +0000.743588][41f7] global inited! current sdk
version: 07-20-936c45f
[490:963] [2023-12-08 00:32:08 +0000.743767][41f7] filter: filter pipeline
construtc this: 0x79c4bd3680
[490:964] [2023-12-08 00:32:08 +0000.743819][41f7] MediaFilterGraph:
MediaFilterGraph construct
[490:964] [2023-12-08 00:32:08 +0000.743843][41f7] GLESContext:
[490:964] [2023-12-08 00:32:08 +0000.743883][41f7] The result of eglGetDisplay is:
0x1
[490:964] [2023-12-08 00:32:08 +0000.744446][41f7] The result of creation:
0x7a58d5b680
[490:964] [2023-12-08 00:32:08 +0000.744658][41f7] The result of
eglCreatePbufferSurface is: 0x79dda16580
[490:965] [2023-12-08 00:32:08 +0000.744851][41f7] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
[490:965] [2023-12-08 00:32:08 +0000.744896][41f7] The source 0 speed:1
[490:965] [2023-12-08 00:32:08 +0000.744933][41f7] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4,
delay: 0
[490:965] [2023-12-08 00:32:08 +0000.744974][41f7] CreateDecoderByVideoSource
time:371565146 enter.

[490:965] [2023-12-08 00:32:08 +0000.745660][41f7] running_decoder_count:0max


count:2
[490:965] [2023-12-08 00:32:08 +0000.745716][41f7] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7a58794800
[490:967] [2023-12-08 00:32:08 +0000.746929][65a2] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79bf0da400] Current FFmpeg version git-2021-06-16-
97cea6f

[490:980] [2023-12-08 00:32:08 +0000.759806][65a2] OnStreamInfoFound: video


duration_: 15196
[490:981] [2023-12-08 00:32:08 +0000.761361][41f7] start decoder
[490:981] [2023-12-08 00:32:08 +0000.761461][41f7] CreateDecoderByVideoSource
leave. expire time = 16 ms

[490:981] [2023-12-08 00:32:08 +0000.761508][41f7] BindInputFilter 0x79dda612a0


this 0x79be09f398
[490:981] [2023-12-08 00:32:08 +0000.761543][41f7] BindInputFilter 0x79be09f398
this 0x79be09f458
[490:981] [2023-12-08 00:32:08 +0000.761619][41f7] BindInputFilter 0x79dda612a0
this 0x79be09f518
[490:981] [2023-12-08 00:32:08 +0000.761660][41f7] BindInputFilter 0x79be09f518
this 0x79be09f698
[490:981] [2023-12-08 00:32:08 +0000.761687][41f7] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
[490:981] [2023-12-08 00:32:08 +0000.761730][41f7] BindInputFilter 0x79be09f458
this 0x79be09f758
[490:982] [2023-12-08 00:32:08 +0000.761774][41f7] BindInputFilter 0x79be09f758
this 0x79c4bd3720
[490:982] [2023-12-08 00:32:08 +0000.761806][41f7] BindInputFilter 0x79be09f698
this 0x79be09fa58
[490:982] [2023-12-08 00:32:08 +0000.761834][41f7] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_371547619.mp4
[490:982] [2023-12-08 00:32:08 +0000.761879][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[490:982] [2023-12-08 00:32:08 +0000.762032][41f7] MediaComposeFile time:371565163
enter.

[490:982] [2023-12-08 00:32:08 +0000.762145][41f7] RecordingSessionInternalSimple:


Create session internal:720 X 1280 fps:30
[490:982] [2023-12-08 00:32:08 +0000.762025][65a3] NO get frame from decoder
[490:982] [2023-12-08 00:32:08 +0000.762309][41f7] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[490:982] [2023-12-08 00:32:08 +0000.762354][41f7] Recording session using default
bitrate support by app:31457280
[490:982] [2023-12-08 00:32:08 +0000.762505][65ad] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79dda613c0
[490:982] [2023-12-08 00:32:08 +0000.762568][65ad] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[490:982] [2023-12-08 00:32:08 +0000.762714][41f7] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[490:983] [2023-12-08 00:32:08 +0000.763053][41f7] GetPipeline:
-----------------------------------------
[490:983] [2023-12-08 00:32:08 +0000.763096][65a3] NO get frame from decoder
[490:983] [2023-12-08 00:32:08 +0000.763123][41f7] GetPipeline: source:
0x79dda61080
[490:983] [2023-12-08 00:32:08 +0000.763182][41f7] GetPipeline: filter: NULLFilter
[490:983] [2023-12-08 00:32:08 +0000.763201][41f7] GetPipeline: filter: NULLFilter
[490:983] [2023-12-08 00:32:08 +0000.763218][41f7] GetPipeline: filter: NULLFilter
[490:983] [2023-12-08 00:32:08 +0000.763234][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[490:983] [2023-12-08 00:32:08 +0000.763253][41f7] GetPipeline: audio filter:
AuidoNULLFilter
[490:983] [2023-12-08 00:32:08 +0000.763270][41f7] GetPipeline: audio filter:
AudioNUllFilter
[490:983] [2023-12-08 00:32:08 +0000.763287][41f7] GetPipeline:
------------------------------------------
[490:983] [2023-12-08 00:32:08 +0000.763317][41f7] filter: filter pipeline2 update
pattern: 2
[490:983] [2023-12-08 00:32:08 +0000.763772][41f7] MediaComposeFile leave. expire
time = 2 ms

[490:984] [2023-12-08 00:32:08 +0000.764505][41f7] machine model :redmi


[490:984] [2023-12-08 00:32:08 +0000.764600][41f7] Support this machine
model :redmi
[490:984] [2023-12-08 00:32:08 +0000.764630][41f7] global inited! current sdk
version: 07-20-936c45f
[490:984] [2023-12-08 00:32:08 +0000.764482][65a3] NO get frame from decoder
[490:990] [2023-12-08 00:32:08 +0000.769818][65a3] NO get frame from decoder
[490:998] [2023-12-08 00:32:08 +0000.778266][65a3] NO get frame from decoder
[490:999] [2023-12-08 00:32:08 +0000.779146][65a3] NO get frame from decoder
[491:003] [2023-12-08 00:32:08 +0000.783134][65a3] NO get frame from decoder
[491:005] [2023-12-08 00:32:08 +0000.784830][65a3] NO get frame from decoder
[491:007] [2023-12-08 00:32:08 +0000.787231][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[491:009] [2023-12-08 00:32:08 +0000.789262][41f7] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 299
[491:009] [2023-12-08 00:32:08 +0000.789422][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[491:009] [2023-12-08 00:32:08 +0000.789491][41f7] BeginCompose: BeginCompose, is
composing 0
[491:011] [2023-12-08 00:32:08 +0000.791778][65ad] start recording, file path:
[491:012] [2023-12-08 00:32:08 +0000.792369][65ad] MP4 session params: fps:30
width:1280 height:720 file name: fileFd: 299 audio_timescale:44100
video_timescale:90000
[491:012] [2023-12-08 00:32:08 +0000.792554][65ad] 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
[491:012] [2023-12-08 00:32:08 +0000.792683][65ad] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file name:
fileFD: 299
[491:013] [2023-12-08 00:32:08 +0000.792810][65ad] fd_open successed
handle:0xb400007afc75a0b0
[491:013] [2023-12-08 00:32:08 +0000.793353][65ad] create mp4 file:303
m_fileHandle: 0x799fc42a00
[491:013] [2023-12-08 00:32:08 +0000.793451][65ad] MP4 file: is opened successfully
[491:013] [2023-12-08 00:32:08 +0000.793513][65ad] setupMediaProcessers:
[491:013] [2023-12-08 00:32:08 +0000.793566][65ad]
RecordingSessionInternalSimple:setup media processers.
[491:013] [2023-12-08 00:32:08 +0000.793622][65ad] construct AAC encoder
[491:014] [2023-12-08 00:32:08 +0000.794447][65ad] H264Encoder creating:
ultrafast012323
[491:014] [2023-12-08 00:32:08 +0000.794575][65ad] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[491:016] [2023-12-08 00:32:08 +0000.795908][65ad] H264Encode::GetMachineModel is
21121119VL
[491:016] [2023-12-08 00:32:08 +0000.796071][65ad] H264Encoder machine_mode
is:21121119VL
[491:016] [2023-12-08 00:32:08 +0000.796173][65ad] H264Encode::machine size :9
machine_mode:21121119VL
[491:016] [2023-12-08 00:32:08 +0000.796282][65ad] H264Encode::machine array
size :22 machine_mode:21121119VL
[491:016] [2023-12-08 00:32:08 +0000.796397][65ad] H264Encode::current machine
is :21121119VL auto check hw codec decide to use hw codec
[491:016] [2023-12-08 00:32:08 +0000.796470][65ad] setupCompressionSession:
[491:016] [2023-12-08 00:32:08 +0000.796523][65ad] H264Encode::creating hareware
Encoder
[491:016] [2023-12-08 00:32:08 +0000.796598][65ad] AndroidHwAvcEncoder
time:371565197 enter.

[491:017] [2023-12-08 00:32:08 +0000.797023][65ad] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007afc6a7380 address:0x79adcb8760
[491:017] [2023-12-08 00:32:08 +0000.797185][65b2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79beef7498
[491:017] [2023-12-08 00:32:08 +0000.797342][65ad] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[491:017] [2023-12-08 00:32:08 +0000.797509][65ad] The video avc hw codec address
is 0x7a65638ba8
[491:018] [2023-12-08 00:32:08 +0000.797815][65ad] AndroidHwAvcEncoder leave.
expire time = 2 ms
[491:018] [2023-12-08 00:32:08 +0000.797889][65ad] RegisterEncodeCompleteCallback
time:371565199 enter.

[491:018] [2023-12-08 00:32:08 +0000.798340][65ad] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[491:018] [2023-12-08 00:32:08 +0000.798486][65ad] InitEncode time:371565199


enter.

[491:019] [2023-12-08 00:32:08 +0000.799017][65ad] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[491:019] [2023-12-08 00:32:08 +0000.799178][65ad] Create time:371565200 enter.

[491:019] [2023-12-08 00:32:08 +0000.799251][65ad] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[491:019] [2023-12-08 00:32:08 +0000.799375][65ad]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7a656af8c0
[491:019] [2023-12-08 00:32:08 +0000.799755][65ad] supported_type:audio/mp4a-latm
[491:020] [2023-12-08 00:32:08 +0000.799909][65ad] supported_type:audio/mp4a-latm
[491:020] [2023-12-08 00:32:08 +0000.800025][65ad] supported_type:audio/3gpp
[491:020] [2023-12-08 00:32:08 +0000.800111][65ad] supported_type:audio/3gpp
[491:020] [2023-12-08 00:32:08 +0000.800196][65ad] supported_type:audio/amr-wb
[491:020] [2023-12-08 00:32:08 +0000.800269][65ad] supported_type:audio/amr-wb
[491:020] [2023-12-08 00:32:08 +0000.800353][65ad] supported_type:audio/flac
[491:020] [2023-12-08 00:32:08 +0000.800424][65ad] supported_type:audio/flac
[491:020] [2023-12-08 00:32:08 +0000.800530][65ad] supported_type:audio/opus
[491:020] [2023-12-08 00:32:08 +0000.800734][65ad] supported_type:video/avc
[491:021] [2023-12-08 00:32:08 +0000.800803][65ad] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[491:021] [2023-12-08 00:32:08 +0000.800910][65ad] hwCodecPrefix :OMX.qcom.
[491:021] [2023-12-08 00:32:08 +0000.800970][65ad] hwCodecPrefix :OMX.Nvidia.
[491:021] [2023-12-08 00:32:08 +0000.801019][65ad] hwCodecPrefix :OMX.IMG.TOPAZ
[491:021] [2023-12-08 00:32:08 +0000.801065][65ad] hwCodecPrefix :OMX.Exynos
[491:021] [2023-12-08 00:32:08 +0000.801111][65ad] hwCodecPrefix :OMX.MTK
[491:021] [2023-12-08 00:32:08 +0000.801163][65ad] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[491:021] [2023-12-08 00:32:08 +0000.801230][65ad] mediacodec_createCodecByName
time:371565202 enter.

[491:021] [2023-12-08 00:32:08 +0000.801321][65ad] WrapAndroidMediaCodec


time:371565202 enter.

[491:021] [2023-12-08 00:32:08 +0000.801762][65ad] WrapAndroidMediaCodec leave.


expire time = 1 ms

[491:049] [2023-12-08 00:32:08 +0000.828861][65ad] mediacodec_createCodecByName


leave. expire time = 28 ms

[491:049] [2023-12-08 00:32:08 +0000.828992][65ad] WrapAndroidMediaFromat


time:371565230 enter.

[491:049] [2023-12-08 00:32:08 +0000.829087][65ad] WrapAndroidMediaFromat leave.


expire time = 0 ms

[491:136] [2023-12-08 00:32:08 +0000.916500][65ad] Destroy time:371565317 enter.

[491:136] [2023-12-08 00:32:08 +0000.916695][65ad] WrapAndroidMediaFromat::


Destroy
[491:137] [2023-12-08 00:32:08 +0000.916810][65ad] Destroy leave. expire time = 1
ms

[491:137] [2023-12-08 00:32:08 +0000.916895][65ad] ~WrapAndroidMediaFromat


time:371565318 enter.

[491:137] [2023-12-08 00:32:08 +0000.916969][65ad] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[491:137] [2023-12-08 00:32:08 +0000.917045][65ad] Create leave. expire time = 118


ms

[491:137] [2023-12-08 00:32:08 +0000.917115][65ad] isSemiPlanarSupport


time:371565318 enter.

[491:137] [2023-12-08 00:32:08 +0000.917202][65ad] H264Encoder isSemiPlanarSupport


[491:137] [2023-12-08 00:32:08 +0000.917269][65ad] isSemiPlanarSupport leave.
expire time = 0 ms

[491:137] [2023-12-08 00:32:08 +0000.917355][65ad] creat hw H264Encoder success,


isSemiPlanar:1
[491:137] [2023-12-08 00:32:08 +0000.917615][65ad] InitEncode leave. expire time =
119 ms

[491:137] [2023-12-08 00:32:08 +0000.917751][65ad] H264Encode::created Encoder


[491:138] [2023-12-08 00:32:08 +0000.917851][65ad] H264Encode:: H264 encoder
created.
[491:138] [2023-12-08 00:32:08 +0000.917933][65ad] H264 encoder created.
[491:138] [2023-12-08 00:32:08 +0000.917991][65ad]
RecordingSessionInternalSimple:created avc encoder avc: 0x79bef0ed80
[491:138] [2023-12-08 00:32:08 +0000.918055][65ad] setOutput:
[491:138] [2023-12-08 00:32:08 +0000.918109][65ad]
RecordingSessionInternalSimple:encoder set output to muxer!
[491:138] [2023-12-08 00:32:08 +0000.918187][65ad] request a key frame
[491:138] [2023-12-08 00:32:08 +0000.918263][65ad] H264Encode:: request a key frame
[491:140] [2023-12-08 00:32:08 +0000.920109][65ad] setDisplayRotate :90
[491:140] [2023-12-08 00:32:08 +0000.920340][65ad] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[491:143] [2023-12-08 00:32:08 +0000.923548][65ae]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[491:163] [2023-12-08 00:32:08 +0000.943252][65b0] webrtc common_video plane
old ..... (1/1000) new: 24001 delete: 23968 diff: 33
[491:180] [2023-12-08 00:32:08 +0000.960683][65ae] DTS queue for
Generator:0x79beef76b8 10 32 73 97 139 162
[491:276] [2023-12-08 00:32:09 +0000.55872][65ad] setDisplayRotate :90
[491:276] [2023-12-08 00:32:09 +0000.56039][65ad] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[491:277] [2023-12-08 00:32:09 +0000.57215][65b2] add aac audio track with id:1
[491:277] [2023-12-08 00:32:09 +0000.57452][65b2] audio start ts:0
[491:277] [2023-12-08 00:32:09 +0000.57567][65b2] the audio frame has been written
into MP4 file
[491:296] [2023-12-08 00:32:09 +0000.76045][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[491:309] [2023-12-08 00:32:09 +0000.89746][65b0] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[491:335] [2023-12-08 00:32:09 +0000.115176][6539] Run AGC when audioType = 0
[491:335] [2023-12-08 00:32:09 +0000.115497][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[491:410] [2023-12-08 00:32:09 +0000.190316][65b1] audio_frame_list_ empty
[491:488] [2023-12-08 00:32:09 +0000.268506][65ae] h264 add frame header cdr flag
[491:489] [2023-12-08 00:32:09 +0000.269785][65ae] h264 add frame header cdr flag
[491:490] [2023-12-08 00:32:09 +0000.270428][65ae] Received key frame:10
[491:490] [2023-12-08 00:32:09 +0000.270588][65ae] H264Encode:: get a sps pps
header!headerSize:30
[491:490] [2023-12-08 00:32:09 +0000.270853][65b2] get the H.264 SPS parameter
[491:491] [2023-12-08 00:32:09 +0000.271151][65b2] add video track with id:2
[491:492] [2023-12-08 00:32:09 +0000.272000][65b2] get the H.264 PPS parameter
[491:493] [2023-12-08 00:32:09 +0000.272936][65b2] get the H.264 IDR frame
[491:493] [2023-12-08 00:32:09 +0000.273042][65b2] resss:true
[491:493] [2023-12-08 00:32:09 +0000.273069][65b2] video start ts:10
[491:493] [2023-12-08 00:32:09 +0000.273221][65b2] the video frame has been written
into MP4 file
[491:604] [2023-12-08 00:32:09 +0000.384257][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[491:655] [2023-12-08 00:32:09 +0000.435721][65ae] SendFrame
encodedImage._timeStamp:567encodedImage->_length:120414
[491:675] [2023-12-08 00:32:09 +0000.455232][65ae] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:669 pts:669
[491:677] [2023-12-08 00:32:09 +0000.457013][65ae] DTS queue for
Generator:0x79beef76b8 735 769 801 836 871 903 939 966 1004 1036 1072
[491:684] [2023-12-08 00:32:09 +0000.464154][65ae] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:1133
[491:687] [2023-12-08 00:32:09 +0000.467705][65ae] push video frame to H264
encoder. (100 frame for one log)

[491:688] [2023-12-08 00:32:09 +0000.467768][65ae] push video frame to H264


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

[491:688] [2023-12-08 00:32:09 +0000.467810][65ae] H264Encode::push video frame to


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

[491:688] [2023-12-08 00:32:09 +0000.467854][65ae] The input pts:1133 fps:30


[491:721] [2023-12-08 00:32:09 +0000.501279][65ae] Push an pts:1233 to dts queue.
[491:777] [2023-12-08 00:32:09 +0000.557116][65b1] audio_frame_list_ empty
[491:826] [2023-12-08 00:32:09 +0000.606678][65ae] H264Encode::H264SWEncoder get
callback, length:131681 type:1 nalType:1length:131677
[491:862] [2023-12-08 00:32:09 +0000.642592][65ae] last dts:1199 currentPts:1233
ppsOrSPS:0 queue length:12
[491:954] [2023-12-08 00:32:09 +0000.734649][65ae] DTS queue for
Generator:0x79beef76b8 1568 1601 1642 1666 1705 1731 1771 1801 1831 1869 1906
[491:973] [2023-12-08 00:32:09 +0000.753113][65b0] Error(video_source.cc:430): wait
decoder a frame: 36
[492:086] [2023-12-08 00:32:09 +0000.866632][65ae] h264 add frame header cdr flag
[492:087] [2023-12-08 00:32:09 +0000.867166][65ae] Received key frame:1997
[492:096] [2023-12-08 00:32:09 +0000.876528][65b2] get the H.264 IDR frame
[492:126] [2023-12-08 00:32:09 +0000.906494][65ae] Push an pts:2570 to dts queue.
[492:133] [2023-12-08 00:32:09 +0000.913257][65b1] audio_frame_list_ empty
[492:201] [2023-12-08 00:32:09 +0000.980967][65ae] DTS queue for
Generator:0x79beef76b8 2367 2403 2433 2467 2501 2539 2570 2613 2638 2667 2698 2732
[492:225] [2023-12-08 00:32:10 +0000.5552][65b1] FilterPipeline2::OnAudioFrame pts
184236 last_audio_timestamp_ 4177.69
[492:229] [2023-12-08 00:32:10 +0000.9526][65ae] last dts:2539 currentPts:2570
ppsOrSPS:0 queue length:8
[492:281] [2023-12-08 00:32:10 +0000.61243][65b0] webrtc common_video plane
old ..... (1/1000) new: 25001 delete: 24816 diff: 185
[492:332] [2023-12-08 00:32:10 +0000.112039][65b0] Error(video_source.cc:430): wait
decoder a frame: 12
[492:414] [2023-12-08 00:32:10 +0000.194707][65b1] too much frame will be writed
[492:423] [2023-12-08 00:32:10 +0000.203479][65b0] too much frame will be writed
[492:437] [2023-12-08 00:32:10 +0000.217771][65b1] too much frame will be writed
[492:459] [2023-12-08 00:32:10 +0000.239647][65b1] too much frame will be writed
[492:465] [2023-12-08 00:32:10 +0000.245419][65b0] too much frame will be writed
[492:470] [2023-12-08 00:32:10 +0000.250400][65ae] DTS queue for
Generator:0x79beef76b8
[492:550] [2023-12-08 00:32:10 +0000.330566][65b0] too much frame will be writed
[492:575] [2023-12-08 00:32:10 +0000.355084][65ae] Push an pts:3900 to dts queue.
[492:636] [2023-12-08 00:32:10 +0000.416738][65ae] SendFrame
encodedImage._timeStamp:3900encodedImage->_length:106999
[492:637] [2023-12-08 00:32:10 +0000.417001][65ae] last dts:3863 currentPts:3900
ppsOrSPS:0 queue length:12
[492:663] [2023-12-08 00:32:10 +0000.443762][65ae] h264 add frame header cdr flag
[492:665] [2023-12-08 00:32:10 +0000.445542][65ae] Received key frame:3996
[492:692] [2023-12-08 00:32:10 +0000.472154][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[492:696] [2023-12-08 00:32:10 +0000.476177][65ae] DTS queue for
Generator:0x79beef76b8 4065 4095 4133 4162 4199 4229 4268 4301 4333
[492:696] [2023-12-08 00:32:10 +0000.476434][65ae] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4027 pts:4027
[492:697] [2023-12-08 00:32:10 +0000.477324][65b2] get the H.264 IDR frame
[492:720] [2023-12-08 00:32:10 +0000.500593][65b0] FilterPipeline2::OnVideoFrame
pts 503820 last_video_timestamp_ 5598
[492:745] [2023-12-08 00:32:10 +0000.525228][65ae] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:4501
[492:745] [2023-12-08 00:32:10 +0000.525371][65ae] push video frame to H264
encoder. (100 frame for one log)

[492:745] [2023-12-08 00:32:10 +0000.525419][65ae] push video frame to H264


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

[492:745] [2023-12-08 00:32:10 +0000.525447][65ae] H264Encode::push video frame to


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

[492:745] [2023-12-08 00:32:10 +0000.525484][65ae] The input pts:4501 fps:30


[492:749] [2023-12-08 00:32:10 +0000.529124][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[492:815] [2023-12-08 00:32:10 +0000.595364][65b0] too much frame will be writed
[492:829] [2023-12-08 00:32:10 +0000.609242][65ae] H264Encode::H264SWEncoder get
callback, length:128346 type:1 nalType:1length:128342
[492:844] [2023-12-08 00:32:10 +0000.624221][65b1] audio_frame_list_ empty
[492:943] [2023-12-08 00:32:10 +0000.723624][65ae] DTS queue for
Generator:0x79beef76b8 4934 4967 4995 5035 5061 5101 5128
[492:964] [2023-12-08 00:32:10 +0000.744048][65b1] too much frame will be writed
[492:968] [2023-12-08 00:32:10 +0000.748490][65ae] Push an pts:5230 to dts queue.
[492:994] [2023-12-08 00:32:10 +0000.774401][65b1] too much frame will be writed
[493:002] [2023-12-08 00:32:10 +0000.782310][65b0] too much frame will be writed
[493:017] [2023-12-08 00:32:10 +0000.797201][65b1] too much frame will be writed
[493:039] [2023-12-08 00:32:10 +0000.819542][65ae] last dts:5196 currentPts:5230
ppsOrSPS:0 queue length:3
[493:040] [2023-12-08 00:32:10 +0000.820559][65b1] too much frame will be writed
[493:061] [2023-12-08 00:32:10 +0000.841596][65b0] too much frame will be writed
[493:087] [2023-12-08 00:32:10 +0000.867102][65b1] too much frame will be writed
[493:117] [2023-12-08 00:32:10 +0000.896865][65b1] too much frame will be writed
[493:130] [2023-12-08 00:32:10 +0000.910061][65b0] too much frame will be writed
[493:138] [2023-12-08 00:32:10 +0000.917926][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[493:197] [2023-12-08 00:32:10 +0000.976879][65ae] DTS queue for
Generator:0x79beef76b8 5796 5830 5865 5904 5931
[493:250] [2023-12-08 00:32:11 +0000.30063][65b1] too much frame will be writed
[493:252] [2023-12-08 00:32:11 +0000.32175][65b0] too much frame will be writed
[493:274] [2023-12-08 00:32:11 +0000.54409][65b1] too much frame will be writed
[493:293] [2023-12-08 00:32:11 +0000.73553][65ae] h264 add frame header cdr flag
[493:294] [2023-12-08 00:32:11 +0000.74177][65ae] Received key frame:5997
[493:297] [2023-12-08 00:32:11 +0000.77257][65b2] get the H.264 IDR frame
[493:299] [2023-12-08 00:32:11 +0000.79521][65b1] too much frame will be writed
[493:301] [2023-12-08 00:32:11 +0000.81293][65b0] too much frame will be writed
[493:339] [2023-12-08 00:32:11 +0000.119001][65b1] too much frame will be writed
[493:341] [2023-12-08 00:32:11 +0000.121456][6539] Run AGC when audioType = 0
[493:372] [2023-12-08 00:32:11 +0000.152729][65b1] too much frame will be writed
[493:390] [2023-12-08 00:32:11 +0000.169977][65b0] too much frame will be writed
[493:403] [2023-12-08 00:32:11 +0000.183523][65ae] Push an pts:6566 to dts queue.
[493:419] [2023-12-08 00:32:11 +0000.199710][65b1] too much frame will be writed
[493:452] [2023-12-08 00:32:11 +0000.232005][65ae] last dts:6530 currentPts:6566
ppsOrSPS:0 queue length:5
[493:459] [2023-12-08 00:32:11 +0000.239654][65b0] too much frame will be writed
[493:460] [2023-12-08 00:32:11 +0000.239828][65ae] DTS queue for
Generator:0x79beef76b8 6630 6661 6700 6733
[493:489] [2023-12-08 00:32:11 +0000.269686][65b1] too much frame will be writed
[493:516] [2023-12-08 00:32:11 +0000.296377][65b1] too much frame will be writed
[493:525] [2023-12-08 00:32:11 +0000.305187][65b0] too much frame will be writed
[493:547] [2023-12-08 00:32:11 +0000.327379][65b0] webrtc common_video plane
old ..... (1/1000) new: 26001 delete: 25808 diff: 193
[493:559] [2023-12-08 00:32:11 +0000.339326][65b1] too much frame will be writed
[493:576] [2023-12-08 00:32:11 +0000.356471][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[493:585] [2023-12-08 00:32:11 +0000.365121][65b1] too much frame will be writed
[493:590] [2023-12-08 00:32:11 +0000.370657][65b0] too much frame will be writed
[493:615] [2023-12-08 00:32:11 +0000.395753][65b1] too much frame will be writed
[493:650] [2023-12-08 00:32:11 +0000.430231][65b1] too much frame will be writed
[493:654] [2023-12-08 00:32:11 +0000.433939][65b0] too much frame will be writed
[493:667] [2023-12-08 00:32:11 +0000.447015][65ae] SendFrame
encodedImage._timeStamp:7232encodedImage->_length:122469
[493:687] [2023-12-08 00:32:11 +0000.467451][65b1] too much frame will be writed
[493:714] [2023-12-08 00:32:11 +0000.494678][65b1] too much frame will be writed
[493:719] [2023-12-08 00:32:11 +0000.499331][65b0] too much frame will be writed
[493:724] [2023-12-08 00:32:11 +0000.504682][65ae] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:7397 pts:7397
[493:738] [2023-12-08 00:32:11 +0000.518420][65b1] too much frame will be writed
[493:741] [2023-12-08 00:32:11 +0000.521651][65ae] DTS queue for
Generator:0x79beef76b8
[493:792] [2023-12-08 00:32:11 +0000.572019][65b1] too much frame will be writed
[493:796] [2023-12-08 00:32:11 +0000.576458][65b0] too much frame will be writed
[493:819] [2023-12-08 00:32:11 +0000.599391][65ae] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:7866
[493:819] [2023-12-08 00:32:11 +0000.599698][65ae] push video frame to H264
encoder. (100 frame for one log)

[493:819] [2023-12-08 00:32:11 +0000.599758][65ae] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720
[493:820] [2023-12-08 00:32:11 +0000.599783][65ae] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1280 height:720 pts:7866(100 frame for one
log)

[493:820] [2023-12-08 00:32:11 +0000.599817][65ae] The input pts:7866 fps:30


[493:824] [2023-12-08 00:32:11 +0000.604556][65b1] too much frame will be writed
[493:831] [2023-12-08 00:32:11 +0000.611149][65ae] Push an pts:7892 to dts queue.
[493:858] [2023-12-08 00:32:11 +0000.637921][65ae] H264Encode::H264SWEncoder get
callback, length:201827 type:1 nalType:1length:201823
[493:858] [2023-12-08 00:32:11 +0000.638671][65b0] too much frame will be writed
[493:860] [2023-12-08 00:32:11 +0000.640017][65b1] too much frame will be writed
[493:864] [2023-12-08 00:32:11 +0000.644626][65ae] last dts:7866 currentPts:7892
ppsOrSPS:0 queue length:4
[493:900] [2023-12-08 00:32:11 +0000.680126][65b1] too much frame will be writed
[493:909] [2023-12-08 00:32:11 +0000.689361][65ae] h264 add frame header cdr flag
[493:910] [2023-12-08 00:32:11 +0000.690062][65ae] Received key frame:7993
[493:932] [2023-12-08 00:32:11 +0000.711860][65b0] too much frame will be writed
[493:934] [2023-12-08 00:32:11 +0000.714727][65b1] too much frame will be writed
[493:935] [2023-12-08 00:32:11 +0000.714969][65b2] get the H.264 IDR frame
[493:955] [2023-12-08 00:32:11 +0000.735394][65b1] too much frame will be writed
[493:974] [2023-12-08 00:32:11 +0000.754739][65b0] too much frame will be writed
[493:977] [2023-12-08 00:32:11 +0000.756922][65b1] too much frame will be writed
[493:986] [2023-12-08 00:32:11 +0000.766730][65ae] DTS queue for
Generator:0x79beef76b8 8295 8333 8366
[494:014] [2023-12-08 00:32:11 +0000.794412][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[494:021] [2023-12-08 00:32:11 +0000.801471][65b1] too much frame will be writed
[494:050] [2023-12-08 00:32:11 +0000.830298][65b1] too much frame will be writed
[494:057] [2023-12-08 00:32:11 +0000.837119][65b0] too much frame will be writed
[494:076] [2023-12-08 00:32:11 +0000.856354][65b1] too much frame will be writed
[494:101] [2023-12-08 00:32:11 +0000.881090][65b1] too much frame will be writed
[494:107] [2023-12-08 00:32:11 +0000.887371][65b0] too much frame will be writed
[494:135] [2023-12-08 00:32:11 +0000.915033][65b1] too much frame will be writed
[494:161] [2023-12-08 00:32:11 +0000.941228][65b1] too much frame will be writed
[494:169] [2023-12-08 00:32:11 +0000.949590][65b0] too much frame will be writed
[494:187] [2023-12-08 00:32:11 +0000.967756][65b1] too much frame will be writed
[494:211] [2023-12-08 00:32:11 +0000.991261][65b1] too much frame will be writed
[494:212] [2023-12-08 00:32:11 +0000.992513][65b0] too much frame will be writed
[494:233] [2023-12-08 00:32:12 +0000.13235][65b1] too much frame will be writed
[494:267] [2023-12-08 00:32:12 +0000.47375][65b1] too much frame will be writed
[494:269] [2023-12-08 00:32:12 +0000.49646][65b0] too much frame will be writed
[494:300] [2023-12-08 00:32:12 +0000.80498][65b1] too much frame will be writed
[494:319] [2023-12-08 00:32:12 +0000.99073][65ae] DTS queue for
Generator:0x79beef76b8 9135 9162 9201
[494:321] [2023-12-08 00:32:12 +0000.101515][65b1] too much frame will be writed
[494:325] [2023-12-08 00:32:12 +0000.105641][65ae] Push an pts:9231 to dts queue.
[494:330] [2023-12-08 00:32:12 +0000.109912][65b0] too much frame will be writed
[494:357] [2023-12-08 00:32:12 +0000.137411][65b1] too much frame will be writed
[494:380] [2023-12-08 00:32:12 +0000.159910][65b1] too much frame will be writed
[494:381] [2023-12-08 00:32:12 +0000.161585][65b0] too much frame will be writed
[494:386] [2023-12-08 00:32:12 +0000.166373][65ae] last dts:9201 currentPts:9231
ppsOrSPS:0 queue length:3
[494:403] [2023-12-08 00:32:12 +0000.183546][65b1] too much frame will be writed
[494:448] [2023-12-08 00:32:12 +0000.228084][65b1] too much frame will be writed
[494:455] [2023-12-08 00:32:12 +0000.235510][65b0] too much frame will be writed
[494:470] [2023-12-08 00:32:12 +0000.250100][65b1] too much frame will be writed
[494:480] [2023-12-08 00:32:12 +0000.260282][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[494:504] [2023-12-08 00:32:12 +0000.284079][65b1] too much frame will be writed
[494:524] [2023-12-08 00:32:12 +0000.304431][65b0] too much frame will be writed
[494:530] [2023-12-08 00:32:12 +0000.310457][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[494:549] [2023-12-08 00:32:12 +0000.329165][65b1] too much frame will be writed
[494:577] [2023-12-08 00:32:12 +0000.357233][65b1] too much frame will be writed
[494:585] [2023-12-08 00:32:12 +0000.365702][65ae] DTS queue for
Generator:0x79beef76b8 9970 9996 10033
[494:596] [2023-12-08 00:32:12 +0000.376388][65b0] too much frame will be writed
[494:608] [2023-12-08 00:32:12 +0000.388034][65b1] too much frame will be writed
[494:614] [2023-12-08 00:32:12 +0000.393846][65ae] h264 add frame header cdr flag
[494:614] [2023-12-08 00:32:12 +0000.394203][65ae] Received key frame:9996
[494:619] [2023-12-08 00:32:12 +0000.399498][65b2] get the H.264 IDR frame
[494:633] [2023-12-08 00:32:12 +0000.413230][65b1] too much frame will be writed
[494:646] [2023-12-08 00:32:12 +0000.426322][65b0] too much frame will be writed
[494:661] [2023-12-08 00:32:12 +0000.441291][65b1] too much frame will be writed
[494:713] [2023-12-08 00:32:12 +0000.492881][65ae] Push an pts:10565 to dts queue.
[494:717] [2023-12-08 00:32:12 +0000.497078][65b1] too much frame will be writed
[494:738] [2023-12-08 00:32:12 +0000.518575][65b0] too much frame will be writed
[494:752] [2023-12-08 00:32:12 +0000.532532][65b1] too much frame will be writed
[494:775] [2023-12-08 00:32:12 +0000.555395][65b1] too much frame will be writed
[494:779] [2023-12-08 00:32:12 +0000.559463][65ae] SendFrame
encodedImage._timeStamp:10565encodedImage->_length:117881
[494:779] [2023-12-08 00:32:12 +0000.559622][65ae] last dts:10535 currentPts:10565
ppsOrSPS:0 queue length:4
[494:792] [2023-12-08 00:32:12 +0000.572145][65b0] too much frame will be writed
[494:818] [2023-12-08 00:32:12 +0000.598271][65ae] DTS queue for
Generator:0x79beef76b8 10632 10666 10701 10731 10758 10794 10827 10862 10897 10927
10964 10997
[494:840] [2023-12-08 00:32:12 +0000.620753][65b1] too much frame will be writed
[494:864] [2023-12-08 00:32:12 +0000.644084][65b1] too much frame will be writed
[494:866] [2023-12-08 00:32:12 +0000.646219][65ae] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10758 pts:10758
[494:878] [2023-12-08 00:32:12 +0000.658122][65b0] too much frame will be writed
[494:894] [2023-12-08 00:32:12 +0000.674260][65ae] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:11232
[494:894] [2023-12-08 00:32:12 +0000.674380][65ae] push video frame to H264
encoder. (100 frame for one log)

[494:894] [2023-12-08 00:32:12 +0000.674438][65ae] push video frame to H264


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

[494:894] [2023-12-08 00:32:12 +0000.674467][65ae] H264Encode::push video frame to


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

[494:894] [2023-12-08 00:32:12 +0000.674509][65ae] The input pts:11232 fps:30


[494:899] [2023-12-08 00:32:12 +0000.679086][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[494:900] [2023-12-08 00:32:12 +0000.680122][65b0] webrtc common_video plane
old ..... (1/1000) new: 27001 delete: 26808 diff: 193
[494:915] [2023-12-08 00:32:12 +0000.695390][65b1] too much frame will be writed
[494:944] [2023-12-08 00:32:12 +0000.724747][65b1] too much frame will be writed
[494:953] [2023-12-08 00:32:12 +0000.733362][65b0] too much frame will be writed
[494:974] [2023-12-08 00:32:12 +0000.754062][65b1] too much frame will be writed
[494:996] [2023-12-08 00:32:12 +0000.776511][65b1] too much frame will be writed
[495:011] [2023-12-08 00:32:12 +0000.791506][65ae] H264Encode::H264SWEncoder get
callback, length:149870 type:1 nalType:1length:149866
[495:019] [2023-12-08 00:32:12 +0000.798972][65b0] too much frame will be writed
[495:043] [2023-12-08 00:32:12 +0000.823763][65b1] too much frame will be writed
[495:063] [2023-12-08 00:32:12 +0000.843117][65ae] DTS queue for
Generator:0x79beef76b8 11464 11495 11534 11562 11600 11627 11660 11694 11727 11766
11797 11831
[495:076] [2023-12-08 00:32:12 +0000.856674][65b1] too much frame will be writed
[495:083] [2023-12-08 00:32:12 +0000.862923][65b0] too much frame will be writed
[495:097] [2023-12-08 00:32:12 +0000.877544][65b1] too much frame will be writed
[495:100] [2023-12-08 00:32:12 +0000.880390][65ae] Push an pts:11894 to dts queue.
[495:134] [2023-12-08 00:32:12 +0000.914684][65a3] av_read_frame AVERROR_EOF
[495:148] [2023-12-08 00:32:12 +0000.928409][65b1] too much frame will be writed
[495:163] [2023-12-08 00:32:12 +0000.943487][65b0] too much frame will be writed
[495:173] [2023-12-08 00:32:12 +0000.953310][65ae] last dts:11865 currentPts:11894
ppsOrSPS:0 queue length:11
[495:187] [2023-12-08 00:32:12 +0000.967380][65b1] too much frame will be writed
[495:194] [2023-12-08 00:32:12 +0000.973927][65ae] h264 add frame header cdr flag
[495:195] [2023-12-08 00:32:12 +0000.974920][65ae] Received key frame:11994
[495:203] [2023-12-08 00:32:12 +0000.983509][65b2] get the H.264 IDR frame
[495:222] [2023-12-08 00:32:13 +0000.2001][65a3] OnReceiveEOF:
[495:222] [2023-12-08 00:32:13 +0000.2198][65a3] OnDecoderEOF time:371569403
enter.

[495:222] [2023-12-08 00:32:13 +0000.2356][65a3] OnDecoderEOF leave. expire time =


0 ms

[495:222] [2023-12-08 00:32:13 +0000.2463][65a3] OnDecoderFinished:


OnDecoderFinished total decoder frames:456 this:0x79dda61080
[495:222] [2023-12-08 00:32:13 +0000.2700][65a1] CleanUp time:371569403 enter.

[495:228] [2023-12-08 00:32:13 +0000.8326][65a1] CleanUp leave. expire time = 6 ms

[495:228] [2023-12-08 00:32:13 +0000.8577][65a1] clean up


[495:228] [2023-12-08 00:32:13 +0000.8714][65a1] running_decoder_count:0max count:2
[495:234] [2023-12-08 00:32:13 +0000.13815][65b0] Error(video_source.cc:430): wait
decoder a frame: 0
[495:240] [2023-12-08 00:32:13 +0000.19811][65b1] too much frame will be writed
[495:244] [2023-12-08 00:32:13 +0000.24546][65ae] DTS queue for
Generator:0x79beef76b8 12263 12293 12330 12364 12398 12429 12465 12499 12532 12566
12598 12629 12665
[495:248] [2023-12-08 00:32:13 +0000.28421][65b0] too much frame will be writed
[495:277] [2023-12-08 00:32:13 +0000.56928][65b1] too much frame will be writed
[495:303] [2023-12-08 00:32:13 +0000.83712][65b1] too much frame will be writed
[495:322] [2023-12-08 00:32:13 +0000.102053][65b0] too much frame will be writed
[495:332] [2023-12-08 00:32:13 +0000.112444][653a] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[495:332] [2023-12-08 00:32:13 +0000.112681][653a] _deviceSampleRate:48000

[495:335] [2023-12-08 00:32:13 +0000.115356][6539] Run AGC when audioType = 0


[495:336] [2023-12-08 00:32:13 +0000.115826][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[495:336] [2023-12-08 00:32:13 +0000.115863][65b1] too much frame will be writed
[495:370] [2023-12-08 00:32:13 +0000.150589][65ae] Push an pts:13235 to dts queue.
[495:373] [2023-12-08 00:32:13 +0000.153235][65b1] too much frame will be writed
[495:386] [2023-12-08 00:32:13 +0000.166589][65b0] too much frame will be writed
[495:409] [2023-12-08 00:32:13 +0000.189334][65b1] too much frame will be writed
[495:428] [2023-12-08 00:32:13 +0000.208124][65ae] DTS queue for
Generator:0x79beef76b8 13100 13125 13158 13193 13235 13257 13296 13330 13367 13391
13434 13460 13498
[495:434] [2023-12-08 00:32:13 +0000.214185][65b1] too much frame will be writed
[495:445] [2023-12-08 00:32:13 +0000.225619][65b1] PullAudioFrame: PullFrame audio
finished.
[495:446] [2023-12-08 00:32:13 +0000.225972][65b1] OnAudioTimer: OnAudioTimer
return
[495:458] [2023-12-08 00:32:13 +0000.238699][65b0] too much frame will be writed
[495:468] [2023-12-08 00:32:13 +0000.248510][65ae] last dts:13193 currentPts:13235
ppsOrSPS:0 queue length:13
[495:477] [2023-12-08 00:32:13 +0000.257725][65b0] OnVideoTimer: OnVideoTimer
EndComposeFile
[495:478] [2023-12-08 00:32:13 +0000.257921][65b0] EndComposeFile: EndComposeFile,
is composing 1
[495:618] [2023-12-08 00:32:13 +0000.398259][65ae] SendFrame
encodedImage._timeStamp:13896encodedImage->_length:125231
[495:620] [2023-12-08 00:32:13 +0000.400155][65ae] DTS queue for
Generator:0x79beef76b8 13930 13966 13999 14026 14066 14097 14135 14159 14200 14231
14265 14296 14333
[495:637] [2023-12-08 00:32:13 +0000.417417][65ae] h264 add frame header cdr flag
[495:638] [2023-12-08 00:32:13 +0000.417979][65ae] Received key frame:13999
[495:646] [2023-12-08 00:32:13 +0000.425779][65b2] get the H.264 IDR frame
[495:668] [2023-12-08 00:32:13 +0000.448090][65ae] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:14135 pts:14135
[495:671] [2023-12-08 00:32:13 +0000.451043][65ae] Push an pts:14564 to dts queue.
[495:680] [2023-12-08 00:32:13 +0000.459844][65ae] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:14597
[495:680] [2023-12-08 00:32:13 +0000.460067][65ae] push video frame to H264
encoder. (100 frame for one log)

[495:680] [2023-12-08 00:32:13 +0000.460240][65ae] push video frame to H264


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

[495:680] [2023-12-08 00:32:13 +0000.460317][65ae] H264Encode::push video frame to


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

[495:680] [2023-12-08 00:32:13 +0000.460406][65ae] The input pts:14597 fps:30


[495:764] [2023-12-08 00:32:13 +0000.543894][65ae] last dts:14533 currentPts:14564
ppsOrSPS:0 queue length:13
[495:771] [2023-12-08 00:32:13 +0000.550918][65ae] H264Encode::H264SWEncoder get
callback, length:8725 type:1 nalType:1length:8721
[495:801] [2023-12-08 00:32:13 +0000.581706][65ae] DTS queue for
Generator:0x79beef76b8 14766 14797 14828 14868 14898 14927 14965 14993 15042 15056
15097 15127
[495:809] [2023-12-08 00:32:13 +0000.589639][65ae]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:456
[495:810] [2023-12-08 00:32:13 +0000.589806][65ae]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x79dd98e000
[495:812] [2023-12-08 00:32:13 +0000.592625][65af]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[495:812] [2023-12-08 00:32:13 +0000.592744][65af]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[495:813] [2023-12-08 00:32:13 +0000.593404][65ad] stop recording
[495:813] [2023-12-08 00:32:13 +0000.593586][65ad]
RecordingSessionInternalSimple:destroy media processers
[495:813] [2023-12-08 00:32:13 +0000.593675][65ad] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[495:814] [2023-12-08 00:32:13 +0000.593771][65ad] H264Encode::flushing hareware
Encoder
[495:817] [2023-12-08 00:32:13 +0000.597121][65ad] Flush time:371569998 enter.

[495:817] [2023-12-08 00:32:13 +0000.597748][65ad] H264Encoder encoder flush


[495:818] [2023-12-08 00:32:13 +0000.597949][65ad] flush output queue
[496:157] [2023-12-08 00:32:13 +0000.937688][65ad] Flush leave. expire time = 340
ms

[496:158] [2023-12-08 00:32:13 +0000.938039][65ad] ~H264EncodeWrap:


[496:158] [2023-12-08 00:32:13 +0000.938232][65ad] ~H264Encode:
[496:158] [2023-12-08 00:32:13 +0000.938363][65ad] teardownCompressionSession:
H264Encode::destroying Encoder
[496:158] [2023-12-08 00:32:13 +0000.938466][65ad] Release time:371570339 enter.

[496:159] [2023-12-08 00:32:13 +0000.939013][65ad] Release:


MediaCodecVideoEncoder::Release _inited:1
[496:159] [2023-12-08 00:32:13 +0000.939184][65ad] Destroy time:371570340 enter.

[496:159] [2023-12-08 00:32:13 +0000.939256][65ad] H264Encoder encoderDestroy


[496:159] [2023-12-08 00:32:13 +0000.939320][65ad]
AndroidMediaCodecVideoEncoder::release env: 0x7a65607140
[496:159] [2023-12-08 00:32:13 +0000.939486][65ad]
AndroidMediaCodecVideoEncoder::Destroy
[496:197] [2023-12-08 00:32:13 +0000.977350][65ad] Destroy leave. expire time = 38
ms

[496:198] [2023-12-08 00:32:13 +0000.977808][65ad] Release leave. expire time = 40


ms

[496:198] [2023-12-08 00:32:13 +0000.977992][65ad] ~AndroidHwAvcEncoder


time:371570379 enter.

[496:198] [2023-12-08 00:32:13 +0000.978441][65ad] Release time:371570379 enter.

[496:198] [2023-12-08 00:32:13 +0000.978757][65ad] Release:


MediaCodecVideoEncoder:: has been released before, just return
[496:199] [2023-12-08 00:32:13 +0000.979229][65ad] Release leave. expire time = 1
ms

[496:199] [2023-12-08 00:32:13 +0000.979388][65ad] ~AndroidMediaCodecVideoEncoder


[496:199] [2023-12-08 00:32:13 +0000.979551][65ad] ~WrapAndroidMediaCodec
time:371570380 enter.

[496:199] [2023-12-08 00:32:13 +0000.979632][65ad] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[496:199] [2023-12-08 00:32:13 +0000.979711][65ad] video hevc hw codec


destructor:0x7a65638ba8

[496:200] [2023-12-08 00:32:13 +0000.979952][65ad] ~AndroidHwAvcEncoder leave.


expire time = 2 ms

[496:200] [2023-12-08 00:32:13 +0000.980090][65ad] teardownCompressionSession:


H264Encode::destroyed Encoder
[496:200] [2023-12-08 00:32:13 +0000.980225][65ad]
RecordingSessionInternalSimple:destroy aac encoder output!
[496:200] [2023-12-08 00:32:13 +0000.980306][65ad] AACSWEncode destructor
[496:224] [2023-12-08 00:32:14 +0000.4050][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[496:224] [2023-12-08 00:32:14 +0000.4326][65b2] fd_close successed!
[496:225] [2023-12-08 00:32:14 +0000.4881][65b2] MP4 close file successfully
[496:225] [2023-12-08 00:32:14 +0000.5051][65b2] Recording session Internal: notify
recording ok
[496:225] [2023-12-08 00:32:14 +0000.5163][65b2] onRecordingOk: Recording Ok,
compose use time: 5216, averagefps 0
[496:225] [2023-12-08 00:32:14 +0000.5273][65b2] OnReceiveEOF:
[496:227] [2023-12-08 00:32:14 +0000.7347][65b0] OnVideoTimer: OnVideoTimer return
[496:257] [2023-12-08 00:32:14 +0000.37124][41f7]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[496:257] [2023-12-08 00:32:14 +0000.37325][41f7] ~MediaComposeFile time:371570438
enter.

[496:257] [2023-12-08 00:32:14 +0000.37367][41f7] CancelCompose: CancelCompose, is


composing 0
[496:257] [2023-12-08 00:32:14 +0000.37586][65ad] stop recording
[496:257] [2023-12-08 00:32:14 +0000.37695][65ad] we have stopped recording before
[496:258] [2023-12-08 00:32:14 +0000.38304][41f7] ~MediaComposeFile leave. expire
time = 1 ms

[496:258] [2023-12-08 00:32:14 +0000.38460][41f7] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[496:259] [2023-12-08 00:32:14 +0000.39018][41f7] global uninited!
[496:259] [2023-12-08 00:32:14 +0000.39118][41f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[496:259] [2023-12-08 00:32:14 +0000.39250][41f7] ~MediaFilterGraph:
MediaFilterGraph destruct
[496:259] [2023-12-08 00:32:14 +0000.39298][41f7] RemoveVideoBackGroud: hava not
add video backgroud
[496:259] [2023-12-08 00:32:14 +0000.39342][41f7] UnbindInputFilter 0x79be09f758
this 0x79c4bd3720
[496:259] [2023-12-08 00:32:14 +0000.39385][41f7] ClearAllSource: remove source
filter, sourceid: 0x79dda61080
[496:259] [2023-12-08 00:32:14 +0000.39420][41f7] DestoryDecoderByVideoSource
time:371570440 enter.

[496:259] [2023-12-08 00:32:14 +0000.39449][41f7] ~VideoBindDecoder time:371570440


enter.

[496:259] [2023-12-08 00:32:14 +0000.39650][41f7] CleanUp time:371570440 enter.

[496:260] [2023-12-08 00:32:14 +0000.40046][41f7] CleanUp leave. expire time = 1


ms

[496:260] [2023-12-08 00:32:14 +0000.40094][41f7] CleanUp time:371570441 enter.

[496:260] [2023-12-08 00:32:14 +0000.40436][41f7] CleanUp leave. expire time = 0


ms

[496:261] [2023-12-08 00:32:14 +0000.41354][41f7] ~VideoBindDecoder leave. expire


time = 2 ms

[496:261] [2023-12-08 00:32:14 +0000.41424][41f7] DestoryDecoderByVideoSource


leave. expire time = 2 ms

[496:261] [2023-12-08 00:32:14 +0000.41498][41f7] UnbindInputFilter 0x79be09f458


this 0x79be09f758
[496:261] [2023-12-08 00:32:14 +0000.41546][41f7] UnbindInputFilter 0x79be09f398
this 0x79be09f458
[496:261] [2023-12-08 00:32:14 +0000.41616][41f7] UnbindInputFilter 0x79dda612a0
this 0x79be09f398
[496:261] [2023-12-08 00:32:14 +0000.41660][41f7] UnbindInputFilter 0x79be09f698
this 0x79be09fa58
[496:263] [2023-12-08 00:32:14 +0000.42999][41f7] UnbindInputFilter 0x79be09f518
this 0x79be09f698
[496:263] [2023-12-08 00:32:14 +0000.43158][41f7] UnbindInputFilter 0x79dda612a0
this 0x79be09f518
[496:263] [2023-12-08 00:32:14 +0000.43239][41f7] ~GLESContext:
[496:264] [2023-12-08 00:32:14 +0000.44034][41f7] GLESContext destruct finish.
[496:264] [2023-12-08 00:32:14 +0000.44134][41f7] filter: filter pipeline destroy
this: 0x79c4bd3680
[497:335] [2023-12-08 00:32:15 +0000.115157][6539] Run AGC when audioType = 0
[497:947] [2023-12-08 00:32:15 +0000.727776][6539] haveEnoughProcessedData
internalAudioStream.length: 10
[499:333] [2023-12-08 00:32:17 +0000.113506][6539] Run AGC when audioType = 0
[499:334] [2023-12-08 00:32:17 +0000.113859][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[499:654] [2023-12-08 00:32:17 +0000.434058][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[501:335] [2023-12-08 00:32:19 +0000.115573][6539] Run AGC when audioType = 0
[501:361] [2023-12-08 00:32:19 +0000.141618][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[503:065] [2023-12-08 00:32:20 +0000.845328][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[503:334] [2023-12-08 00:32:21 +0000.114307][6539] Run AGC when audioType = 0
[503:334] [2023-12-08 00:32:21 +0000.114586][6539]
AudioDeviceDataHandler::MixAndSendOutFrame
[504:772] [2023-12-08 00:32:22 +0000.552089][6539] haveEnoughProcessedData
internalAudioStream.length: 0
[505:332] [2023-12-08 00:32:23 +0000.112482][653a] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[505:332] [2023-12-08 00:32:23 +0000.112605][653a] _deviceSampleRate:48000

[505:334] [2023-12-08 00:32:23 +0000.114667][6539] Run AGC when audioType = 0


[505:336] [2023-12-08 00:32:23 +0000.116269][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[505:336] [2023-12-08 00:32:23 +0000.116480][4214] ~MediaFilterCamera
time:371579517 enter.

[505:336] [2023-12-08 00:32:23 +0000.116589][4214] StopPullFrameAndWriteMp4


time:371579517 enter.

[505:337] [2023-12-08 00:32:23 +0000.117511][6533] stop recording


[505:337] [2023-12-08 00:32:23 +0000.117639][6533] we have stopped recording before
[505:337] [2023-12-08 00:32:23 +0000.117770][4214] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[505:338] [2023-12-08 00:32:23 +0000.118462][4214] DestroyPipelineAndFilters


time:371579519 enter.

[505:338] [2023-12-08 00:32:23 +0000.118565][4214] DestroyPipelineAndFilters


leave. expire time = 0 ms

[505:338] [2023-12-08 00:32:23 +0000.118612][4214] AppDeviceManagerStopMic

[505:338] [2023-12-08 00:32:23 +0000.118717][4214] AppDeviceManagerStopMic::mic


status is on
[505:339] [2023-12-08 00:32:23 +0000.118845][4214] Try to stop webrtc device.

[505:339] [2023-12-08 00:32:23 +0000.118910][4214] Set record state to


stopped.threadID:16916

[505:365] [2023-12-08 00:32:23 +0000.145566][4214] Try to destory the


recorder.threadID:16916

[505:566] [2023-12-08 00:32:23 +0000.345806][4214] DestroyAudioRecorder:


[505:566] [2023-12-08 00:32:23 +0000.345963][4214] Cleanup the buffer queue in the
recorder.
[505:566] [2023-12-08 00:32:23 +0000.346038][4214] Destroy the recorder.

[505:569] [2023-12-08 00:32:23 +0000.349162][4214] StopRecording finished.

[505:569] [2023-12-08 00:32:23 +0000.349304][4214] The stop recording success.

[505:569] [2023-12-08 00:32:23 +0000.349358][4214]


AudioDeviceDataHandler::StopMicProcess

[505:574] [2023-12-08 00:32:23 +0000.354668][4214] AppDeviceManager stop.

[505:575] [2023-12-08 00:32:23 +0000.354991][4214] Rlease the webrtc device object.

[505:576] [2023-12-08 00:32:23 +0000.356340][4214] OpenSlesInput destruct.

[505:576] [2023-12-08 00:32:23 +0000.356548][4214] OpenSlesOutput destruct.

[505:578] [2023-12-08 00:32:23 +0000.357861][4214] EventDispatchServerScope


destruct
[505:578] [2023-12-08 00:32:23 +0000.357998][4214]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[505:578] [2023-12-08 00:32:23 +0000.358126][4214] ~AudioDeviceDataHandler

[505:579] [2023-12-08 00:32:23 +0000.359367][4214] AppDeviceManagerDestruct.

[505:579] [2023-12-08 00:32:23 +0000.359491][4214] ~AppDeviceManager:


[505:579] [2023-12-08 00:32:23 +0000.359622][4214] ~CpuOverloadDetect
time:371579760 enter.

[505:580] [2023-12-08 00:32:23 +0000.360132][4214] ~CpuOverloadDetect leave.


expire time = 1 ms

[505:583] [2023-12-08 00:32:23 +0000.363024][4214] Destruct BeautifyReader begin...


[505:583] [2023-12-08 00:32:23 +0000.363151][4214] Destruct BeautifyReader done.
[505:583] [2023-12-08 00:32:23 +0000.363218][4214] ~MediaFilterCamera leave.
expire time = 247 ms

[505:583] [2023-12-08 00:32:23 +0000.363518][4214] ~GLESContext:


[505:584] [2023-12-08 00:32:23 +0000.364579][4214] GLESContext destruct finish.
[505:584] [2023-12-08 00:32:23 +0000.364741][4214] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[505:585] [2023-12-08 00:32:23 +0000.365493][4214] global uninited!
[505:585] [2023-12-08 00:32:23 +0000.365728][4214] clear AppID 50011
[505:586] [2023-12-08 00:32:23 +0000.365802][4214] UnRegister JVM for Xplatform
util
[505:586] [2023-12-08 00:32:23 +0000.365864][4214] Dispose::unregister webrtc video
engine
[505:586] [2023-12-08 00:32:23 +0000.365922][4214] Init the android object with
jvm:0x0 env:0x0 context:0x0

[505:586] [2023-12-08 00:32:23 +0000.365987][4214] SetAndroidMediaCodecObjects


time:371579767 enter.

[505:586] [2023-12-08 00:32:23 +0000.366045][4214] ClearAndroidMediaCodecObjects


time:371579767 enter.

[505:586] [2023-12-08 00:32:23 +0000.366107][4214] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[505:586] [2023-12-08 00:32:23 +0000.366164][4214] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[505:586] [2023-12-08 00:32:23 +0000.366221][4214] SetAndroidMediaCodecObjects


time:371579767 enter.

[505:586] [2023-12-08 00:32:23 +0000.366278][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[505:586] [2023-12-08 00:32:23 +0000.366338][4214] ClearAndroidMediaCodecObjects
time:371579767 enter.

[505:586] [2023-12-08 00:32:23 +0000.366400][4214] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[505:586] [2023-12-08 00:32:23 +0000.366444][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[505:586] [2023-12-08 00:32:23 +0000.366483][4214] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[505:586] [2023-12-08 00:32:23 +0000.366572][4214] Dispose::unregister webrtc voice


engine
[505:586] [2023-12-08 00:32:23 +0000.366637][4214] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[505:586] [2023-12-08 00:32:23 +0000.366701][4214] SystemUtil UnInit done


[521:801] [2023-12-08 00:32:39 +0000.580990][4214] Register JVM for xplatform util
[521:810] [2023-12-08 00:32:39 +0000.590484][4214] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-12-
08 00:32:39 +0000
[521:810] [2023-12-08 00:32:39 +0000.590550][4214] set AppID=50011 old AppID=-1
[521:810] [2023-12-08 00:32:39 +0000.590573][4214] Init the android object with
jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[521:810] [2023-12-08 00:32:39 +0000.590598][4214] SetAndroidMediaCodecObjects


time:371595991 enter.

[521:810] [2023-12-08 00:32:39 +0000.590632][4214] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[521:810] [2023-12-08 00:32:39 +0000.590654][4214] SetAndroidMediaCodecObjects


time:371595991 enter.

[521:810] [2023-12-08 00:32:39 +0000.590675][4214] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007afc6a7380
[521:810] [2023-12-08 00:32:39 +0000.590694][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007afc6a7380 address:0x79adcb8760
[521:810] [2023-12-08 00:32:39 +0000.590715][4214] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007afc6a7380
address:0x79adcb8760
[521:810] [2023-12-08 00:32:39 +0000.590744][4214] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[521:811] [2023-12-08 00:32:39 +0000.590917][4214] Set the android objects with


jvm:0xb400007afc6a7380 env:0x7a58d52680 context:0x79feb862d8

[521:811] [2023-12-08 00:32:39 +0000.590950][4214] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7a58d52680
[521:811] [2023-12-08 00:32:39 +0000.590976][4214] SystemUtil Init done
[521:811] [2023-12-08 00:32:39 +0000.591110][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[521:811] [2023-12-08 00:32:39 +0000.591207][4214] MediaFilterCamera
[521:811] [2023-12-08 00:32:39 +0000.591244][4214] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[521:811] [2023-12-08 00:32:39 +0000.591361][4214] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[521:811] [2023-12-08 00:32:39 +0000.591400][4214] Recording session using default
bitrate support by app:31457280
[521:811] [2023-12-08 00:32:39 +0000.591506][6658] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a65622640
[521:811] [2023-12-08 00:32:39 +0000.591564][6658] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[521:811] [2023-12-08 00:32:39 +0000.591642][4214] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[521:812] [2023-12-08 00:32:39 +0000.592632][4214] Error(ini.cc:191): Open the file
failed. error:2
[521:812] [2023-12-08 00:32:39 +0000.592688][4214]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[521:812] [2023-12-08 00:32:39 +0000.592713][4214] The device model: 21121119vl
usingSoftwareAEC value: 0
[521:815] [2023-12-08 00:32:39 +0000.595715][4214] Error(ini.cc:191): Open the file
failed. error:2
[521:816] [2023-12-08 00:32:39 +0000.595807][4214]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[521:816] [2023-12-08 00:32:39 +0000.595839][4214] The device model: 21121119vl
usingHardwareAEC value: 0
[521:816] [2023-12-08 00:32:39 +0000.595861][4214] The machine device: 21121119vl
usingHardwareAEC value: 0
[521:816] [2023-12-08 00:32:39 +0000.595883][4214] Using Default AEC type: software
AEC
[521:817] [2023-12-08 00:32:39 +0000.597136][4214] The device model: 21121119vl
enum value: 0
[521:818] [2023-12-08 00:32:39 +0000.597831][4214] GetMachineModel is 21121119VL
[521:818] [2023-12-08 00:32:39 +0000.597881][4214] GetMachineInfo: 21121119VL
[521:818] [2023-12-08 00:32:39 +0000.597905][4214] Construct BeautifyReader
begin...
[521:818] [2023-12-08 00:32:39 +0000.597927][4214] dumpStickerRgba:0
dumpStickerYuv:0
[521:818] [2023-12-08 00:32:39 +0000.597948][4214] Construct BeautifyReader done.
[521:823] [2023-12-08 00:32:39 +0000.603189][4214] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[521:823] [2023-12-08 00:32:39 +0000.603240][665b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a656b98a0
[521:823] [2023-12-08 00:32:39 +0000.603325][4214] AppDeviceManager telnet server
for statistics started......
[521:824] [2023-12-08 00:32:39 +0000.603810][4214] CpuOverloadDetect time:371596005
enter.
[521:824] [2023-12-08 00:32:39 +0000.603920][4214] CpuOverloadDetect leave. expire
time = 0 ms

[521:824] [2023-12-08 00:32:39 +0000.603978][665c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7a656c7f40
[521:825] [2023-12-08 00:32:39 +0000.604793][4214] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[521:825] [2023-12-08 00:32:39 +0000.604831][4214] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[521:825] [2023-12-08 00:32:39 +0000.605068][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[521:825] [2023-12-08 00:32:39 +0000.605431][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[521:825] [2023-12-08 00:32:39 +0000.605720][4214] CreatePlatformSpecificObjects:
[521:826] [2023-12-08 00:32:39 +0000.605993][4214] audio device use opensle input
and opensl output
[521:826] [2023-12-08 00:32:39 +0000.606046][4214] Create OpenSLES output module
with java VM support.

[521:826] [2023-12-08 00:32:39 +0000.606198][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[521:826] [2023-12-08 00:32:39 +0000.606444][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[521:826] [2023-12-08 00:32:39 +0000.606701][4214] Create OpenSLES output module
with buffer num:1

[521:827] [2023-12-08 00:32:39 +0000.606889][4214] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[521:827] [2023-12-08 00:32:39 +0000.607077][4214] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[521:827] [2023-12-08 00:32:39 +0000.607277][4214] Create OpenSLES input module
with java VM support.

[521:827] [2023-12-08 00:32:39 +0000.607321][4214] Create OpenSLES input module


with buffer num:1

[521:827] [2023-12-08 00:32:39 +0000.607362][4214] Error(trace.cc:40): Init the


output and input for audio device template.
[521:827] [2023-12-08 00:32:39 +0000.607390][4214] Init the output device.

[521:827] [2023-12-08 00:32:39 +0000.607411][4214] Init the opensl input.


[521:827] [2023-12-08 00:32:39 +0000.607446][4214] AppDeviceManager get setting
samplerate: 0
[521:828] [2023-12-08 00:32:39 +0000.607978][4214] The device model: 21121119vl
enum value: 0
[521:829] [2023-12-08 00:32:39 +0000.608783][4214] The device model: 21121119vl
enum value: 0
[521:829] [2023-12-08 00:32:39 +0000.608815][4214] Set the sample rate to be:48000

[521:829] [2023-12-08 00:32:39 +0000.608838][4214] Enable the recording stereo:0


[521:829] [2023-12-08 00:32:39 +0000.608868][4214] Set the playout as stereo:1
[521:829] [2023-12-08 00:32:39 +0000.608889][4214] Init the microphone.
[521:829] [2023-12-08 00:32:39 +0000.609174][4214] Update the recording sample rate
to be: 48000
[521:829] [2023-12-08 00:32:39 +0000.609211][4214] Init the speaker.
[521:829] [2023-12-08 00:32:39 +0000.609242][4214] Low latency buffer size:256 low
sample rate:48000
[521:829] [2023-12-08 00:32:39 +0000.609499][4214] Using 1 x 10ms for an audio
frame.

[521:833] [2023-12-08 00:32:39 +0000.613084][4214] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[521:833] [2023-12-08 00:32:39 +0000.613202][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[521:833] [2023-12-08 00:32:39 +0000.613246][4214] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[521:838] [2023-12-08 00:32:39 +0000.618481][4214] The device model:21121119vl

[521:838] [2023-12-08 00:32:39 +0000.618583][4214] speaker output factor:100


defaultFactor: 100

[521:838] [2023-12-08 00:32:39 +0000.618607][4214] headset output factor:100


defaultFactor: 100

[521:839] [2023-12-08 00:32:39 +0000.619382][4214] AppDeviceManagerStart finished.


[521:839] [2023-12-08 00:32:39 +0000.619453][4214] AppDeviceManagerStartMic::mic
status is off
[521:839] [2023-12-08 00:32:39 +0000.619504][4214] AppDeviceManagerStartMic update
aec type: 2

[521:839] [2023-12-08 00:32:39 +0000.619543][4214] AppDeviceManagerStartMic update


voiceChangeMode: 4

[521:839] [2023-12-08 00:32:39 +0000.619570][4214]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[521:839] [2023-12-08 00:32:39 +0000.619592][4214]
AudioDeviceDataHandler::StartMicProcess

[521:840] [2023-12-08 00:32:39 +0000.619767][4214] Try to start webrtc recording


device.

[521:840] [2023-12-08 00:32:39 +0000.619804][4214] StartRecording. threadID:16916

[521:840] [2023-12-08 00:32:39 +0000.619858][4214] default mode: Set the recording


mode to voice communication to enable HW AEC .

[521:840] [2023-12-08 00:32:39 +0000.619827][665d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[521:840] [2023-12-08 00:32:39 +0000.619914][4214] Set the recording mode before
getSetting: 4
[521:840] [2023-12-08 00:32:39 +0000.620016][4214] Set the recording mode after
getSetting: 1
[521:869] [2023-12-08 00:32:39 +0000.649241][4214] StartRecording finished.

[521:869] [2023-12-08 00:32:39 +0000.649314][4214] audio: start the audio mic


checker timer.

[521:870] [2023-12-08 00:32:39 +0000.650062][4214] machine model :redmi


[521:870] [2023-12-08 00:32:39 +0000.650127][4214] Support this machine
model :redmi
[521:870] [2023-12-08 00:32:39 +0000.650155][4214] global inited! current sdk
version: 07-20-936c45f
[522:143] [2023-12-08 00:32:39 +0000.922937][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[522:143] [2023-12-08 00:32:39 +0000.923127][6659] MediaFilterCamera, recording
file context:0x7a6560cf80 input texture:8
[522:143] [2023-12-08 00:32:39 +0000.923174][6659] GLESContext:
[522:143] [2023-12-08 00:32:39 +0000.923213][6659] The result of eglGetDisplay is:
0x1
[522:144] [2023-12-08 00:32:39 +0000.924001][6659] The result of creation:
0x79ddb4c780
[522:145] [2023-12-08 00:32:39 +0000.925469][6659] The result of
eglCreatePbufferSurface is: 0x79ddb4c800
[522:145] [2023-12-08 00:32:39 +0000.925731][4ac2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7a6560cf80 input_texture: 8
[522:883] [2023-12-08 00:32:40 +0000.663711][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[523:940] [2023-12-08 00:32:41 +0000.720795][665d] Run AGC when audioType = 0
[523:941] [2023-12-08 00:32:41 +0000.721068][665d]
AudioDeviceDataHandler::MixAndSendOutFrame
[524:592] [2023-12-08 00:32:42 +0000.372156][665d] haveEnoughProcessedData
internalAudioStream.length: 10
[525:871] [2023-12-08 00:32:43 +0000.650906][4dbc]
monitorTime:4002totalDuration:3930
[525:942] [2023-12-08 00:32:43 +0000.722119][665d] Run AGC when audioType = 0
[526:294] [2023-12-08 00:32:44 +0000.73809][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[527:940] [2023-12-08 00:32:45 +0000.719895][665d] Run AGC when audioType = 0
[527:940] [2023-12-08 00:32:45 +0000.720152][665d]
AudioDeviceDataHandler::MixAndSendOutFrame
[528:002] [2023-12-08 00:32:45 +0000.782496][665d] haveEnoughProcessedData
internalAudioStream.length: 10
[529:703] [2023-12-08 00:32:47 +0000.483607][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[529:942] [2023-12-08 00:32:47 +0000.722053][665d] Run AGC when audioType = 0
[531:410] [2023-12-08 00:32:49 +0000.190571][665d] haveEnoughProcessedData
internalAudioStream.length: 10
[531:938] [2023-12-08 00:32:49 +0000.717934][665e] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[531:938] [2023-12-08 00:32:49 +0000.718148][665e] _deviceSampleRate:48000

[531:938] [2023-12-08 00:32:49 +0000.718355][665d] Run AGC when audioType = 0


[531:938] [2023-12-08 00:32:49 +0000.718523][665d]
AudioDeviceDataHandler::MixAndSendOutFrame
[533:109] [2023-12-08 00:32:50 +0000.889595][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[533:942] [2023-12-08 00:32:51 +0000.721963][665d] Run AGC when audioType = 0
[534:815] [2023-12-08 00:32:52 +0000.595640][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[535:941] [2023-12-08 00:32:53 +0000.721677][665d] Run AGC when audioType = 0
[535:942] [2023-12-08 00:32:53 +0000.721969][665d]
AudioDeviceDataHandler::MixAndSendOutFrame
[536:521] [2023-12-08 00:32:54 +0000.300809][665d] haveEnoughProcessedData
internalAudioStream.length: 10
[537:940] [2023-12-08 00:32:55 +0000.720080][665d] Run AGC when audioType = 0
[538:219] [2023-12-08 00:32:55 +0000.999438][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[539:923] [2023-12-08 00:32:57 +0000.703271][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[539:939] [2023-12-08 00:32:57 +0000.718944][665d] Run AGC when audioType = 0
[539:939] [2023-12-08 00:32:57 +0000.719218][665d]
AudioDeviceDataHandler::MixAndSendOutFrame
[541:629] [2023-12-08 00:32:59 +0000.409762][665d] haveEnoughProcessedData
internalAudioStream.length: 10
[541:938] [2023-12-08 00:32:59 +0000.718083][665e] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[541:938] [2023-12-08 00:32:59 +0000.718326][665e] _deviceSampleRate:48000

[541:939] [2023-12-08 00:32:59 +0000.719570][665d] Run AGC when audioType = 0


[543:329] [2023-12-08 00:33:01 +0000.109526][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[543:938] [2023-12-08 00:33:01 +0000.718839][665d] Run AGC when audioType = 0
[543:939] [2023-12-08 00:33:01 +0000.719139][665d]
AudioDeviceDataHandler::MixAndSendOutFrame
[545:035] [2023-12-08 00:33:02 +0000.815443][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[545:939] [2023-12-08 00:33:03 +0000.719294][665d] Run AGC when audioType = 0
[546:740] [2023-12-08 00:33:04 +0000.519992][665d] haveEnoughProcessedData
internalAudioStream.length: 10
[547:940] [2023-12-08 00:33:05 +0000.720469][665d] Run AGC when audioType = 0
[547:941] [2023-12-08 00:33:05 +0000.720875][665d]
AudioDeviceDataHandler::MixAndSendOutFrame
[548:442] [2023-12-08 00:33:06 +0000.222203][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[549:940] [2023-12-08 00:33:07 +0000.720429][665d] Run AGC when audioType = 0
[550:147] [2023-12-08 00:33:07 +0000.927089][665d] haveEnoughProcessedData
internalAudioStream.length: 0
[551:536] [2023-12-08 00:33:09 +0000.316411][4214]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[551:537] [2023-12-08 00:33:09 +0000.317203][4214] ~MediaFilterCamera
time:371625718 enter.

[551:537] [2023-12-08 00:33:09 +0000.317333][4214] StopPullFrameAndWriteMp4


time:371625718 enter.

[551:545] [2023-12-08 00:33:09 +0000.324902][6658] stop recording


[551:545] [2023-12-08 00:33:09 +0000.325063][6658] we have stopped recording before
[551:545] [2023-12-08 00:33:09 +0000.325315][4214] StopPullFrameAndWriteMp4 leave.
expire time = 8 ms

[551:546] [2023-12-08 00:33:09 +0000.325995][4214] DestroyPipelineAndFilters


time:371625727 enter.

[551:546] [2023-12-08 00:33:09 +0000.326133][4214] DestroyPipelineAndFilters


leave. expire time = 0 ms

[551:546] [2023-12-08 00:33:09 +0000.326232][4214] AppDeviceManagerStopMic

[551:546] [2023-12-08 00:33:09 +0000.326354][4214] AppDeviceManagerStopMic::mic


status is on
[551:546] [2023-12-08 00:33:09 +0000.326409][4214] Try to stop webrtc device.

[551:546] [2023-12-08 00:33:09 +0000.326455][4214] Set record state to


stopped.threadID:16916

[551:591] [2023-12-08 00:33:09 +0000.370939][4214] Try to destory the


recorder.threadID:16916

[551:795] [2023-12-08 00:33:09 +0000.574859][4214] DestroyAudioRecorder:


[551:795] [2023-12-08 00:33:09 +0000.575017][4214] Cleanup the buffer queue in the
recorder.
[551:795] [2023-12-08 00:33:09 +0000.575068][4214] Destroy the recorder.

[551:800] [2023-12-08 00:33:09 +0000.580454][4214] StopRecording finished.

[551:800] [2023-12-08 00:33:09 +0000.580600][4214] The stop recording success.

[551:800]

You might also like