0% found this document useful (0 votes)
19 views42 pages

Drama

The document contains a log of events related to the initialization and configuration of audio and video recording on an Android device. It includes details about setting up media codec objects, audio device management, and errors encountered while loading configuration files. The device model mentioned is m2103k19pg, and various audio settings such as sample rate and channel count are configured during the process.

Uploaded by

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

Drama

The document contains a log of events related to the initialization and configuration of audio and video recording on an Android device. It includes details about setting up media codec objects, audio device management, and errors encountered while loading configuration files. The device model mentioned is m2103k19pg, and various audio settings such as sample rate and channel count are configured during the process.

Uploaded by

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

[000:097] [2024-12-28 19:47:00 +0000.

627597][4a3a] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-12-
28 19:47:00 +0000
[000:097] [2024-12-28 19:47:00 +0000.627627][4a3a] set AppID=50011 old AppID=-1
[000:097] [2024-12-28 19:47:00 +0000.627636][4a3a] Init the android object with
jvm:0xb40000707a368380 env:0x6fb340db00 context:0x6f3bbf3908

[000:097] [2024-12-28 19:47:00 +0000.627645][4a3a] SetAndroidMediaCodecObjects


time:28847900 enter.

[000:097] [2024-12-28 19:47:00 +0000.627658][4a3a] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:097] [2024-12-28 19:47:00 +0000.627667][4a3a] SetAndroidMediaCodecObjects


time:28847900 enter.

[000:097] [2024-12-28 19:47:00 +0000.627673][4a3a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000707a368380
[000:097] [2024-12-28 19:47:00 +0000.627681][4a3a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000707a368380 address:0x6eb2add760
[000:097] [2024-12-28 19:47:00 +0000.627688][4a3a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000707a368380
address:0x6eb2add760
[000:097] [2024-12-28 19:47:00 +0000.627695][4a3a] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:097] [2024-12-28 19:47:00 +0000.627713][4a3a] Set the android objects with


jvm:0xb40000707a368380 env:0x6fb340db00 context:0x6f3bbf3908

[000:097] [2024-12-28 19:47:00 +0000.627730][4a3a] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6fb340db00
[000:097] [2024-12-28 19:47:00 +0000.627741][4a3a] SystemUtil Init done
[000:101] [2024-12-28 19:47:00 +0000.631220][4a3a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:101] [2024-12-28 19:47:00 +0000.631513][4a3a] MediaFilterCamera
[000:101] [2024-12-28 19:47:00 +0000.631577][4a3a] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:101] [2024-12-28 19:47:00 +0000.631730][4a3a] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:101] [2024-12-28 19:47:00 +0000.631770][4a3a] Recording session using default
bitrate support by app:14680064
[000:101] [2024-12-28 19:47:00 +0000.631785][783b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6eecfdb0c0
[000:101] [2024-12-28 19:47:00 +0000.632075][783b] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:102] [2024-12-28 19:47:00 +0000.632157][4a3a] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:102] [2024-12-28 19:47:00 +0000.632976][4a3a] Error(ini.cc:191): Open the file
failed. error:2
[000:102] [2024-12-28 19:47:00 +0000.633006][4a3a]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:102] [2024-12-28 19:47:00 +0000.633030][4a3a] The device model: m2103k19pg
usingSoftwareAEC value: 0
[000:106] [2024-12-28 19:47:00 +0000.636618][4a3a] Error(ini.cc:191): Open the file
failed. error:2
[000:106] [2024-12-28 19:47:00 +0000.636657][4a3a]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:106] [2024-12-28 19:47:00 +0000.636675][4a3a] The device model: m2103k19pg
usingHardwareAEC value: 0
[000:106] [2024-12-28 19:47:00 +0000.636683][4a3a] The machine device: m2103k19pg
usingHardwareAEC value: 0
[000:106] [2024-12-28 19:47:00 +0000.636691][4a3a] Using Default AEC type: software
AEC
[000:107] [2024-12-28 19:47:00 +0000.637722][4a3a] The device model: m2103k19pg
enum value: 0
[000:108] [2024-12-28 19:47:00 +0000.638180][4a3a] GetMachineModel is M2103K19PG
[000:108] [2024-12-28 19:47:00 +0000.638206][4a3a] GetMachineInfo: M2103K19PG
[000:108] [2024-12-28 19:47:00 +0000.638222][4a3a] Construct BeautifyReader
begin...
[000:108] [2024-12-28 19:47:00 +0000.638229][4a3a] dumpStickerRgba:0
dumpStickerYuv:0
[000:108] [2024-12-28 19:47:00 +0000.638236][4a3a] Construct BeautifyReader done.
[000:111] [2024-12-28 19:47:00 +0000.641951][4a3a] Error(ini.cc:191): Open the file
failed. error:2
[000:111] [2024-12-28 19:47:00 +0000.642024][4a3a]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:112] [2024-12-28 19:47:00 +0000.642208][4a3a] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:112] [2024-12-28 19:47:00 +0000.642224][4a3a] AppDeviceManager telnet server
for statistics started......
[000:112] [2024-12-28 19:47:00 +0000.642274][783e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f3984e4a0
[000:112] [2024-12-28 19:47:00 +0000.642778][4a3a] CpuOverloadDetect time:28847915
enter.

[000:112] [2024-12-28 19:47:00 +0000.642861][4a3a] CpuOverloadDetect leave. expire


time = 0 ms

[000:112] [2024-12-28 19:47:00 +0000.642920][783f] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6efa9f5780
[000:113] [2024-12-28 19:47:00 +0000.643466][4a3a] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:113] [2024-12-28 19:47:00 +0000.643483][4a3a] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:113] [2024-12-28 19:47:00 +0000.643778][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:114] [2024-12-28 19:47:00 +0000.644104][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:114] [2024-12-28 19:47:00 +0000.644482][4a3a] CreatePlatformSpecificObjects:
[000:114] [2024-12-28 19:47:00 +0000.644506][4a3a] audio device use opensle input
and opensl output
[000:114] [2024-12-28 19:47:00 +0000.644528][4a3a] Create OpenSLES output module
with java VM support.

[000:114] [2024-12-28 19:47:00 +0000.644621][4a3a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:114] [2024-12-28 19:47:00 +0000.644792][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:114] [2024-12-28 19:47:00 +0000.644963][4a3a] Create OpenSLES output module
with buffer num:1

[000:115] [2024-12-28 19:47:00 +0000.645095][4a3a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:115] [2024-12-28 19:47:00 +0000.645264][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:115] [2024-12-28 19:47:00 +0000.645409][4a3a] Create OpenSLES input module
with java VM support.

[000:115] [2024-12-28 19:47:00 +0000.645426][4a3a] Create OpenSLES input module


with buffer num:1

[000:115] [2024-12-28 19:47:00 +0000.645448][4a3a] Error(trace.cc:40): Init the


output and input for audio device template.
[000:115] [2024-12-28 19:47:00 +0000.645458][4a3a] Init the output device.

[000:115] [2024-12-28 19:47:00 +0000.645464][4a3a] Init the opensl input.


[000:115] [2024-12-28 19:47:00 +0000.645473][4a3a] AppDeviceManager get setting
samplerate: 0
[000:115] [2024-12-28 19:47:00 +0000.645800][4a3a] The device model: m2103k19pg
enum value: 0
[000:116] [2024-12-28 19:47:00 +0000.646431][4a3a] The device model: m2103k19pg
enum value: 0
[000:116] [2024-12-28 19:47:00 +0000.646455][4a3a] Set the sample rate to be:48000

[000:116] [2024-12-28 19:47:00 +0000.646464][4a3a] Enable the recording stereo:0


[000:116] [2024-12-28 19:47:00 +0000.646472][4a3a] Set the playout as stereo:1
[000:116] [2024-12-28 19:47:00 +0000.646479][4a3a] Init the microphone.
[000:118] [2024-12-28 19:47:00 +0000.648286][4a3a] Update the recording sample rate
to be: 48000
[000:118] [2024-12-28 19:47:00 +0000.648325][4a3a] Init the speaker.
[000:118] [2024-12-28 19:47:00 +0000.648368][4a3a] Low latency buffer size:256 low
sample rate:48000
[000:118] [2024-12-28 19:47:00 +0000.648637][4a3a] Using 1 x 10ms for an audio
frame.

[000:121] [2024-12-28 19:47:00 +0000.651933][4a3a] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:121] [2024-12-28 19:47:00 +0000.651987][4a3a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:121] [2024-12-28 19:47:00 +0000.652007][4a3a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:126] [2024-12-28 19:47:00 +0000.656609][4a3a] The device model:m2103k19pg

[000:126] [2024-12-28 19:47:00 +0000.656646][4a3a] speaker output factor:100


defaultFactor: 100

[000:126] [2024-12-28 19:47:00 +0000.656654][4a3a] headset output factor:100


defaultFactor: 100

[000:126] [2024-12-28 19:47:00 +0000.656971][4a3a] AppDeviceManagerStart finished.


[000:126] [2024-12-28 19:47:00 +0000.657000][4a3a] AppDeviceManagerStartMic::mic
status is off
[000:126] [2024-12-28 19:47:00 +0000.657032][4a3a] AppDeviceManagerStartMic update
aec type: 2

[000:126] [2024-12-28 19:47:00 +0000.657039][4a3a] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:126] [2024-12-28 19:47:00 +0000.657046][4a3a]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:126] [2024-12-28 19:47:00 +0000.657053][4a3a]
AudioDeviceDataHandler::StartMicProcess

[000:127] [2024-12-28 19:47:00 +0000.657142][4a3a] Try to start webrtc recording


device.

[000:127] [2024-12-28 19:47:00 +0000.657160][4a3a] StartRecording. threadID:19002

[000:127] [2024-12-28 19:47:00 +0000.657211][7840] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:127] [2024-12-28 19:47:00 +0000.657310][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[000:127] [2024-12-28 19:47:00 +0000.657486][4a3a] The machine model:M2103K19PG

[000:127] [2024-12-28 19:47:00 +0000.657524][4a3a] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:127] [2024-12-28 19:47:00 +0000.657533][4a3a] Set the recording mode before


getSetting: 4
[000:127] [2024-12-28 19:47:00 +0000.657543][4a3a] Set the recording mode after
getSetting: 1
[000:196] [2024-12-28 19:47:00 +0000.726827][4a3a] StartRecording finished.

[000:196] [2024-12-28 19:47:00 +0000.726870][4a3a] audio: start the audio mic


checker timer.

[000:197] [2024-12-28 19:47:00 +0000.727339][4a3a] machine model :poco


[000:197] [2024-12-28 19:47:00 +0000.727364][4a3a] Support this machine model :poco
[000:197] [2024-12-28 19:47:00 +0000.727455][4a3a] global inited! current sdk
version: 07-20-936c45f
[000:335] [2024-12-28 19:47:00 +0000.865702][7841] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:335] [2024-12-28 19:47:00 +0000.865746][7841] _deviceSampleRate:48000

[000:337] [2024-12-28 19:47:00 +0000.868022][7840] Run AGC when audioType = 0


[000:338] [2024-12-28 19:47:00 +0000.868088][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[001:140] [2024-12-28 19:47:01 +0000.670952][7477]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[001:141] [2024-12-28 19:47:01 +0000.671701][783c] MediaFilterCamera, recording
file context:0x6fbbb35480 input texture:8
[001:141] [2024-12-28 19:47:01 +0000.671816][783c] GLESContext:
[001:142] [2024-12-28 19:47:01 +0000.672367][783c] The result of eglGetDisplay is:
0xb400006fa9ee3e00
[001:151] [2024-12-28 19:47:01 +0000.681188][783c] The result of creation:
0x6f398a7280
[001:151] [2024-12-28 19:47:01 +0000.681337][783c] The result of
eglCreatePbufferSurface is: 0x6f398a7300
[001:151] [2024-12-28 19:47:01 +0000.681479][7477]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6fbbb35480 input_texture: 8
[001:898] [2024-12-28 19:47:02 +0000.428867][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[002:320] [2024-12-28 19:47:02 +0000.850830][7840] Run AGC when audioType = 0
[003:601] [2024-12-28 19:47:04 +0000.131324][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[004:197] [2024-12-28 19:47:04 +0000.727504][7837]
monitorTime:4001totalDuration:3880
[004:320] [2024-12-28 19:47:04 +0000.850766][7840] Run AGC when audioType = 0
[004:320] [2024-12-28 19:47:04 +0000.850869][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:314] [2024-12-28 19:47:05 +0000.844696][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[006:325] [2024-12-28 19:47:06 +0000.855650][7840] Run AGC when audioType = 0
[007:007] [2024-12-28 19:47:07 +0000.537137][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[008:321] [2024-12-28 19:47:08 +0000.851815][7840] Run AGC when audioType = 0
[008:321] [2024-12-28 19:47:08 +0000.851936][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:702] [2024-12-28 19:47:09 +0000.232810][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[010:320] [2024-12-28 19:47:10 +0000.850744][7841] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:320] [2024-12-28 19:47:10 +0000.850913][7841] _deviceSampleRate:48000

[010:325] [2024-12-28 19:47:10 +0000.855261][7840] Run AGC when audioType = 0


[010:401] [2024-12-28 19:47:10 +0000.932045][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[012:115] [2024-12-28 19:47:12 +0000.645670][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[012:322] [2024-12-28 19:47:12 +0000.852165][7840] Run AGC when audioType = 0
[012:322] [2024-12-28 19:47:12 +0000.852272][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:821] [2024-12-28 19:47:14 +0000.351330][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[014:324] [2024-12-28 19:47:14 +0000.854186][7840] Run AGC when audioType = 0
[015:515] [2024-12-28 19:47:16 +0000.45459][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[016:321] [2024-12-28 19:47:16 +0000.852046][7840] Run AGC when audioType = 0
[016:322] [2024-12-28 19:47:16 +0000.852229][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:216] [2024-12-28 19:47:17 +0000.746363][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[018:320] [2024-12-28 19:47:18 +0000.850947][7840] Run AGC when audioType = 0
[018:889] [2024-12-28 19:47:19 +0000.419310][4a1f] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[018:890] [2024-12-28 19:47:19 +0000.420084][4a1f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[018:892] [2024-12-28 19:47:19 +0000.422655][4a1f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[018:896] [2024-12-28 19:47:19 +0000.426355][783c] operator() time:28866699 enter.

[018:896] [2024-12-28 19:47:19 +0000.427018][783c] MediaFilterCamera, recording


file context:0x6fbbb35480 input texture:8
[018:902] [2024-12-28 19:47:19 +0000.432450][783c] MicSource: Mic source
created:10x6efab9ff00
[018:903] [2024-12-28 19:47:19 +0000.433982][783c] received external audio stream

[018:903] [2024-12-28 19:47:19 +0000.434052][783c] alloc thread: 0x6eb9bf7200


name:worker0 thread id:476257885360 to Mic_source
[018:904] [2024-12-28 19:47:19 +0000.434101][783c] audio: start the audio sender
thread.

[018:905] [2024-12-28 19:47:19 +0000.436028][783c] construct OpenGLRenderProgram


0x6f3963e598
[018:906] [2024-12-28 19:47:19 +0000.436458][783c] CropFilter::SetOrientation
orientation: 90
[018:907] [2024-12-28 19:47:19 +0000.437675][783c] filter: filter pipeline
construtc this: 0x6efa9f9700
[018:907] [2024-12-28 19:47:19 +0000.437708][783c] filter: filter pipeline2 update
pattern: 1
[018:908] [2024-12-28 19:47:19 +0000.439146][783c] CameraSource::source_id_:1
[018:909] [2024-12-28 19:47:19 +0000.439279][783c] RecordAudioSource::source_id_:2
[018:910] [2024-12-28 19:47:19 +0000.440214][783c] BindInputFilter 0x6eb9bf7940
this 0x6f3963e7c0
[018:910] [2024-12-28 19:47:19 +0000.440327][783c] BindInputFilter 0x6eb9bf7ad8
this 0x6eb9bf7c50
[018:910] [2024-12-28 19:47:19 +0000.440448][783c] BindInputFilter 0x6f3963e7c0
this 0x6efa9f97a0
[018:911] [2024-12-28 19:47:19 +0000.441511][7840] On audio frame the broadcast
with timestamp:28866714 samples:480. (1000 frame for one log)

[018:911] [2024-12-28 19:47:19 +0000.442032][783c] setParamentForFilters:


speed:1.000000
[018:912] [2024-12-28 19:47:19 +0000.442552][783c] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[018:912] [2024-12-28 19:47:19 +0000.442583][783c] SetParamForFilter time:28866715
enter.

[018:912] [2024-12-28 19:47:19 +0000.442597][783c] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[018:912] [2024-12-28 19:47:19 +0000.442682][783c] SetParamForFilter: Params video
index is: 0
[018:912] [2024-12-28 19:47:19 +0000.442699][783c] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[018:912] [2024-12-28 19:47:19 +0000.442713][783c] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[018:912] [2024-12-28 19:47:19 +0000.442727][783c] crop filter mode tpye:
citytravelvideo index:0
[018:914] [2024-12-28 19:47:19 +0000.444321][7c56] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[018:916] [2024-12-28 19:47:19 +0000.447027][7c56] The output timestamp from audio
mixer change:28866714
[018:916] [2024-12-28 19:47:19 +0000.447067][7c56] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:921] [2024-12-28 19:47:19 +0000.451801][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[018:945] [2024-12-28 19:47:19 +0000.475639][783c]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475688][783c]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475706][783c]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475719][783c]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475740][783c]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475754][783c]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475767][783c]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475780][783c]
Warning(parse_template_json.cc:81): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475793][783c]
Warning(parse_template_json.cc:81): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475805][783c]
Warning(parse_template_json.cc:67): json parament no found the parament
[018:945] [2024-12-28 19:47:19 +0000.475831][783c]
Warning(parse_template_json.cc:93): json parament no found the duration
[018:946] [2024-12-28 19:47:19 +0000.476476][783c] SetParamForFilter leave. expire
time = 34 ms

[018:946] [2024-12-28 19:47:19 +0000.476813][783c] OnOutputSizeChanged width 1280


height 720
[018:946] [2024-12-28 19:47:19 +0000.476840][783c] OpenGLFrameBuffer: width:1280
height:720
[018:946] [2024-12-28 19:47:19 +0000.476868][783c] OpenGLFrameBuffer: width:1280
height:720
[018:946] [2024-12-28 19:47:19 +0000.476884][783c] OpenGLFrameBuffer: width:1280
height:720
[018:946] [2024-12-28 19:47:19 +0000.476897][783c] OpenGLFrameBuffer: width:1280
height:720
[018:946] [2024-12-28 19:47:19 +0000.476911][783c] OpenGLFrameBuffer: width:1280
height:720
[018:946] [2024-12-28 19:47:19 +0000.476924][783c] OpenGLFrameBuffer: width:1280
height:720
[018:946] [2024-12-28 19:47:19 +0000.476936][783c] construct TrivalImageDrawer
0x6eb9b9b840
[018:946] [2024-12-28 19:47:19 +0000.476950][783c] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x6eb9b9b840 context 0x6f3960f380
[018:946] [2024-12-28 19:47:19 +0000.476965][783c] setupGLES:
[018:959] [2024-12-28 19:47:19 +0000.489379][783c] OpenGLRenderProgram::Initialize.
[018:959] [2024-12-28 19:47:19 +0000.489591][783c] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[018:959] [2024-12-28 19:47:19 +0000.489636][783c] 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_unpack_subimage GL_EXT_color_buffer_float GL_EXT_float_blend
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_OES_texture_float_linear GL_ARM_texture_unnormalized_coordinates
GL_EXT_shader_framebuffer_fetch GL_MTK_texture_lod_bias
[018:959] [2024-12-28 19:47:19 +0000.489744][783c] Init open gl render:
0x6f3963e598
[018:959] [2024-12-28 19:47:19 +0000.489786][783c] Fragement shader path:
[018:959] [2024-12-28 19:47:19 +0000.489843][783c] Fragement shader path:
[018:959] [2024-12-28 19:47:19 +0000.489866][783c] create opengl program object.
[018:959] [2024-12-28 19:47:19 +0000.489885][783c] create shader: vertex
[018:999] [2024-12-28 19:47:19 +0000.529210][783c] create shader: fragment
[019:118] [2024-12-28 19:47:19 +0000.648614][783c] Have not extra filter filename!
[019:118] [2024-12-28 19:47:19 +0000.648657][783c] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[019:118] [2024-12-28 19:47:19 +0000.648667][783c] OpenGLRenderProgram::Initialize
success.
[019:121] [2024-12-28 19:47:19 +0000.651716][783c] Setup the OpenGL result:1
[019:122] [2024-12-28 19:47:19 +0000.652191][783b] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4
[019:122] [2024-12-28 19:47:19 +0000.652616][783b] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[019:122] [2024-12-28 19:47:19 +0000.652675][7c5e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6ef32a5a98
[019:123] [2024-12-28 19:47:19 +0000.653100][783b] 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:123] [2024-12-28 19:47:19 +0000.653201][783b] 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_28866924.mp4
fileFD: -1
[019:126] [2024-12-28 19:47:19 +0000.656763][783b] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4
is opened successfully
[019:126] [2024-12-28 19:47:19 +0000.656836][783b] setupMediaProcessers:
[019:126] [2024-12-28 19:47:19 +0000.656856][783b]
RecordingSessionInternalSimple:setup media processers.
[019:126] [2024-12-28 19:47:19 +0000.656877][783b] construct AAC encoder
[019:128] [2024-12-28 19:47:19 +0000.658545][783b] H264Encoder creating:
superfast011818
[019:128] [2024-12-28 19:47:19 +0000.658672][783b] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[019:130] [2024-12-28 19:47:19 +0000.660844][783b] H264Encode::GetMachineModel is
M2103K19PG
[019:130] [2024-12-28 19:47:19 +0000.660912][783b] H264Encoder machine_mode
is:M2103K19PG
[019:130] [2024-12-28 19:47:19 +0000.660930][783b] H264Encode::machine size :9
machine_mode:M2103K19PG
[019:130] [2024-12-28 19:47:19 +0000.660951][783b] H264Encode::machine array
size :22 machine_mode:M2103K19PG
[019:130] [2024-12-28 19:47:19 +0000.660971][783b] H264Encode::current machine
is :M2103K19PG auto check hw codec decide to use hw codec
[019:130] [2024-12-28 19:47:19 +0000.660990][783b] setupCompressionSession:
[019:130] [2024-12-28 19:47:19 +0000.661007][783b] H264Encode::creating hareware
Encoder
[019:130] [2024-12-28 19:47:19 +0000.661026][783b] AndroidHwAvcEncoder
time:28866933 enter.

[019:131] [2024-12-28 19:47:19 +0000.661247][783b] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000707a368380 address:0x6eb2add760
[019:131] [2024-12-28 19:47:19 +0000.661780][783b] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[019:131] [2024-12-28 19:47:19 +0000.661835][783b] The video avc hw codec address
is 0x6ed894ec20
[019:131] [2024-12-28 19:47:19 +0000.661943][783b] AndroidHwAvcEncoder leave.
expire time = 1 ms

[019:131] [2024-12-28 19:47:19 +0000.662035][783b] RegisterEncodeCompleteCallback


time:28866934 enter.

[019:132] [2024-12-28 19:47:19 +0000.662214][783b] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[019:132] [2024-12-28 19:47:19 +0000.662246][783b] InitEncode time:28866935 enter.

[019:132] [2024-12-28 19:47:19 +0000.662368][783b] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[019:132] [2024-12-28 19:47:19 +0000.662397][783b] Create time:28866935 enter.

[019:132] [2024-12-28 19:47:19 +0000.662417][783b] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:14680064 usingVbrMode:1
[019:132] [2024-12-28 19:47:19 +0000.662448][783b]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x6eed31ec80
[019:150] [2024-12-28 19:47:19 +0000.680881][783b] supported_type:audio/mp4a-latm
[019:150] [2024-12-28 19:47:19 +0000.680928][783b] supported_type:audio/mp4a-latm
[019:150] [2024-12-28 19:47:19 +0000.680942][783b] supported_type:audio/3gpp
[019:150] [2024-12-28 19:47:19 +0000.680961][783b] supported_type:audio/3gpp
[019:150] [2024-12-28 19:47:19 +0000.680976][783b] supported_type:audio/amr-wb
[019:150] [2024-12-28 19:47:19 +0000.680987][783b] supported_type:audio/amr-wb
[019:150] [2024-12-28 19:47:19 +0000.681001][783b] supported_type:audio/flac
[019:150] [2024-12-28 19:47:19 +0000.681012][783b] supported_type:audio/flac
[019:150] [2024-12-28 19:47:19 +0000.681029][783b] supported_type:audio/opus
[019:150] [2024-12-28 19:47:19 +0000.681044][783b] supported_type:video/avc
[019:150] [2024-12-28 19:47:19 +0000.681058][783b] name:c2.mtk.avc.encoder
mime:video/avc
[019:151] [2024-12-28 19:47:19 +0000.681077][783b] hwCodecPrefix :OMX.qcom.
[019:151] [2024-12-28 19:47:19 +0000.681085][783b] hwCodecPrefix :OMX.Nvidia.
[019:151] [2024-12-28 19:47:19 +0000.681092][783b] hwCodecPrefix :OMX.IMG.TOPAZ
[019:151] [2024-12-28 19:47:19 +0000.681098][783b] hwCodecPrefix :OMX.Exynos
[019:151] [2024-12-28 19:47:19 +0000.681104][783b] hwCodecPrefix :OMX.MTK
[019:151] [2024-12-28 19:47:19 +0000.681110][783b] hwCodecPrefix :OMX.hantro
[019:151] [2024-12-28 19:47:19 +0000.681146][783b] hwCodecPrefix :OMX.Intel
[019:151] [2024-12-28 19:47:19 +0000.681155][783b] hwCodecPrefix :OMX.ARM
[019:151] [2024-12-28 19:47:19 +0000.681167][783b] supported_type:video/avc
[019:151] [2024-12-28 19:47:19 +0000.681176][783b] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[019:151] [2024-12-28 19:47:19 +0000.681188][783b] hwCodecPrefix :OMX.qcom.
[019:151] [2024-12-28 19:47:19 +0000.681195][783b] hwCodecPrefix :OMX.Nvidia.
[019:151] [2024-12-28 19:47:19 +0000.681202][783b] hwCodecPrefix :OMX.IMG.TOPAZ
[019:151] [2024-12-28 19:47:19 +0000.681207][783b] hwCodecPrefix :OMX.Exynos
[019:151] [2024-12-28 19:47:19 +0000.681213][783b] hwCodecPrefix :OMX.MTK
[019:151] [2024-12-28 19:47:19 +0000.681221][783b] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[019:151] [2024-12-28 19:47:19 +0000.681233][783b] mediacodec_createCodecByName
time:28866954 enter.

[019:151] [2024-12-28 19:47:19 +0000.681241][783b] WrapAndroidMediaCodec


time:28866954 enter.

[019:151] [2024-12-28 19:47:19 +0000.681362][783b] WrapAndroidMediaCodec leave.


expire time = 0 ms

[019:188] [2024-12-28 19:47:19 +0000.718538][783b] mediacodec_createCodecByName


leave. expire time = 37 ms

[019:188] [2024-12-28 19:47:19 +0000.718606][783b] WrapAndroidMediaFromat


time:28866991 enter.

[019:188] [2024-12-28 19:47:19 +0000.718663][783b] WrapAndroidMediaFromat leave.


expire time = 0 ms

[019:332] [2024-12-28 19:47:19 +0000.862506][783b] Destroy time:28867135 enter.

[019:332] [2024-12-28 19:47:19 +0000.862587][783b] WrapAndroidMediaFromat::


Destroy
[019:332] [2024-12-28 19:47:19 +0000.862611][783b] Destroy leave. expire time = 0
ms

[019:332] [2024-12-28 19:47:19 +0000.862631][783b] ~WrapAndroidMediaFromat


time:28867135 enter.

[019:332] [2024-12-28 19:47:19 +0000.862652][783b] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[019:332] [2024-12-28 19:47:19 +0000.862674][783b] Create leave. expire time = 200


ms

[019:332] [2024-12-28 19:47:19 +0000.862694][783b] isSemiPlanarSupport


time:28867135 enter.

[019:332] [2024-12-28 19:47:19 +0000.862712][783b] H264Encoder isSemiPlanarSupport


[019:332] [2024-12-28 19:47:19 +0000.862736][783b] isSemiPlanarSupport leave.
expire time = 0 ms

[019:332] [2024-12-28 19:47:19 +0000.862757][783b] creat hw H264Encoder success,


isSemiPlanar:1
[019:332] [2024-12-28 19:47:19 +0000.862862][783b] InitEncode leave. expire time =
200 ms

[019:332] [2024-12-28 19:47:19 +0000.862888][783b] H264Encode::created Encoder


[019:332] [2024-12-28 19:47:19 +0000.862908][783b] H264Encode:: H264 encoder
created.
[019:332] [2024-12-28 19:47:19 +0000.862926][783b] H264 encoder created.
[019:332] [2024-12-28 19:47:19 +0000.862944][783b]
RecordingSessionInternalSimple:created avc encoder avc: 0x6eecfabbc0
[019:332] [2024-12-28 19:47:19 +0000.862970][783b] setOutput:
[019:332] [2024-12-28 19:47:19 +0000.863009][783b]
RecordingSessionInternalSimple:encoder set output to muxer!
[019:332] [2024-12-28 19:47:19 +0000.863029][783b] request a key frame
[019:332] [2024-12-28 19:47:19 +0000.863046][783b] H264Encode:: request a key frame
[019:333] [2024-12-28 19:47:19 +0000.863377][783b] setDisplayRotate :90
[019:333] [2024-12-28 19:47:19 +0000.863428][783b] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[019:333] [2024-12-28 19:47:19 +0000.863566][783c] StartRecording:
[019:333] [2024-12-28 19:47:19 +0000.863662][7c56] operator(): Set the recording
session in mic source. recording session: 0x6eb9bf7980
[019:333] [2024-12-28 19:47:19 +0000.863771][783c] operator() leave. expire time =
437 ms

[019:333] [2024-12-28 19:47:19 +0000.863884][7c55] AF_SpeedFilter audio


0x6eb9bf7b00 PullFrame
[019:333] [2024-12-28 19:47:19 +0000.863924][7c55]
RecordAudioSource::PullAudioFrame
[019:333] [2024-12-28 19:47:19 +0000.863954][7c55] AF_SpeedFilter::PullFrame eof4
[019:336] [2024-12-28 19:47:19 +0000.866177][7c55]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[019:340] [2024-12-28 19:47:19 +0000.870892][7c55] AF_SpeedFilter audio time,
0x6eb9bf7b00 rcv time: 28867135
[019:340] [2024-12-28 19:47:19 +0000.870984][7c55] AF_SpeedFilter audio time,
0x6eb9bf7b00 rcv time: 28867135in_nSamples:441
[019:341] [2024-12-28 19:47:19 +0000.871188][7c55] resampled_data_size:0
[019:374] [2024-12-28 19:47:19 +0000.904889][783c]
MediaFilterCamera::NeedProcessTexture
[019:374] [2024-12-28 19:47:19 +0000.904944][783c] begine recode to first frame
spend time:478
[019:374] [2024-12-28 19:47:19 +0000.904957][783c] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x6eb9bf7800
[019:374] [2024-12-28 19:47:19 +0000.905011][783c] blur_distance_:0
[019:374] [2024-12-28 19:47:19 +0000.905021][783c] blur_direction_angle_:-90
[019:375] [2024-12-28 19:47:19 +0000.905686][783c]
GPUImageProcessing::SetOrientation orientation: 90
[019:375] [2024-12-28 19:47:19 +0000.905916][783c] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[019:375] [2024-12-28 19:47:19 +0000.906051][783c] GPUImageProcessing: process
video frame with resolution 1280 X 720
[019:376] [2024-12-28 19:47:19 +0000.906091][783c] GPUImageProcessing: input frame
width1280 X 720
[019:376] [2024-12-28 19:47:19 +0000.906556][783c] drawYUV420 render
OpenGLRenderProgram:0x6f3963e598
[019:378] [2024-12-28 19:47:19 +0000.908905][783c] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[019:379] [2024-12-28 19:47:19 +0000.909591][783c] CropFilter::OnVideoFrame
outputtexture :10
[019:379] [2024-12-28 19:47:19 +0000.909650][783c] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[019:384] [2024-12-28 19:47:19 +0000.914633][783c] The read pixel from buffer take:
5 width:1280 height:720 frameType:0
[019:406] [2024-12-28 19:47:19 +0000.936699][783c] drawYUV420 render
OpenGLRenderProgram:0x6f3963e598
[019:421] [2024-12-28 19:47:19 +0000.951843][783c] The convert RGB to YUV take 8
[019:421] [2024-12-28 19:47:19 +0000.951952][783c] FilterPipeline2::OnVideoFrame
pts 32 last_video_timestamp_ 32
[019:421] [2024-12-28 19:47:19 +0000.951977][783c]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[019:423] [2024-12-28 19:47:19 +0000.953174][7c5d]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[019:423] [2024-12-28 19:47:19 +0000.953280][7c5d] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[019:423] [2024-12-28 19:47:19 +0000.953310][7c5d] push video frame to H264
encoder. (100 frame for one log)

[019:423] [2024-12-28 19:47:19 +0000.953330][7c5d] push video frame to H264


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

[019:423] [2024-12-28 19:47:19 +0000.953352][7c5d] H264Encode::push video frame to


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

[019:423] [2024-12-28 19:47:19 +0000.953375][7c5d] Push an pts:0 to dts queue.


[019:423] [2024-12-28 19:47:19 +0000.953440][7c5d] DTS queue for
Generator:0x6ef32a5cb8 0
[019:423] [2024-12-28 19:47:19 +0000.953463][7c5d] The input pts:0 fps:30
[019:424] [2024-12-28 19:47:19 +0000.954916][7c5d]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[019:446] [2024-12-28 19:47:19 +0000.976821][783c] drawYUV420 render
OpenGLRenderProgram:0x6f3963e598
[019:460] [2024-12-28 19:47:19 +0000.990262][7c55] AF_SpeedFilter audio time 222,
0x6eb9bf7b00 out time: 28867135 org time: 28867135
[019:460] [2024-12-28 19:47:19 +0000.990368][7c55] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[019:460] [2024-12-28 19:47:19 +0000.990409][7c55]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 28867135
[019:460] [2024-12-28 19:47:19 +0000.990433][7c55]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[019:460] [2024-12-28 19:47:19 +0000.990512][7c55] AF_SpeedFilter audio time
[019:460] [2024-12-28 19:47:19 +0000.990553][7c55] AF_SpeedFilter audio time 111,
0x6eb9bf7b00 out time: 28867145 org time: 28867145
[019:463] [2024-12-28 19:47:19 +0000.993368][7c5c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:2
[019:464] [2024-12-28 19:47:19 +0000.994803][7c5e] add aac audio track with id:1
[019:558] [2024-12-28 19:47:20 +0000.88763][7c5e] audio start ts:0
[019:560] [2024-12-28 19:47:20 +0000.90520][7c5e] the audio frame has been written
into MP4 file
[019:627] [2024-12-28 19:47:20 +0000.157656][7c5d] h264 add frame header cdr flag
[019:629] [2024-12-28 19:47:20 +0000.159573][7c5d] h264 add frame header cdr flag
[019:629] [2024-12-28 19:47:20 +0000.159965][7c5d] SendFrame
encodedImage._timeStamp:0encodedImage->_length:51383
[019:629] [2024-12-28 19:47:20 +0000.160074][7c5d] Received key frame:0
[019:630] [2024-12-28 19:47:20 +0000.160118][7c5d] last dts:0 currentPts:0
ppsOrSPS:0 queue length:5
[019:630] [2024-12-28 19:47:20 +0000.160153][7c5d] H264Encode::H264SWEncoder get
callback, length:51383 type:0 nalType:7length:19
[019:630] [2024-12-28 19:47:20 +0000.160179][7c5d] H264Encode:: get a sps pps
header!headerSize:31
[019:630] [2024-12-28 19:47:20 +0000.160200][7c5d] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[019:630] [2024-12-28 19:47:20 +0000.160351][7c5e] get the H.264 SPS parameter
[019:632] [2024-12-28 19:47:20 +0000.162387][7c5e] add video track with id:2
[019:632] [2024-12-28 19:47:20 +0000.162793][7c5e] get the H.264 PPS parameter
[019:632] [2024-12-28 19:47:20 +0000.163012][7c5e] get the H.264 IDR frame
[019:632] [2024-12-28 19:47:20 +0000.163034][7c5e] resss:true
[019:632] [2024-12-28 19:47:20 +0000.163041][7c5e] video start ts:0
[019:633] [2024-12-28 19:47:20 +0000.163311][7c5e] the video frame has been written
into MP4 file
[019:896] [2024-12-28 19:47:20 +0000.426285][783c] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[019:921] [2024-12-28 19:47:20 +0000.451770][7c56] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[019:941] [2024-12-28 19:47:20 +0000.471991][783c] The convert RGB to YUV take 8
[020:316] [2024-12-28 19:47:20 +0000.846112][7c5d] DTS queue for
Generator:0x6ef32a5cb8 803 837
[020:320] [2024-12-28 19:47:20 +0000.850895][7841] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:320] [2024-12-28 19:47:20 +0000.850980][7841] _deviceSampleRate:48000

[020:321] [2024-12-28 19:47:20 +0000.851741][7840] Run AGC when audioType = 0


[020:321] [2024-12-28 19:47:20 +0000.851830][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:404] [2024-12-28 19:47:20 +0000.934352][783c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[020:456] [2024-12-28 19:47:20 +0000.986701][783c] The convert RGB to YUV take 33
[020:634] [2024-12-28 19:47:21 +0000.164709][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[020:768] [2024-12-28 19:47:21 +0000.298954][7c5d] Push an pts:1335 to dts queue.
[020:814] [2024-12-28 19:47:21 +0000.344901][7c5d] last dts:1307 currentPts:1335
ppsOrSPS:0 queue length:2
[020:876] [2024-12-28 19:47:21 +0000.406600][783c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[020:918] [2024-12-28 19:47:21 +0000.448466][7c56] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[020:958] [2024-12-28 19:47:21 +0000.488946][7c55] AF_SpeedFilter audio
0x6eb9bf7b00 PullFrame
[020:965] [2024-12-28 19:47:21 +0000.495606][783c] The convert RGB to YUV take 56
[021:103] [2024-12-28 19:47:21 +0000.633774][7c5d] DTS queue for
Generator:0x6ef32a5cb8 1635 1670
[021:209] [2024-12-28 19:47:21 +0000.739380][7c55]
RecordAudioSource::PullAudioFrame
[021:280] [2024-12-28 19:47:21 +0000.810187][783c] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[021:382] [2024-12-28 19:47:21 +0000.912426][783c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[021:448] [2024-12-28 19:47:21 +0000.978347][783c] The convert RGB to YUV take 30
[021:468] [2024-12-28 19:47:21 +0000.998288][7c5d] h264 add frame header cdr flag
[021:468] [2024-12-28 19:47:21 +0000.998583][7c5d] Received key frame:2007
[021:517] [2024-12-28 19:47:22 +0000.47713][7c5e] get the H.264 IDR frame
[021:621] [2024-12-28 19:47:22 +0000.151989][7c55] resampled_data_size:7168
[021:672] [2024-12-28 19:47:22 +0000.202517][7c55] AF_SpeedFilter::PullFrame eof4
[021:674] [2024-12-28 19:47:22 +0000.204777][7c55]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[021:815] [2024-12-28 19:47:22 +0000.345195][7c5c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:5
[021:878] [2024-12-28 19:47:22 +0000.408389][783c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[021:908] [2024-12-28 19:47:22 +0000.438229][7c5d] DTS queue for
Generator:0x6ef32a5cb8 2471
[021:921] [2024-12-28 19:47:22 +0000.451947][7c56] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[021:932] [2024-12-28 19:47:22 +0000.462989][783c] The convert RGB to YUV take 20
[022:095] [2024-12-28 19:47:22 +0000.625544][7c5d] Push an pts:2672 to dts queue.
[022:120] [2024-12-28 19:47:22 +0000.650761][7c5d] last dts:2639 currentPts:2672
ppsOrSPS:0 queue length:2
[022:323] [2024-12-28 19:47:22 +0000.853683][7840] Run AGC when audioType = 0
[022:344] [2024-12-28 19:47:22 +0000.874208][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[022:380] [2024-12-28 19:47:22 +0000.910096][783c] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[022:416] [2024-12-28 19:47:22 +0000.946293][783c] The convert RGB to YUV take 4
[022:559] [2024-12-28 19:47:23 +0000.89697][7c55] AF_SpeedFilter audio 0x6eb9bf7b00
PullFrame
[022:680] [2024-12-28 19:47:23 +0000.210765][783c] drawYUV420 render
OpenGLRenderProgram:0x6f3963e598
[022:734] [2024-12-28 19:47:23 +0000.265001][7c5d] DTS queue for
Generator:0x6ef32a5cb8 3308
[022:746] [2024-12-28 19:47:23 +0000.277052][783c] GPUImageProcessing: process
video frame with resolution 1280 X 720
[022:747] [2024-12-28 19:47:23 +0000.277107][783c] GPUImageProcessing: input frame
width1280 X 720
[022:747] [2024-12-28 19:47:23 +0000.277254][783c] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[022:747] [2024-12-28 19:47:23 +0000.277401][783c] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[022:751] [2024-12-28 19:47:23 +0000.281165][7c5d]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3340
[022:754] [2024-12-28 19:47:23 +0000.284714][7c5d] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3308 pts:3308
[022:786] [2024-12-28 19:47:23 +0000.316682][7c5d] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3374
[022:786] [2024-12-28 19:47:23 +0000.316797][7c5d] push video frame to H264
encoder. (100 frame for one log)

[022:786] [2024-12-28 19:47:23 +0000.316824][7c5d] push video frame to H264


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

[022:786] [2024-12-28 19:47:23 +0000.316850][7c5d] H264Encode::push video frame to


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

[022:786] [2024-12-28 19:47:23 +0000.316890][7c5d] The input pts:3374 fps:30


[022:790] [2024-12-28 19:47:23 +0000.320779][7c5d] SendFrame
encodedImage._timeStamp:3340encodedImage->_length:68819
[022:844] [2024-12-28 19:47:23 +0000.374239][7c5d] H264Encode::H264SWEncoder get
callback, length:62191 type:1 nalType:1length:62187
[022:882] [2024-12-28 19:47:23 +0000.412334][783c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[022:913] [2024-12-28 19:47:23 +0000.443540][7c56] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[022:928] [2024-12-28 19:47:23 +0000.458131][783c] The convert RGB to YUV take 14
[023:061] [2024-12-28 19:47:23 +0000.591463][7c55]
RecordAudioSource::PullAudioFrame
[023:255] [2024-12-28 19:47:23 +0000.785216][783c] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[023:383] [2024-12-28 19:47:23 +0000.913806][783c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[023:446] [2024-12-28 19:47:23 +0000.976540][783c] The convert RGB to YUV take 30
[023:447] [2024-12-28 19:47:23 +0000.977739][7c5d] Push an pts:4010 to dts queue.
[023:476] [2024-12-28 19:47:24 +0000.6314][7c5d] h264 add frame header cdr flag
[023:476] [2024-12-28 19:47:24 +0000.6783][7c5d] Received key frame:4010
[023:476] [2024-12-28 19:47:24 +0000.6825][7c5d] last dts:3977 currentPts:4010
ppsOrSPS:0 queue length:2
[023:494] [2024-12-28 19:47:24 +0000.24626][7c5e] get the H.264 IDR frame
[023:604] [2024-12-28 19:47:24 +0000.134464][7c5d] DTS queue for
Generator:0x6ef32a5cb8 4109 4145
[023:824] [2024-12-28 19:47:24 +0000.354784][7c55] resampled_data_size:0
[023:888] [2024-12-28 19:47:24 +0000.418145][783c] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[023:891] [2024-12-28 19:47:24 +0000.421398][7c55] AF_SpeedFilter::PullFrame eof4
[023:893] [2024-12-28 19:47:24 +0000.423585][7c55]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[023:918] [2024-12-28 19:47:24 +0000.448330][7c56] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[024:035] [2024-12-28 19:47:24 +0000.565165][783c] The convert RGB to YUV take 76
[024:045] [2024-12-28 19:47:24 +0000.575703][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[024:119] [2024-12-28 19:47:24 +0000.649198][7c55] AF_SpeedFilter audio
0x6eb9bf7b00 PullFrame
[024:169] [2024-12-28 19:47:24 +0000.699485][7c5c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:9
[024:323] [2024-12-28 19:47:24 +0000.854040][7840] Run AGC when audioType = 0
[024:324] [2024-12-28 19:47:24 +0000.854098][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:390] [2024-12-28 19:47:24 +0000.920762][783c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[024:400] [2024-12-28 19:47:24 +0000.930318][7c5d] DTS queue for
Generator:0x6ef32a5cb8 4947 4981
[024:432] [2024-12-28 19:47:24 +0000.962185][783c] The convert RGB to YUV take 6
[024:789] [2024-12-28 19:47:25 +0000.320042][7c5d] Push an pts:5348 to dts queue.
[024:830] [2024-12-28 19:47:25 +0000.360181][7c5d] last dts:5311 currentPts:5348
ppsOrSPS:0 queue length:3
[024:886] [2024-12-28 19:47:25 +0000.416338][783c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[024:917] [2024-12-28 19:47:25 +0000.447361][7c56] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[024:922] [2024-12-28 19:47:25 +0000.452779][783c] The convert RGB to YUV take 5
[024:943] [2024-12-28 19:47:25 +0000.474001][7c55]
RecordAudioSource::PullAudioFrame
[025:018] [2024-12-28 19:47:25 +0000.548433][4a1f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[025:018] [2024-12-28 19:47:25 +0000.548592][783c] operator(): Stop
[025:018] [2024-12-28 19:47:25 +0000.548616][783c] StopPullFrameAndWriteMp4
time:28872821 enter.

[025:018] [2024-12-28 19:47:25 +0000.548632][783c] StopRecording:


[025:024] [2024-12-28 19:47:25 +0000.554617][7c55] resampled_data_size:512
[025:024] [2024-12-28 19:47:25 +0000.554731][7c55] AF_SpeedFilter audio time 222,
0x6eb9bf7b00 out time: 28872685 org time: 28872685
[025:024] [2024-12-28 19:47:25 +0000.554886][7c55] PullAudioFrame: PullFrame audio
finished.
[025:024] [2024-12-28 19:47:25 +0000.554919][7c55]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[025:025] [2024-12-28 19:47:25 +0000.555501][7c5d]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:168
[025:029] [2024-12-28 19:47:25 +0000.559507][783b] stop recording
[025:029] [2024-12-28 19:47:25 +0000.559571][783b]
RecordingSessionInternalSimple:destroy media processers
[025:029] [2024-12-28 19:47:25 +0000.559596][783b] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[025:029] [2024-12-28 19:47:25 +0000.559619][783b] H264Encode::flushing hareware
Encoder
[025:029] [2024-12-28 19:47:25 +0000.559887][783b] Flush time:28872832 enter.

[025:029] [2024-12-28 19:47:25 +0000.560005][783b] H264Encoder encoder flush


[025:029] [2024-12-28 19:47:25 +0000.560037][783b] flush output queue
[025:341] [2024-12-28 19:47:25 +0000.871448][783b] Flush leave. expire time = 312
ms

[025:341] [2024-12-28 19:47:25 +0000.871637][783b] ~H264EncodeWrap:


[025:341] [2024-12-28 19:47:25 +0000.871685][783b] ~H264Encode:
[025:341] [2024-12-28 19:47:25 +0000.871709][783b] teardownCompressionSession:
H264Encode::destroying Encoder
[025:341] [2024-12-28 19:47:25 +0000.871734][783b] Release time:28873144 enter.

[025:341] [2024-12-28 19:47:25 +0000.871916][783b] Release:


MediaCodecVideoEncoder::Release _inited:1
[025:341] [2024-12-28 19:47:25 +0000.871956][783b] Destroy time:28873144 enter.

[025:341] [2024-12-28 19:47:25 +0000.871981][783b] H264Encoder encoderDestroy


[025:341] [2024-12-28 19:47:25 +0000.872006][783b]
AndroidMediaCodecVideoEncoder::release env: 0x6ef31986e0
[025:341] [2024-12-28 19:47:25 +0000.872032][783b]
AndroidMediaCodecVideoEncoder::Destroy
[025:348] [2024-12-28 19:47:25 +0000.878374][783b] Destroy leave. expire time = 7
ms

[025:348] [2024-12-28 19:47:25 +0000.878622][783b] Release leave. expire time = 7


ms

[025:348] [2024-12-28 19:47:25 +0000.878686][783b] ~AndroidHwAvcEncoder


time:28873151 enter.

[025:348] [2024-12-28 19:47:25 +0000.878891][783b] Release time:28873151 enter.

[025:348] [2024-12-28 19:47:25 +0000.878930][783b] Release:


MediaCodecVideoEncoder:: has been released before, just return
[025:348] [2024-12-28 19:47:25 +0000.878954][783b] Release leave. expire time = 0
ms

[025:348] [2024-12-28 19:47:25 +0000.878977][783b] ~AndroidMediaCodecVideoEncoder


[025:348] [2024-12-28 19:47:25 +0000.878999][783b] ~WrapAndroidMediaCodec
time:28873151 enter.

[025:348] [2024-12-28 19:47:25 +0000.879022][783b] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[025:348] [2024-12-28 19:47:25 +0000.879045][783b] video hevc hw codec


destructor:0x6ed894ec20

[025:349] [2024-12-28 19:47:25 +0000.879139][783b] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[025:349] [2024-12-28 19:47:25 +0000.879184][783b] teardownCompressionSession:


H264Encode::destroyed Encoder
[025:349] [2024-12-28 19:47:25 +0000.879213][783b]
RecordingSessionInternalSimple:destroy aac encoder output!
[025:349] [2024-12-28 19:47:25 +0000.879235][783b] AACSWEncode destructor
[025:356] [2024-12-28 19:47:25 +0000.886177][7c5e] MP4 close file successfully
[025:356] [2024-12-28 19:47:25 +0000.886243][7c5e] Recording session Internal:
notify recording ok
[025:356] [2024-12-28 19:47:25 +0000.886268][7c5e] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4,
output_video_timestamp_:5579 last_video_pts_:5579
[025:356] [2024-12-28 19:47:25 +0000.886307][7c5e] OnRecordFinish:
[025:360] [2024-12-28 19:47:25 +0000.890688][7c5e] onRecordingOk: net seek
pos:0record video duration:5612record audio duration:5596
[025:361] [2024-12-28 19:47:25 +0000.891589][7c56] destructMicSource_w:
[025:361] [2024-12-28 19:47:25 +0000.891647][7c56] setOutput_w:
MicSource::setOutput() 0x0
[025:361] [2024-12-28 19:47:25 +0000.891689][7c56] close external audio stream

[025:361] [2024-12-28 19:47:25 +0000.891844][783c] releaseThread 0x6eb9bf7200


[025:361] [2024-12-28 19:47:25 +0000.891875][783c] ~MicSource: Mic source
destroyed:0x6efab9ff00
[025:362] [2024-12-28 19:47:25 +0000.892699][783c] StopPullFrameAndWriteMp4 leave.
expire time = 344 ms

[025:362] [2024-12-28 19:47:25 +0000.892780][783c] DestroyPipelineAndFilters


time:28873165 enter.

[025:362] [2024-12-28 19:47:25 +0000.892833][783c] UnbindInputFilter 0x6eb9bf7940


this 0x6f3963e7c0
[025:362] [2024-12-28 19:47:25 +0000.892877][783c] UnbindInputFilter 0x6eb9bf7ad8
this 0x6eb9bf7c50
[025:362] [2024-12-28 19:47:25 +0000.892938][783c] UnbindInputFilter 0x6f3963e7c0
this 0x6efa9f97a0
[025:362] [2024-12-28 19:47:25 +0000.892962][783c] filter: filter pipeline destroy
this: 0x6efa9f9700
[025:363] [2024-12-28 19:47:25 +0000.893335][783c] ClearVideoOfSources: recodring
total frames:0
[025:363] [2024-12-28 19:47:25 +0000.893405][783c] ClearVideoOfSources:
[025:363] [2024-12-28 19:47:25 +0000.893422][783c] GPUImageProcessing destruct.
[025:363] [2024-12-28 19:47:25 +0000.893469][783c] destroy TrivalImageDrawer
0x6eb9b9b840
[025:363] [2024-12-28 19:47:25 +0000.893496][783c] The shader has been initialize,
clean up them.

[025:363] [2024-12-28 19:47:25 +0000.893594][783c] ~OpenGLFrameBuffer:


[025:363] [2024-12-28 19:47:25 +0000.893668][783c] ~OpenGLFrameBuffer:
[025:363] [2024-12-28 19:47:25 +0000.893713][783c] ~OpenGLFrameBuffer:
[025:363] [2024-12-28 19:47:25 +0000.893759][783c] ~OpenGLFrameBuffer:
[025:363] [2024-12-28 19:47:25 +0000.893799][783c] ~OpenGLFrameBuffer:
[025:363] [2024-12-28 19:47:25 +0000.893833][783c] ~OpenGLFrameBuffer:
[025:363] [2024-12-28 19:47:25 +0000.894265][783c] GPUImageProcessing destruct
finish.
[025:364] [2024-12-28 19:47:25 +0000.894355][783c] GPURGBAFrame destruct.
[025:364] [2024-12-28 19:47:25 +0000.894432][783c] destroy OpenGLRenderProgram
0x6f3963e598
[025:364] [2024-12-28 19:47:25 +0000.894469][783c] ~CameraSource time:28873167
enter.

[025:364] [2024-12-28 19:47:25 +0000.894493][783c] ~CameraSource leave. expire


time = 0 ms

[025:364] [2024-12-28 19:47:25 +0000.894522][783c] ~RecordAudioSource time:28873167


enter.
[025:364] [2024-12-28 19:47:25 +0000.894545][783c] ~RecordAudioSource leave.
expire time = 0 ms

[025:364] [2024-12-28 19:47:25 +0000.894570][783c] DestroyPipelineAndFilters


leave. expire time = 2 ms

[025:421] [2024-12-28 19:47:25 +0000.952048][4a1f]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[025:422] [2024-12-28 19:47:25 +0000.952915][4a1f] machine model :poco
[025:422] [2024-12-28 19:47:25 +0000.952958][4a1f] Support this machine model :poco
[025:423] [2024-12-28 19:47:25 +0000.953752][4a1f] global inited! current sdk
version: 07-20-936c45f
[025:423] [2024-12-28 19:47:25 +0000.953999][4a1f] filter: filter pipeline
construtc this: 0x6efab2b080
[025:423] [2024-12-28 19:47:25 +0000.954033][4a1f] MediaFilterGraph:
MediaFilterGraph construct
[025:423] [2024-12-28 19:47:25 +0000.954048][4a1f] GLESContext:
[025:424] [2024-12-28 19:47:25 +0000.954122][4a1f] The result of eglGetDisplay is:
0xb400006fa9ee3e00
[025:428] [2024-12-28 19:47:25 +0000.958957][4a1f] The result of creation:
0x6f39842080
[025:429] [2024-12-28 19:47:25 +0000.959204][4a1f] The result of
eglCreatePbufferSurface is: 0x6f39842280
[025:430] [2024-12-28 19:47:25 +0000.960906][4a1f] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4
[025:431] [2024-12-28 19:47:25 +0000.961796][4a1f] The source 0 speed:1
[025:431] [2024-12-28 19:47:25 +0000.961845][4a1f] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4,
delay: 0
[025:431] [2024-12-28 19:47:25 +0000.961862][4a1f] CreateDecoderByVideoSource
time:28873234 enter.

[025:432] [2024-12-28 19:47:25 +0000.963054][4a1f] running_decoder_count:0max


count:2
[025:433] [2024-12-28 19:47:25 +0000.963123][4a1f] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6fa9f4ac00
[025:454] [2024-12-28 19:47:25 +0000.984262][7d89] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6faa0bd400] Current FFmpeg version git-2021-06-16-
97cea6f

[025:492] [2024-12-28 19:47:26 +0000.22471][7d89] OnStreamInfoFound: video


duration_: 5612
[025:494] [2024-12-28 19:47:26 +0000.24855][4a1f] start decoder
[025:494] [2024-12-28 19:47:26 +0000.24896][4a1f] CreateDecoderByVideoSource
leave. expire time = 63 ms

[025:494] [2024-12-28 19:47:26 +0000.24918][4a1f] BindInputFilter 0x6efa916920


this 0x6efa9f8f58
[025:494] [2024-12-28 19:47:26 +0000.24932][4a1f] BindInputFilter 0x6efa9f8f58
this 0x6efa9f9318
[025:494] [2024-12-28 19:47:26 +0000.24944][4a1f] BindInputFilter 0x6efa916920
this 0x6efa9f93d8
[025:494] [2024-12-28 19:47:26 +0000.24955][4a1f] BindInputFilter 0x6efa9f93d8
this 0x6efa9f9618
[025:494] [2024-12-28 19:47:26 +0000.24962][4a1f] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4
[025:494] [2024-12-28 19:47:26 +0000.25005][4a1f] BindInputFilter 0x6efa9f9318
this 0x6efa9f96d8
[025:494] [2024-12-28 19:47:26 +0000.25020][4a1f] BindInputFilter 0x6efa9f96d8
this 0x6efab2b120
[025:494] [2024-12-28 19:47:26 +0000.25032][4a1f] BindInputFilter 0x6efa9f9618
this 0x6efa9f9b58
[025:494] [2024-12-28 19:47:26 +0000.25063][4a1f] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4
[025:496] [2024-12-28 19:47:26 +0000.26297][7d8a] NO get frame from decoder
[025:496] [2024-12-28 19:47:26 +0000.26576][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[025:497] [2024-12-28 19:47:26 +0000.27175][4a1f] machine model :poco
[025:497] [2024-12-28 19:47:26 +0000.27203][4a1f] Support this machine model :poco
[025:497] [2024-12-28 19:47:26 +0000.27213][4a1f] global inited! current sdk
version: 07-20-936c45f
[025:497] [2024-12-28 19:47:26 +0000.27298][4a1f] GetPipeline:
-----------------------------------------
[025:497] [2024-12-28 19:47:26 +0000.27316][4a1f] GetPipeline: source: 0x6efa916700
[025:497] [2024-12-28 19:47:26 +0000.27326][4a1f] GetPipeline: filter: NULLFilter
[025:497] [2024-12-28 19:47:26 +0000.27336][4a1f] GetPipeline: filter: NULLFilter
[025:497] [2024-12-28 19:47:26 +0000.27345][4a1f] GetPipeline: filter: NULLFilter
[025:497] [2024-12-28 19:47:26 +0000.27353][4a1f] GetPipeline: audio filter:
AuidoNULLFilter
[025:497] [2024-12-28 19:47:26 +0000.27362][4a1f] GetPipeline: audio filter:
AuidoNULLFilter
[025:497] [2024-12-28 19:47:26 +0000.27370][4a1f] GetPipeline: audio filter:
AudioNUllFilter
[025:497] [2024-12-28 19:47:26 +0000.27379][4a1f] GetPipeline:
------------------------------------------
[025:497] [2024-12-28 19:47:26 +0000.27390][4a1f] filter: filter pipeline2 update
pattern: 0
[025:498] [2024-12-28 19:47:26 +0000.28240][7d8a] NO get frame from decoder
[025:499] [2024-12-28 19:47:26 +0000.29412][4a1f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[025:499] [2024-12-28 19:47:26 +0000.29863][4a1f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[025:499] [2024-12-28 19:47:26 +0000.29984][4a1f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[025:500] [2024-12-28 19:47:26 +0000.30359][4a1f] DeviceInit:
[025:500] [2024-12-28 19:47:26 +0000.30601][7d8a] NO get frame from decoder
[025:501] [2024-12-28 19:47:26 +0000.31430][4a1f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[025:503] [2024-12-28 19:47:26 +0000.33919][7d8a] NO get frame from decoder
[025:504] [2024-12-28 19:47:26 +0000.34664][4a1f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[025:505] [2024-12-28 19:47:26 +0000.35338][4a1f] CreatePlatformSpecificObjects:
[025:505] [2024-12-28 19:47:26 +0000.35389][4a1f] audio device use null audio
input and opensl output
[025:505] [2024-12-28 19:47:26 +0000.35433][4a1f] Create OpenSLES output module
with java VM support.

[025:505] [2024-12-28 19:47:26 +0000.35606][4a1f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[025:505] [2024-12-28 19:47:26 +0000.35899][4a1f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[025:506] [2024-12-28 19:47:26 +0000.36137][4a1f] Create OpenSLES output module
with buffer num:2
[025:506] [2024-12-28 19:47:26 +0000.36178][4a1f] Error(trace.cc:40): Init the
output and input for audio device template.
[025:506] [2024-12-28 19:47:26 +0000.36193][4a1f] Init the output device.

[025:506] [2024-12-28 19:47:26 +0000.36206][4a1f] Set the playout as stereo:1


[025:506] [2024-12-28 19:47:26 +0000.36222][4a1f] Set the sample rate to be:44100

[025:507] [2024-12-28 19:47:26 +0000.38071][7d8a] NO get frame from decoder


[025:508] [2024-12-28 19:47:26 +0000.39030][4a1f] Low latency buffer size:256 low
sample rate:48000
[025:509] [2024-12-28 19:47:26 +0000.39200][4a1f] DeviceInit: Done
[025:509] [2024-12-28 19:47:26 +0000.39430][4a1f] UpdateRate: lipsync_debug: Update
framerate from 0 to 15
[025:510] [2024-12-28 19:47:26 +0000.40892][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[025:510] [2024-12-28 19:47:26 +0000.40996][4a1f]
MediaFilterPlayer::SetPlayerNotify 0x6efaa3e3c0
[025:512] [2024-12-28 19:47:26 +0000.42154][4a1f]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[025:512] [2024-12-28 19:47:26 +0000.42193][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[025:512] [2024-12-28 19:47:26 +0000.43138][7d8a] NO get frame from decoder
[025:513] [2024-12-28 19:47:26 +0000.43357][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[025:513] [2024-12-28 19:47:26 +0000.44003][7d94] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f396d5b18
[025:514] [2024-12-28 19:47:26 +0000.44839][4a1f] SetGraphLoop: SetGraphLoop 1
[025:514] [2024-12-28 19:47:26 +0000.44879][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[025:515] [2024-12-28 19:47:26 +0000.45525][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[025:516] [2024-12-28 19:47:26 +0000.46699][7d8a] NO get frame from decoder
[025:518] [2024-12-28 19:47:26 +0000.48918][7d8a] NO get frame from decoder
[025:519] [2024-12-28 19:47:26 +0000.49732][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[025:523] [2024-12-28 19:47:26 +0000.53291][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[025:528] [2024-12-28 19:47:26 +0000.58174][7da4] Start:
[025:528] [2024-12-28 19:47:26 +0000.58302][7da2] operator(): video render started.
[025:528] [2024-12-28 19:47:26 +0000.58326][7da2] DriveRender working... (1/200)
[025:528] [2024-12-28 19:47:26 +0000.58334][7da2] Warning(video_render.cc:390): No
picture to display (1/50)
[025:528] [2024-12-28 19:47:26 +0000.58367][7da4] Start:
[025:528] [2024-12-28 19:47:26 +0000.58509][7da4] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[025:528] [2024-12-28 19:47:26 +0000.58530][7da4] Reset: history total size: 98
[025:528] [2024-12-28 19:47:26 +0000.58541][7da4] DeviceStart:
audioDevice_:0x6eb9c32000
[025:528] [2024-12-28 19:47:26 +0000.58549][7da4] DeviceStart: time profile playout
init before
[025:528] [2024-12-28 19:47:26 +0000.58561][7da4] DeviceStart: time profile playout
init end
[025:528] [2024-12-28 19:47:26 +0000.58567][7da4] OpenSlesOutput:Start playout
[025:532] [2024-12-28 19:47:26 +0000.62464][7da4] Create the opensl output player.
streamtype before:0

[025:532] [2024-12-28 19:47:26 +0000.62524][7da4] Create the opensl output player.


streamtype after:3

[025:573] [2024-12-28 19:47:26 +0000.104072][7da4] Enqueue opensl buffer size:1764


[025:594] [2024-12-28 19:47:26 +0000.124274][7da4] DeviceStart: time profile
playout all end
[025:594] [2024-12-28 19:47:26 +0000.124322][7da4] operator(): Audio playback
started.
[025:594] [2024-12-28 19:47:26 +0000.124308][7dab]
PlayerSimpleBufferQueueCallbackHandler function
[025:594] [2024-12-28 19:47:26 +0000.124382][7da4] operator(): Started now!
[025:594] [2024-12-28 19:47:26 +0000.124452][7da5] Pull audio failed.(wait video!)
[025:594] [2024-12-28 19:47:26 +0000.124447][7dab] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[025:594] [2024-12-28 19:47:26 +0000.124466][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[025:594] [2024-12-28 19:47:26 +0000.124488][7dab]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[025:595] [2024-12-28 19:47:26 +0000.125112][7da5] Pull audio failed.(wait video!)
[025:595] [2024-12-28 19:47:26 +0000.125132][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[025:595] [2024-12-28 19:47:26 +0000.125740][7da5] Pull audio failed.(wait video!)
[025:595] [2024-12-28 19:47:26 +0000.125802][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[025:595] [2024-12-28 19:47:26 +0000.125853][7da6] Error(video_source.cc:430): wait
decoder a frame: 0
[025:596] [2024-12-28 19:47:26 +0000.126648][7da5] Pull audio failed.(wait video!)
[025:596] [2024-12-28 19:47:26 +0000.126712][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[025:597] [2024-12-28 19:47:26 +0000.127657][7da5] Pull audio failed.(wait video!)
[025:597] [2024-12-28 19:47:26 +0000.127690][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[025:598] [2024-12-28 19:47:26 +0000.128656][7da5] Pull audio failed.(wait video!)
[025:598] [2024-12-28 19:47:26 +0000.128712][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[025:599] [2024-12-28 19:47:26 +0000.129772][7da6] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[025:600] [2024-12-28 19:47:26 +0000.130512][7da5] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[025:600] [2024-12-28 19:47:26 +0000.130599][7da5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[025:600] [2024-12-28 19:47:26 +0000.130864][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[025:603] [2024-12-28 19:47:26 +0000.134097][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[025:604] [2024-12-28 19:47:26 +0000.134220][7da4] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[025:604] [2024-12-28 19:47:26 +0000.134426][7da4] The audio playback speed:100
(1/100)
[025:604] [2024-12-28 19:47:26 +0000.134456][7da4] lipsync_debug: The current
played audio timestamp is:0(1/50)
[025:604] [2024-12-28 19:47:26 +0000.134471][7da4] First audio frame rendering
[025:608] [2024-12-28 19:47:26 +0000.138389][7da6] OnVideoFrameReady(1/200)
[025:610] [2024-12-28 19:47:26 +0000.140658][7da2] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[025:611] [2024-12-28 19:47:26 +0000.141152][7da2] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:28873414
[025:665] [2024-12-28 19:47:26 +0000.195311][7da6] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2996 diff: 5
[025:675] [2024-12-28 19:47:26 +0000.205789][7da2] lipsync_debug: render a video
frame
[025:675] [2024-12-28 19:47:26 +0000.205860][7da2] lipsync_debug: First video frame
rendering.
[025:685] [2024-12-28 19:47:26 +0000.215956][7da2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:28 timeDelta:74 last
video ts:900 frame->pts:3420 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[025:685] [2024-12-28 19:47:26 +0000.216004][7da2] lipsync_debug: tsDelta -
timeDelta = -46
[025:685] [2024-12-28 19:47:26 +0000.216013][7da2] lipsync_debug:result remaining
time:0
[025:685] [2024-12-28 19:47:26 +0000.216019][7da2] dynamic updated lipsync delay:0
[025:708] [2024-12-28 19:47:26 +0000.238149][7da6] video frame wait audio frame:
last_video_timestamp:300 last_audio_timestamp:184.943
[025:708] [2024-12-28 19:47:26 +0000.238341][7da6]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[025:717] [2024-12-28 19:47:26 +0000.247693][7da2] lipsync_debug:remaining time:10
tsDelta - timeDelta:17
[025:717] [2024-12-28 19:47:26 +0000.247746][7da2] lipsync_debug:result remaining
time:10
[025:771] [2024-12-28 19:47:26 +0000.302067][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[026:270] [2024-12-28 19:47:26 +0000.800393][7da2] lipsync_debug:displaying video
ts:60210 The current displayed video timestamp is:28874073
[026:325] [2024-12-28 19:47:26 +0000.855617][7840] Run AGC when audioType = 0
[026:594] [2024-12-28 19:47:27 +0000.124481][7da4] do work DoLipsync!
[026:594] [2024-12-28 19:47:27 +0000.124568][7da4] total delay:203 videoTsMS:968
audioTsMS:765 diff:203
[026:594] [2024-12-28 19:47:27 +0000.124599][7da4] Set the lipsync delay:203
[026:664] [2024-12-28 19:47:27 +0000.194751][7dab]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[026:751] [2024-12-28 19:47:27 +0000.281553][7da6] Error(video_source.cc:430): wait
decoder a frame: 0
[027:118] [2024-12-28 19:47:27 +0000.648800][7da2] lipsync_debug:displaying video
ts:120150 The current displayed video timestamp is:28874921
[027:345] [2024-12-28 19:47:27 +0000.875989][7da2] DriveRender working... (1/200)
[027:423] [2024-12-28 19:47:27 +0000.953927][7da2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:32 timeDelta:16 last
video ts:144270 frame->pts:147150 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[027:423] [2024-12-28 19:47:27 +0000.953974][7da2] lipsync_debug: tsDelta -
timeDelta = 16
[027:497] [2024-12-28 19:47:28 +0000.27967][7840] haveEnoughProcessedData
internalAudioStream.length: 0
[027:664] [2024-12-28 19:47:28 +0000.195006][7dab]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[027:808] [2024-12-28 19:47:28 +0000.338324][7da2] lipsync_debug:displaying video
ts:180630 The current displayed video timestamp is:28875611
[027:821] [2024-12-28 19:47:28 +0000.351203][7da5] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[027:821] [2024-12-28 19:47:28 +0000.351262][7da5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[027:910] [2024-12-28 19:47:28 +0000.441058][7da4] The audio playback speed:100
(1/100)
[027:911] [2024-12-28 19:47:28 +0000.441148][7da4] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[027:924] [2024-12-28 19:47:28 +0000.454301][7da2] lipsync_debug:remaining time:10
tsDelta - timeDelta:22
[027:924] [2024-12-28 19:47:28 +0000.454366][7da2] lipsync_debug:result remaining
time:10
[028:120] [2024-12-28 19:47:28 +0000.650956][7da6] Error(video_source.cc:430): wait
decoder a frame: 0
[028:324] [2024-12-28 19:47:28 +0000.854419][7840] Run AGC when audioType = 0
[028:324] [2024-12-28 19:47:28 +0000.854519][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:473] [2024-12-28 19:47:29 +0000.4035][7da2] lipsync_debug:displaying video
ts:240480 The current displayed video timestamp is:28876276
[028:666] [2024-12-28 19:47:29 +0000.196997][7dab]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[028:723] [2024-12-28 19:47:29 +0000.254011][7da6] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 300600pts ms:3.34e+06
[028:727] [2024-12-28 19:47:29 +0000.257790][7da6] OnVideoFrameReady(1/200)
[028:727] [2024-12-28 19:47:29 +0000.258061][7da2] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[028:938] [2024-12-28 19:47:29 +0000.468323][7da2] DriveRender working... (1/200)
[029:005] [2024-12-28 19:47:29 +0000.535613][7da2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:34 timeDelta:34 last
video ts:285570 frame->pts:288630 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[029:005] [2024-12-28 19:47:29 +0000.535741][7da2] lipsync_debug: tsDelta -
timeDelta = 0
[029:138] [2024-12-28 19:47:29 +0000.668667][7da2] lipsync_debug:displaying video
ts:300600 The current displayed video timestamp is:28876941
[029:142] [2024-12-28 19:47:29 +0000.672950][7da2] lipsync_debug: render a video
frame
[029:172] [2024-12-28 19:47:29 +0000.702756][7da2] lipsync_debug:result remaining
time:0
[029:172] [2024-12-28 19:47:29 +0000.702839][7da2] dynamic updated lipsync delay:0
[029:214] [2024-12-28 19:47:29 +0000.744588][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[029:434] [2024-12-28 19:47:29 +0000.964660][7d8a] av_read_frame AVERROR_EOF
[029:489] [2024-12-28 19:47:30 +0000.19813][7da6] Error(video_source.cc:430): wait
decoder a frame: 0
[029:670] [2024-12-28 19:47:30 +0000.200506][7dab]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[029:685] [2024-12-28 19:47:30 +0000.215314][7d8a] OnReceiveEOF:
[029:685] [2024-12-28 19:47:30 +0000.215441][7d8a] OnDecoderEOF time:28877488
enter.

[029:685] [2024-12-28 19:47:30 +0000.215513][7d8a] OnDecoderEOF leave. expire time


= 0 ms

[029:685] [2024-12-28 19:47:30 +0000.215545][7d8a] OnDecoderFinished:


OnDecoderFinished total decoder frames:168 this:0x6efa916700
[029:685] [2024-12-28 19:47:30 +0000.215769][7d88] CleanUp time:28877488 enter.

[029:706] [2024-12-28 19:47:30 +0000.236930][7d88] CleanUp leave. expire time = 21


ms

[029:706] [2024-12-28 19:47:30 +0000.237017][7d88] clean up


[029:706] [2024-12-28 19:47:30 +0000.237042][7d88] running_decoder_count:0max
count:2
[029:738] [2024-12-28 19:47:30 +0000.268405][7da6] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3996 diff: 5
[029:808] [2024-12-28 19:47:30 +0000.338427][7da2] lipsync_debug:displaying video
ts:360900 The current displayed video timestamp is:28877611
[030:056] [2024-12-28 19:47:30 +0000.586303][7da2] lipsync_debug:remaining time:10
tsDelta - timeDelta:18
[030:056] [2024-12-28 19:47:30 +0000.586385][7da2] lipsync_debug:result remaining
time:10
[030:139] [2024-12-28 19:47:30 +0000.669678][7da5] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 204692
[030:139] [2024-12-28 19:47:30 +0000.669719][7da5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[030:168] [2024-12-28 19:47:30 +0000.698450][7da4] The audio playback speed:100
(1/100)
[030:168] [2024-12-28 19:47:30 +0000.698493][7da4] lipsync_debug: The current
played audio timestamp is:204692(1/50)
[030:320] [2024-12-28 19:47:30 +0000.850766][7841] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:320] [2024-12-28 19:47:30 +0000.850842][7841] _deviceSampleRate:48000

[030:322] [2024-12-28 19:47:30 +0000.852238][7840] Run AGC when audioType = 0


[030:479] [2024-12-28 19:47:31 +0000.9139][7da2] lipsync_debug:displaying video
ts:421290 The current displayed video timestamp is:28878282
[030:561] [2024-12-28 19:47:31 +0000.91666][7da2] DriveRender working... (1/200)
[030:637] [2024-12-28 19:47:31 +0000.167441][7da2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:29 timeDelta:13 last
video ts:433530 frame->pts:436140 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[030:637] [2024-12-28 19:47:31 +0000.167499][7da2] lipsync_debug: tsDelta -
timeDelta = 16
[030:672] [2024-12-28 19:47:31 +0000.202661][7dab]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[030:870] [2024-12-28 19:47:31 +0000.400208][7da6] Error(video_source.cc:430): wait
decoder a frame: 0
[030:922] [2024-12-28 19:47:31 +0000.452523][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[031:101] [2024-12-28 19:47:31 +0000.631225][7da5] PullAudioFrame: PullFrame audio
finished.
[031:101] [2024-12-28 19:47:31 +0000.631309][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:131] [2024-12-28 19:47:31 +0000.661486][7da5] Pull finished audio filter.
[031:131] [2024-12-28 19:47:31 +0000.661564][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:155] [2024-12-28 19:47:31 +0000.685464][7da2] lipsync_debug:displaying video
ts:481320 The current displayed video timestamp is:28878958
[031:161] [2024-12-28 19:47:31 +0000.691789][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:192] [2024-12-28 19:47:31 +0000.722113][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:222] [2024-12-28 19:47:31 +0000.752359][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:252] [2024-12-28 19:47:31 +0000.782609][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:282] [2024-12-28 19:47:31 +0000.812857][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:313] [2024-12-28 19:47:31 +0000.843140][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:343] [2024-12-28 19:47:31 +0000.873373][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:373] [2024-12-28 19:47:31 +0000.903638][7da5] media player notify EOF, audio
PullFrameStatus is EOF
[031:387] [2024-12-28 19:47:31 +0000.917422][7da6] OnVideoTimer: media player
notify EOF, PullFrameStatus is EOF and render size is 0
[031:387] [2024-12-28 19:47:31 +0000.917849][7da6] Stop:
[031:390] [2024-12-28 19:47:31 +0000.920364][7da2] operator(): Video Render
stopped.
[031:390] [2024-12-28 19:47:31 +0000.920880][7da6] Stop:
[031:391] [2024-12-28 19:47:31 +0000.921239][7da4] DeviceStop:
audioDevice_:0x6eb9c32000
[031:391] [2024-12-28 19:47:31 +0000.921298][7da4] OpenSlesOutput:Stop playout

[031:393] [2024-12-28 19:47:31 +0000.923624][7da4] DeviceStop: Done


[031:393] [2024-12-28 19:47:31 +0000.923829][7da4] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[031:394] [2024-12-28 19:47:31 +0000.924269][7da6] to reset filter graph
[031:394] [2024-12-28 19:47:31 +0000.924307][7da6] RemoveVideoBackGroud: hava not
add video backgroud
[031:394] [2024-12-28 19:47:31 +0000.924339][7da6] UnbindInputFilter 0x6efa9f96d8
this 0x6efab2b120
[031:394] [2024-12-28 19:47:31 +0000.924364][7da6] ClearAllSource: remove source
filter, sourceid: 0x6efa916700
[031:394] [2024-12-28 19:47:31 +0000.924379][7da6] DestoryDecoderByVideoSource
time:28879197 enter.

[031:394] [2024-12-28 19:47:31 +0000.924395][7da6] ~VideoBindDecoder time:28879197


enter.

[031:394] [2024-12-28 19:47:31 +0000.924571][7da6] CleanUp time:28879197 enter.

[031:394] [2024-12-28 19:47:31 +0000.925065][7da6] CleanUp leave. expire time = 1


ms

[031:395] [2024-12-28 19:47:31 +0000.925096][7da6] CleanUp time:28879198 enter.

[031:396] [2024-12-28 19:47:31 +0000.926159][7da6] CleanUp leave. expire time = 1


ms

[031:397] [2024-12-28 19:47:31 +0000.927825][7da6] ~VideoBindDecoder leave. expire


time = 3 ms

[031:397] [2024-12-28 19:47:31 +0000.927914][7da6] DestoryDecoderByVideoSource


leave. expire time = 3 ms

[031:397] [2024-12-28 19:47:31 +0000.927963][7da6] UnbindInputFilter 0x6efa9f9318


this 0x6efa9f96d8
[031:397] [2024-12-28 19:47:31 +0000.928004][7da6] UnbindInputFilter 0x6efa9f8f58
this 0x6efa9f9318
[031:397] [2024-12-28 19:47:31 +0000.928042][7da6] UnbindInputFilter 0x6efa916920
this 0x6efa9f8f58
[031:398] [2024-12-28 19:47:31 +0000.928081][7da6] UnbindInputFilter 0x6efa9f9618
this 0x6efa9f9b58
[031:398] [2024-12-28 19:47:31 +0000.928122][7da6] UnbindInputFilter 0x6efa9f93d8
this 0x6efa9f9618
[031:398] [2024-12-28 19:47:31 +0000.928159][7da6] UnbindInputFilter 0x6efa916920
this 0x6efa9f93d8
[031:398] [2024-12-28 19:47:31 +0000.928208][7da6] to reset filter graph clear end
[031:398] [2024-12-28 19:47:31 +0000.928238][7da6] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4,
delay: 0
[031:398] [2024-12-28 19:47:31 +0000.928266][7da6] CreateDecoderByVideoSource
time:28879201 enter.

[031:398] [2024-12-28 19:47:31 +0000.929037][7da6] running_decoder_count:0max


count:2
[031:399] [2024-12-28 19:47:31 +0000.929101][7da6] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6fa9f4ac00
[031:401] [2024-12-28 19:47:31 +0000.931550][7e68] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f3991b000] Current FFmpeg version git-2021-06-16-
97cea6f

[031:423] [2024-12-28 19:47:31 +0000.953840][7e68] OnStreamInfoFound: video


duration_: 5612
[031:426] [2024-12-28 19:47:31 +0000.956209][7da6] start decoder
[031:426] [2024-12-28 19:47:31 +0000.956285][7da6] CreateDecoderByVideoSource
leave. expire time = 28 ms

[031:426] [2024-12-28 19:47:31 +0000.956344][7da6] BindInputFilter 0x6efa916920


this 0x6efa9f93d8
[031:426] [2024-12-28 19:47:31 +0000.956392][7da6] BindInputFilter 0x6efa9f93d8
this 0x6efa9f9618
[031:426] [2024-12-28 19:47:31 +0000.956439][7da6] BindInputFilter 0x6efa916920
this 0x6efa9f9b58
[031:426] [2024-12-28 19:47:31 +0000.956484][7da6] BindInputFilter 0x6efa9f9b58
this 0x6efa9f8f58
[031:426] [2024-12-28 19:47:31 +0000.956510][7da6] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4
[031:426] [2024-12-28 19:47:31 +0000.956552][7da6] BindInputFilter 0x6efa9f9618
this 0x6efa9f9318
[031:426] [2024-12-28 19:47:31 +0000.956594][7da6] BindInputFilter 0x6efa9f9318
this 0x6efab2b120
[031:426] [2024-12-28 19:47:31 +0000.956636][7da6] BindInputFilter 0x6efa9f8f58
this 0x6efa9f96d8
[031:426] [2024-12-28 19:47:31 +0000.956763][7da6] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_28866924.mp4
[031:426] [2024-12-28 19:47:31 +0000.956802][7da6] to reset filter graph end
[031:426] [2024-12-28 19:47:31 +0000.956826][7da6] Start:
[031:426] [2024-12-28 19:47:31 +0000.956981][7da2] operator(): video render
started.
[031:427] [2024-12-28 19:47:31 +0000.957093][7da6] Start:
[031:427] [2024-12-28 19:47:31 +0000.957334][7da4] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[031:427] [2024-12-28 19:47:31 +0000.957372][7da4] Reset: history total size: 98
[031:427] [2024-12-28 19:47:31 +0000.957396][7da4] DeviceStart:
audioDevice_:0x6eb9c32000
[031:427] [2024-12-28 19:47:31 +0000.957412][7da4] DeviceStart: time profile
playout init before
[031:427] [2024-12-28 19:47:31 +0000.957430][7da4] DeviceStart: time profile
playout init end
[031:427] [2024-12-28 19:47:31 +0000.957443][7da4] OpenSlesOutput:Start playout

[031:428] [2024-12-28 19:47:31 +0000.958232][7da4] Create the opensl output player.


streamtype before:0
[031:428] [2024-12-28 19:47:31 +0000.958327][7da4] Create the opensl output player.
streamtype after:3

[031:429] [2024-12-28 19:47:31 +0000.959785][7e69] NO get frame from decoder


[031:433] [2024-12-28 19:47:31 +0000.963586][7e69] NO get frame from decoder
[031:434] [2024-12-28 19:47:31 +0000.964554][7e69] NO get frame from decoder
[031:435] [2024-12-28 19:47:31 +0000.965776][7e69] NO get frame from decoder
[031:436] [2024-12-28 19:47:31 +0000.966828][7e69] NO get frame from decoder
[031:438] [2024-12-28 19:47:31 +0000.968398][7e69] NO get frame from decoder
[031:439] [2024-12-28 19:47:31 +0000.969137][7e69] NO get frame from decoder
[031:439] [2024-12-28 19:47:31 +0000.969736][7e69] NO get frame from decoder
[031:451] [2024-12-28 19:47:31 +0000.981261][7da4] Enqueue opensl buffer size:1764
[031:469] [2024-12-28 19:47:31 +0000.999537][7da4] DeviceStart: time profile
playout all end
[031:469] [2024-12-28 19:47:31 +0000.999586][7da4] operator(): Audio playback
started.
[031:471] [2024-12-28 19:47:32 +0000.2035][7da5] Pull audio failed.(wait video!)
[031:472] [2024-12-28 19:47:32 +0000.2656][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:472] [2024-12-28 19:47:32 +0000.2914][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:473] [2024-12-28 19:47:32 +0000.3383][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:473] [2024-12-28 19:47:32 +0000.3635][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:473] [2024-12-28 19:47:32 +0000.4028][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:474] [2024-12-28 19:47:32 +0000.4266][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:474] [2024-12-28 19:47:32 +0000.4641][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:474] [2024-12-28 19:47:32 +0000.4891][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:475] [2024-12-28 19:47:32 +0000.5273][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:475] [2024-12-28 19:47:32 +0000.5516][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:476] [2024-12-28 19:47:32 +0000.6690][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:476] [2024-12-28 19:47:32 +0000.6950][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:477] [2024-12-28 19:47:32 +0000.7377][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:477] [2024-12-28 19:47:32 +0000.7806][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:478] [2024-12-28 19:47:32 +0000.8781][7da5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:479] [2024-12-28 19:47:32 +0000.9363][7da5] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:480] [2024-12-28 19:47:32 +0000.10259][7da4] First audio frame rendering
[031:480] [2024-12-28 19:47:32 +0000.10899][7da2] lipsync_debug: First video frame
rendering.
[031:739] [2024-12-28 19:47:32 +0000.269218][7e73]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[031:868] [2024-12-28 19:47:32 +0000.398178][7da2] lipsync_debug:displaying video
ts:36090 The current displayed video timestamp is:28879671
[032:172] [2024-12-28 19:47:32 +0000.702886][7da2] DriveRender working... (1/200)
[032:206] [2024-12-28 19:47:32 +0000.736099][7da2] lipsync_debug:remaining time:10
tsDelta - timeDelta:31
[032:206] [2024-12-28 19:47:32 +0000.736164][7da2] lipsync_debug:result remaining
time:10
[032:235] [2024-12-28 19:47:32 +0000.765563][7da6] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 96210pts ms:1.069e+06
[032:236] [2024-12-28 19:47:32 +0000.766809][7da6] OnVideoFrameReady(1/200)
[032:236] [2024-12-28 19:47:32 +0000.766895][7da2] operator() frame->pts-
9223372036854775808 queue_ size: 10 (1/200)
[032:295] [2024-12-28 19:47:32 +0000.825761][7da2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:34 timeDelta:25 last
video ts:72270 frame->pts:75330 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[032:295] [2024-12-28 19:47:32 +0000.825862][7da2] lipsync_debug: tsDelta -
timeDelta = 9
[032:324] [2024-12-28 19:47:32 +0000.854099][7840] Run AGC when audioType = 0
[032:324] [2024-12-28 19:47:32 +0000.854186][7840]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:393] [2024-12-28 19:47:32 +0000.923724][7da6] Error(video_source.cc:430): wait
decoder a frame: 0
[032:531] [2024-12-28 19:47:33 +0000.61224][7da6]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[032:543] [2024-12-28 19:47:33 +0000.73510][7da6] video frame wait audio frame:
last_video_timestamp:1369 last_audio_timestamp:1252.61
[032:587] [2024-12-28 19:47:33 +0000.117208][7da2] lipsync_debug:displaying video
ts:96210 The current displayed video timestamp is:28880390
[032:590] [2024-12-28 19:47:33 +0000.120349][7da2] lipsync_debug: render a video
frame
[032:617] [2024-12-28 19:47:33 +0000.147921][7da5] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 59340
[032:617] [2024-12-28 19:47:33 +0000.147985][7da5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[032:623] [2024-12-28 19:47:33 +0000.153232][4a1f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[032:626] [2024-12-28 19:47:33 +0000.156454][7da4] Stop:
[032:626] [2024-12-28 19:47:33 +0000.156674][7da2] operator(): Video Render
stopped.
[032:626] [2024-12-28 19:47:33 +0000.156938][7da4] Stop:
[032:626] [2024-12-28 19:47:33 +0000.156993][7da4] DeviceStop:
audioDevice_:0x6eb9c32000
[032:626] [2024-12-28 19:47:33 +0000.157017][7da4] OpenSlesOutput:Stop playout

[032:628] [2024-12-28 19:47:33 +0000.158717][7da4] DeviceStop: Done


[032:628] [2024-12-28 19:47:33 +0000.158857][7da4] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[032:628] [2024-12-28 19:47:33 +0000.158885][7da4] operator(): Stop now!
[032:630] [2024-12-28 19:47:33 +0000.160866][4a1f] Stop:
[032:631] [2024-12-28 19:47:33 +0000.161281][7da4] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[032:631] [2024-12-28 19:47:33 +0000.162001][4a1f] DeviceRelease:
audioDevice_:0x6eb9c32000
[032:631] [2024-12-28 19:47:33 +0000.162035][4a1f] OpenSlesOutput:Stop playout

[032:631] [2024-12-28 19:47:33 +0000.162052][4a1f] DeviceRelease: Release the


webrtc device object.
[032:632] [2024-12-28 19:47:33 +0000.162242][4a1f] OpenSlesOutput destruct.

[032:632] [2024-12-28 19:47:33 +0000.162291][4a1f] DeviceRelease: Done


[032:632] [2024-12-28 19:47:33 +0000.162368][4a1f] Stop:
[032:632] [2024-12-28 19:47:33 +0000.162447][7da2] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[032:637] [2024-12-28 19:47:33 +0000.167807][4a1f] global uninited!
[032:642] [2024-12-28 19:47:33 +0000.172343][4a1f]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[032:642] [2024-12-28 19:47:33 +0000.172481][4a1f] ~MediaFilterGraph:
MediaFilterGraph destruct
[032:642] [2024-12-28 19:47:33 +0000.172507][4a1f] RemoveVideoBackGroud: hava not
add video backgroud
[032:642] [2024-12-28 19:47:33 +0000.172548][4a1f] UnbindInputFilter 0x6efa9f9318
this 0x6efab2b120
[032:642] [2024-12-28 19:47:33 +0000.172585][4a1f] ClearAllSource: remove source
filter, sourceid: 0x6efa916700
[032:642] [2024-12-28 19:47:33 +0000.172606][4a1f] DestoryDecoderByVideoSource
time:28880445 enter.

[032:642] [2024-12-28 19:47:33 +0000.172630][4a1f] ~VideoBindDecoder time:28880445


enter.

[032:642] [2024-12-28 19:47:33 +0000.172889][4a1f] CleanUp time:28880445 enter.

[032:646] [2024-12-28 19:47:33 +0000.176442][4a1f] CleanUp leave. expire time = 4


ms

[032:646] [2024-12-28 19:47:33 +0000.176479][4a1f] CleanUp time:28880449 enter.

[032:646] [2024-12-28 19:47:33 +0000.176975][4a1f] CleanUp leave. expire time = 0


ms

[032:647] [2024-12-28 19:47:33 +0000.177709][7840] haveEnoughProcessedData


internalAudioStream.length: 0
[032:648] [2024-12-28 19:47:33 +0000.178292][4a1f] ~VideoBindDecoder leave. expire
time = 6 ms

[032:648] [2024-12-28 19:47:33 +0000.178323][4a1f] DestoryDecoderByVideoSource


leave. expire time = 6 ms

[032:648] [2024-12-28 19:47:33 +0000.178339][4a1f] UnbindInputFilter 0x6efa9f9618


this 0x6efa9f9318
[032:648] [2024-12-28 19:47:33 +0000.178354][4a1f] UnbindInputFilter 0x6efa9f93d8
this 0x6efa9f9618
[032:648] [2024-12-28 19:47:33 +0000.178367][4a1f] UnbindInputFilter 0x6efa916920
this 0x6efa9f93d8
[032:648] [2024-12-28 19:47:33 +0000.178380][4a1f] UnbindInputFilter 0x6efa9f8f58
this 0x6efa9f96d8
[032:648] [2024-12-28 19:47:33 +0000.178393][4a1f] UnbindInputFilter 0x6efa9f9b58
this 0x6efa9f8f58
[032:648] [2024-12-28 19:47:33 +0000.178406][4a1f] UnbindInputFilter 0x6efa916920
this 0x6efa9f9b58
[032:648] [2024-12-28 19:47:33 +0000.178583][4a1f] ~GLESContext:
[032:653] [2024-12-28 19:47:33 +0000.183858][4a1f] GLESContext destruct finish.
[032:653] [2024-12-28 19:47:33 +0000.183929][4a1f] filter: filter pipeline destroy
this: 0x6efab2b080
[034:322] [2024-12-28 19:47:34 +0000.853076][7840] Run AGC when audioType = 0
[034:354] [2024-12-28 19:47:34 +0000.884880][7840] haveEnoughProcessedData
internalAudioStream.length: 10
[035:443] [2024-12-28 19:47:35 +0000.973287][4a3a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[035:446] [2024-12-28 19:47:35 +0000.976523][4a3a] ~MediaFilterCamera time:28883249
enter.
[035:447] [2024-12-28 19:47:35 +0000.977227][4a3a] StopPullFrameAndWriteMp4
time:28883250 enter.

[035:447] [2024-12-28 19:47:35 +0000.977780][783b] stop recording


[035:447] [2024-12-28 19:47:35 +0000.977840][783b] we have stopped recording before
[035:447] [2024-12-28 19:47:35 +0000.977924][4a3a] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[035:451] [2024-12-28 19:47:35 +0000.981374][4a3a] DestroyPipelineAndFilters


time:28883254 enter.

[035:451] [2024-12-28 19:47:35 +0000.981421][4a3a] DestroyPipelineAndFilters


leave. expire time = 0 ms

[035:451] [2024-12-28 19:47:35 +0000.981429][4a3a] AppDeviceManagerStopMic

[035:451] [2024-12-28 19:47:35 +0000.981566][4a3a] AppDeviceManagerStopMic::mic


status is on
[035:451] [2024-12-28 19:47:35 +0000.981588][4a3a] Try to stop webrtc device.

[035:451] [2024-12-28 19:47:35 +0000.981597][4a3a] Set record state to


stopped.threadID:19002

[035:504] [2024-12-28 19:47:36 +0000.34917][4a3a] Try to destory the


recorder.threadID:19002

[035:705] [2024-12-28 19:47:36 +0000.235202][4a3a] DestroyAudioRecorder:


[035:705] [2024-12-28 19:47:36 +0000.235247][4a3a] Cleanup the buffer queue in the
recorder.
[035:705] [2024-12-28 19:47:36 +0000.235258][4a3a] Destroy the recorder.

[035:711] [2024-12-28 19:47:36 +0000.241618][4a3a] StopRecording finished.

[035:711] [2024-12-28 19:47:36 +0000.241668][4a3a] The stop recording success.

[035:711] [2024-12-28 19:47:36 +0000.241678][4a3a]


AudioDeviceDataHandler::StopMicProcess

[035:715] [2024-12-28 19:47:36 +0000.245708][4a3a] AppDeviceManager stop.

[035:715] [2024-12-28 19:47:36 +0000.245779][4a3a] Rlease the webrtc device object.

[035:717] [2024-12-28 19:47:36 +0000.247369][4a3a] OpenSlesInput destruct.

[035:717] [2024-12-28 19:47:36 +0000.247433][4a3a] OpenSlesOutput destruct.

[035:725] [2024-12-28 19:47:36 +0000.255515][4a3a] EventDispatchServerScope


destruct
[035:725] [2024-12-28 19:47:36 +0000.255619][4a3a]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[035:749] [2024-12-28 19:47:36 +0000.279392][4a3a] ~AudioDeviceDataHandler

[035:751] [2024-12-28 19:47:36 +0000.281998][4a3a] AppDeviceManagerDestruct.

[035:752] [2024-12-28 19:47:36 +0000.282089][4a3a] ~AppDeviceManager:


[035:752] [2024-12-28 19:47:36 +0000.282170][4a3a] ~CpuOverloadDetect time:28883555
enter.

[035:760] [2024-12-28 19:47:36 +0000.290807][4a3a] ~CpuOverloadDetect leave.


expire time = 8 ms

[035:812] [2024-12-28 19:47:36 +0000.342737][4a3a] Destruct BeautifyReader begin...


[035:812] [2024-12-28 19:47:36 +0000.342828][4a3a] Destruct BeautifyReader done.
[035:812] [2024-12-28 19:47:36 +0000.342854][4a3a] ~MediaFilterCamera leave.
expire time = 366 ms

[035:813] [2024-12-28 19:47:36 +0000.343296][4a3a] ~GLESContext:


[035:832] [2024-12-28 19:47:36 +0000.362260][4a3a] GLESContext destruct finish.
[035:832] [2024-12-28 19:47:36 +0000.362352][4a3a] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[035:835] [2024-12-28 19:47:36 +0000.365425][4a3a] global uninited!
[035:839] [2024-12-28 19:47:36 +0000.369164][4a3a] clear AppID 50011
[035:839] [2024-12-28 19:47:36 +0000.369208][4a3a] UnRegister JVM for Xplatform
util
[035:839] [2024-12-28 19:47:36 +0000.369223][4a3a] Dispose::unregister webrtc video
engine
[035:839] [2024-12-28 19:47:36 +0000.369232][4a3a] Init the android object with
jvm:0x0 env:0x0 context:0x0

[035:839] [2024-12-28 19:47:36 +0000.369243][4a3a] SetAndroidMediaCodecObjects


time:28883642 enter.

[035:839] [2024-12-28 19:47:36 +0000.369254][4a3a] ClearAndroidMediaCodecObjects


time:28883642 enter.

[035:839] [2024-12-28 19:47:36 +0000.369264][4a3a] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[035:839] [2024-12-28 19:47:36 +0000.369272][4a3a] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[035:839] [2024-12-28 19:47:36 +0000.369278][4a3a] SetAndroidMediaCodecObjects


time:28883642 enter.

[035:839] [2024-12-28 19:47:36 +0000.369285][4a3a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[035:839] [2024-12-28 19:47:36 +0000.369292][4a3a] ClearAndroidMediaCodecObjects
time:28883642 enter.

[035:839] [2024-12-28 19:47:36 +0000.369299][4a3a] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[035:839] [2024-12-28 19:47:36 +0000.369306][4a3a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[035:839] [2024-12-28 19:47:36 +0000.369324][4a3a] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[035:839] [2024-12-28 19:47:36 +0000.369332][4a3a] Dispose::unregister webrtc voice


engine
[035:839] [2024-12-28 19:47:36 +0000.369339][4a3a] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[035:839] [2024-12-28 19:47:36 +0000.369348][4a3a] SystemUtil UnInit done


[036:422] [2024-12-28 19:47:36 +0000.952674][4a3a] Register JVM for xplatform util
[036:439] [2024-12-28 19:47:36 +0000.969909][4a3a] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-12-
28 19:47:36 +0000
[036:439] [2024-12-28 19:47:36 +0000.969975][4a3a] set AppID=50011 old AppID=-1
[036:439] [2024-12-28 19:47:36 +0000.969995][4a3a] Init the android object with
jvm:0xb40000707a368380 env:0x6fb340db00 context:0x6f3bbf3e38

[036:439] [2024-12-28 19:47:36 +0000.970019][4a3a] SetAndroidMediaCodecObjects


time:28884242 enter.

[036:439] [2024-12-28 19:47:36 +0000.970045][4a3a] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[036:439] [2024-12-28 19:47:36 +0000.970068][4a3a] SetAndroidMediaCodecObjects


time:28884242 enter.

[036:440] [2024-12-28 19:47:36 +0000.970090][4a3a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000707a368380
[036:440] [2024-12-28 19:47:36 +0000.970108][4a3a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000707a368380 address:0x6eb2add760
[036:440] [2024-12-28 19:47:36 +0000.970126][4a3a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000707a368380
address:0x6eb2add760
[036:440] [2024-12-28 19:47:36 +0000.970144][4a3a] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[036:440] [2024-12-28 19:47:36 +0000.970162][4a3a] Set the android objects with


jvm:0xb40000707a368380 env:0x6fb340db00 context:0x6f3bbf3e38

[036:440] [2024-12-28 19:47:36 +0000.970185][4a3a] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6fb340db00
[036:442] [2024-12-28 19:47:36 +0000.972291][4a3a] SystemUtil Init done
[036:442] [2024-12-28 19:47:36 +0000.972542][4a3a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[036:443] [2024-12-28 19:47:36 +0000.973086][4a3a] MediaFilterCamera
[036:446] [2024-12-28 19:47:36 +0000.976217][4a3a] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[036:447] [2024-12-28 19:47:36 +0000.977230][4a3a] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[036:447] [2024-12-28 19:47:36 +0000.977310][4a3a] Recording session using default
bitrate support by app:14680064
[036:447] [2024-12-28 19:47:36 +0000.977514][7fdd] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6eecfdb0c0
[036:447] [2024-12-28 19:47:36 +0000.977594][7fdd] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[036:447] [2024-12-28 19:47:36 +0000.978058][4a3a] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[036:454] [2024-12-28 19:47:36 +0000.984763][4a3a] Error(ini.cc:191): Open the file
failed. error:2
[036:454] [2024-12-28 19:47:36 +0000.984840][4a3a]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[036:454] [2024-12-28 19:47:36 +0000.984864][4a3a] The device model: m2103k19pg
usingSoftwareAEC value: 0
[036:460] [2024-12-28 19:47:36 +0000.990665][4a3a] Error(ini.cc:191): Open the file
failed. error:2
[036:460] [2024-12-28 19:47:36 +0000.990709][4a3a]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[036:460] [2024-12-28 19:47:36 +0000.990723][4a3a] The device model: m2103k19pg
usingHardwareAEC value: 0
[036:460] [2024-12-28 19:47:36 +0000.990730][4a3a] The machine device: m2103k19pg
usingHardwareAEC value: 0
[036:460] [2024-12-28 19:47:36 +0000.990738][4a3a] Using Default AEC type: software
AEC
[036:463] [2024-12-28 19:47:36 +0000.993421][4a3a] The device model: m2103k19pg
enum value: 0
[036:468] [2024-12-28 19:47:36 +0000.998097][4a3a] GetMachineModel is M2103K19PG
[036:468] [2024-12-28 19:47:36 +0000.998134][4a3a] GetMachineInfo: M2103K19PG
[036:468] [2024-12-28 19:47:36 +0000.998142][4a3a] Construct BeautifyReader
begin...
[036:468] [2024-12-28 19:47:36 +0000.998151][4a3a] dumpStickerRgba:0
dumpStickerYuv:0
[036:468] [2024-12-28 19:47:36 +0000.998158][4a3a] Construct BeautifyReader done.
[036:473] [2024-12-28 19:47:37 +0000.3872][4a3a] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[036:473] [2024-12-28 19:47:37 +0000.3938][4a3a] AppDeviceManager telnet server for
statistics started......
[036:473] [2024-12-28 19:47:37 +0000.4029][7fe1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6efa9a3da0
[036:474] [2024-12-28 19:47:37 +0000.4622][4a3a] CpuOverloadDetect time:28884277
enter.

[036:474] [2024-12-28 19:47:37 +0000.4759][4a3a] CpuOverloadDetect leave. expire


time = 0 ms

[036:475] [2024-12-28 19:47:37 +0000.5428][4a3a] AppDeviceMana GetOpenslVoiceMode


before get setting: 1
[036:475] [2024-12-28 19:47:37 +0000.5457][4a3a] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[036:475] [2024-12-28 19:47:37 +0000.5603][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[036:475] [2024-12-28 19:47:37 +0000.5784][7fe2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6efa9f0000
[036:476] [2024-12-28 19:47:37 +0000.6104][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[036:476] [2024-12-28 19:47:37 +0000.6650][4a3a] CreatePlatformSpecificObjects:
[036:476] [2024-12-28 19:47:37 +0000.6684][4a3a] audio device use opensle input
and opensl output
[036:476] [2024-12-28 19:47:37 +0000.6696][4a3a] Create OpenSLES output module with
java VM support.

[036:476] [2024-12-28 19:47:37 +0000.6802][4a3a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[036:476] [2024-12-28 19:47:37 +0000.7117][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[036:477] [2024-12-28 19:47:37 +0000.7330][4a3a] Create OpenSLES output module with
buffer num:1

[036:477] [2024-12-28 19:47:37 +0000.7562][4a3a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[036:477] [2024-12-28 19:47:37 +0000.7893][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[036:478] [2024-12-28 19:47:37 +0000.8892][4a3a] Create OpenSLES input module with
java VM support.

[036:478] [2024-12-28 19:47:37 +0000.8929][4a3a] Create OpenSLES input module with


buffer num:1

[036:478] [2024-12-28 19:47:37 +0000.8947][4a3a] Error(trace.cc:40): Init the


output and input for audio device template.
[036:478] [2024-12-28 19:47:37 +0000.8955][4a3a] Init the output device.
[036:478] [2024-12-28 19:47:37 +0000.8962][4a3a] Init the opensl input.
[036:478] [2024-12-28 19:47:37 +0000.8971][4a3a] AppDeviceManager get setting
samplerate: 0
[036:479] [2024-12-28 19:47:37 +0000.9324][4a3a] The device model: m2103k19pg enum
value: 0
[036:480] [2024-12-28 19:47:37 +0000.10090][4a3a] The device model: m2103k19pg enum
value: 0
[036:480] [2024-12-28 19:47:37 +0000.10117][4a3a] Set the sample rate to be:48000

[036:480] [2024-12-28 19:47:37 +0000.10125][4a3a] Enable the recording stereo:0


[036:480] [2024-12-28 19:47:37 +0000.10134][4a3a] Set the playout as stereo:1
[036:480] [2024-12-28 19:47:37 +0000.10141][4a3a] Init the microphone.
[036:483] [2024-12-28 19:47:37 +0000.13661][4a3a] Update the recording sample rate
to be: 48000
[036:483] [2024-12-28 19:47:37 +0000.13700][4a3a] Init the speaker.
[036:483] [2024-12-28 19:47:37 +0000.13720][4a3a] Low latency buffer size:256 low
sample rate:48000
[036:483] [2024-12-28 19:47:37 +0000.14005][4a3a] Using 1 x 10ms for an audio
frame.

[036:488] [2024-12-28 19:47:37 +0000.18289][4a3a] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[036:488] [2024-12-28 19:47:37 +0000.18347][4a3a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[036:488] [2024-12-28 19:47:37 +0000.18367][4a3a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[036:495] [2024-12-28 19:47:37 +0000.25096][4a3a] The device model:m2103k19pg

[036:495] [2024-12-28 19:47:37 +0000.25250][4a3a] speaker output factor:100


defaultFactor: 100

[036:495] [2024-12-28 19:47:37 +0000.25270][4a3a] headset output factor:100


defaultFactor: 100

[036:495] [2024-12-28 19:47:37 +0000.26001][4a3a] AppDeviceManagerStart finished.


[036:495] [2024-12-28 19:47:37 +0000.26062][4a3a] AppDeviceManagerStartMic::mic
status is off
[036:496] [2024-12-28 19:47:37 +0000.26099][4a3a] AppDeviceManagerStartMic update
aec type: 2

[036:496] [2024-12-28 19:47:37 +0000.26107][4a3a] AppDeviceManagerStartMic update


voiceChangeMode: 4

[036:496] [2024-12-28 19:47:37 +0000.26115][4a3a]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[036:496] [2024-12-28 19:47:37 +0000.26153][4a3a]
AudioDeviceDataHandler::StartMicProcess

[036:496] [2024-12-28 19:47:37 +0000.26445][4a3a] Try to start webrtc recording


device.

[036:496] [2024-12-28 19:47:37 +0000.26470][4a3a] StartRecording. threadID:19002

[036:496] [2024-12-28 19:47:37 +0000.26499][4a3a] default mode: Set the recording


mode to voice communication to enable HW AEC .

[036:496] [2024-12-28 19:47:37 +0000.26509][4a3a] Set the recording mode before


getSetting: 4
[036:496] [2024-12-28 19:47:37 +0000.26522][4a3a] Set the recording mode after
getSetting: 1
[036:496] [2024-12-28 19:47:37 +0000.26698][7fe5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[036:537] [2024-12-28 19:47:37 +0000.67734][4a3a] StartRecording finished.

[036:537] [2024-12-28 19:47:37 +0000.67805][4a3a] audio: start the audio mic


checker timer.

[036:538] [2024-12-28 19:47:37 +0000.68759][4a3a] machine model :poco


[036:538] [2024-12-28 19:47:37 +0000.68816][4a3a] Support this machine model :poco
[036:538] [2024-12-28 19:47:37 +0000.68896][4a3a] global inited! current sdk
version: 07-20-936c45f
[037:012] [2024-12-28 19:47:37 +0000.542497][7fe5] haveEnoughProcessedData
internalAudioStream.length: 10
[037:324] [2024-12-28 19:47:37 +0000.857358][7477]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[037:327] [2024-12-28 19:47:37 +0000.857753][7fdf] MediaFilterCamera, recording
file context:0x6fbbb35480 input texture:10
[037:327] [2024-12-28 19:47:37 +0000.857829][7fdf] GLESContext:
[037:328] [2024-12-28 19:47:37 +0000.858540][7fdf] The result of eglGetDisplay is:
0xb400006fa9ee3e00
[037:348] [2024-12-28 19:47:37 +0000.879048][7fdf] The result of creation:
0x6efaa92980
[037:349] [2024-12-28 19:47:37 +0000.879506][7fdf] The result of
eglCreatePbufferSurface is: 0x6efaa92a00
[037:349] [2024-12-28 19:47:37 +0000.880037][7477]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6fbbb35480 input_texture: 10
[037:498] [2024-12-28 19:47:38 +0000.28246][7fe5] Run AGC when audioType = 0
[037:498] [2024-12-28 19:47:38 +0000.28354][7fe5]
AudioDeviceDataHandler::MixAndSendOutFrame
[038:729] [2024-12-28 19:47:39 +0000.259429][7fe5] haveEnoughProcessedData
internalAudioStream.length: 10
[039:502] [2024-12-28 19:47:40 +0000.32957][7fe5] Run AGC when audioType = 0
[040:440] [2024-12-28 19:47:40 +0000.970458][7fe5] haveEnoughProcessedData
internalAudioStream.length: 10
[040:541] [2024-12-28 19:47:41 +0000.72094][7837]
monitorTime:4004totalDuration:3910
[041:497] [2024-12-28 19:47:42 +0000.28022][7fe6] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[041:498] [2024-12-28 19:47:42 +0000.28229][7fe6] _deviceSampleRate:48000

[041:502] [2024-12-28 19:47:42 +0000.32937][7fe5] Run AGC when audioType = 0


[041:502] [2024-12-28 19:47:42 +0000.33011][7fe5]
AudioDeviceDataHandler::MixAndSendOutFrame
[042:141] [2024-12-28 19:47:42 +0000.671617][7fe5] haveEnoughProcessedData
internalAudioStream.length: 0
[042:847] [2024-12-28 19:47:43 +0000.377782][4a3a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[042:847] [2024-12-28 19:47:43 +0000.377904][4a3a] ~MediaFilterCamera time:28890650
enter.

[042:847] [2024-12-28 19:47:43 +0000.377930][4a3a] StopPullFrameAndWriteMp4


time:28890650 enter.

[042:848] [2024-12-28 19:47:43 +0000.378693][7fdd] stop recording


[042:848] [2024-12-28 19:47:43 +0000.378762][7fdd] we have stopped recording before
[042:848] [2024-12-28 19:47:43 +0000.379054][4a3a] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[042:850] [2024-12-28 19:47:43 +0000.380289][4a3a] DestroyPipelineAndFilters


time:28890653 enter.

[042:850] [2024-12-28 19:47:43 +0000.380415][4a3a] DestroyPipelineAndFilters


leave. expire time = 0 ms

[042:850] [2024-12-28 19:47:43 +0000.380441][4a3a] AppDeviceManagerStopMic

[042:850] [2024-12-28 19:47:43 +0000.380516][4a3a] AppDeviceManagerStopMic::mic


status is on
[042:850] [2024-12-28 19:47:43 +0000.380535][4a3a] Try to stop webrtc device.

[042:850] [2024-12-28 19:47:43 +0000.380553][4a3a] Set record state to


stopped.threadID:19002

[042:886] [2024-12-28 19:47:43 +0000.416459][4a3a] Try to destory the


recorder.threadID:19002

[043:086] [2024-12-28 19:47:43 +0000.616695][4a3a] DestroyAudioRecorder:


[043:086] [2024-12-28 19:47:43 +0000.616741][4a3a] Cleanup the buffer queue in the
recorder.
[043:086] [2024-12-28 19:47:43 +0000.616761][4a3a] Destroy the recorder.

[043:087] [2024-12-28 19:47:43 +0000.617415][4a3a] StopRecording finished.

[043:087] [2024-12-28 19:47:43 +0000.617451][4a3a] The stop recording success.

[043:087] [2024-12-28 19:47:43 +0000.617459][4a3a]


AudioDeviceDataHandler::StopMicProcess

[043:091] [2024-12-28 19:47:43 +0000.621482][4a3a] AppDeviceManager stop.

[043:091] [2024-12-28 19:47:43 +0000.621535][4a3a] Rlease the webrtc device object.

[043:091] [2024-12-28 19:47:43 +0000.621717][4a3a] OpenSlesInput destruct.

[043:091] [2024-12-28 19:47:43 +0000.621756][4a3a] OpenSlesOutput destruct.

[043:091] [2024-12-28 19:47:43 +0000.622022][4a3a] EventDispatchServerScope


destruct
[043:091] [2024-12-28 19:47:43 +0000.622042][4a3a]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[043:091] [2024-12-28 19:47:43 +0000.622065][4a3a] ~AudioDeviceDataHandler

[043:092] [2024-12-28 19:47:43 +0000.622606][4a3a] AppDeviceManagerDestruct.

[043:092] [2024-12-28 19:47:43 +0000.622634][4a3a] ~AppDeviceManager:


[043:092] [2024-12-28 19:47:43 +0000.622659][4a3a] ~CpuOverloadDetect time:28890895
enter.

[043:092] [2024-12-28 19:47:43 +0000.622854][4a3a] ~CpuOverloadDetect leave.


expire time = 0 ms

[043:098] [2024-12-28 19:47:43 +0000.628622][4a3a] Destruct BeautifyReader begin...


[043:098] [2024-12-28 19:47:43 +0000.628697][4a3a] Destruct BeautifyReader done.
[043:098] [2024-12-28 19:47:43 +0000.628716][4a3a] ~MediaFilterCamera leave.
expire time = 251 ms

[043:098] [2024-12-28 19:47:43 +0000.628794][4a3a] ~GLESContext:


[043:100] [2024-12-28 19:47:43 +0000.630154][4a3a] GLESContext destruct finish.
[043:100] [2024-12-28 19:47:43 +0000.630192][4a3a] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[043:100] [2024-12-28 19:47:43 +0000.630389][4a3a] global uninited!
[043:100] [2024-12-28 19:47:43 +0000.631035][4a3a] clear AppID 50011
[043:100] [2024-12-28 19:47:43 +0000.631068][4a3a] UnRegister JVM for Xplatform
util
[043:101] [2024-12-28 19:47:43 +0000.631101][4a3a] Dispose::unregister webrtc video
engine
[043:101] [2024-12-28 19:47:43 +0000.631110][4a3a] Init the android object with
jvm:0x0 env:0x0 context:0x0

[043:101] [2024-12-28 19:47:43 +0000.631121][4a3a] SetAndroidMediaCodecObjects


time:28890904 enter.

[043:101] [2024-12-28 19:47:43 +0000.631129][4a3a] ClearAndroidMediaCodecObjects


time:28890904 enter.

[043:101] [2024-12-28 19:47:43 +0000.631138][4a3a] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[043:101] [2024-12-28 19:47:43 +0000.631146][4a3a] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[043:101] [2024-12-28 19:47:43 +0000.631152][4a3a] SetAndroidMediaCodecObjects


time:28890904 enter.

[043:101] [2024-12-28 19:47:43 +0000.631159][4a3a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[043:101] [2024-12-28 19:47:43 +0000.631166][4a3a] ClearAndroidMediaCodecObjects
time:28890904 enter.

[043:101] [2024-12-28 19:47:43 +0000.631173][4a3a] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[043:101] [2024-12-28 19:47:43 +0000.631179][4a3a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[043:101] [2024-12-28 19:47:43 +0000.631186][4a3a] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[043:101] [2024-12-28 19:47:43 +0000.631221][4a3a] Dispose::unregister webrtc voice


engine
[043:101] [2024-12-28 19:47:43 +0000.631229][4a3a] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[043:101] [2024-12-28 19:47:43 +0000.631237][4a3a] SystemUtil UnInit done


[043:800] [2024-12-28 19:47:44 +0000.330524][4a3a] Register JVM for xplatform util
[043:810] [2024-12-28 19:47:44 +0000.340357][4a3a] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-12-
28 19:47:44 +0000
[043:810] [2024-12-28 19:47:44 +0000.340389][4a3a] set AppID=50011 old AppID=-1
[043:810] [2024-12-28 19:47:44 +0000.340398][4a3a] Init the android object with
jvm:0xb40000707a368380 env:0x6fb340db00 context:0x6f3bbf3e38

[043:810] [2024-12-28 19:47:44 +0000.340408][4a3a] SetAndroidMediaCodecObjects


time:28891613 enter.
[043:810] [2024-12-28 19:47:44 +0000.340420][4a3a] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[043:810] [2024-12-28 19:47:44 +0000.340427][4a3a] SetAndroidMediaCodecObjects


time:28891613 enter.

[043:810] [2024-12-28 19:47:44 +0000.340434][4a3a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000707a368380
[043:810] [2024-12-28 19:47:44 +0000.340441][4a3a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000707a368380 address:0x6eb2add760
[043:810] [2024-12-28 19:47:44 +0000.340448][4a3a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000707a368380
address:0x6eb2add760
[043:810] [2024-12-28 19:47:44 +0000.340454][4a3a] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[043:810] [2024-12-28 19:47:44 +0000.340461][4a3a] Set the android objects with


jvm:0xb40000707a368380 env:0x6fb340db00 context:0x6f3bbf3e38

[043:810] [2024-12-28 19:47:44 +0000.340468][4a3a] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6fb340db00
[043:810] [2024-12-28 19:47:44 +0000.340477][4a3a] SystemUtil Init done
[043:810] [2024-12-28 19:47:44 +0000.340707][4a3a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[043:810] [2024-12-28 19:47:44 +0000.340795][4a3a] MediaFilterCamera
[043:810] [2024-12-28 19:47:44 +0000.340811][4a3a] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[043:810] [2024-12-28 19:47:44 +0000.340888][4a3a] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[043:810] [2024-12-28 19:47:44 +0000.340904][4a3a] Recording session using default
bitrate support by app:14680064
[043:810] [2024-12-28 19:47:44 +0000.340976][3c9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6eecfdb0c0
[043:810] [2024-12-28 19:47:44 +0000.341041][3c9] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[043:811] [2024-12-28 19:47:44 +0000.341100][4a3a] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[043:812] [2024-12-28 19:47:44 +0000.342112][4a3a] Error(ini.cc:191): Open the file
failed. error:2
[043:812] [2024-12-28 19:47:44 +0000.342141][4a3a]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[043:812] [2024-12-28 19:47:44 +0000.342150][4a3a] The device model: m2103k19pg
usingSoftwareAEC value: 0
[043:815] [2024-12-28 19:47:44 +0000.345485][4a3a] Error(ini.cc:191): Open the file
failed. error:2
[043:815] [2024-12-28 19:47:44 +0000.345520][4a3a]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[043:815] [2024-12-28 19:47:44 +0000.345532][4a3a] The device model: m2103k19pg
usingHardwareAEC value: 0
[043:815] [2024-12-28 19:47:44 +0000.345539][4a3a] The machine device: m2103k19pg
usingHardwareAEC value: 0
[043:815] [2024-12-28 19:47:44 +0000.345546][4a3a] Using Default AEC type: software
AEC
[043:816] [2024-12-28 19:47:44 +0000.346354][4a3a] The device model: m2103k19pg
enum value: 0
[043:816] [2024-12-28 19:47:44 +0000.346838][4a3a] GetMachineModel is M2103K19PG
[043:816] [2024-12-28 19:47:44 +0000.346866][4a3a] GetMachineInfo: M2103K19PG
[043:816] [2024-12-28 19:47:44 +0000.346874][4a3a] Construct BeautifyReader
begin...
[043:816] [2024-12-28 19:47:44 +0000.346882][4a3a] dumpStickerRgba:0
dumpStickerYuv:0
[043:816] [2024-12-28 19:47:44 +0000.346889][4a3a] Construct BeautifyReader done.
[043:821] [2024-12-28 19:47:44 +0000.351831][4a3a] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[043:821] [2024-12-28 19:47:44 +0000.351898][4a3a] AppDeviceManager telnet server
for statistics started......
[043:821] [2024-12-28 19:47:44 +0000.351891][3cc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6efa99dba0
[043:822] [2024-12-28 19:47:44 +0000.352513][4a3a] CpuOverloadDetect time:28891625
enter.

[043:822] [2024-12-28 19:47:44 +0000.352598][4a3a] CpuOverloadDetect leave. expire


time = 0 ms

[043:822] [2024-12-28 19:47:44 +0000.352662][3df] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6ee1566340
[043:823] [2024-12-28 19:47:44 +0000.353117][4a3a] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[043:823] [2024-12-28 19:47:44 +0000.353130][4a3a] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[043:823] [2024-12-28 19:47:44 +0000.353291][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[043:823] [2024-12-28 19:47:44 +0000.353638][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[043:823] [2024-12-28 19:47:44 +0000.353918][4a3a] CreatePlatformSpecificObjects:
[043:823] [2024-12-28 19:47:44 +0000.353937][4a3a] audio device use opensle input
and opensl output
[043:823] [2024-12-28 19:47:44 +0000.353950][4a3a] Create OpenSLES output module
with java VM support.

[043:823] [2024-12-28 19:47:44 +0000.354052][4a3a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[043:824] [2024-12-28 19:47:44 +0000.354253][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[043:824] [2024-12-28 19:47:44 +0000.354721][4a3a] Create OpenSLES output module
with buffer num:1

[043:824] [2024-12-28 19:47:44 +0000.354833][4a3a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[043:824] [2024-12-28 19:47:44 +0000.355069][4a3a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[043:825] [2024-12-28 19:47:44 +0000.355378][4a3a] Create OpenSLES input module
with java VM support.

[043:825] [2024-12-28 19:47:44 +0000.355400][4a3a] Create OpenSLES input module


with buffer num:1

[043:825] [2024-12-28 19:47:44 +0000.355418][4a3a] Error(trace.cc:40): Init the


output and input for audio device template.
[043:825] [2024-12-28 19:47:44 +0000.355426][4a3a] Init the output device.

[043:825] [2024-12-28 19:47:44 +0000.355433][4a3a] Init the opensl input.


[043:825] [2024-12-28 19:47:44 +0000.355443][4a3a] AppDeviceManager get setting
samplerate: 0
[043:825] [2024-12-28 19:47:44 +0000.355779][4a3a] The device model: m2103k19pg
enum value: 0
[043:826] [2024-12-28 19:47:44 +0000.356241][4a3a] The device model: m2103k19pg
enum value: 0
[043:826] [2024-12-28 19:47:44 +0000.356255][4a3a] Set the sample rate to be:48000

[043:826] [2024-12-28 19:47:44 +0000.356263][4a3a] Enable the recording stereo:0


[043:826] [2024-12-28 19:47:44 +0000.356271][4a3a] Set the playout as stereo:1
[043:826] [2024-12-28 19:47:44 +0000.356279][4a3a] Init the microphone.
[043:826] [2024-12-28 19:47:44 +0000.357037][4a3a] Update the recording sample rate
to be: 48000
[043:826] [2024-12-28 19:47:44 +0000.357066][4a3a] Init the speaker.
[043:827] [2024-12-28 19:47:44 +0000.357084][4a3a] Low latency buffer size:256 low
sample rate:48000
[043:827] [2024-12-28 19:47:44 +0000.357226][4a3a] Using 1 x 10ms for an audio
frame.

[043:830] [2024-12-28 19:47:44 +0000.360376][4a3a] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[043:830] [2024-12-28 19:47:44 +0000.360429][4a3a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[043:830] [2024-12-28 19:47:44 +0000.360448][4a3a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[043:835] [2024-12-28 19:47:44 +0000.365675][4a3a] The device model:m2103k19pg

[043:835] [2024-12-28 19:47:44 +0000.365705][4a3a] speaker output factor:100


defaultFactor: 100

[043:835] [2024-12-28 19:47:44 +0000.365713][4a3a] headset output factor:100


defaultFactor: 100

[043:835] [2024-12-28 19:47:44 +0000.366070][4a3a] AppDeviceManagerStart finished.


[043:836] [2024-12-28 19:47:44 +0000.366086][4a3a] AppDeviceManagerStartMic::mic
status is off
[043:836] [2024-12-28 19:47:44 +0000.366118][4a3a] AppDeviceManagerStartMic update
aec type: 2

[043:836] [2024-12-28 19:47:44 +0000.366125][4a3a] AppDeviceManagerStartMic update


voiceChangeMode: 4

[043:836] [2024-12-28 19:47:44 +0000.366132][4a3a]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[043:836] [2024-12-28 19:47:44 +0000.366138][4a3a]
AudioDeviceDataHandler::StartMicProcess

[043:836] [2024-12-28 19:47:44 +0000.366562][4a3a] Try to start webrtc recording


device.

[043:836] [2024-12-28 19:47:44 +0000.366583][4a3a] StartRecording. threadID:19002

[043:836] [2024-12-28 19:47:44 +0000.366609][4a3a] default mode: Set the recording


mode to voice communication to enable HW AEC .

[043:836] [2024-12-28 19:47:44 +0000.366618][4a3a] Set the recording mode before


getSetting: 4
[043:836] [2024-12-28 19:47:44 +0000.366629][4a3a] Set the recording mode after
getSetting: 1
[043:836] [2024-12-28 19:47:44 +0000.366690][3e0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[043:865] [2024-12-28 19:47:44 +0000.395888][4a3a] StartRecording finished.
[043:865] [2024-12-28 19:47:44 +0000.395927][4a3a] audio: start the audio mic
checker timer.

[043:866] [2024-12-28 19:47:44 +0000.396321][4a3a] machine model :poco


[043:866] [2024-12-28 19:47:44 +0000.396345][4a3a] Support this machine model :poco
[043:866] [2024-12-28 19:47:44 +0000.396356][4a3a] global inited! current sdk
version: 07-20-936c45f
[044:335] [2024-12-28 19:47:44 +0000.865140][7477]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[044:335] [2024-12-28 19:47:44 +0000.865279][3ca] MediaFilterCamera, recording file
context:0x6fbbb35480 input texture:12
[044:335] [2024-12-28 19:47:44 +0000.865306][3ca] GLESContext:
[044:335] [2024-12-28 19:47:44 +0000.865553][3ca] The result of eglGetDisplay is:
0xb400006fa9ee3e00
[044:342] [2024-12-28 19:47:44 +0000.872412][3ca] The result of creation:
0x6f39866c00
[044:342] [2024-12-28 19:47:44 +0000.872500][3ca] The result of
eglCreatePbufferSurface is: 0x6f39866f00
[044:342] [2024-12-28 19:47:44 +0000.872632][7477]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6fbbb35480 input_texture: 12
[044:588] [2024-12-28 19:47:45 +0000.118226][3e0] Run AGC when audioType = 0
[044:710] [2024-12-28 19:47:45 +0000.240919][3e0] haveEnoughProcessedData
internalAudioStream.length: 0
[045:848] [2024-12-28 19:47:46 +0000.378858][4a3a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[045:848] [2024-12-28 19:47:46 +0000.379022][4a3a] ~MediaFilterCamera time:28893651
enter.

[045:848] [2024-12-28 19:47:46 +0000.379046][4a3a] StopPullFrameAndWriteMp4


time:28893651 enter.

[045:849] [2024-12-28 19:47:46 +0000.379841][3c9] stop recording


[045:849] [2024-12-28 19:47:46 +0000.379910][3c9] we have stopped recording before
[045:850] [2024-12-28 19:47:46 +0000.380154][4a3a] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[045:851] [2024-12-28 19:47:46 +0000.381618][4a3a] DestroyPipelineAndFilters


time:28893654 enter.

[045:851] [2024-12-28 19:47:46 +0000.381694][4a3a] DestroyPipelineAndFilters


leave. expire time = 0 ms

[045:851] [2024-12-28 19:47:46 +0000.381720][4a3a] AppDeviceManagerStopMic

[045:851] [2024-12-28 19:47:46 +0000.381799][4a3a] AppDeviceManagerStopMic::mic


status is on
[045:851] [2024-12-28 19:47:46 +0000.381822][4a3a] Try to stop webrtc device.

[045:851] [2024-12-28 19:47:46 +0000.381843][4a3a] Set record state to


stopped.threadID:19002

[045:883] [2024-12-28 19:47:46 +0000.414089][4a3a] Try to destory the


recorder.threadID:19002

[046:084] [2024-12-28 19:47:46 +0000.614252][4a3a] DestroyAudioRecorder:


[046:084] [2024-12-28 19:47:46 +0000.614297][4a3a] Cleanup the buffer queue in the
recorder.
[046:084] [2024-12-28 19:47:46 +0000.614309][4a3a] Destroy the recorder.
[046:084] [202

You might also like