0% found this document useful (0 votes)
39 views58 pages

Android Camera VoIP Log Analysis

This document contains log messages from the initialization of an audio recording application on an Android device. It logs setting up the application context and ID, initializing audio and video encoding objects, starting the recording session at 720p30, setting the audio sample rate and channels, loading configuration files, determining the device model and audio processing settings, initializing the audio input and output devices using OpenSL ES, and starting the audio recording.

Uploaded by

Albert Iskandar
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)
39 views58 pages

Android Camera VoIP Log Analysis

This document contains log messages from the initialization of an audio recording application on an Android device. It logs setting up the application context and ID, initializing audio and video encoding objects, starting the recording session at 720p30, setting the audio sample rate and channels, loading configuration files, determining the device model and audio processing settings, initializing the audio input and output devices using OpenSL ES, and starting the audio recording.

Uploaded by

Albert Iskandar
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/ 58

[000:101] [2022-07-27 09:45:33 +0000.

790550][553f] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
27 09:45:33 +0000
[000:102] [2022-07-27 09:45:33 +0000.790653][553f] set AppID=50011 old AppID=-1
[000:102] [2022-07-27 09:45:33 +0000.790682][553f] Init the android object with
jvm:0xb400007c2da21380 env:0x7c100a58c0 context:0x7bb97d2328

[000:102] [2022-07-27 09:45:33 +0000.790732][553f] SetAndroidMediaCodecObjects


time:23678090 enter.

[000:102] [2022-07-27 09:45:33 +0000.790783][553f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:102] [2022-07-27 09:45:33 +0000.790822][553f] SetAndroidMediaCodecObjects


time:23678090 enter.

[000:102] [2022-07-27 09:45:33 +0000.790860][553f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007c2da21380
[000:102] [2022-07-27 09:45:33 +0000.790902][553f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007c2da21380 address:0x7b4c188760
[000:102] [2022-07-27 09:45:33 +0000.790944][553f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007c2da21380
address:0x7b4c188760
[000:102] [2022-07-27 09:45:33 +0000.790986][553f] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:102] [2022-07-27 09:45:33 +0000.791042][553f] Set the android objects with


jvm:0xb400007c2da21380 env:0x7c100a58c0 context:0x7bb97d2328

[000:102] [2022-07-27 09:45:33 +0000.791090][553f] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7c100a58c0
[000:102] [2022-07-27 09:45:33 +0000.791132][553f] SystemUtil Init done
[000:104] [2022-07-27 09:45:33 +0000.793525][553f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:105] [2022-07-27 09:45:33 +0000.793765][553f] MediaFilterCamera
[000:105] [2022-07-27 09:45:33 +0000.793836][553f] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:105] [2022-07-27 09:45:33 +0000.793976][553f] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:105] [2022-07-27 09:45:33 +0000.794040][553f] Recording session using default
bitrate support by app:14680064
[000:105] [2022-07-27 09:45:33 +0000.794463][ed2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c1d163140
[000:106] [2022-07-27 09:45:33 +0000.794687][ed2] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:106] [2022-07-27 09:45:33 +0000.794858][553f] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:107] [2022-07-27 09:45:33 +0000.795652][553f] Error(ini.cc:191): Open the file
failed. error:2
[000:107] [2022-07-27 09:45:33 +0000.795723][553f]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:107] [2022-07-27 09:45:33 +0000.795773][553f] The device model: 220333qag
usingSoftwareAEC value: 0
[000:110] [2022-07-27 09:45:33 +0000.799007][553f] Error(ini.cc:191): Open the file
failed. error:2
[000:110] [2022-07-27 09:45:33 +0000.799109][553f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:110] [2022-07-27 09:45:33 +0000.799151][553f] The device model: 220333qag
usingHardwareAEC value: 0
[000:110] [2022-07-27 09:45:33 +0000.799177][553f] The machine device: 220333qag
usingHardwareAEC value: 0
[000:110] [2022-07-27 09:45:33 +0000.799213][553f] Using Default AEC type: software
AEC
[000:111] [2022-07-27 09:45:33 +0000.800084][553f] The device model: 220333qag enum
value: 0
[000:112] [2022-07-27 09:45:33 +0000.800785][553f] GetMachineModel is 220333QAG
[000:112] [2022-07-27 09:45:33 +0000.800859][553f] GetMachineInfo: 220333QAG
[000:112] [2022-07-27 09:45:33 +0000.800899][553f] Construct BeautifyReader
begin...
[000:112] [2022-07-27 09:45:33 +0000.800941][553f] dumpStickerRgba:0
dumpStickerYuv:0
[000:112] [2022-07-27 09:45:33 +0000.800974][553f] Construct BeautifyReader done.
[000:115] [2022-07-27 09:45:33 +0000.803733][553f] Error(ini.cc:191): Open the file
failed. error:2
[000:115] [2022-07-27 09:45:33 +0000.803833][553f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:115] [2022-07-27 09:45:33 +0000.803977][553f] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:115] [2022-07-27 09:45:33 +0000.804014][553f] AppDeviceManager telnet server
for statistics started......
[000:115] [2022-07-27 09:45:33 +0000.804017][ed5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c1d09e9a0
[000:115] [2022-07-27 09:45:33 +0000.804308][553f] CpuOverloadDetect time:23678103
enter.

[000:115] [2022-07-27 09:45:33 +0000.804403][553f] CpuOverloadDetect leave. expire


time = 0 ms

[000:115] [2022-07-27 09:45:33 +0000.804422][ed6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7c1d0a8b40
[000:116] [2022-07-27 09:45:33 +0000.805115][553f] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:116] [2022-07-27 09:45:33 +0000.805154][553f] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:119] [2022-07-27 09:45:33 +0000.807854][553f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:119] [2022-07-27 09:45:33 +0000.808363][553f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:120] [2022-07-27 09:45:33 +0000.808907][553f] CreatePlatformSpecificObjects:
[000:120] [2022-07-27 09:45:33 +0000.808953][553f] audio device use opensle input
and opensl output
[000:120] [2022-07-27 09:45:33 +0000.809008][553f] Create OpenSLES output module
with java VM support.

[000:120] [2022-07-27 09:45:33 +0000.809190][553f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:120] [2022-07-27 09:45:33 +0000.809336][553f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:120] [2022-07-27 09:45:33 +0000.809520][553f] Create OpenSLES output module
with buffer num:1

[000:121] [2022-07-27 09:45:33 +0000.809687][553f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:121] [2022-07-27 09:45:33 +0000.809824][553f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:121] [2022-07-27 09:45:33 +0000.809972][553f] Create OpenSLES input module
with java VM support.

[000:121] [2022-07-27 09:45:33 +0000.810012][553f] Create OpenSLES input module


with buffer num:1

[000:121] [2022-07-27 09:45:33 +0000.810066][553f] Error(trace.cc:40): Init the


output and input for audio device template.
[000:121] [2022-07-27 09:45:33 +0000.810102][553f] Init the output device.

[000:121] [2022-07-27 09:45:33 +0000.810143][553f] Init the opensl input.


[000:121] [2022-07-27 09:45:33 +0000.810186][553f] AppDeviceManager get setting
samplerate: 0
[000:122] [2022-07-27 09:45:33 +0000.810627][553f] The device model: 220333qag enum
value: 0
[000:122] [2022-07-27 09:45:33 +0000.811258][553f] The device model: 220333qag enum
value: 0
[000:122] [2022-07-27 09:45:33 +0000.811322][553f] Set the sample rate to be:48000

[000:122] [2022-07-27 09:45:33 +0000.811351][553f] Enable the recording stereo:0


[000:122] [2022-07-27 09:45:33 +0000.811376][553f] Set the playout as stereo:1
[000:122] [2022-07-27 09:45:33 +0000.811399][553f] Init the microphone.
[000:123] [2022-07-27 09:45:33 +0000.811935][553f] Update the recording sample rate
to be: 48000
[000:123] [2022-07-27 09:45:33 +0000.811997][553f] Init the speaker.
[000:123] [2022-07-27 09:45:33 +0000.812042][553f] Low latency buffer size:144 low
sample rate:48000
[000:123] [2022-07-27 09:45:33 +0000.812296][553f] Using 1 x 10ms for an audio
frame.

[000:126] [2022-07-27 09:45:33 +0000.815601][553f] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:127] [2022-07-27 09:45:33 +0000.815736][553f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:127] [2022-07-27 09:45:33 +0000.815801][553f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:131] [2022-07-27 09:45:33 +0000.820357][553f] The device model:220333qag

[000:131] [2022-07-27 09:45:33 +0000.820463][553f] speaker output factor:100


defaultFactor: 100

[000:131] [2022-07-27 09:45:33 +0000.820492][553f] headset output factor:100


defaultFactor: 100

[000:132] [2022-07-27 09:45:33 +0000.820947][553f] AppDeviceManagerStart finished.


[000:132] [2022-07-27 09:45:33 +0000.820988][553f] AppDeviceManagerStartMic::mic
status is off
[000:132] [2022-07-27 09:45:33 +0000.821049][553f] AppDeviceManagerStartMic update
aec type: 2

[000:132] [2022-07-27 09:45:33 +0000.821089][553f] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:132] [2022-07-27 09:45:33 +0000.821127][553f]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:132] [2022-07-27 09:45:33 +0000.821160][553f]
AudioDeviceDataHandler::StartMicProcess

[000:132] [2022-07-27 09:45:33 +0000.821293][553f] Try to start webrtc recording


device.
[000:132] [2022-07-27 09:45:33 +0000.821322][553f] StartRecording. threadID:21823

[000:132] [2022-07-27 09:45:33 +0000.821315][ed7] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:132] [2022-07-27 09:45:33 +0000.821373][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[000:133] [2022-07-27 09:45:33 +0000.821686][553f] The machine model:220333QAG

[000:133] [2022-07-27 09:45:33 +0000.821737][553f] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:133] [2022-07-27 09:45:33 +0000.821764][553f] Set the recording mode before


getSetting: 4
[000:133] [2022-07-27 09:45:33 +0000.821793][553f] Set the recording mode after
getSetting: 1
[000:159] [2022-07-27 09:45:33 +0000.848353][553f] StartRecording finished.

[000:159] [2022-07-27 09:45:33 +0000.848441][553f] audio: start the audio mic


checker timer.

[000:160] [2022-07-27 09:45:33 +0000.849036][553f] machine model :redmi


[000:160] [2022-07-27 09:45:33 +0000.849088][553f] Support this machine
model :redmi
[000:160] [2022-07-27 09:45:33 +0000.849239][553f] global inited! current sdk
version: 12-14-d8558ab
[000:252] [2022-07-27 09:45:33 +0000.941107][ed8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:252] [2022-07-27 09:45:33 +0000.941225][ed8] _deviceSampleRate:48000

[000:252] [2022-07-27 09:45:33 +0000.941450][ed7] Run AGC when audioType = 0


[000:252] [2022-07-27 09:45:33 +0000.941545][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:581] [2022-07-27 09:45:34 +0000.269757][5865]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:581] [2022-07-27 09:45:34 +0000.270111][ed3] MediaFilterCamera, recording file
context:0x7c10284a00 input texture:5
[000:581] [2022-07-27 09:45:34 +0000.270157][ed3] GLESContext:
[000:581] [2022-07-27 09:45:34 +0000.270211][ed3] The result of eglGetDisplay is:
0x1
[000:582] [2022-07-27 09:45:34 +0000.271608][ed3] The result of creation:
0x7c1d160d80
[000:583] [2022-07-27 09:45:34 +0000.271790][ed3] The result of
eglCreatePbufferSurface is: 0x7c1d160e80
[000:583] [2022-07-27 09:45:34 +0000.271934][5865]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7c10284a00 input_texture: 5
[001:882] [2022-07-27 09:45:35 +0000.570724][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[002:251] [2022-07-27 09:45:35 +0000.940257][ed7] Run AGC when audioType = 0
[003:624] [2022-07-27 09:45:37 +0000.312788][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[004:164] [2022-07-27 09:45:37 +0000.852945][ecd]
monitorTime:4005totalDuration:3920
[004:253] [2022-07-27 09:45:37 +0000.942532][ed7] Run AGC when audioType = 0
[004:254] [2022-07-27 09:45:37 +0000.942772][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:365] [2022-07-27 09:45:39 +0000.54434][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[006:255] [2022-07-27 09:45:39 +0000.943878][ed7] Run AGC when audioType = 0
[007:087] [2022-07-27 09:45:40 +0000.775963][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[008:253] [2022-07-27 09:45:41 +0000.942346][ed7] Run AGC when audioType = 0
[008:253] [2022-07-27 09:45:41 +0000.942529][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:821] [2022-07-27 09:45:42 +0000.509779][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[010:251] [2022-07-27 09:45:43 +0000.940453][ed8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:252] [2022-07-27 09:45:43 +0000.940714][ed8] _deviceSampleRate:48000

[010:255] [2022-07-27 09:45:43 +0000.944001][ed7] Run AGC when audioType = 0


[010:547] [2022-07-27 09:45:44 +0000.236356][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[012:256] [2022-07-27 09:45:45 +0000.944805][ed7] Run AGC when audioType = 0
[012:256] [2022-07-27 09:45:45 +0000.945344][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:278] [2022-07-27 09:45:45 +0000.966767][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[013:997] [2022-07-27 09:45:47 +0000.685863][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[014:253] [2022-07-27 09:45:47 +0000.942462][ed7] Run AGC when audioType = 0
[015:720] [2022-07-27 09:45:49 +0000.409267][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[016:252] [2022-07-27 09:45:49 +0000.941412][ed7] Run AGC when audioType = 0
[016:253] [2022-07-27 09:45:49 +0000.941927][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:457] [2022-07-27 09:45:51 +0000.146247][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[018:257] [2022-07-27 09:45:51 +0000.945712][ed7] Run AGC when audioType = 0
[019:193] [2022-07-27 09:45:52 +0000.881738][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[020:250] [2022-07-27 09:45:53 +0000.939611][ed8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:251] [2022-07-27 09:45:53 +0000.939824][ed8] _deviceSampleRate:48000

[020:252] [2022-07-27 09:45:53 +0000.941625][ed7] Run AGC when audioType = 0


[020:253] [2022-07-27 09:45:53 +0000.942157][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:934] [2022-07-27 09:45:54 +0000.622988][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[022:255] [2022-07-27 09:45:55 +0000.944559][ed7] Run AGC when audioType = 0
[022:677] [2022-07-27 09:45:56 +0000.366162][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[024:256] [2022-07-27 09:45:57 +0000.945493][ed7] Run AGC when audioType = 0
[024:257] [2022-07-27 09:45:57 +0000.945660][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:415] [2022-07-27 09:45:58 +0000.104058][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[026:154] [2022-07-27 09:45:59 +0000.842889][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[026:253] [2022-07-27 09:45:59 +0000.941959][ed7] Run AGC when audioType = 0
[027:892] [2022-07-27 09:46:01 +0000.581018][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[028:254] [2022-07-27 09:46:01 +0000.943533][ed7] Run AGC when audioType = 0
[028:255] [2022-07-27 09:46:01 +0000.943968][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[029:619] [2022-07-27 09:46:03 +0000.308016][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[030:252] [2022-07-27 09:46:03 +0000.941367][ed8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:252] [2022-07-27 09:46:03 +0000.941599][ed8] _deviceSampleRate:48000

[030:254] [2022-07-27 09:46:03 +0000.943038][ed7] Run AGC when audioType = 0


[031:337] [2022-07-27 09:46:05 +0000.26582][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[032:252] [2022-07-27 09:46:05 +0000.941291][ed7] Run AGC when audioType = 0
[032:252] [2022-07-27 09:46:05 +0000.941566][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[033:068] [2022-07-27 09:46:06 +0000.757267][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[034:252] [2022-07-27 09:46:07 +0000.941594][ed7] Run AGC when audioType = 0
[034:798] [2022-07-27 09:46:08 +0000.487417][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[036:073] [2022-07-27 09:46:09 +0000.761801][5523] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[036:073] [2022-07-27 09:46:09 +0000.761918][5523]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[036:074] [2022-07-27 09:46:09 +0000.763209][5523]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[036:074] [2022-07-27 09:46:09 +0000.763452][ed3] operator() time:23714062 enter.

[036:074] [2022-07-27 09:46:09 +0000.763568][ed3] MediaFilterCamera, recording


file context:0x7c10284a00 input texture:5
[036:076] [2022-07-27 09:46:09 +0000.765219][ed3] MicSource: Mic source
created:10x7b87f8ac00
[036:077] [2022-07-27 09:46:09 +0000.765928][ed3] received external audio stream

[036:077] [2022-07-27 09:46:09 +0000.766029][ed3] alloc thread: 0x7b87ec6300


name:worker0 thread id:533061164224 to Mic_source
[036:077] [2022-07-27 09:46:09 +0000.766113][ed3] audio: start the audio sender
thread.

[036:077] [2022-07-27 09:46:09 +0000.766272][ed3] construct OpenGLRenderProgram


0x7b7be56698
[036:077] [2022-07-27 09:46:09 +0000.766341][ed3] CropFilter::SetOrientation
orientation: 90
[036:077] [2022-07-27 09:46:09 +0000.766553][ed3] filter: filter pipeline construtc
this: 0x7b6f49fb00
[036:078] [2022-07-27 09:46:09 +0000.766627][ed3] filter: filter pipeline2 update
pattern: 1
[036:078] [2022-07-27 09:46:09 +0000.766765][ed3] CameraSource::source_id_:1
[036:078] [2022-07-27 09:46:09 +0000.766879][ed3] RecordAudioSource::source_id_:2
[036:078] [2022-07-27 09:46:09 +0000.767194][ed3] BindInputFilter 0x7b87ec6d40
this 0x7b7be568c0
[036:078] [2022-07-27 09:46:09 +0000.767297][ed3] BindInputFilter 0x7b87ec6ed8
this 0x7b87ec7050
[036:078] [2022-07-27 09:46:09 +0000.767376][ed3] BindInputFilter 0x7b7be568c0
this 0x7b6f49fba0
[036:078] [2022-07-27 09:46:09 +0000.767483][ed3] setParamentForFilters:
speed:1.000000
[036:078] [2022-07-27 09:46:09 +0000.767553][ed3] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[036:079] [2022-07-27 09:46:09 +0000.767615][ed3] SetParamForFilter time:23714067
enter.

[036:079] [2022-07-27 09:46:09 +0000.767682][ed3] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[036:079] [2022-07-27 09:46:09 +0000.767740][ed3] SetParamForFilter: Params video
index is: 0
[036:079] [2022-07-27 09:46:09 +0000.767815][ed3] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[036:079] [2022-07-27 09:46:09 +0000.767884][ed3] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[036:079] [2022-07-27 09:46:09 +0000.767939][ed3] crop filter mode tpye:
citytravelvideo index:0
[036:083] [2022-07-27 09:46:09 +0000.772036][ed7] On audio frame the broadcast with
timestamp:23714071 samples:480. (1000 frame for one log)

[036:085] [2022-07-27 09:46:09 +0000.774188][ed3]


Warning(parse_template_json.cc:45): json parament no found the parament
[036:085] [2022-07-27 09:46:09 +0000.774275][ed3]
Warning(parse_template_json.cc:45): json parament no found the parament
[036:085] [2022-07-27 09:46:09 +0000.774317][ed3]
Warning(parse_template_json.cc:45): json parament no found the parament
[036:085] [2022-07-27 09:46:09 +0000.774355][ed3]
Warning(parse_template_json.cc:45): json parament no found the parament
[036:085] [2022-07-27 09:46:09 +0000.774425][ed3]
Warning(parse_template_json.cc:45): json parament no found the parament
[036:085] [2022-07-27 09:46:09 +0000.774477][ed3]
Warning(parse_template_json.cc:45): json parament no found the parament
[036:085] [2022-07-27 09:46:09 +0000.774527][ed3]
Warning(parse_template_json.cc:45): json parament no found the parament
[036:085] [2022-07-27 09:46:09 +0000.774575][ed3]
Warning(parse_template_json.cc:81): json parament no found the parament
[036:086] [2022-07-27 09:46:09 +0000.774627][ed3]
Warning(parse_template_json.cc:81): json parament no found the parament
[036:086] [2022-07-27 09:46:09 +0000.774674][ed3]
Warning(parse_template_json.cc:67): json parament no found the parament
[036:086] [2022-07-27 09:46:09 +0000.774753][ed3]
Warning(parse_template_json.cc:93): json parament no found the duration
[036:086] [2022-07-27 09:46:09 +0000.774817][ed3] SetParamForFilter leave. expire
time = 7 ms

[036:086] [2022-07-27 09:46:09 +0000.775130][ed3] OnOutputSizeChanged width 1280


height 720
[036:086] [2022-07-27 09:46:09 +0000.775210][ed3] OpenGLFrameBuffer: width:1280
height:720
[036:086] [2022-07-27 09:46:09 +0000.775271][ed3] OpenGLFrameBuffer: width:1280
height:720
[036:086] [2022-07-27 09:46:09 +0000.775338][ed3] OpenGLFrameBuffer: width:1280
height:720
[036:086] [2022-07-27 09:46:09 +0000.775405][ed3] OpenGLFrameBuffer: width:1280
height:720
[036:086] [2022-07-27 09:46:09 +0000.775458][ed3] OpenGLFrameBuffer: width:1280
height:720
[036:086] [2022-07-27 09:46:09 +0000.775511][ed3] OpenGLFrameBuffer: width:1280
height:720
[036:086] [2022-07-27 09:46:09 +0000.775565][ed3] construct TrivalImageDrawer
0x7b87f74680
[036:087] [2022-07-27 09:46:09 +0000.775621][ed3] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x7b87f74680 context 0x7b7c59d240
[036:087] [2022-07-27 09:46:09 +0000.775677][ed3] setupGLES:
[036:087] [2022-07-27 09:46:09 +0000.776398][ed3] OpenGLRenderProgram::Initialize.
[036:087] [2022-07-27 09:46:09 +0000.776587][f20] Get data in mic source, which has
byte length:1764micAudioStream->length():10
[036:087] [2022-07-27 09:46:09 +0000.776588][ed3] The version of the OpenGL: OpenGL
ES GLSL ES 3.20
[036:088] [2022-07-27 09:46:09 +0000.776789][ed3] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[036:088] [2022-07-27 09:46:09 +0000.776963][ed3] Init open gl render: 0x7b7be56698
[036:088] [2022-07-27 09:46:09 +0000.777056][ed3] Fragement shader path:
[036:088] [2022-07-27 09:46:09 +0000.777122][ed3] Fragement shader path:
[036:088] [2022-07-27 09:46:09 +0000.777174][ed3] create opengl program object.
[036:088] [2022-07-27 09:46:09 +0000.777221][ed3] create shader: vertex
[036:088] [2022-07-27 09:46:09 +0000.777507][f20] The output timestamp from audio
mixer change:23714071
[036:089] [2022-07-27 09:46:09 +0000.777610][f20] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[036:093] [2022-07-27 09:46:09 +0000.781722][ed3] create shader: fragment
[036:161] [2022-07-27 09:46:09 +0000.850145][ed3] Have not extra filter filename!
[036:161] [2022-07-27 09:46:09 +0000.850384][ed3] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[036:161] [2022-07-27 09:46:09 +0000.850432][ed3] OpenGLRenderProgram::Initialize
success.
[036:161] [2022-07-27 09:46:09 +0000.850540][ed3] Setup the OpenGL result:1
[036:162] [2022-07-27 09:46:09 +0000.851412][ed2] start recording, file
path:/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4
[036:163] [2022-07-27 09:46:09 +0000.851671][ed2] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[036:163] [2022-07-27 09:46:09 +0000.851701][f28] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c1dc53098
[036:163] [2022-07-27 09:46:09 +0000.851748][ed2] 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
[036:163] [2022-07-27 09:46:09 +0000.851820][ed2] 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_23714149.mp4
fileFD: -1
[036:163] [2022-07-27 09:46:09 +0000.852484][ed2] MP4
file:/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4 is
opened successfully
[036:163] [2022-07-27 09:46:09 +0000.852522][ed2] setupMediaProcessers:
[036:163] [2022-07-27 09:46:09 +0000.852553][ed2]
RecordingSessionInternalSimple:setup media processers.
[036:163] [2022-07-27 09:46:09 +0000.852588][ed2] construct AAC encoder
[036:164] [2022-07-27 09:46:09 +0000.853120][ed2] H264Encoder creating:
superfast011818
[036:164] [2022-07-27 09:46:09 +0000.853163][ed2] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[036:165] [2022-07-27 09:46:09 +0000.854030][ed2] H264Encode::GetMachineModel is
220333QAG
[036:165] [2022-07-27 09:46:09 +0000.854098][ed2] H264Encoder machine_mode
is:220333QAG
[036:165] [2022-07-27 09:46:09 +0000.854133][ed2] H264Encode::machine size :9
machine_mode:220333QAG
[036:165] [2022-07-27 09:46:09 +0000.854167][ed2] H264Encode::machine array
size :22 machine_mode:220333QAG
[036:165] [2022-07-27 09:46:09 +0000.854200][ed2] H264Encode::current machine
is :220333QAG auto check hw codec decide to use hw codec
[036:165] [2022-07-27 09:46:09 +0000.854231][ed2] setupCompressionSession:
[036:165] [2022-07-27 09:46:09 +0000.854260][ed2] H264Encode::creating hareware
Encoder
[036:165] [2022-07-27 09:46:09 +0000.854292][ed2] AndroidHwAvcEncoder time:23714153
enter.

[036:165] [2022-07-27 09:46:09 +0000.854461][ed2] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007c2da21380 address:0x7b4c188760
[036:166] [2022-07-27 09:46:09 +0000.854648][ed2] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[036:166] [2022-07-27 09:46:09 +0000.854698][ed2] The video avc hw codec address is
0x7c10269f70
[036:166] [2022-07-27 09:46:09 +0000.854774][ed2] AndroidHwAvcEncoder leave.
expire time = 1 ms

[036:166] [2022-07-27 09:46:09 +0000.854814][ed2] RegisterEncodeCompleteCallback


time:23714154 enter.

[036:166] [2022-07-27 09:46:09 +0000.854928][ed2] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[036:166] [2022-07-27 09:46:09 +0000.854970][ed2] InitEncode time:23714154 enter.

[036:166] [2022-07-27 09:46:09 +0000.855042][ed2] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[036:166] [2022-07-27 09:46:09 +0000.855081][ed2] Create time:23714154 enter.

[036:166] [2022-07-27 09:46:09 +0000.855113][ed2] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:14680064 usingVbrMode:1
[036:166] [2022-07-27 09:46:09 +0000.855148][ed2]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7c1dc12f40
[036:207] [2022-07-27 09:46:09 +0000.895927][ed2]
supported_type:image/vnd.android.heic
[036:207] [2022-07-27 09:46:09 +0000.896162][ed2] supported_type:video/avc
[036:207] [2022-07-27 09:46:09 +0000.896228][ed2] name:OMX.qcom.video.encoder.avc
mime:video/avc
[036:207] [2022-07-27 09:46:09 +0000.896317][ed2] hwCodecPrefix :OMX.qcom.
[036:207] [2022-07-27 09:46:09 +0000.896382][ed2] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[036:207] [2022-07-27 09:46:09 +0000.896449][ed2] mediacodec_createCodecByName
time:23714195 enter.

[036:207] [2022-07-27 09:46:09 +0000.896507][ed2] WrapAndroidMediaCodec


time:23714195 enter.

[036:217] [2022-07-27 09:46:09 +0000.905842][ed2] WrapAndroidMediaCodec leave.


expire time = 10 ms

[036:256] [2022-07-27 09:46:09 +0000.944930][ed2] mediacodec_createCodecByName


leave. expire time = 49 ms

[036:256] [2022-07-27 09:46:09 +0000.945090][ed2] WrapAndroidMediaFromat


time:23714244 enter.

[036:256] [2022-07-27 09:46:09 +0000.945266][ed2] WrapAndroidMediaFromat leave.


expire time = 0 ms

[036:257] [2022-07-27 09:46:09 +0000.946203][ed7] Run AGC when audioType = 0


[036:257] [2022-07-27 09:46:09 +0000.946330][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:322] [2022-07-27 09:46:10 +0000.11459][ed2] Destroy time:23714310 enter.

[036:323] [2022-07-27 09:46:10 +0000.11613][ed2] WrapAndroidMediaFromat:: Destroy


[036:323] [2022-07-27 09:46:10 +0000.11674][ed2] Destroy leave. expire time = 1 ms

[036:323] [2022-07-27 09:46:10 +0000.11730][ed2] ~WrapAndroidMediaFromat


time:23714311 enter.

[036:323] [2022-07-27 09:46:10 +0000.11786][ed2] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[036:323] [2022-07-27 09:46:10 +0000.11844][ed2] Create leave. expire time = 157


ms
[036:323] [2022-07-27 09:46:10 +0000.11925][ed2] isSemiPlanarSupport time:23714311
enter.

[036:323] [2022-07-27 09:46:10 +0000.11994][ed2] H264Encoder isSemiPlanarSupport


[036:323] [2022-07-27 09:46:10 +0000.12063][ed2] isSemiPlanarSupport leave. expire
time = 0 ms

[036:323] [2022-07-27 09:46:10 +0000.12141][ed2] creat hw H264Encoder success,


isSemiPlanar:1
[036:323] [2022-07-27 09:46:10 +0000.12318][ed2] InitEncode leave. expire time =
157 ms

[036:323] [2022-07-27 09:46:10 +0000.12379][ed2] H264Encode::created Encoder


[036:323] [2022-07-27 09:46:10 +0000.12432][ed2] H264Encode:: H264 encoder created.
[036:323] [2022-07-27 09:46:10 +0000.12492][ed2] H264 encoder created.
[036:323] [2022-07-27 09:46:10 +0000.12543][ed2]
RecordingSessionInternalSimple:created avc encoder avc: 0x7c1de4e4c0
[036:323] [2022-07-27 09:46:10 +0000.12653][ed2] setOutput:
[036:324] [2022-07-27 09:46:10 +0000.12709][ed2]
RecordingSessionInternalSimple:encoder set output to muxer!
[036:324] [2022-07-27 09:46:10 +0000.12761][ed2] request a key frame
[036:324] [2022-07-27 09:46:10 +0000.12811][ed2] H264Encode:: request a key frame
[036:324] [2022-07-27 09:46:10 +0000.13048][ed2] setDisplayRotate :90
[036:324] [2022-07-27 09:46:10 +0000.13122][ed2] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[036:324] [2022-07-27 09:46:10 +0000.13253][ed3] StartRecording:
[036:324] [2022-07-27 09:46:10 +0000.13391][f20] operator(): Set the recording
session in mic source. recording session: 0x7b87ec6d80
[036:324] [2022-07-27 09:46:10 +0000.13587][ed3] operator() leave. expire time =
251 ms

[036:324] [2022-07-27 09:46:10 +0000.13587][f1f] AF_SpeedFilter audio 0x7b87ec6f00


PullFrame
[036:325] [2022-07-27 09:46:10 +0000.13735][f1f] RecordAudioSource::PullAudioFrame
[036:325] [2022-07-27 09:46:10 +0000.13792][f1f] AF_SpeedFilter::PullFrame eof4
[036:327] [2022-07-27 09:46:10 +0000.15949][f1f]
Warning(media_filter_camera.cc:548): media pull audio frame failed:4
[036:327] [2022-07-27 09:46:10 +0000.16086][f1f] AF_SpeedFilter audio time,
0x7b87ec6f00 rcv time: 23714312
[036:327] [2022-07-27 09:46:10 +0000.16150][f1f] AF_SpeedFilter audio time,
0x7b87ec6f00 rcv time: 23714312in_nSamples:441
[036:327] [2022-07-27 09:46:10 +0000.16352][f1f] resampled_data_size:0
[036:362] [2022-07-27 09:46:10 +0000.51570][ed3]
MediaFilterCamera::NeedProcessTexture
[036:363] [2022-07-27 09:46:10 +0000.51715][ed3] begine recode to first frame spend
time:289
[036:363] [2022-07-27 09:46:10 +0000.51758][ed3] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7b87ec6c00
[036:363] [2022-07-27 09:46:10 +0000.51814][ed3] blur_distance_:0
[036:363] [2022-07-27 09:46:10 +0000.51851][ed3] blur_direction_angle_:-90
[036:363] [2022-07-27 09:46:10 +0000.51923][ed3]
GPUImageProcessing::SetOrientation orientation: 90
[036:363] [2022-07-27 09:46:10 +0000.51965][ed3] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[036:363] [2022-07-27 09:46:10 +0000.52066][ed3] GPUImageProcessing: process video
frame with resolution 1280 X 720
[036:363] [2022-07-27 09:46:10 +0000.52110][ed3] GPUImageProcessing: input frame
width1280 X 720
[036:367] [2022-07-27 09:46:10 +0000.55709][ed3] drawYUV420 render
OpenGLRenderProgram:0x7b7be56698
[036:370] [2022-07-27 09:46:10 +0000.59432][ed3] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[036:371] [2022-07-27 09:46:10 +0000.59652][ed3] CropFilter::OnVideoFrame
outputtexture :7
[036:371] [2022-07-27 09:46:10 +0000.59726][ed3] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[036:376] [2022-07-27 09:46:10 +0000.64947][ed3] The read pixel from buffer take: 5
width:1280 height:720 frameType:0
[036:397] [2022-07-27 09:46:10 +0000.86192][ed3] drawYUV420 render
OpenGLRenderProgram:0x7b7be56698
[036:414] [2022-07-27 09:46:10 +0000.103587][ed3] The convert RGB to YUV take 12
[036:415] [2022-07-27 09:46:10 +0000.103859][ed3] FilterPipeline2::OnVideoFrame pts
32 last_video_timestamp_ 32
[036:415] [2022-07-27 09:46:10 +0000.103931][ed3]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[036:416] [2022-07-27 09:46:10 +0000.104710][f27]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[036:416] [2022-07-27 09:46:10 +0000.104773][f27] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[036:416] [2022-07-27 09:46:10 +0000.104818][f27] push video frame to H264 encoder.
(100 frame for one log)

[036:416] [2022-07-27 09:46:10 +0000.104860][f27] push video frame to H264 encoder.


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

[036:416] [2022-07-27 09:46:10 +0000.104906][f27] H264Encode::push video frame to


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

[036:416] [2022-07-27 09:46:10 +0000.104943][f27] Push an pts:0 to dts queue.


[036:416] [2022-07-27 09:46:10 +0000.104980][f27] DTS queue for
Generator:0x7c1dc532b8 0
[036:416] [2022-07-27 09:46:10 +0000.105011][f27] The input pts:0 fps:30
[036:417] [2022-07-27 09:46:10 +0000.106009][f27]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[036:433] [2022-07-27 09:46:10 +0000.122201][ed3] drawYUV420 render
OpenGLRenderProgram:0x7b7be56698
[036:454] [2022-07-27 09:46:10 +0000.142985][f1f] AF_SpeedFilter audio time 222,
0x7b87ec6f00 out time: 23714312 org time: 23714312
[036:454] [2022-07-27 09:46:10 +0000.143105][f1f] FilterPipeline2::OnAudioFrame pts
10 last_audio_timestamp_ 10
[036:454] [2022-07-27 09:46:10 +0000.143148][f1f]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 23714312
[036:454] [2022-07-27 09:46:10 +0000.143211][f1f]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[036:454] [2022-07-27 09:46:10 +0000.143269][f1f] AF_SpeedFilter audio time
[036:454] [2022-07-27 09:46:10 +0000.143337][f1f] AF_SpeedFilter audio time 111,
0x7b87ec6f00 out time: 23714322 org time: 23714322
[036:457] [2022-07-27 09:46:10 +0000.146475][f26]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:3
[036:458] [2022-07-27 09:46:10 +0000.146823][f28] add aac audio track with id:1
[036:458] [2022-07-27 09:46:10 +0000.147197][f28] audio start ts:0
[036:458] [2022-07-27 09:46:10 +0000.147304][f28] the audio frame has been written
into MP4 file
[036:500] [2022-07-27 09:46:10 +0000.189007][f27] h264 add frame header cdr flag
[036:500] [2022-07-27 09:46:10 +0000.189413][f27] h264 add frame header cdr flag
[036:500] [2022-07-27 09:46:10 +0000.189595][f27] SendFrame
encodedImage._timeStamp:0encodedImage->_length:72959
[036:501] [2022-07-27 09:46:10 +0000.189659][f27] Received key frame:0
[036:501] [2022-07-27 09:46:10 +0000.189702][f27] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[036:501] [2022-07-27 09:46:10 +0000.189757][f27] H264Encode::H264SWEncoder get
callback, length:72959 type:0 nalType:7length:18
[036:501] [2022-07-27 09:46:10 +0000.189786][f27] H264Encode:: get a sps pps
header!headerSize:31
[036:501] [2022-07-27 09:46:10 +0000.189812][f27] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[036:501] [2022-07-27 09:46:10 +0000.189932][f28] get the H.264 SPS parameter
[036:501] [2022-07-27 09:46:10 +0000.190252][f28] add video track with id:2
[036:502] [2022-07-27 09:46:10 +0000.190641][f28] get the H.264 PPS parameter
[036:502] [2022-07-27 09:46:10 +0000.190825][f28] get the H.264 IDR frame
[036:502] [2022-07-27 09:46:10 +0000.190863][f28] resss:true
[036:502] [2022-07-27 09:46:10 +0000.190887][f28] video start ts:0
[036:502] [2022-07-27 09:46:10 +0000.190938][f28] the video frame has been written
into MP4 file
[036:529] [2022-07-27 09:46:10 +0000.218293][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[036:870] [2022-07-27 09:46:10 +0000.558735][ed3] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[036:906] [2022-07-27 09:46:10 +0000.594654][ed3] The convert RGB to YUV take 5
[037:094] [2022-07-27 09:46:10 +0000.783098][f20] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[037:244] [2022-07-27 09:46:10 +0000.932902][f27] DTS queue for
Generator:0x7c1dc532b8 806 841
[037:362] [2022-07-27 09:46:11 +0000.50822][ed3] The read pixel from buffer take: 0
width:1280 height:720 frameType:0
[037:402] [2022-07-27 09:46:11 +0000.91521][ed3] The convert RGB to YUV take 4
[037:742] [2022-07-27 09:46:11 +0000.431095][f27] Push an pts:1341 to dts queue.
[037:814] [2022-07-27 09:46:11 +0000.502990][f27] last dts:1303 currentPts:1341
ppsOrSPS:0 queue length:3
[037:868] [2022-07-27 09:46:11 +0000.557471][ed3] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[037:901] [2022-07-27 09:46:11 +0000.589925][f1f] AF_SpeedFilter audio 0x7b87ec6f00
PullFrame
[037:905] [2022-07-27 09:46:11 +0000.594080][ed3] The convert RGB to YUV take 5
[038:072] [2022-07-27 09:46:11 +0000.761500][f27] DTS queue for
Generator:0x7c1dc532b8 1637 1668
[038:090] [2022-07-27 09:46:11 +0000.779517][f20] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[038:147] [2022-07-27 09:46:11 +0000.836103][f1f] RecordAudioSource::PullAudioFrame
[038:234] [2022-07-27 09:46:11 +0000.922983][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[038:255] [2022-07-27 09:46:11 +0000.943738][ed7] Run AGC when audioType = 0
[038:361] [2022-07-27 09:46:12 +0000.50268][ed3] The read pixel from buffer take: 0
width:1280 height:720 frameType:0
[038:399] [2022-07-27 09:46:12 +0000.88065][ed3] The convert RGB to YUV take 5
[038:426] [2022-07-27 09:46:12 +0000.114794][ed3] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[038:471] [2022-07-27 09:46:12 +0000.160419][f27] h264 add frame header cdr flag
[038:472] [2022-07-27 09:46:12 +0000.161287][f27] Received key frame:1999
[038:474] [2022-07-27 09:46:12 +0000.163360][f28] get the H.264 IDR frame
[038:554] [2022-07-27 09:46:12 +0000.243103][f1f] AF_SpeedFilter::PullFrame eof4
[038:556] [2022-07-27 09:46:12 +0000.245322][f1f]
Warning(media_filter_camera.cc:548): media pull audio frame failed:4
[038:615] [2022-07-27 09:46:12 +0000.303653][f1f] resampled_data_size:7168
[038:808] [2022-07-27 09:46:12 +0000.496677][f26]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:6
[038:867] [2022-07-27 09:46:12 +0000.556054][ed3] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[038:875] [2022-07-27 09:46:12 +0000.564575][f27] DTS queue for
Generator:0x7c1dc532b8 2471
[038:900] [2022-07-27 09:46:12 +0000.588856][ed3] The convert RGB to YUV take 5
[039:071] [2022-07-27 09:46:12 +0000.760527][f27] Push an pts:2671 to dts queue.
[039:091] [2022-07-27 09:46:12 +0000.780598][f20] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[039:138] [2022-07-27 09:46:12 +0000.826891][f27] last dts:2637 currentPts:2671
ppsOrSPS:0 queue length:3
[039:365] [2022-07-27 09:46:13 +0000.54067][ed3] The read pixel from buffer take: 0
width:1280 height:720 frameType:0
[039:398] [2022-07-27 09:46:13 +0000.87042][ed3] The convert RGB to YUV take 5
[039:461] [2022-07-27 09:46:13 +0000.149677][f1f] AF_SpeedFilter audio 0x7b87ec6f00
PullFrame
[039:658] [2022-07-27 09:46:13 +0000.347404][ed3] drawYUV420 render
OpenGLRenderProgram:0x7b7be56698
[039:703] [2022-07-27 09:46:13 +0000.392005][f27] DTS queue for
Generator:0x7c1dc532b8 3299
[039:729] [2022-07-27 09:46:13 +0000.418193][ed3] GPUImageProcessing: process video
frame with resolution 1280 X 720
[039:729] [2022-07-27 09:46:13 +0000.418315][ed3] GPUImageProcessing: input frame
width1280 X 720
[039:730] [2022-07-27 09:46:13 +0000.418817][ed3] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[039:730] [2022-07-27 09:46:13 +0000.418915][ed3] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[039:735] [2022-07-27 09:46:13 +0000.423860][f27]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3335
[039:737] [2022-07-27 09:46:13 +0000.426420][f27] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3299 pts:3299
[039:773] [2022-07-27 09:46:13 +0000.461630][f27] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3372
[039:773] [2022-07-27 09:46:13 +0000.461811][f27] push video frame to H264 encoder.
(100 frame for one log)

[039:773] [2022-07-27 09:46:13 +0000.461871][f27] push video frame to H264 encoder.


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

[039:773] [2022-07-27 09:46:13 +0000.461934][f27] H264Encode::push video frame to


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

[039:773] [2022-07-27 09:46:13 +0000.462036][f27] The input pts:3372 fps:30


[039:777] [2022-07-27 09:46:13 +0000.465871][f27] SendFrame
encodedImage._timeStamp:3335encodedImage->_length:64960
[039:840] [2022-07-27 09:46:13 +0000.528808][f27] H264Encode::H264SWEncoder get
callback, length:60464 type:1 nalType:1length:60460
[039:862] [2022-07-27 09:46:13 +0000.551144][ed3] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[039:900] [2022-07-27 09:46:13 +0000.589105][ed3] The convert RGB to YUV take 5
[039:931] [2022-07-27 09:46:13 +0000.620353][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[039:960] [2022-07-27 09:46:13 +0000.649552][f1f] RecordAudioSource::PullAudioFrame
[040:093] [2022-07-27 09:46:13 +0000.781886][f20] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[040:251] [2022-07-27 09:46:13 +0000.940412][ed8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:252] [2022-07-27 09:46:13 +0000.940897][ed8] _deviceSampleRate:48000

[040:255] [2022-07-27 09:46:13 +0000.943856][ed7] Run AGC when audioType = 0


[040:255] [2022-07-27 09:46:13 +0000.944010][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[040:366] [2022-07-27 09:46:14 +0000.54930][ed3] The read pixel from buffer take: 0
width:1280 height:720 frameType:0
[040:400] [2022-07-27 09:46:14 +0000.89514][ed3] The convert RGB to YUV take 5
[040:404] [2022-07-27 09:46:14 +0000.92940][f27] Push an pts:4001 to dts queue.
[040:470] [2022-07-27 09:46:14 +0000.159063][f27] h264 add frame header cdr flag
[040:470] [2022-07-27 09:46:14 +0000.159461][f27] Received key frame:4001
[040:470] [2022-07-27 09:46:14 +0000.159551][f27] last dts:3971 currentPts:4001
ppsOrSPS:0 queue length:3
[040:504] [2022-07-27 09:46:14 +0000.192810][ed3] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[040:509] [2022-07-27 09:46:14 +0000.198217][f28] get the H.264 IDR frame
[040:541] [2022-07-27 09:46:14 +0000.230399][f27] DTS queue for
Generator:0x7c1dc532b8 4104 4141
[040:774] [2022-07-27 09:46:14 +0000.462649][f1f] AF_SpeedFilter::PullFrame eof4
[040:776] [2022-07-27 09:46:14 +0000.464937][f1f]
Warning(media_filter_camera.cc:548): media pull audio frame failed:4
[040:825] [2022-07-27 09:46:14 +0000.513897][f1f] resampled_data_size:0
[040:857] [2022-07-27 09:46:14 +0000.546149][ed3] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[040:899] [2022-07-27 09:46:14 +0000.587767][ed3] The convert RGB to YUV take 5
[041:036] [2022-07-27 09:46:14 +0000.724998][f1f] AF_SpeedFilter audio 0x7b87ec6f00
PullFrame
[041:093] [2022-07-27 09:46:14 +0000.781836][f20] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[041:160] [2022-07-27 09:46:14 +0000.849418][f26]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:10
[041:358] [2022-07-27 09:46:15 +0000.46732][ed3] The read pixel from buffer take: 0
width:1280 height:720 frameType:0
[041:367] [2022-07-27 09:46:15 +0000.56164][f27] DTS queue for
Generator:0x7c1dc532b8 4934 4963
[041:396] [2022-07-27 09:46:15 +0000.84836][ed3] The convert RGB to YUV take 5
[041:645] [2022-07-27 09:46:15 +0000.333726][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[041:737] [2022-07-27 09:46:15 +0000.425792][f27] Push an pts:5335 to dts queue.
[041:776] [2022-07-27 09:46:15 +0000.465430][f27] last dts:5305 currentPts:5335
ppsOrSPS:0 queue length:2
[041:813] [2022-07-27 09:46:15 +0000.502103][f1f] RecordAudioSource::PullAudioFrame
[041:861] [2022-07-27 09:46:15 +0000.550190][ed3] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[041:904] [2022-07-27 09:46:15 +0000.593586][ed3] The convert RGB to YUV take 5
[042:091] [2022-07-27 09:46:15 +0000.779643][f20] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[042:203] [2022-07-27 09:46:15 +0000.892451][f27] DTS queue for
Generator:0x7c1dc532b8 5772 5802
[042:257] [2022-07-27 09:46:15 +0000.946422][ed7] Run AGC when audioType = 0
[042:362] [2022-07-27 09:46:16 +0000.51149][ed3] The read pixel from buffer take: 0
width:1280 height:720 frameType:0
[042:402] [2022-07-27 09:46:16 +0000.91222][ed3] The convert RGB to YUV take 5
[042:472] [2022-07-27 09:46:16 +0000.160925][f27] h264 add frame header cdr flag
[042:473] [2022-07-27 09:46:16 +0000.161638][f27] Received key frame:6002
[042:475] [2022-07-27 09:46:16 +0000.164576][f28] get the H.264 IDR frame
[042:593] [2022-07-27 09:46:16 +0000.282055][ed3] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[042:649] [2022-07-27 09:46:16 +0000.337813][f1f] AF_SpeedFilter audio 0x7b87ec6f00
PullFrame
[042:658] [2022-07-27 09:46:16 +0000.347458][5523]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[042:659] [2022-07-27 09:46:16 +0000.347769][ed3] operator(): Stop
[042:659] [2022-07-27 09:46:16 +0000.348003][ed3] StopPullFrameAndWriteMp4
time:23720647 enter.

[042:659] [2022-07-27 09:46:16 +0000.348070][ed3] StopRecording:


[042:665] [2022-07-27 09:46:16 +0000.354154][f1f] resampled_data_size:512
[042:665] [2022-07-27 09:46:16 +0000.354319][f1f] AF_SpeedFilter audio time 222,
0x7b87ec6f00 out time: 23720522 org time: 23720522
[042:665] [2022-07-27 09:46:16 +0000.354497][f1f] PullAudioFrame: PullFrame audio
finished.
[042:665] [2022-07-27 09:46:16 +0000.354580][f1f]
Warning(media_filter_camera.cc:543): media pull audio frame EOF, so need stop
Timer!
[042:668] [2022-07-27 09:46:16 +0000.357063][f27]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:188
[042:672] [2022-07-27 09:46:16 +0000.360906][ed2] stop recording
[042:672] [2022-07-27 09:46:16 +0000.361029][ed2]
RecordingSessionInternalSimple:destroy media processers
[042:672] [2022-07-27 09:46:16 +0000.361090][ed2] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[042:672] [2022-07-27 09:46:16 +0000.361145][ed2] H264Encode::flushing hareware
Encoder
[042:672] [2022-07-27 09:46:16 +0000.361456][ed2] Flush time:23720660 enter.

[042:673] [2022-07-27 09:46:16 +0000.361614][ed2] H264Encoder encoder flush


[042:673] [2022-07-27 09:46:16 +0000.361674][ed2] flush output queue
[042:999] [2022-07-27 09:46:16 +0000.688554][ed2] Flush leave. expire time = 328
ms

[043:000] [2022-07-27 09:46:16 +0000.688988][ed2] ~H264EncodeWrap:


[043:000] [2022-07-27 09:46:16 +0000.689142][ed2] ~H264Encode:
[043:000] [2022-07-27 09:46:16 +0000.689213][ed2] teardownCompressionSession:
H264Encode::destroying Encoder
[043:000] [2022-07-27 09:46:16 +0000.689279][ed2] Release time:23720988 enter.

[043:001] [2022-07-27 09:46:16 +0000.689621][ed2] Release:


MediaCodecVideoEncoder::Release _inited:1
[043:001] [2022-07-27 09:46:16 +0000.689782][ed2] Destroy time:23720989 enter.

[043:001] [2022-07-27 09:46:16 +0000.689864][ed2] H264Encoder encoderDestroy


[043:001] [2022-07-27 09:46:16 +0000.689932][ed2]
AndroidMediaCodecVideoEncoder::release env: 0x7b952772c0
[043:001] [2022-07-27 09:46:16 +0000.690003][ed2]
AndroidMediaCodecVideoEncoder::Destroy
[043:034] [2022-07-27 09:46:16 +0000.722948][ed2] Destroy leave. expire time = 33
ms

[043:034] [2022-07-27 09:46:16 +0000.723212][ed2] Release leave. expire time = 34


ms

[043:034] [2022-07-27 09:46:16 +0000.723298][ed2] ~AndroidHwAvcEncoder


time:23721022 enter.

[043:034] [2022-07-27 09:46:16 +0000.723520][ed2] Release time:23721022 enter.

[043:034] [2022-07-27 09:46:16 +0000.723602][ed2] Release: MediaCodecVideoEncoder::


has been released before, just return
[043:035] [2022-07-27 09:46:16 +0000.723658][ed2] Release leave. expire time = 1
ms

[043:035] [2022-07-27 09:46:16 +0000.723712][ed2] ~AndroidMediaCodecVideoEncoder


[043:035] [2022-07-27 09:46:16 +0000.723763][ed2] ~WrapAndroidMediaCodec
time:23721023 enter.

[043:035] [2022-07-27 09:46:16 +0000.723816][ed2] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[043:035] [2022-07-27 09:46:16 +0000.723880][ed2] video hevc hw codec


destructor:0x7c10269f70

[043:035] [2022-07-27 09:46:16 +0000.723970][ed2] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[043:035] [2022-07-27 09:46:16 +0000.724073][ed2] teardownCompressionSession:


H264Encode::destroyed Encoder
[043:035] [2022-07-27 09:46:16 +0000.724151][ed2]
RecordingSessionInternalSimple:destroy aac encoder output!
[043:035] [2022-07-27 09:46:16 +0000.724218][ed2] AACSWEncode destructor
[043:039] [2022-07-27 09:46:16 +0000.728576][f28] MP4 close file successfully
[043:040] [2022-07-27 09:46:16 +0000.728728][f28] Recording session Internal:
notify recording ok
[043:040] [2022-07-27 09:46:16 +0000.728805][f28] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4,
output_video_timestamp_:6238 last_video_pts_:6238
[043:040] [2022-07-27 09:46:16 +0000.728890][f28] OnRecordFinish:
[043:041] [2022-07-27 09:46:16 +0000.730239][f28] onRecordingOk: net seek
pos:0record video duration:6271record audio duration:6246
[043:042] [2022-07-27 09:46:16 +0000.730909][f20] destructMicSource_w:
[043:042] [2022-07-27 09:46:16 +0000.730998][f20] setOutput_w:
MicSource::setOutput() 0x0
[043:042] [2022-07-27 09:46:16 +0000.731095][f20] close external audio stream

[043:042] [2022-07-27 09:46:16 +0000.731303][ed3] releaseThread 0x7b87ec6300


[043:042] [2022-07-27 09:46:16 +0000.731393][ed3] ~MicSource: Mic source
destroyed:0x7b87f8ac00
[043:043] [2022-07-27 09:46:16 +0000.732203][ed3] StopPullFrameAndWriteMp4 leave.
expire time = 384 ms

[043:043] [2022-07-27 09:46:16 +0000.732292][ed3] DestroyPipelineAndFilters


time:23721031 enter.

[043:043] [2022-07-27 09:46:16 +0000.732389][ed3] UnbindInputFilter 0x7b87ec6d40


this 0x7b7be568c0
[043:043] [2022-07-27 09:46:16 +0000.732473][ed3] UnbindInputFilter 0x7b87ec6ed8
this 0x7b87ec7050
[043:043] [2022-07-27 09:46:16 +0000.732593][ed3] UnbindInputFilter 0x7b7be568c0
this 0x7b6f49fba0
[043:044] [2022-07-27 09:46:16 +0000.732711][ed3] filter: filter pipeline destroy
this: 0x7b6f49fb00
[043:045] [2022-07-27 09:46:16 +0000.733693][ed3] ClearVideoOfSources: recodring
total frames:0
[043:045] [2022-07-27 09:46:16 +0000.733758][ed3] ClearVideoOfSources:
[043:045] [2022-07-27 09:46:16 +0000.733813][ed3] GPUImageProcessing destruct.
[043:045] [2022-07-27 09:46:16 +0000.733895][ed3] destroy TrivalImageDrawer
0x7b87f74680
[043:045] [2022-07-27 09:46:16 +0000.733953][ed3] The shader has been initialize,
clean up them.

[043:045] [2022-07-27 09:46:16 +0000.734069][ed3] ~OpenGLFrameBuffer:


[043:045] [2022-07-27 09:46:16 +0000.734475][ed3] ~OpenGLFrameBuffer:
[043:046] [2022-07-27 09:46:16 +0000.734655][ed3] ~OpenGLFrameBuffer:
[043:046] [2022-07-27 09:46:16 +0000.734988][ed3] ~OpenGLFrameBuffer:
[043:046] [2022-07-27 09:46:16 +0000.735201][ed3] ~OpenGLFrameBuffer:
[043:046] [2022-07-27 09:46:16 +0000.735421][ed3] ~OpenGLFrameBuffer:
[043:047] [2022-07-27 09:46:16 +0000.735848][ed3] GPUImageProcessing destruct
finish.
[043:047] [2022-07-27 09:46:16 +0000.735932][ed3] GPURGBAFrame destruct.
[043:047] [2022-07-27 09:46:16 +0000.736035][ed3] destroy OpenGLRenderProgram
0x7b7be56698
[043:047] [2022-07-27 09:46:16 +0000.736101][ed3] ~CameraSource time:23721035
enter.

[043:047] [2022-07-27 09:46:16 +0000.736154][ed3] ~CameraSource leave. expire time


= 0 ms

[043:047] [2022-07-27 09:46:16 +0000.736219][ed3] ~RecordAudioSource time:23721035


enter.

[043:047] [2022-07-27 09:46:16 +0000.736271][ed3] ~RecordAudioSource leave. expire


time = 0 ms

[043:047] [2022-07-27 09:46:16 +0000.736329][ed3] DestroyPipelineAndFilters leave.


expire time = 4 ms

[043:074] [2022-07-27 09:46:16 +0000.763035][5523]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[043:075] [2022-07-27 09:46:16 +0000.764293][5523] machine model :redmi
[043:075] [2022-07-27 09:46:16 +0000.764405][5523] Support this machine
model :redmi
[043:075] [2022-07-27 09:46:16 +0000.764461][5523] global inited! current sdk
version: 12-14-d8558ab
[043:076] [2022-07-27 09:46:16 +0000.764786][5523] filter: filter pipeline
construtc this: 0x7c1dce2500
[043:076] [2022-07-27 09:46:16 +0000.764889][5523] MediaFilterGraph:
MediaFilterGraph construct
[043:076] [2022-07-27 09:46:16 +0000.764946][5523] GLESContext:
[043:076] [2022-07-27 09:46:16 +0000.765048][5523] The result of eglGetDisplay is:
0x1
[043:078] [2022-07-27 09:46:16 +0000.767385][5523] The result of creation:
0x7b9535ca80
[043:078] [2022-07-27 09:46:16 +0000.767599][5523] The result of
eglCreatePbufferSurface is: 0x7b9535cb80
[043:080] [2022-07-27 09:46:16 +0000.768966][5523] The source 0
path:/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4
[043:080] [2022-07-27 09:46:16 +0000.769087][5523] The source 0 speed:1
[043:080] [2022-07-27 09:46:16 +0000.769165][5523] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4, delay:
0
[043:080] [2022-07-27 09:46:16 +0000.769237][5523] CreateDecoderByVideoSource
time:23721068 enter.

[043:081] [2022-07-27 09:46:16 +0000.769613][5523] running_decoder_count:0max


count:2
[043:081] [2022-07-27 09:46:16 +0000.769695][5523] Start decoding file
/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7b952dac00
[043:083] [2022-07-27 09:46:16 +0000.772124][f34] FFMpeg=> [mov,mp4,m4a,3gp,3g2,mj2
@ 0x7b7bbb4600] Current FFmpeg version git-2021-06-16-97cea6f

[043:181] [2022-07-27 09:46:16 +0000.869746][f34] OnStreamInfoFound: video


duration_: 6271
[043:182] [2022-07-27 09:46:16 +0000.871434][f35] NO get frame from decoder
[043:183] [2022-07-27 09:46:16 +0000.871739][5523] start decoder
[043:183] [2022-07-27 09:46:16 +0000.871812][5523] CreateDecoderByVideoSource
leave. expire time = 103 ms

[043:183] [2022-07-27 09:46:16 +0000.871875][5523] BindInputFilter 0x7c1dd19f20


this 0x7b954960d8
[043:183] [2022-07-27 09:46:16 +0000.871934][5523] BindInputFilter 0x7b954960d8
this 0x7b95496198
[043:183] [2022-07-27 09:46:16 +0000.871976][5523] BindInputFilter 0x7c1dd19f20
this 0x7b95496258
[043:183] [2022-07-27 09:46:16 +0000.872023][5523] BindInputFilter 0x7b95496258
this 0x7b95496318
[043:183] [2022-07-27 09:46:16 +0000.872071][5523] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4
[043:183] [2022-07-27 09:46:16 +0000.872114][5523] BindInputFilter 0x7b95496198
this 0x7b954963d8
[043:183] [2022-07-27 09:46:16 +0000.872152][5523] BindInputFilter 0x7b954963d8
this 0x7c1dce25a0
[043:183] [2022-07-27 09:46:16 +0000.872226][5523] BindInputFilter 0x7b95496318
this 0x7b95496498
[043:183] [2022-07-27 09:46:16 +0000.872266][5523] AddVideoSource: END add video
source: /data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4
[043:184] [2022-07-27 09:46:16 +0000.873188][f35] NO get frame from decoder
[043:184] [2022-07-27 09:46:16 +0000.873506][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[043:185] [2022-07-27 09:46:16 +0000.873836][f35] NO get frame from decoder
[043:185] [2022-07-27 09:46:16 +0000.874139][5523] machine model :redmi
[043:185] [2022-07-27 09:46:16 +0000.874198][5523] Support this machine
model :redmi
[043:185] [2022-07-27 09:46:16 +0000.874228][5523] global inited! current sdk
version: 12-14-d8558ab
[043:185] [2022-07-27 09:46:16 +0000.874357][5523] GetPipeline:
-----------------------------------------
[043:185] [2022-07-27 09:46:16 +0000.874398][5523] GetPipeline: source:
0x7c1dd19d00
[043:185] [2022-07-27 09:46:16 +0000.874427][5523] GetPipeline: filter: NULLFilter
[043:185] [2022-07-27 09:46:16 +0000.874465][5523] GetPipeline: filter: NULLFilter
[043:185] [2022-07-27 09:46:16 +0000.874491][5523] GetPipeline: filter: NULLFilter
[043:185] [2022-07-27 09:46:16 +0000.874528][5523] GetPipeline: audio filter:
AuidoNULLFilter
[043:185] [2022-07-27 09:46:16 +0000.874553][5523] GetPipeline: audio filter:
AuidoNULLFilter
[043:185] [2022-07-27 09:46:16 +0000.874587][5523] GetPipeline: audio filter:
AudioNUllFilter
[043:186] [2022-07-27 09:46:16 +0000.874613][5523] GetPipeline:
------------------------------------------
[043:186] [2022-07-27 09:46:16 +0000.874656][5523] filter: filter pipeline2 update
pattern: 0
[043:186] [2022-07-27 09:46:16 +0000.875337][f35] NO get frame from decoder
[043:187] [2022-07-27 09:46:16 +0000.875800][5523] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[043:187] [2022-07-27 09:46:16 +0000.876266][5523] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[043:187] [2022-07-27 09:46:16 +0000.876464][5523] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[043:188] [2022-07-27 09:46:16 +0000.876860][5523] DeviceInit:
[043:188] [2022-07-27 09:46:16 +0000.877394][f35] NO get frame from decoder
[043:188] [2022-07-27 09:46:16 +0000.877500][5523] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[043:189] [2022-07-27 09:46:16 +0000.877951][5523] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[043:189] [2022-07-27 09:46:16 +0000.878492][5523] CreatePlatformSpecificObjects:
[043:189] [2022-07-27 09:46:16 +0000.878599][5523] audio device use null audio
input and opensl output
[043:190] [2022-07-27 09:46:16 +0000.878692][5523] Create OpenSLES output module
with java VM support.

[043:190] [2022-07-27 09:46:16 +0000.878943][f35] NO get frame from decoder


[043:190] [2022-07-27 09:46:16 +0000.879005][5523] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[043:190] [2022-07-27 09:46:16 +0000.879422][5523] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[043:191] [2022-07-27 09:46:16 +0000.879921][5523] Create OpenSLES output module
with buffer num:2

[043:191] [2022-07-27 09:46:16 +0000.880062][5523] Error(trace.cc:40): Init the


output and input for audio device template.
[043:191] [2022-07-27 09:46:16 +0000.880120][5523] Init the output device.

[043:191] [2022-07-27 09:46:16 +0000.880146][5523] Set the playout as stereo:1


[043:191] [2022-07-27 09:46:16 +0000.880174][5523] Set the sample rate to be:44100

[043:191] [2022-07-27 09:46:16 +0000.880256][5523] Low latency buffer size:144 low


sample rate:48000
[043:191] [2022-07-27 09:46:16 +0000.880307][5523] DeviceInit: Done
[043:192] [2022-07-27 09:46:16 +0000.880685][5523] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[043:192] [2022-07-27 09:46:16 +0000.880757][f35] NO get frame from decoder
[043:193] [2022-07-27 09:46:16 +0000.882105][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[043:193] [2022-07-27 09:46:16 +0000.882276][5523]
MediaFilterPlayer::SetPlayerNotify 0x7c1de2ad00
[043:194] [2022-07-27 09:46:16 +0000.882874][f35] NO get frame from decoder
[043:194] [2022-07-27 09:46:16 +0000.883049][5523]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[043:194] [2022-07-27 09:46:16 +0000.883139][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[043:196] [2022-07-27 09:46:16 +0000.885164][f40] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b954a9a18
[043:203] [2022-07-27 09:46:16 +0000.891689][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 720, height: 1280
[043:203] [2022-07-27 09:46:16 +0000.892631][5523] SetGraphLoop: SetGraphLoop 1
[043:204] [2022-07-27 09:46:16 +0000.892702][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[043:204] [2022-07-27 09:46:16 +0000.893189][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[043:210] [2022-07-27 09:46:16 +0000.898723][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[043:213] [2022-07-27 09:46:16 +0000.902137][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[043:213] [2022-07-27 09:46:16 +0000.902464][f42] Start:
[043:214] [2022-07-27 09:46:16 +0000.902614][f41] operator(): video render started.
[043:214] [2022-07-27 09:46:16 +0000.902670][f41] DriveRender working... (1/200)
[043:214] [2022-07-27 09:46:16 +0000.902688][f42] Start:
[043:214] [2022-07-27 09:46:16 +0000.902725][f41] Warning(video_render.cc:390): No
picture to display (1/50)
[043:214] [2022-07-27 09:46:16 +0000.902906][f42] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[043:214] [2022-07-27 09:46:16 +0000.902966][f42] Reset: history total size: 98
[043:214] [2022-07-27 09:46:16 +0000.902995][f42] DeviceStart:
audioDevice_:0x7b952ae000
[043:214] [2022-07-27 09:46:16 +0000.903046][f42] DeviceStart: time profile playout
init before
[043:214] [2022-07-27 09:46:16 +0000.903074][f42] DeviceStart: time profile playout
init end
[043:214] [2022-07-27 09:46:16 +0000.903123][f42] OpenSlesOutput:Start playout

[043:215] [2022-07-27 09:46:16 +0000.903801][f42] Create the opensl output player.


streamtype before:0

[043:215] [2022-07-27 09:46:16 +0000.903854][f42] Create the opensl output player.


streamtype after:3

[043:254] [2022-07-27 09:46:16 +0000.943486][f42] Enqueue opensl buffer size:1764


[043:298] [2022-07-27 09:46:16 +0000.987122][f42] DeviceStart: time profile playout
all end
[043:298] [2022-07-27 09:46:16 +0000.987192][f45]
PlayerSimpleBufferQueueCallbackHandler function
[043:298] [2022-07-27 09:46:16 +0000.987326][f42] operator(): Audio playback
started.
[043:298] [2022-07-27 09:46:16 +0000.987407][f45] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[043:298] [2022-07-27 09:46:16 +0000.987478][f45]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[043:298] [2022-07-27 09:46:16 +0000.987505][f43] Pull audio failed.(wait video!)
[043:299] [2022-07-27 09:46:16 +0000.987623][f43]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[043:299] [2022-07-27 09:46:16 +0000.987668][f44] Error(video_source.cc:430): wait
decoder a frame: 0
[043:298] [2022-07-27 09:46:16 +0000.987521][f42] operator(): Started now!
[043:300] [2022-07-27 09:46:16 +0000.988821][f44] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[043:306] [2022-07-27 09:46:16 +0000.994843][f43] audio_frame_list_ empty
[043:306] [2022-07-27 09:46:16 +0000.995319][f44] OnVideoFrameReady(1/200)
[043:306] [2022-07-27 09:46:16 +0000.995608][f41] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[043:315] [2022-07-27 09:46:17 +0000.4050][f41] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:23721303
[043:356] [2022-07-27 09:46:17 +0000.44798][f44]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[043:368] [2022-07-27 09:46:17 +0000.57237][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[043:368] [2022-07-27 09:46:17 +0000.57540][f41] lipsync_debug: render a video
frame
[043:369] [2022-07-27 09:46:17 +0000.57614][f41] lipsync_debug: First video frame
rendering.
[043:379] [2022-07-27 09:46:17 +0000.67826][f41] lipsync_debug:lipsync_threadhold:
lipsync_delta:0 tsDelta:25 timeDelta:64 last video ts:900 frame->pts:3150 pkt_dts:-
9223372036854775808 pkt_pts:-9223372036854775808
[043:379] [2022-07-27 09:46:17 +0000.67973][f41] lipsync_debug: tsDelta - timeDelta
= -39
[043:379] [2022-07-27 09:46:17 +0000.68001][f41] lipsync_debug:result remaining
time:0
[043:379] [2022-07-27 09:46:17 +0000.68027][f41] dynamic updated lipsync delay:0
[043:394] [2022-07-27 09:46:17 +0000.83209][f41] lipsync_debug:remaining time:10
tsDelta - timeDelta:8
[043:394] [2022-07-27 09:46:17 +0000.83364][f41] lipsync_debug:result remaining
time:8
[043:454] [2022-07-27 09:46:17 +0000.143286][f43] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[043:454] [2022-07-27 09:46:17 +0000.143385][f43] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[043:455] [2022-07-27 09:46:17 +0000.143777][f43] audio frame wait video
frame.last_video_timestamp:131 last_audio_timestamp:231.927
[043:456] [2022-07-27 09:46:17 +0000.145348][f43]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[043:457] [2022-07-27 09:46:17 +0000.145972][f43] audio frame wait video
frame.last_video_timestamp:131 last_audio_timestamp:231.927
[043:459] [2022-07-27 09:46:17 +0000.147672][f43]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[043:459] [2022-07-27 09:46:17 +0000.148243][f43] audio frame wait video
frame.last_video_timestamp:161 last_audio_timestamp:277.914
[043:460] [2022-07-27 09:46:17 +0000.148805][f42] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[043:460] [2022-07-27 09:46:17 +0000.149117][f42] The audio playback speed:100
(1/100)
[043:460] [2022-07-27 09:46:17 +0000.149219][f42] lipsync_debug: The current played
audio timestamp is:0(1/50)
[043:460] [2022-07-27 09:46:17 +0000.149266][f42] First audio frame rendering
[043:563] [2022-07-27 09:46:17 +0000.252361][f44] video frame wait audio frame:
last_video_timestamp:401 last_audio_timestamp:277.914
[043:970] [2022-07-27 09:46:17 +0000.659305][f41] lipsync_debug:displaying video
ts:59850 The current displayed video timestamp is:23721958
[044:292] [2022-07-27 09:46:17 +0000.980779][ed7] Run AGC when audioType = 0
[044:292] [2022-07-27 09:46:17 +0000.981023][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[044:298] [2022-07-27 09:46:17 +0000.987429][f42] do work DoLipsync!
[044:298] [2022-07-27 09:46:17 +0000.987556][f42] total delay:251 videoTsMS:967
audioTsMS:716 diff:251
[044:299] [2022-07-27 09:46:17 +0000.987620][f42] Set the lipsync delay:251
[044:398] [2022-07-27 09:46:18 +0000.86897][f45]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[044:543] [2022-07-27 09:46:18 +0000.232226][f44] Error(video_source.cc:430): wait
decoder a frame: 0
[044:832] [2022-07-27 09:46:18 +0000.521336][f41] lipsync_debug:displaying video
ts:120690 The current displayed video timestamp is:23722820
[044:989] [2022-07-27 09:46:18 +0000.678195][f41] DriveRender working... (1/200)
[045:084] [2022-07-27 09:46:18 +0000.773423][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[045:115] [2022-07-27 09:46:18 +0000.804008][f41] lipsync_debug:lipsync_threadhold:
lipsync_delta:0 tsDelta:33 timeDelta:24 last video ts:138150 frame->pts:141120
pkt_dts:-9223372036854775808 pkt_pts:-9223372036854775808
[045:115] [2022-07-27 09:46:18 +0000.804200][f41] lipsync_debug: tsDelta -
timeDelta = 9
[045:418] [2022-07-27 09:46:19 +0000.107268][f45]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[045:576] [2022-07-27 09:46:19 +0000.264949][f41] lipsync_debug:displaying video
ts:179910 The current displayed video timestamp is:23723564
[045:589] [2022-07-27 09:46:19 +0000.278566][f41] lipsync_debug:remaining time:10
tsDelta - timeDelta:20
[045:590] [2022-07-27 09:46:19 +0000.278698][f41] lipsync_debug:result remaining
time:10
[045:598] [2022-07-27 09:46:19 +0000.287293][f43] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[045:598] [2022-07-27 09:46:19 +0000.287441][f43] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[045:624] [2022-07-27 09:46:19 +0000.313034][f42] The audio playback speed:100
(1/100)
[045:624] [2022-07-27 09:46:19 +0000.313206][f42] lipsync_debug: The current played
audio timestamp is:102324(1/50)
[045:840] [2022-07-27 09:46:19 +0000.529287][f44] Error(video_source.cc:430): wait
decoder a frame: 0
[046:248] [2022-07-27 09:46:19 +0000.937610][f41] lipsync_debug:displaying video
ts:240390 The current displayed video timestamp is:23724236
[046:293] [2022-07-27 09:46:19 +0000.981993][ed7] Run AGC when audioType = 0
[046:386] [2022-07-27 09:46:20 +0000.74627][f45]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[046:469] [2022-07-27 09:46:20 +0000.158311][f44] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 300150pts ms:3.335e+06
[046:474] [2022-07-27 09:46:20 +0000.163136][f44] OnVideoFrameReady(1/200)
[046:482] [2022-07-27 09:46:20 +0000.170923][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[046:484] [2022-07-27 09:46:20 +0000.172845][f42] Stop:
[046:494] [2022-07-27 09:46:20 +0000.182873][f41] operator() frame->pts-
9223372036854775808 queue_ size: 14 (1/200)
[046:494] [2022-07-27 09:46:20 +0000.183179][f41] operator(): Video Render stopped.
[046:495] [2022-07-27 09:46:20 +0000.183876][f42] Stop:
[046:497] [2022-07-27 09:46:20 +0000.185842][f42] DeviceStop:
audioDevice_:0x7b952ae000
[046:497] [2022-07-27 09:46:20 +0000.185950][f42] OpenSlesOutput:Stop playout

[046:500] [2022-07-27 09:46:20 +0000.189329][f42] DeviceStop: Done


[046:501] [2022-07-27 09:46:20 +0000.189613][f42] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[046:501] [2022-07-27 09:46:20 +0000.189676][f42] operator(): Stop now!
[046:537] [2022-07-27 09:46:20 +0000.226170][5523]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[046:537] [2022-07-27 09:46:20 +0000.226296][5523] StopPreView: Have Stopped,
operation cancel
[046:537] [2022-07-27 09:46:20 +0000.226333][5523] Stop:
[046:537] [2022-07-27 09:46:20 +0000.226460][f42] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[046:538] [2022-07-27 09:46:20 +0000.226647][5523] DeviceRelease:
audioDevice_:0x7b952ae000
[046:538] [2022-07-27 09:46:20 +0000.226687][5523] OpenSlesOutput:Stop playout
[046:538] [2022-07-27 09:46:20 +0000.226755][5523] DeviceRelease: Release the
webrtc device object.
[046:538] [2022-07-27 09:46:20 +0000.227039][5523] OpenSlesOutput destruct.

[046:538] [2022-07-27 09:46:20 +0000.227137][5523] DeviceRelease: Done


[046:539] [2022-07-27 09:46:20 +0000.228355][5523] Stop:
[046:539] [2022-07-27 09:46:20 +0000.228501][f41] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[046:542] [2022-07-27 09:46:20 +0000.230901][5523] global uninited!
[046:543] [2022-07-27 09:46:20 +0000.231862][5523]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[046:543] [2022-07-27 09:46:20 +0000.231966][5523] ~MediaFilterGraph:
MediaFilterGraph destruct
[046:544] [2022-07-27 09:46:20 +0000.233051][5523] RemoveVideoBackGroud: hava not
add video backgroud
[046:544] [2022-07-27 09:46:20 +0000.233169][5523] UnbindInputFilter 0x7b954963d8
this 0x7c1dce25a0
[046:544] [2022-07-27 09:46:20 +0000.233225][5523] ClearAllSource: remove source
filter, sourceid: 0x7c1dd19d00
[046:544] [2022-07-27 09:46:20 +0000.233262][5523] DestoryDecoderByVideoSource
time:23724532 enter.

[046:544] [2022-07-27 09:46:20 +0000.233305][5523] ~VideoBindDecoder time:23724532


enter.

[046:544] [2022-07-27 09:46:20 +0000.233524][5523] CleanUp time:23724532 enter.

[046:548] [2022-07-27 09:46:20 +0000.237261][5523] CleanUp leave. expire time = 4


ms

[046:548] [2022-07-27 09:46:20 +0000.237363][5523] CleanUp time:23724536 enter.

[046:549] [2022-07-27 09:46:20 +0000.237753][5523] CleanUp leave. expire time = 1


ms

[046:549] [2022-07-27 09:46:20 +0000.238299][5523] ~VideoBindDecoder leave. expire


time = 5 ms

[046:549] [2022-07-27 09:46:20 +0000.238372][5523] DestoryDecoderByVideoSource


leave. expire time = 5 ms

[046:549] [2022-07-27 09:46:20 +0000.238417][5523] UnbindInputFilter 0x7b95496198


this 0x7b954963d8
[046:549] [2022-07-27 09:46:20 +0000.238544][5523] UnbindInputFilter 0x7b954960d8
this 0x7b95496198
[046:550] [2022-07-27 09:46:20 +0000.238606][5523] UnbindInputFilter 0x7c1dd19f20
this 0x7b954960d8
[046:550] [2022-07-27 09:46:20 +0000.238655][5523] UnbindInputFilter 0x7b95496318
this 0x7b95496498
[046:550] [2022-07-27 09:46:20 +0000.238700][5523] UnbindInputFilter 0x7b95496258
this 0x7b95496318
[046:550] [2022-07-27 09:46:20 +0000.238763][5523] UnbindInputFilter 0x7c1dd19f20
this 0x7b95496258
[046:550] [2022-07-27 09:46:20 +0000.239073][5523] ~GLESContext:
[046:551] [2022-07-27 09:46:20 +0000.239772][5523] GLESContext destruct finish.
[046:551] [2022-07-27 09:46:20 +0000.239834][5523] filter: filter pipeline destroy
this: 0x7c1dce2500
[046:551] [2022-07-27 09:46:20 +0000.240404][5523]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[046:552] [2022-07-27 09:46:20 +0000.241172][5523] machine model :redmi
[046:552] [2022-07-27 09:46:20 +0000.241223][5523] Support this machine
model :redmi
[046:552] [2022-07-27 09:46:20 +0000.241257][5523] global inited! current sdk
version: 12-14-d8558ab
[046:552] [2022-07-27 09:46:20 +0000.241421][5523] filter: filter pipeline
construtc this: 0x7c1dce2500
[046:553] [2022-07-27 09:46:20 +0000.241863][5523] MediaFilterGraph:
MediaFilterGraph construct
[046:553] [2022-07-27 09:46:20 +0000.241890][5523] GLESContext:
[046:553] [2022-07-27 09:46:20 +0000.241944][5523] The result of eglGetDisplay is:
0x1
[046:554] [2022-07-27 09:46:20 +0000.243461][5523] The result of creation:
0x7b9535c980
[046:555] [2022-07-27 09:46:20 +0000.243704][5523] The result of
eglCreatePbufferSurface is: 0x7b9535ca80
[046:555] [2022-07-27 09:46:20 +0000.243829][5523] The source 0
path:/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4
[046:555] [2022-07-27 09:46:20 +0000.243869][5523] The source 0 speed:1
[046:555] [2022-07-27 09:46:20 +0000.243912][5523] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4, delay:
0
[046:555] [2022-07-27 09:46:20 +0000.243950][5523] CreateDecoderByVideoSource
time:23724543 enter.

[046:555] [2022-07-27 09:46:20 +0000.244210][5523] running_decoder_count:0max


count:2
[046:555] [2022-07-27 09:46:20 +0000.244246][5523] Start decoding file
/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7b952dac00
[046:556] [2022-07-27 09:46:20 +0000.245389][f4c] FFMpeg=> [mov,mp4,m4a,3gp,3g2,mj2
@ 0x7b87e93800] Current FFmpeg version git-2021-06-16-97cea6f

[046:631] [2022-07-27 09:46:20 +0000.319643][f4c] OnStreamInfoFound: video


duration_: 6271
[046:632] [2022-07-27 09:46:20 +0000.321568][f4d] NO get frame from decoder
[046:632] [2022-07-27 09:46:20 +0000.321591][5523] start decoder
[046:633] [2022-07-27 09:46:20 +0000.321674][5523] CreateDecoderByVideoSource
leave. expire time = 78 ms

[046:633] [2022-07-27 09:46:20 +0000.321736][5523] BindInputFilter 0x7c1dd19f20


this 0x7b95495b98
[046:633] [2022-07-27 09:46:20 +0000.321774][5523] BindInputFilter 0x7b95495b98
this 0x7b95495c58
[046:633] [2022-07-27 09:46:20 +0000.321811][5523] BindInputFilter 0x7c1dd19f20
this 0x7b95495d18
[046:633] [2022-07-27 09:46:20 +0000.321846][5523] BindInputFilter 0x7b95495d18
this 0x7b95495dd8
[046:633] [2022-07-27 09:46:20 +0000.321869][5523] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4
[046:633] [2022-07-27 09:46:20 +0000.321909][5523] BindInputFilter 0x7b95495c58
this 0x7b95495e98
[046:633] [2022-07-27 09:46:20 +0000.321944][5523] BindInputFilter 0x7b95495e98
this 0x7c1dce25a0
[046:633] [2022-07-27 09:46:20 +0000.321978][5523] BindInputFilter 0x7b95495dd8
this 0x7b95495f58
[046:633] [2022-07-27 09:46:20 +0000.322013][5523] AddVideoSource: END add video
source: /data/user/0/com.android.camera/no_backup/milive//record_video_23714149.mp4
[046:633] [2022-07-27 09:46:20 +0000.322487][f4d] NO get frame from decoder
[046:634] [2022-07-27 09:46:20 +0000.323064][f4d] NO get frame from decoder
[046:635] [2022-07-27 09:46:20 +0000.323745][f4d] NO get frame from decoder
[046:635] [2022-07-27 09:46:20 +0000.324297][f4d] NO get frame from decoder
[046:636] [2022-07-27 09:46:20 +0000.324880][f4d] NO get frame from decoder
[046:636] [2022-07-27 09:46:20 +0000.325361][f4d] NO get frame from decoder
[046:637] [2022-07-27 09:46:20 +0000.326265][f4d] NO get frame from decoder
[046:643] [2022-07-27 09:46:20 +0000.332164][5523]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[046:643] [2022-07-27 09:46:20 +0000.332415][5523] MediaComposeFile time:23724631
enter.

[046:643] [2022-07-27 09:46:20 +0000.332486][5523] RecordingSessionInternalSimple:


Create session internal:720 X 1280 fps:30
[046:644] [2022-07-27 09:46:20 +0000.332698][5523] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[046:644] [2022-07-27 09:46:20 +0000.332776][5523] Recording session using default
bitrate support by app:14680064
[046:644] [2022-07-27 09:46:20 +0000.332915][f57] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c1dd1a540
[046:644] [2022-07-27 09:46:20 +0000.332979][f57] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[046:644] [2022-07-27 09:46:20 +0000.333115][5523] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[046:645] [2022-07-27 09:46:20 +0000.333809][5523] GetPipeline:
-----------------------------------------
[046:645] [2022-07-27 09:46:20 +0000.333860][5523] GetPipeline: source:
0x7c1dd19d00
[046:645] [2022-07-27 09:46:20 +0000.333913][5523] GetPipeline: filter: NULLFilter
[046:645] [2022-07-27 09:46:20 +0000.333935][5523] GetPipeline: filter: NULLFilter
[046:645] [2022-07-27 09:46:20 +0000.333969][5523] GetPipeline: filter: NULLFilter
[046:645] [2022-07-27 09:46:20 +0000.333989][5523] GetPipeline: audio filter:
AuidoNULLFilter
[046:645] [2022-07-27 09:46:20 +0000.334020][5523] GetPipeline: audio filter:
AuidoNULLFilter
[046:645] [2022-07-27 09:46:20 +0000.334042][5523] GetPipeline: audio filter:
AudioNUllFilter
[046:645] [2022-07-27 09:46:20 +0000.334094][5523] GetPipeline:
------------------------------------------
[046:645] [2022-07-27 09:46:20 +0000.334129][5523] filter: filter pipeline2 update
pattern: 2
[046:645] [2022-07-27 09:46:20 +0000.334396][5523] MediaComposeFile leave. expire
time = 2 ms

[046:646] [2022-07-27 09:46:20 +0000.335020][5523] machine model :redmi


[046:646] [2022-07-27 09:46:20 +0000.335068][5523] Support this machine
model :redmi
[046:646] [2022-07-27 09:46:20 +0000.335093][5523] global inited! current sdk
version: 12-14-d8558ab
[046:683] [2022-07-27 09:46:20 +0000.371678][5523]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[046:683] [2022-07-27 09:46:20 +0000.371916][5523] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 272
[046:685] [2022-07-27 09:46:20 +0000.373771][5523]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[046:685] [2022-07-27 09:46:20 +0000.373835][5523] BeginCompose: BeginCompose, is
composing 0
[046:685] [2022-07-27 09:46:20 +0000.373954][f57] start recording, file path:
[046:685] [2022-07-27 09:46:20 +0000.374104][f57] MP4 session params: fps:30
width:1280 height:720 file name: fileFd: 272 audio_timescale:44100
video_timescale:90000
[046:685] [2022-07-27 09:46:20 +0000.374139][f5c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b6f539098
[046:685] [2022-07-27 09:46:20 +0000.374157][f57] 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
[046:685] [2022-07-27 09:46:20 +0000.374198][f57] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file name:
fileFD: 272
[046:685] [2022-07-27 09:46:20 +0000.374245][f57] fd_open successed
handle:0xb400007c2da990b0
[046:685] [2022-07-27 09:46:20 +0000.374494][f57] create mp4 file:291 m_fileHandle:
0x7b7bdb2500
[046:685] [2022-07-27 09:46:20 +0000.374533][f57] MP4 file: is opened successfully
[046:685] [2022-07-27 09:46:20 +0000.374558][f57] setupMediaProcessers:
[046:685] [2022-07-27 09:46:20 +0000.374580][f57]
RecordingSessionInternalSimple:setup media processers.
[046:686] [2022-07-27 09:46:20 +0000.374615][f57] construct AAC encoder
[046:686] [2022-07-27 09:46:20 +0000.374963][f57] H264Encoder creating:
ultrafast012323
[046:686] [2022-07-27 09:46:20 +0000.375012][f57] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[046:687] [2022-07-27 09:46:20 +0000.376380][f57] H264Encode::GetMachineModel is
220333QAG
[046:687] [2022-07-27 09:46:20 +0000.376481][f57] H264Encoder machine_mode
is:220333QAG
[046:687] [2022-07-27 09:46:20 +0000.376511][f57] H264Encode::machine size :9
machine_mode:220333QAG
[046:687] [2022-07-27 09:46:20 +0000.376541][f57] H264Encode::machine array
size :22 machine_mode:220333QAG
[046:687] [2022-07-27 09:46:20 +0000.376567][f57] H264Encode::current machine
is :220333QAG auto check hw codec decide to use hw codec
[046:687] [2022-07-27 09:46:20 +0000.376593][f57] setupCompressionSession:
[046:688] [2022-07-27 09:46:20 +0000.376675][f57] H264Encode::creating hareware
Encoder
[046:688] [2022-07-27 09:46:20 +0000.376701][f57] AndroidHwAvcEncoder time:23724676
enter.

[046:688] [2022-07-27 09:46:20 +0000.376910][f57] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007c2da21380 address:0x7b4c188760
[046:688] [2022-07-27 09:46:20 +0000.377114][f57] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[046:688] [2022-07-27 09:46:20 +0000.377151][f57] The video avc hw codec address is
0x7b7fc4fb70
[046:688] [2022-07-27 09:46:20 +0000.377230][f57] AndroidHwAvcEncoder leave.
expire time = 0 ms

[046:688] [2022-07-27 09:46:20 +0000.377274][f57] RegisterEncodeCompleteCallback


time:23724676 enter.

[046:689] [2022-07-27 09:46:20 +0000.377638][f57] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[046:689] [2022-07-27 09:46:20 +0000.377718][f57] InitEncode time:23724677 enter.


[046:689] [2022-07-27 09:46:20 +0000.377821][f57] InitEncode:
MediaCodecVideoEncoder::Release _inited:0
[046:689] [2022-07-27 09:46:20 +0000.377908][f57] Create time:23724677 enter.

[046:689] [2022-07-27 09:46:20 +0000.377938][f57] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:14680064 usingVbrMode:1
[046:689] [2022-07-27 09:46:20 +0000.377976][f57]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7b65f7de40
[046:689] [2022-07-27 09:46:20 +0000.378317][f57]
supported_type:image/vnd.android.heic
[046:689] [2022-07-27 09:46:20 +0000.378370][f57] supported_type:video/avc
[046:689] [2022-07-27 09:46:20 +0000.378399][f57] name:OMX.qcom.video.encoder.avc
mime:video/avc
[046:689] [2022-07-27 09:46:20 +0000.378449][f57] hwCodecPrefix :OMX.qcom.
[046:689] [2022-07-27 09:46:20 +0000.378481][f57] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[046:689] [2022-07-27 09:46:20 +0000.378512][f57] mediacodec_createCodecByName
time:23724677 enter.

[046:689] [2022-07-27 09:46:20 +0000.378538][f57] WrapAndroidMediaCodec


time:23724677 enter.

[046:690] [2022-07-27 09:46:20 +0000.378737][f57] WrapAndroidMediaCodec leave.


expire time = 1 ms

[046:714] [2022-07-27 09:46:20 +0000.403230][f57] mediacodec_createCodecByName


leave. expire time = 25 ms

[046:714] [2022-07-27 09:46:20 +0000.403392][f57] WrapAndroidMediaFromat


time:23724702 enter.

[046:714] [2022-07-27 09:46:20 +0000.403527][f57] WrapAndroidMediaFromat leave.


expire time = 0 ms

[046:763] [2022-07-27 09:46:20 +0000.451939][f57] Destroy time:23724751 enter.

[046:763] [2022-07-27 09:46:20 +0000.452130][f57] WrapAndroidMediaFromat::


Destroy
[046:763] [2022-07-27 09:46:20 +0000.452193][f57] Destroy leave. expire time = 0
ms

[046:763] [2022-07-27 09:46:20 +0000.452255][f57] ~WrapAndroidMediaFromat


time:23724751 enter.

[046:763] [2022-07-27 09:46:20 +0000.452313][f57] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[046:763] [2022-07-27 09:46:20 +0000.452376][f57] Create leave. expire time = 74


ms

[046:763] [2022-07-27 09:46:20 +0000.452436][f57] isSemiPlanarSupport time:23724751


enter.

[046:763] [2022-07-27 09:46:20 +0000.452490][f57] H264Encoder isSemiPlanarSupport


[046:763] [2022-07-27 09:46:20 +0000.452555][f57] isSemiPlanarSupport leave.
expire time = 0 ms

[046:764] [2022-07-27 09:46:20 +0000.452652][f57] creat hw H264Encoder success,


isSemiPlanar:1
[046:764] [2022-07-27 09:46:20 +0000.452851][f57] InitEncode leave. expire time =
75 ms

[046:764] [2022-07-27 09:46:20 +0000.452923][f57] H264Encode::created Encoder


[046:764] [2022-07-27 09:46:20 +0000.452978][f57] H264Encode:: H264 encoder
created.
[046:764] [2022-07-27 09:46:20 +0000.453030][f57] H264 encoder created.
[046:764] [2022-07-27 09:46:20 +0000.453081][f57]
RecordingSessionInternalSimple:created avc encoder avc: 0x7b65d6f640
[046:764] [2022-07-27 09:46:20 +0000.453137][f57] setOutput:
[046:764] [2022-07-27 09:46:20 +0000.453190][f57]
RecordingSessionInternalSimple:encoder set output to muxer!
[046:764] [2022-07-27 09:46:20 +0000.453241][f57] request a key frame
[046:764] [2022-07-27 09:46:20 +0000.453293][f57] H264Encode:: request a key frame
[046:768] [2022-07-27 09:46:20 +0000.457394][f57] setDisplayRotate :90
[046:768] [2022-07-27 09:46:20 +0000.457540][f57] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[046:769] [2022-07-27 09:46:20 +0000.458122][f58] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[046:770] [2022-07-27 09:46:20 +0000.459047][f58]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[046:791] [2022-07-27 09:46:20 +0000.480918][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[046:838] [2022-07-27 09:46:20 +0000.527346][f58] h264 add frame header cdr flag
[046:839] [2022-07-27 09:46:20 +0000.528017][f58] h264 add frame header cdr flag
[046:839] [2022-07-27 09:46:20 +0000.528247][f58] Received key frame:10
[046:839] [2022-07-27 09:46:20 +0000.528299][f58] H264Encode:: get a sps pps
header!headerSize:31
[046:843] [2022-07-27 09:46:20 +0000.531763][f5c] get the H.264 SPS parameter
[046:843] [2022-07-27 09:46:20 +0000.532197][f5c] add video track with id:1
[046:844] [2022-07-27 09:46:20 +0000.533148][f5c] get the H.264 PPS parameter
[046:845] [2022-07-27 09:46:20 +0000.533711][f5c] get the H.264 IDR frame
[046:845] [2022-07-27 09:46:20 +0000.533784][f5c] resss:true
[046:845] [2022-07-27 09:46:20 +0000.533810][f5c] video start ts:10
[046:845] [2022-07-27 09:46:20 +0000.533877][f5c] the video frame has been written
into MP4 file
[046:896] [2022-07-27 09:46:20 +0000.585420][f57] setDisplayRotate :90
[046:896] [2022-07-27 09:46:20 +0000.585548][f57] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[046:899] [2022-07-27 09:46:20 +0000.588180][f5c] add aac audio track with id:2
[046:899] [2022-07-27 09:46:20 +0000.588322][f5c] audio start ts:0
[046:899] [2022-07-27 09:46:20 +0000.588361][f5c] the audio frame has been written
into MP4 file
[046:940] [2022-07-27 09:46:20 +0000.629277][f58] DTS queue for
Generator:0x7b6f5398b8 302 335
[046:943] [2022-07-27 09:46:20 +0000.632085][f5a] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3952 diff: 49
[046:953] [2022-07-27 09:46:20 +0000.642277][f5a] Error(video_source.cc:430): wait
decoder a frame: 0
[046:971] [2022-07-27 09:46:20 +0000.659710][f58] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:335 pts:335
[046:971] [2022-07-27 09:46:20 +0000.660318][f58] Push an pts:401 to dts queue.
[047:003] [2022-07-27 09:46:20 +0000.692466][f5b] audio_frame_list_ empty
[047:009] [2022-07-27 09:46:20 +0000.698061][f58] SendFrame
encodedImage._timeStamp:401encodedImage->_length:62272
[047:014] [2022-07-27 09:46:20 +0000.702777][f58] last dts:364 currentPts:401
ppsOrSPS:0 queue length:2
[047:028] [2022-07-27 09:46:20 +0000.716972][f58] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:475
[047:028] [2022-07-27 09:46:20 +0000.717171][f58] push video frame to H264 encoder.
(100 frame for one log)

[047:028] [2022-07-27 09:46:20 +0000.717206][f58] push video frame to H264 encoder.


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

[047:028] [2022-07-27 09:46:20 +0000.717235][f58] H264Encode::push video frame to


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

[047:028] [2022-07-27 09:46:20 +0000.717272][f58] The input pts:475 fps:30


[047:069] [2022-07-27 09:46:20 +0000.757747][f58] H264Encode::H264SWEncoder get
callback, length:59760 type:1 nalType:1length:59756
[047:221] [2022-07-27 09:46:20 +0000.909993][f5a] Error(video_source.cc:430): wait
decoder a frame: 0
[047:305] [2022-07-27 09:46:20 +0000.993936][f58] DTS queue for
Generator:0x7b6f5398b8 1039 1070 1100 1133 1163 1197 1231 1269
[047:451] [2022-07-27 09:46:21 +0000.139983][f5a] too much frame will be writed
[047:481] [2022-07-27 09:46:21 +0000.169683][f5b] audio_frame_list_ empty
[047:495] [2022-07-27 09:46:21 +0000.183709][f58] Push an pts:1737 to dts queue.
[047:513] [2022-07-27 09:46:21 +0000.202344][f5a] too much frame will be writed
[047:532] [2022-07-27 09:46:21 +0000.220921][f5b] too much frame will be writed
[047:562] [2022-07-27 09:46:21 +0000.250621][f5b] too much frame will be writed
[047:580] [2022-07-27 09:46:21 +0000.268743][f5a] too much frame will be writed
[047:590] [2022-07-27 09:46:21 +0000.279278][f5b] too much frame will be writed
[047:593] [2022-07-27 09:46:21 +0000.281987][f58] last dts:1699 currentPts:1737
ppsOrSPS:0 queue length:7
[047:598] [2022-07-27 09:46:21 +0000.286804][f5a] Error(video_source.cc:430): wait
decoder a frame: 0
[047:619] [2022-07-27 09:46:21 +0000.308266][f5b] too much frame will be writed
[047:648] [2022-07-27 09:46:21 +0000.337116][f5a] too much frame will be writed
[047:652] [2022-07-27 09:46:21 +0000.340913][f58] DTS queue for
Generator:0x7b6f5398b8 1833 1870 1901 1937 1966 1999 2032 2068 2103 2134
[047:659] [2022-07-27 09:46:21 +0000.348072][f5b] too much frame will be writed
[047:713] [2022-07-27 09:46:21 +0000.401853][f5b] too much frame will be writed
[047:713] [2022-07-27 09:46:21 +0000.402506][f58] h264 add frame header cdr flag
[047:714] [2022-07-27 09:46:21 +0000.402757][f58] Received key frame:1999
[047:715] [2022-07-27 09:46:21 +0000.404217][f5c] get the H.264 IDR frame
[047:741] [2022-07-27 09:46:21 +0000.429727][f5a] too much frame will be writed
[047:751] [2022-07-27 09:46:21 +0000.440488][f5b] too much frame will be writed
[047:780] [2022-07-27 09:46:21 +0000.469287][f5b] too much frame will be writed
[047:807] [2022-07-27 09:46:21 +0000.496483][f5a] too much frame will be writed
[047:810] [2022-07-27 09:46:21 +0000.499376][f5b] too much frame will be writed
[047:841] [2022-07-27 09:46:21 +0000.529632][f5b] too much frame will be writed
[047:867] [2022-07-27 09:46:21 +0000.556478][f5b] too much frame will be writed
[047:877] [2022-07-27 09:46:21 +0000.566539][f5a] too much frame will be writed
[047:902] [2022-07-27 09:46:21 +0000.591011][f5b] too much frame will be writed
[047:927] [2022-07-27 09:46:21 +0000.615785][f58] DTS queue for
Generator:0x7b6f5398b8 2671 2703 2734 2767 2800 2837 2868 2895 2942
[047:936] [2022-07-27 09:46:21 +0000.624794][f5b] too much frame will be writed
[047:952] [2022-07-27 09:46:21 +0000.641245][f5a] too much frame will be writed
[047:973] [2022-07-27 09:46:21 +0000.661679][f5b] too much frame will be writed
[047:974] [2022-07-27 09:46:21 +0000.663616][f58] Push an pts:3069 to dts queue.
[048:008] [2022-07-27 09:46:21 +0000.697331][f5b] too much frame will be writed
[048:015] [2022-07-27 09:46:21 +0000.704174][f5a] too much frame will be writed
[048:034] [2022-07-27 09:46:21 +0000.723257][f5b] too much frame will be writed
[048:066] [2022-07-27 09:46:21 +0000.755095][f4d] av_read_frame AVERROR_EOF
[048:066] [2022-07-27 09:46:21 +0000.755147][f5b] too much frame will be writed
[048:072] [2022-07-27 09:46:21 +0000.761011][f5a] too much frame will be writed
[048:073] [2022-07-27 09:46:21 +0000.762545][f58] last dts:3036 currentPts:3069
ppsOrSPS:0 queue length:8
[048:084] [2022-07-27 09:46:21 +0000.773457][f5a] Error(video_source.cc:430): wait
decoder a frame: 0
[048:085] [2022-07-27 09:46:21 +0000.773795][f5a] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4812 diff: 189
[048:111] [2022-07-27 09:46:21 +0000.800258][f5b] too much frame will be writed
[048:138] [2022-07-27 09:46:21 +0000.826934][f5b] too much frame will be writed
[048:148] [2022-07-27 09:46:21 +0000.836918][f4d] OnReceiveEOF:
[048:148] [2022-07-27 09:46:21 +0000.837023][f4d] OnDecoderEOF time:23726136
enter.

[048:148] [2022-07-27 09:46:21 +0000.837082][f4d] OnDecoderEOF leave. expire time


= 0 ms

[048:148] [2022-07-27 09:46:21 +0000.837125][f4d] OnDecoderFinished:


OnDecoderFinished total decoder frames:188 this:0x7c1dd19d00
[048:148] [2022-07-27 09:46:21 +0000.837129][f4b] CleanUp time:23726136 enter.

[048:149] [2022-07-27 09:46:21 +0000.837825][f5a] too much frame will be writed


[048:150] [2022-07-27 09:46:21 +0000.839432][f4b] CleanUp leave. expire time = 2
ms

[048:150] [2022-07-27 09:46:21 +0000.839538][f4b] clean up


[048:151] [2022-07-27 09:46:21 +0000.839616][f4b] running_decoder_count:0max
count:2
[048:164] [2022-07-27 09:46:21 +0000.853067][f5b] too much frame will be writed
[048:175] [2022-07-27 09:46:21 +0000.864251][f5b] FilterPipeline2::OnAudioFrame pts
232334 last_audio_timestamp_ 5268.34
[048:191] [2022-07-27 09:46:21 +0000.880351][f5b] too much frame will be writed
[048:210] [2022-07-27 09:46:21 +0000.898931][f5a] too much frame will be writed
[048:213] [2022-07-27 09:46:21 +0000.901845][f58] DTS queue for
Generator:0x7b6f5398b8 3500 3529 3573 3604 3635 3663 3703 3737 3771
[048:223] [2022-07-27 09:46:21 +0000.912102][f5b] too much frame will be writed
[048:227] [2022-07-27 09:46:21 +0000.916409][f58] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3836
[048:228] [2022-07-27 09:46:21 +0000.916668][f58] push video frame to H264 encoder.
(100 frame for one log)

[048:228] [2022-07-27 09:46:21 +0000.916823][f58] push video frame to H264 encoder.


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

[048:228] [2022-07-27 09:46:21 +0000.916866][f58] H264Encode::push video frame to


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

[048:228] [2022-07-27 09:46:21 +0000.916925][f58] The input pts:3836 fps:30


[048:254] [2022-07-27 09:46:21 +0000.942691][f5b] too much frame will be writed
[048:271] [2022-07-27 09:46:21 +0000.959789][f5a] too much frame will be writed
[048:285] [2022-07-27 09:46:21 +0000.973652][f5b] too much frame will be writed
[048:285] [2022-07-27 09:46:21 +0000.974128][f58] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3703 pts:3703
[048:293] [2022-07-27 09:46:21 +0000.981861][ed7] Run AGC when audioType = 0
[048:293] [2022-07-27 09:46:21 +0000.982095][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[048:300] [2022-07-27 09:46:21 +0000.989370][f58] SendFrame
encodedImage._timeStamp:3737encodedImage->_length:56032
[048:315] [2022-07-27 09:46:22 +0000.3929][f5b] too much frame will be writed
[048:330] [2022-07-27 09:46:22 +0000.18715][f5a] too much frame will be writed
[048:330] [2022-07-27 09:46:22 +0000.18826][f58] H264Encode::H264SWEncoder get
callback, length:57632 type:1 nalType:1length:57628
[048:354] [2022-07-27 09:46:22 +0000.42672][f5b] too much frame will be writed
[048:379] [2022-07-27 09:46:22 +0000.68426][f58] h264 add frame header cdr flag
[048:380] [2022-07-27 09:46:22 +0000.69120][f58] Received key frame:4001
[048:387] [2022-07-27 09:46:22 +0000.75612][f5b] too much frame will be writed
[048:391] [2022-07-27 09:46:22 +0000.80350][f5a] too much frame will be writed
[048:394] [2022-07-27 09:46:22 +0000.82677][f5c] get the H.264 IDR frame
[048:402] [2022-07-27 09:46:22 +0000.91603][f58] Push an pts:4403 to dts queue.
[048:417] [2022-07-27 09:46:22 +0000.105836][f5b] too much frame will be writed
[048:446] [2022-07-27 09:46:22 +0000.134851][f5b] too much frame will be writed
[048:452] [2022-07-27 09:46:22 +0000.140971][f5a] too much frame will be writed
[048:466] [2022-07-27 09:46:22 +0000.154985][f58] DTS queue for
Generator:0x7b6f5398b8 4336 4367 4403 4437 4462 4499 4529 4567
[048:470] [2022-07-27 09:46:22 +0000.159403][f5b] too much frame will be writed
[048:473] [2022-07-27 09:46:22 +0000.161862][f5b] PullAudioFrame: PullFrame audio
finished.
[048:473] [2022-07-27 09:46:22 +0000.162088][f5b]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[048:473] [2022-07-27 09:46:22 +0000.162140][f5b] OnAudioTimer: OnAudioTimer return
[048:497] [2022-07-27 09:46:22 +0000.185668][f5a] Error(video_source.cc:430): wait
decoder a frame: 0
[048:505] [2022-07-27 09:46:22 +0000.194284][f58] last dts:4367 currentPts:4403
ppsOrSPS:0 queue length:10
[048:511] [2022-07-27 09:46:22 +0000.199991][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[048:511] [2022-07-27 09:46:22 +0000.200444][f5a] too much frame will be writed
[048:516] [2022-07-27 09:46:22 +0000.204747][f5a]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[048:516] [2022-07-27 09:46:22 +0000.204918][f5a] OnVideoTimer: OnVideoTimer
EndComposeFile
[048:516] [2022-07-27 09:46:22 +0000.204970][f5a] EndComposeFile: EndComposeFile,
is composing 1
[048:722] [2022-07-27 09:46:22 +0000.411016][f58] DTS queue for
Generator:0x7b6f5398b8 5137 5169 5198 5238 5269 5305 5335 5371 5403 5436
[048:816] [2022-07-27 09:46:22 +0000.504966][f58] Push an pts:5736 to dts queue.
[048:936] [2022-07-27 09:46:22 +0000.624655][f58] last dts:5703 currentPts:5736
ppsOrSPS:0 queue length:10
[048:982] [2022-07-27 09:46:22 +0000.670663][f58]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:188
[048:982] [2022-07-27 09:46:22 +0000.670852][f58]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x7b95141000
[048:983] [2022-07-27 09:46:22 +0000.671966][f59]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[048:983] [2022-07-27 09:46:22 +0000.672077][f59]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[048:983] [2022-07-27 09:46:22 +0000.672544][f57] stop recording
[048:984] [2022-07-27 09:46:22 +0000.672668][f57]
RecordingSessionInternalSimple:destroy media processers
[048:984] [2022-07-27 09:46:22 +0000.672752][f57] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[048:984] [2022-07-27 09:46:22 +0000.672838][f57] H264Encode::flushing hareware
Encoder
[048:984] [2022-07-27 09:46:22 +0000.673147][f57] Flush time:23726972 enter.
[048:984] [2022-07-27 09:46:22 +0000.673234][f57] H264Encoder encoder flush
[048:984] [2022-07-27 09:46:22 +0000.673311][f57] flush output queue
[048:985] [2022-07-27 09:46:22 +0000.673819][f57] DTS queue for
Generator:0x7b6f5398b8 6002 6034 6068 6100 6135 6168 6199 6238
[049:006] [2022-07-27 09:46:22 +0000.694835][f57] h264 add frame header cdr flag
[049:006] [2022-07-27 09:46:22 +0000.695469][f57] Received key frame:6002
[049:009] [2022-07-27 09:46:22 +0000.698221][f5c] get the H.264 IDR frame
[049:311] [2022-07-27 09:46:23 +0000.57][f57] Flush leave. expire time = 327 ms

[049:311] [2022-07-27 09:46:23 +0000.311][f57] ~H264EncodeWrap:


[049:311] [2022-07-27 09:46:23 +0000.387][f57] ~H264Encode:
[049:311] [2022-07-27 09:46:23 +0000.462][f57] teardownCompressionSession:
H264Encode::destroying Encoder
[049:311] [2022-07-27 09:46:23 +0000.529][f57] Release time:23727299 enter.

[049:312] [2022-07-27 09:46:23 +0000.932][f57] Release:


MediaCodecVideoEncoder::Release _inited:1
[049:312] [2022-07-27 09:46:23 +0000.1024][f57] Destroy time:23727300 enter.

[049:312] [2022-07-27 09:46:23 +0000.1107][f57] H264Encoder encoderDestroy


[049:312] [2022-07-27 09:46:23 +0000.1175][f57]
AndroidMediaCodecVideoEncoder::release env: 0x7c1d00a000
[049:312] [2022-07-27 09:46:23 +0000.1243][f57]
AndroidMediaCodecVideoEncoder::Destroy
[049:333] [2022-07-27 09:46:23 +0000.22377][f57] Destroy leave. expire time = 21
ms

[049:334] [2022-07-27 09:46:23 +0000.22827][f57] Release leave. expire time = 23


ms

[049:334] [2022-07-27 09:46:23 +0000.22900][f57] ~AndroidHwAvcEncoder time:23727322


enter.

[049:334] [2022-07-27 09:46:23 +0000.23230][f57] Release time:23727322 enter.

[049:334] [2022-07-27 09:46:23 +0000.23480][f57] Release: MediaCodecVideoEncoder::


has been released before, just return
[049:334] [2022-07-27 09:46:23 +0000.23535][f57] Release leave. expire time = 0 ms

[049:334] [2022-07-27 09:46:23 +0000.23586][f57] ~AndroidMediaCodecVideoEncoder


[049:335] [2022-07-27 09:46:23 +0000.23676][f57] ~WrapAndroidMediaCodec
time:23727323 enter.

[049:335] [2022-07-27 09:46:23 +0000.23806][f57] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[049:335] [2022-07-27 09:46:23 +0000.23879][f57] video hevc hw codec


destructor:0x7b7fc4fb70

[049:335] [2022-07-27 09:46:23 +0000.24018][f57] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[049:335] [2022-07-27 09:46:23 +0000.24146][f57] teardownCompressionSession:


H264Encode::destroyed Encoder
[049:335] [2022-07-27 09:46:23 +0000.24214][f57]
RecordingSessionInternalSimple:destroy aac encoder output!
[049:335] [2022-07-27 09:46:23 +0000.24262][f57] AACSWEncode destructor
[049:338] [2022-07-27 09:46:23 +0000.27379][f5c] fd_close successed!
[049:340] [2022-07-27 09:46:23 +0000.29491][f5c] MP4 close file successfully
[049:340] [2022-07-27 09:46:23 +0000.29605][f5c] Recording session Internal: notify
recording ok
[049:341] [2022-07-27 09:46:23 +0000.29666][f5c] onRecordingOk: Recording Ok,
compose use time: 2656, averagefps 0
[049:341] [2022-07-27 09:46:23 +0000.29726][f5c] OnReceiveEOF:
[049:382] [2022-07-27 09:46:23 +0000.71542][f5a] OnVideoTimer: OnVideoTimer return
[050:230] [2022-07-27 09:46:23 +0000.919195][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[050:307] [2022-07-27 09:46:23 +0000.996388][ed8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[050:307] [2022-07-27 09:46:23 +0000.996568][ed8] _deviceSampleRate:48000

[050:313] [2022-07-27 09:46:24 +0000.1937][ed7] Run AGC when audioType = 0


[051:939] [2022-07-27 09:46:25 +0000.628506][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[052:309] [2022-07-27 09:46:25 +0000.998571][ed7] Run AGC when audioType = 0
[052:310] [2022-07-27 09:46:25 +0000.998905][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[053:663] [2022-07-27 09:46:27 +0000.352057][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[054:313] [2022-07-27 09:46:28 +0000.1647][ed7] Run AGC when audioType = 0
[055:384] [2022-07-27 09:46:29 +0000.73487][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[056:308] [2022-07-27 09:46:29 +0000.996838][ed7] Run AGC when audioType = 0
[056:308] [2022-07-27 09:46:29 +0000.997293][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[057:099] [2022-07-27 09:46:30 +0000.787980][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[058:312] [2022-07-27 09:46:32 +0000.1335][ed7] Run AGC when audioType = 0
[058:815] [2022-07-27 09:46:32 +0000.504551][ed7] haveEnoughProcessedData
internalAudioStream.length: 0
[060:309] [2022-07-27 09:46:33 +0000.998426][ed8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[060:310] [2022-07-27 09:46:33 +0000.998754][ed8] _deviceSampleRate:48000

[060:315] [2022-07-27 09:46:34 +0000.4032][ed7] Run AGC when audioType = 0


[060:315] [2022-07-27 09:46:34 +0000.4192][ed7]
AudioDeviceDataHandler::MixAndSendOutFrame
[060:521] [2022-07-27 09:46:34 +0000.210442][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[061:371] [2022-07-27 09:46:35 +0000.59908][5523]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[061:371] [2022-07-27 09:46:35 +0000.60123][5523] ~MediaComposeFile time:23739359
enter.

[061:371] [2022-07-27 09:46:35 +0000.60187][5523] CancelCompose: CancelCompose, is


composing 0
[061:371] [2022-07-27 09:46:35 +0000.60415][f57] stop recording
[061:371] [2022-07-27 09:46:35 +0000.60484][f57] we have stopped recording before
[061:372] [2022-07-27 09:46:35 +0000.61352][5523] ~MediaComposeFile leave. expire
time = 1 ms

[061:372] [2022-07-27 09:46:35 +0000.61564][5523] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[061:373] [2022-07-27 09:46:35 +0000.62096][5523] global uninited!
[061:373] [2022-07-27 09:46:35 +0000.62253][5523]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[061:373] [2022-07-27 09:46:35 +0000.62353][5523] ~MediaFilterGraph:
MediaFilterGraph destruct
[061:373] [2022-07-27 09:46:35 +0000.62415][5523] RemoveVideoBackGroud: hava not
add video backgroud
[061:373] [2022-07-27 09:46:35 +0000.62520][5523] UnbindInputFilter 0x7b95495e98
this 0x7c1dce25a0
[061:374] [2022-07-27 09:46:35 +0000.62606][5523] ClearAllSource: remove source
filter, sourceid: 0x7c1dd19d00
[061:374] [2022-07-27 09:46:35 +0000.62673][5523] DestoryDecoderByVideoSource
time:23739362 enter.

[061:374] [2022-07-27 09:46:35 +0000.62738][5523] ~VideoBindDecoder time:23739362


enter.

[061:374] [2022-07-27 09:46:35 +0000.62974][5523] CleanUp time:23739362 enter.

[061:375] [2022-07-27 09:46:35 +0000.63628][5523] CleanUp leave. expire time = 1


ms

[061:375] [2022-07-27 09:46:35 +0000.63689][5523] CleanUp time:23739363 enter.

[061:375] [2022-07-27 09:46:35 +0000.64054][5523] CleanUp leave. expire time = 0


ms

[061:376] [2022-07-27 09:46:35 +0000.64861][5523] ~VideoBindDecoder leave. expire


time = 2 ms

[061:376] [2022-07-27 09:46:35 +0000.64926][5523] DestoryDecoderByVideoSource


leave. expire time = 2 ms

[061:376] [2022-07-27 09:46:35 +0000.65011][5523] UnbindInputFilter 0x7b95495c58


this 0x7b95495e98
[061:376] [2022-07-27 09:46:35 +0000.65101][5523] UnbindInputFilter 0x7b95495b98
this 0x7b95495c58
[061:376] [2022-07-27 09:46:35 +0000.65186][5523] UnbindInputFilter 0x7c1dd19f20
this 0x7b95495b98
[061:376] [2022-07-27 09:46:35 +0000.65282][5523] UnbindInputFilter 0x7b95495dd8
this 0x7b95495f58
[061:376] [2022-07-27 09:46:35 +0000.65375][5523] UnbindInputFilter 0x7b95495d18
this 0x7b95495dd8
[061:376] [2022-07-27 09:46:35 +0000.65471][5523] UnbindInputFilter 0x7c1dd19f20
this 0x7b95495d18
[061:377] [2022-07-27 09:46:35 +0000.65639][5523] ~GLESContext:
[061:378] [2022-07-27 09:46:35 +0000.66671][5523] GLESContext destruct finish.
[061:378] [2022-07-27 09:46:35 +0000.66753][5523] filter: filter pipeline destroy
this: 0x7c1dce2500
[062:247] [2022-07-27 09:46:35 +0000.936102][ed7] haveEnoughProcessedData
internalAudioStream.length: 10
[062:311] [2022-07-27 09:46:36 +0000.483][ed7] Run AGC when audioType = 0
[063:179] [2022-07-27 09:46:36 +0000.867772][553f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[063:179] [2022-07-27 09:46:36 +0000.868099][553f] ~MediaFilterCamera time:23741167
enter.

[063:179] [2022-07-27 09:46:36 +0000.868190][553f] StopPullFrameAndWriteMp4


time:23741167 enter.
[063:180] [2022-07-27 09:46:36 +0000.868994][ed2] stop recording
[063:180] [2022-07-27 09:46:36 +0000.869067][ed2] we have stopped recording before
[063:180] [2022-07-27 09:46:36 +0000.869143][553f] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[063:181] [2022-07-27 09:46:36 +0000.869920][553f] DestroyPipelineAndFilters


time:23741169 enter.

[063:181] [2022-07-27 09:46:36 +0000.869989][553f] DestroyPipelineAndFilters


leave. expire time = 0 ms

[063:181] [2022-07-27 09:46:36 +0000.870036][553f] AppDeviceManagerStopMic

[063:182] [2022-07-27 09:46:36 +0000.870855][553f] AppDeviceManagerStopMic::mic


status is on
[063:182] [2022-07-27 09:46:36 +0000.870903][553f] Try to stop webrtc device.

[063:182] [2022-07-27 09:46:36 +0000.870951][553f] Set record state to


stopped.threadID:21823

[063:266] [2022-07-27 09:46:36 +0000.954889][553f] Try to destory the


recorder.threadID:21823

[063:466] [2022-07-27 09:46:37 +0000.155238][553f] DestroyAudioRecorder:


[063:466] [2022-07-27 09:46:37 +0000.155450][553f] Cleanup the buffer queue in the
recorder.
[063:466] [2022-07-27 09:46:37 +0000.155548][553f] Destroy the recorder.

[063:469] [2022-07-27 09:46:37 +0000.157766][553f] StopRecording finished.

[063:469] [2022-07-27 09:46:37 +0000.157886][553f] The stop recording success.

[063:469] [2022-07-27 09:46:37 +0000.157962][553f]


AudioDeviceDataHandler::StopMicProcess

[063:470] [2022-07-27 09:46:37 +0000.158681][553f] AppDeviceManager stop.

[063:470] [2022-07-27 09:46:37 +0000.158857][553f] Rlease the webrtc device object.

[063:470] [2022-07-27 09:46:37 +0000.159499][553f] OpenSlesInput destruct.

[063:470] [2022-07-27 09:46:37 +0000.159586][553f] OpenSlesOutput destruct.

[063:479] [2022-07-27 09:46:37 +0000.167958][553f] EventDispatchServerScope


destruct
[063:479] [2022-07-27 09:46:37 +0000.168118][553f]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[063:479] [2022-07-27 09:46:37 +0000.168292][553f] ~AudioDeviceDataHandler

[063:480] [2022-07-27 09:46:37 +0000.169379][553f] AppDeviceManagerDestruct.

[063:480] [2022-07-27 09:46:37 +0000.169533][553f] ~AppDeviceManager:


[063:481] [2022-07-27 09:46:37 +0000.169620][553f] ~CpuOverloadDetect time:23741469
enter.

[063:481] [2022-07-27 09:46:37 +0000.170130][553f] ~CpuOverloadDetect leave.


expire time = 0 ms

[063:501] [2022-07-27 09:46:37 +0000.189895][553f] Destruct BeautifyReader begin...


[063:501] [2022-07-27 09:46:37 +0000.189975][553f] Destruct BeautifyReader done.
[063:501] [2022-07-27 09:46:37 +0000.190023][553f] ~MediaFilterCamera leave.
expire time = 322 ms

[063:501] [2022-07-27 09:46:37 +0000.190268][553f] ~GLESContext:


[063:504] [2022-07-27 09:46:37 +0000.193445][553f] GLESContext destruct finish.
[063:505] [2022-07-27 09:46:37 +0000.193676][553f] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[063:506] [2022-07-27 09:46:37 +0000.195247][553f] global uninited!
[063:507] [2022-07-27 09:46:37 +0000.196591][553f] clear AppID 50011
[063:508] [2022-07-27 09:46:37 +0000.196726][553f] UnRegister JVM for Xplatform
util
[063:508] [2022-07-27 09:46:37 +0000.196765][553f] Dispose::unregister webrtc video
engine
[063:508] [2022-07-27 09:46:37 +0000.196793][553f] Init the android object
wit[000:029] [2022-08-01 03:54:46 +0000.810031][2c20] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
01 03:54:46 +0000
[000:029] [2022-08-01 03:54:46 +0000.810098][2c20] set AppID=50011 old AppID=-1
[000:029] [2022-08-01 03:54:46 +0000.810132][2c20] Init the android object with
jvm:0xb4000075bba21380 env:0x759e9e5a00 context:0x7546c8f328

[000:029] [2022-08-01 03:54:46 +0000.810174][2c20] SetAndroidMediaCodecObjects


time:11321803 enter.

[000:029] [2022-08-01 03:54:46 +0000.810213][2c20] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:030] [2022-08-01 03:54:46 +0000.810268][2c20] SetAndroidMediaCodecObjects


time:11321804 enter.

[000:030] [2022-08-01 03:54:46 +0000.810302][2c20] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000075bba21380
[000:030] [2022-08-01 03:54:46 +0000.810337][2c20] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000075bba21380 address:0x74f9d3d760
[000:030] [2022-08-01 03:54:46 +0000.810376][2c20] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000075bba21380
address:0x74f9d3d760
[000:030] [2022-08-01 03:54:46 +0000.810410][2c20] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:030] [2022-08-01 03:54:46 +0000.810461][2c20] Set the android objects with


jvm:0xb4000075bba21380 env:0x759e9e5a00 context:0x7546c8f328

[000:031] [2022-08-01 03:54:46 +0000.811887][2c20] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x759e9e5a00
[000:031] [2022-08-01 03:54:46 +0000.811929][2c20] SystemUtil Init done
[000:034] [2022-08-01 03:54:46 +0000.814676][2c20]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:036] [2022-08-01 03:54:46 +0000.816396][2c20] MediaFilterCamera
[000:036] [2022-08-01 03:54:46 +0000.816453][2c20] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:036] [2022-08-01 03:54:46 +0000.816595][2c20] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:036] [2022-08-01 03:54:46 +0000.816643][2c20] Recording session using default
bitrate support by app:14680064
[000:036] [2022-08-01 03:54:46 +0000.816631][2dc6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x753222c8c0
[000:036] [2022-08-01 03:54:46 +0000.816722][2dc6] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:036] [2022-08-01 03:54:46 +0000.816805][2c20] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:037] [2022-08-01 03:54:46 +0000.817463][2c20] Error(ini.cc:191): Open the file
failed. error:2
[000:037] [2022-08-01 03:54:46 +0000.817512][2c20]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:037] [2022-08-01 03:54:46 +0000.817553][2c20] The device model: 220333qag
usingSoftwareAEC value: 0
[000:039] [2022-08-01 03:54:46 +0000.819871][2c20] Error(ini.cc:191): Open the file
failed. error:2
[000:039] [2022-08-01 03:54:46 +0000.819940][2c20]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:039] [2022-08-01 03:54:46 +0000.819994][2c20] The device model: 220333qag
usingHardwareAEC value: 0
[000:039] [2022-08-01 03:54:46 +0000.820032][2c20] The machine device: 220333qag
usingHardwareAEC value: 0
[000:039] [2022-08-01 03:54:46 +0000.820058][2c20] Using Default AEC type: software
AEC
[000:040] [2022-08-01 03:54:46 +0000.821151][2c20] The device model: 220333qag enum
value: 0
[000:041] [2022-08-01 03:54:46 +0000.821777][2c20] GetMachineModel is 220333QAG
[000:041] [2022-08-01 03:54:46 +0000.821835][2c20] GetMachineInfo: 220333QAG
[000:041] [2022-08-01 03:54:46 +0000.821888][2c20] Construct BeautifyReader
begin...
[000:041] [2022-08-01 03:54:46 +0000.821923][2c20] dumpStickerRgba:0
dumpStickerYuv:0
[000:041] [2022-08-01 03:54:46 +0000.821956][2c20] Construct BeautifyReader done.
[000:045] [2022-08-01 03:54:46 +0000.825340][2c20] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:045] [2022-08-01 03:54:46 +0000.825369][2dc9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x75324a2ca0
[000:045] [2022-08-01 03:54:46 +0000.825427][2c20] AppDeviceManager telnet server
for statistics started......
[000:045] [2022-08-01 03:54:46 +0000.825833][2c20] CpuOverloadDetect time:11321819
enter.

[000:045] [2022-08-01 03:54:46 +0000.825932][2c20] CpuOverloadDetect leave. expire


time = 0 ms

[000:045] [2022-08-01 03:54:46 +0000.825945][2dca] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x75324ffd80
[000:046] [2022-08-01 03:54:46 +0000.826680][2c20] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:046] [2022-08-01 03:54:46 +0000.826717][2c20] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:048] [2022-08-01 03:54:46 +0000.828886][2c20] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:050] [2022-08-01 03:54:46 +0000.830268][2c20] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:050] [2022-08-01 03:54:46 +0000.830773][2c20] CreatePlatformSpecificObjects:
[000:050] [2022-08-01 03:54:46 +0000.830819][2c20] audio device use opensle input
and opensl output
[000:050] [2022-08-01 03:54:46 +0000.830876][2c20] Create OpenSLES output module
with java VM support.

[000:050] [2022-08-01 03:54:46 +0000.831042][2c20] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:050] [2022-08-01 03:54:46 +0000.831183][2c20] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:051] [2022-08-01 03:54:46 +0000.831355][2c20] Create OpenSLES output module
with buffer num:1

[000:051] [2022-08-01 03:54:46 +0000.831498][2c20] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:051] [2022-08-01 03:54:46 +0000.831626][2c20] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:051] [2022-08-01 03:54:46 +0000.831771][2c20] Create OpenSLES input module
with java VM support.

[000:051] [2022-08-01 03:54:46 +0000.831810][2c20] Create OpenSLES input module


with buffer num:1

[000:051] [2022-08-01 03:54:46 +0000.831872][2c20] Error(trace.cc:40): Init the


output and input for audio device template.
[000:051] [2022-08-01 03:54:46 +0000.831908][2c20] Init the output device.

[000:051] [2022-08-01 03:54:46 +0000.831944][2c20] Init the opensl input.


[000:051] [2022-08-01 03:54:46 +0000.831985][2c20] AppDeviceManager get setting
samplerate: 0
[000:052] [2022-08-01 03:54:46 +0000.832397][2c20] The device model: 220333qag enum
value: 0
[000:052] [2022-08-01 03:54:46 +0000.833001][2c20] The device model: 220333qag enum
value: 0
[000:052] [2022-08-01 03:54:46 +0000.833039][2c20] Set the sample rate to be:48000

[000:052] [2022-08-01 03:54:46 +0000.833075][2c20] Enable the recording stereo:0


[000:052] [2022-08-01 03:54:46 +0000.833111][2c20] Set the playout as stereo:1
[000:052] [2022-08-01 03:54:46 +0000.833144][2c20] Init the microphone.
[000:053] [2022-08-01 03:54:46 +0000.833597][2c20] Update the recording sample rate
to be: 48000
[000:053] [2022-08-01 03:54:46 +0000.833639][2c20] Init the speaker.
[000:053] [2022-08-01 03:54:46 +0000.833680][2c20] Low latency buffer size:144 low
sample rate:48000
[000:053] [2022-08-01 03:54:46 +0000.833950][2c20] Using 1 x 10ms for an audio
frame.

[000:057] [2022-08-01 03:54:46 +0000.837270][2c20] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:057] [2022-08-01 03:54:46 +0000.837437][2c20] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:057] [2022-08-01 03:54:46 +0000.837500][2c20] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:061] [2022-08-01 03:54:46 +0000.842169][2c20] The device model:220333qag

[000:062] [2022-08-01 03:54:46 +0000.842297][2c20] speaker output factor:100


defaultFactor: 100

[000:062] [2022-08-01 03:54:46 +0000.842336][2c20] headset output factor:100


defaultFactor: 100

[000:062] [2022-08-01 03:54:46 +0000.842778][2c20] AppDeviceManagerStart finished.


[000:062] [2022-08-01 03:54:46 +0000.842816][2c20] AppDeviceManagerStartMic::mic
status is off
[000:062] [2022-08-01 03:54:46 +0000.842872][2c20] AppDeviceManagerStartMic update
aec type: 2
[000:062] [2022-08-01 03:54:46 +0000.842906][2c20] AppDeviceManagerStartMic update
voiceChangeMode: 4

[000:062] [2022-08-01 03:54:46 +0000.842942][2c20]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:062] [2022-08-01 03:54:46 +0000.842976][2c20]
AudioDeviceDataHandler::StartMicProcess

[000:062] [2022-08-01 03:54:46 +0000.843123][2c20] Try to start webrtc recording


device.

[000:062] [2022-08-01 03:54:46 +0000.843160][2c20] StartRecording. threadID:11296

[000:062] [2022-08-01 03:54:46 +0000.843153][2dcb] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:062] [2022-08-01 03:54:46 +0000.843220][2dcb] haveEnoughProcessedData
internalAudioStream.length: 0
[000:063] [2022-08-01 03:54:46 +0000.843533][2c20] The machine model:220333QAG

[000:063] [2022-08-01 03:54:46 +0000.843590][2c20] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:063] [2022-08-01 03:54:46 +0000.843625][2c20] Set the recording mode before


getSetting: 4
[000:063] [2022-08-01 03:54:46 +0000.843665][2c20] Set the recording mode after
getSetting: 1
[000:083] [2022-08-01 03:54:46 +0000.863649][2c20] StartRecording finished.

[000:083] [2022-08-01 03:54:46 +0000.863718][2c20] audio: start the audio mic


checker timer.

[000:084] [2022-08-01 03:54:46 +0000.864240][2c20] machine model :redmi


[000:084] [2022-08-01 03:54:46 +0000.864288][2c20] Support this machine
model :redmi
[000:088] [2022-08-01 03:54:46 +0000.868530][2c20] global inited! current sdk
version: 12-14-d8558ab
[000:140] [2022-08-01 03:54:46 +0000.921088][2dcc] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:141] [2022-08-01 03:54:46 +0000.921246][2dcc] _deviceSampleRate:48000

[000:145] [2022-08-01 03:54:46 +0000.925383][2dcb] Run AGC when audioType = 0


[000:145] [2022-08-01 03:54:46 +0000.925533][2dcb]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:580] [2022-08-01 03:54:47 +0000.360632][2c39]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:580] [2022-08-01 03:54:47 +0000.360827][2dc7] MediaFilterCamera, recording
file context:0x759e4e6500 input texture:4
[000:580] [2022-08-01 03:54:47 +0000.360890][2dc7] GLESContext:
[000:580] [2022-08-01 03:54:47 +0000.360980][2dc7] The result of eglGetDisplay is:
0x1
[000:581] [2022-08-01 03:54:47 +0000.362177][2dc7] The result of creation:
0x750a61ba00
[000:582] [2022-08-01 03:54:47 +0000.362363][2dc7] The result of
eglCreatePbufferSurface is: 0x750a61bb00
[000:582] [2022-08-01 03:54:47 +0000.362505][2c39]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x759e4e6500 input_texture: 4
[001:798] [2022-08-01 03:54:48 +0000.578343][2dcb] haveEnoughProcessedData
internalAudioStream.length: 0
[002:142] [2022-08-01 03:54:48 +0000.922716][2dcb] Run AGC when audioType = 0
[003:534] [2022-08-01 03:54:50 +0000.314490][2dcb] haveEnoughProcessedData
internalAudioStream.length: 10
[003:962] [2022-08-01 03:54:50 +0000.743207][2c03] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[003:963] [2022-08-01 03:54:50 +0000.743341][2c03]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[003:964] [2022-08-01 03:54:50 +0000.744542][2c03]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[003:964] [2022-08-01 03:54:50 +0000.744802][2dc7] operator() time:11325738 enter.

[003:964] [2022-08-01 03:54:50 +0000.744906][2dc7] MediaFilterCamera, recording


file context:0x759e4e6500 input texture:4
[003:966] [2022-08-01 03:54:50 +0000.746540][2dc7] MicSource: Mic source
created:10x750a7c5000
[003:967] [2022-08-01 03:54:50 +0000.747549][2dc7] received external audio stream

[003:967] [2022-08-01 03:54:50 +0000.747688][2dc7] alloc thread: 0x75321b9100


name:worker0 thread id:503537982656 to Mic_source
[003:967] [2022-08-01 03:54:50 +0000.747803][2dc7] audio: start the audio sender
thread.

[003:967] [2022-08-01 03:54:50 +0000.747982][2dc7] construct OpenGLRenderProgram


0x7503518998
[003:967] [2022-08-01 03:54:50 +0000.748061][2dc7] CropFilter::SetOrientation
orientation: 90
[003:968] [2022-08-01 03:54:50 +0000.748312][2dc7] filter: filter pipeline
construtc this: 0x759e40c600
[003:968] [2022-08-01 03:54:50 +0000.748393][2dc7] filter: filter pipeline2 update
pattern: 1
[003:968] [2022-08-01 03:54:50 +0000.748544][2dc7] CameraSource::source_id_:1
[003:968] [2022-08-01 03:54:50 +0000.748627][2dc7] RecordAudioSource::source_id_:2
[003:968] [2022-08-01 03:54:50 +0000.748892][2dc7] BindInputFilter 0x75323cb4c0
this 0x7503518bc0
[003:968] [2022-08-01 03:54:50 +0000.748999][2dc7] BindInputFilter 0x7532401158
this 0x7532403250
[003:968] [2022-08-01 03:54:50 +0000.749079][2dc7] BindInputFilter 0x7503518bc0
this 0x759e40c6a0
[003:968] [2022-08-01 03:54:50 +0000.749184][2dc7] setParamentForFilters:
speed:1.000000
[003:969] [2022-08-01 03:54:50 +0000.749241][2dc7] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[003:969] [2022-08-01 03:54:50 +0000.749301][2dc7] SetParamForFilter time:11325743
enter.

[003:969] [2022-08-01 03:54:50 +0000.749357][2dc7] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[003:969] [2022-08-01 03:54:50 +0000.749414][2dc7] SetParamForFilter: Params video
index is: 0
[003:969] [2022-08-01 03:54:50 +0000.749465][2dc7] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[003:969] [2022-08-01 03:54:50 +0000.749517][2dc7] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[003:969] [2022-08-01 03:54:50 +0000.749569][2dc7] crop filter mode tpye:
citytravelvideo index:0
[003:970] [2022-08-01 03:54:50 +0000.750504][2dcb] On audio frame the broadcast
with timestamp:11325744 samples:480. (1000 frame for one log)

[003:974] [2022-08-01 03:54:50 +0000.755240][2dc7]


Warning(parse_template_json.cc:45): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755337][2dc7]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755394][2dc7]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755448][2dc7]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755519][2dc7]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755591][2dc7]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755645][2dc7]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755698][2dc7]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755751][2dc7]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755803][2dc7]
Warning(parse_template_json.cc:67): json parament no found the parament
[003:975] [2022-08-01 03:54:50 +0000.755878][2dc7]
Warning(parse_template_json.cc:93): json parament no found the duration
[003:975] [2022-08-01 03:54:50 +0000.755957][2dc7] SetParamForFilter leave. expire
time = 6 ms

[003:976] [2022-08-01 03:54:50 +0000.756340][2dc7] OnOutputSizeChanged width 1280


height 720
[003:976] [2022-08-01 03:54:50 +0000.756420][2dc7] OpenGLFrameBuffer: width:1280
height:720
[003:976] [2022-08-01 03:54:50 +0000.756495][2dc7] OpenGLFrameBuffer: width:1280
height:720
[003:976] [2022-08-01 03:54:50 +0000.756565][2dc7] OpenGLFrameBuffer: width:1280
height:720
[003:976] [2022-08-01 03:54:50 +0000.756639][2dc7] OpenGLFrameBuffer: width:1280
height:720
[003:976] [2022-08-01 03:54:50 +0000.756706][2dc7] OpenGLFrameBuffer: width:1280
height:720
[003:976] [2022-08-01 03:54:50 +0000.756814][2dc7] OpenGLFrameBuffer: width:1280
height:720
[003:976] [2022-08-01 03:54:50 +0000.756869][2dc7] construct TrivalImageDrawer
0x753219a040
[003:976] [2022-08-01 03:54:50 +0000.756927][2dc7] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x753219a040 context 0x759e490a40
[003:976] [2022-08-01 03:54:50 +0000.756981][2dc7] setupGLES:
[003:977] [2022-08-01 03:54:50 +0000.757743][2dc7] OpenGLRenderProgram::Initialize.
[003:977] [2022-08-01 03:54:50 +0000.757863][2dc7] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[003:977] [2022-08-01 03:54:50 +0000.757920][2dc7] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[003:977] [2022-08-01 03:54:50 +0000.758015][2dc7] Init open gl render:
0x7503518998
[003:977] [2022-08-01 03:54:50 +0000.758085][2dc7] Fragement shader path:
[003:977] [2022-08-01 03:54:50 +0000.758132][2e01] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[003:977] [2022-08-01 03:54:50 +0000.758149][2dc7] Fragement shader path:
[003:978] [2022-08-01 03:54:50 +0000.758294][2dc7] create opengl program object.
[003:978] [2022-08-01 03:54:50 +0000.758349][2dc7] create shader: vertex
[003:978] [2022-08-01 03:54:50 +0000.758729][2dc7] create shader: fragment
[003:978] [2022-08-01 03:54:50 +0000.759013][2e01] The output timestamp from audio
mixer change:11325744
[003:978] [2022-08-01 03:54:50 +0000.759077][2e01] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:980] [2022-08-01 03:54:50 +0000.761170][2dc7] Have not extra filter filename!
[003:980] [2022-08-01 03:54:50 +0000.761234][2dc7] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[003:981] [2022-08-01 03:54:50 +0000.761292][2dc7] OpenGLRenderProgram::Initialize
success.
[003:981] [2022-08-01 03:54:50 +0000.761415][2dc7] Setup the OpenGL result:1
[003:981] [2022-08-01 03:54:50 +0000.761798][2dc6] start recording, file
path:/data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4
[003:981] [2022-08-01 03:54:50 +0000.762005][2dc6] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[003:981] [2022-08-01 03:54:50 +0000.762049][2e08] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7516931898
[003:981] [2022-08-01 03:54:50 +0000.762093][2dc6] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[003:981] [2022-08-01 03:54:50 +0000.762172][2dc6] 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_11325755.mp4
fileFD: -1
[003:982] [2022-08-01 03:54:50 +0000.762815][2dc6] MP4
file:/data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4 is
opened successfully
[003:982] [2022-08-01 03:54:50 +0000.762876][2dc6] setupMediaProcessers:
[003:982] [2022-08-01 03:54:50 +0000.762928][2dc6]
RecordingSessionInternalSimple:setup media processers.
[003:982] [2022-08-01 03:54:50 +0000.762984][2dc6] construct AAC encoder
[003:984] [2022-08-01 03:54:50 +0000.764246][2dc6] H264Encoder creating:
superfast011818
[003:984] [2022-08-01 03:54:50 +0000.764322][2dc6] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[003:985] [2022-08-01 03:54:50 +0000.765411][2dc6] H264Encode::GetMachineModel is
220333QAG
[003:985] [2022-08-01 03:54:50 +0000.765484][2dc6] H264Encoder machine_mode
is:220333QAG
[003:985] [2022-08-01 03:54:50 +0000.765541][2dc6] H264Encode::machine size :9
machine_mode:220333QAG
[003:985] [2022-08-01 03:54:50 +0000.765684][2dc6] H264Encode::machine array
size :22 machine_mode:220333QAG
[003:985] [2022-08-01 03:54:50 +0000.765740][2dc6] H264Encode::current machine
is :220333QAG auto check hw codec decide to use hw codec
[003:985] [2022-08-01 03:54:50 +0000.765793][2dc6] setupCompressionSession:
[003:985] [2022-08-01 03:54:50 +0000.765887][2dc6] H264Encode::creating hareware
Encoder
[003:985] [2022-08-01 03:54:50 +0000.765988][2dc6] AndroidHwAvcEncoder
time:11325759 enter.

[003:985] [2022-08-01 03:54:50 +0000.766393][2dc6] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000075bba21380 address:0x74f9d3d760
[003:986] [2022-08-01 03:54:50 +0000.766657][2dc6] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[003:986] [2022-08-01 03:54:50 +0000.766721][2dc6] The video avc hw codec address
is 0x75ab234580
[003:986] [2022-08-01 03:54:50 +0000.766852][2dc6] AndroidHwAvcEncoder leave.
expire time = 1 ms

[003:986] [2022-08-01 03:54:50 +0000.766919][2dc6] RegisterEncodeCompleteCallback


time:11325760 enter.

[003:986] [2022-08-01 03:54:50 +0000.767087][2dc6] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[003:986] [2022-08-01 03:54:50 +0000.767162][2dc6] InitEncode time:11325760 enter.

[003:987] [2022-08-01 03:54:50 +0000.767300][2dc6] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[003:987] [2022-08-01 03:54:50 +0000.767392][2dc6] Create time:11325761 enter.

[003:987] [2022-08-01 03:54:50 +0000.767450][2dc6] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:14680064 usingVbrMode:1
[003:987] [2022-08-01 03:54:50 +0000.767514][2dc6]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7509fd2640
[004:022] [2022-08-01 03:54:50 +0000.802390][2dc6]
supported_type:image/vnd.android.heic
[004:022] [2022-08-01 03:54:50 +0000.802599][2dc6] supported_type:video/avc
[004:022] [2022-08-01 03:54:50 +0000.802663][2dc6] name:OMX.qcom.video.encoder.avc
mime:video/avc
[004:022] [2022-08-01 03:54:50 +0000.802755][2dc6] hwCodecPrefix :OMX.qcom.
[004:022] [2022-08-01 03:54:50 +0000.802826][2dc6] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[004:022] [2022-08-01 03:54:50 +0000.802905][2dc6] mediacodec_createCodecByName
time:11325796 enter.

[004:022] [2022-08-01 03:54:50 +0000.802965][2dc6] WrapAndroidMediaCodec


time:11325796 enter.

[004:023] [2022-08-01 03:54:50 +0000.803268][2dc6] WrapAndroidMediaCodec leave.


expire time = 1 ms

[004:061] [2022-08-01 03:54:50 +0000.841416][2dc6] mediacodec_createCodecByName


leave. expire time = 39 ms

[004:061] [2022-08-01 03:54:50 +0000.841586][2dc6] WrapAndroidMediaFromat


time:11325835 enter.

[004:061] [2022-08-01 03:54:50 +0000.841760][2dc6] WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:087] [2022-08-01 03:54:50 +0000.867994][2dc2]


monitorTime:4004totalDuration:3950
[004:127] [2022-08-01 03:54:50 +0000.907510][2dc6] Destroy time:11325901 enter.

[004:127] [2022-08-01 03:54:50 +0000.907674][2dc6] WrapAndroidMediaFromat::


Destroy
[004:127] [2022-08-01 03:54:50 +0000.907735][2dc6] Destroy leave. expire time = 0
ms

[004:127] [2022-08-01 03:54:50 +0000.907793][2dc6] ~WrapAndroidMediaFromat


time:11325901 enter.

[004:127] [2022-08-01 03:54:50 +0000.907872][2dc6] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:127] [2022-08-01 03:54:50 +0000.907936][2dc6] Create leave. expire time = 140


ms

[004:127] [2022-08-01 03:54:50 +0000.907995][2dc6] isSemiPlanarSupport


time:11325901 enter.

[004:127] [2022-08-01 03:54:50 +0000.908048][2dc6] H264Encoder isSemiPlanarSupport


[004:127] [2022-08-01 03:54:50 +0000.908103][2dc6] isSemiPlanarSupport leave.
expire time = 0 ms

[004:127] [2022-08-01 03:54:50 +0000.908157][2dc6] creat hw H264Encoder success,


isSemiPlanar:1
[004:128] [2022-08-01 03:54:50 +0000.908335][2dc6] InitEncode leave. expire time =
142 ms

[004:128] [2022-08-01 03:54:50 +0000.908396][2dc6] H264Encode::created Encoder


[004:128] [2022-08-01 03:54:50 +0000.908450][2dc6] H264Encode:: H264 encoder
created.
[004:128] [2022-08-01 03:54:50 +0000.908501][2dc6] H264 encoder created.
[004:128] [2022-08-01 03:54:50 +0000.908553][2dc6]
RecordingSessionInternalSimple:created avc encoder avc: 0x750a0b52c0
[004:128] [2022-08-01 03:54:50 +0000.908611][2dc6] setOutput:
[004:128] [2022-08-01 03:54:50 +0000.908662][2dc6]
RecordingSessionInternalSimple:encoder set output to muxer!
[004:128] [2022-08-01 03:54:50 +0000.908714][2dc6] request a key frame
[004:128] [2022-08-01 03:54:50 +0000.908763][2dc6] H264Encode:: request a key frame
[004:128] [2022-08-01 03:54:50 +0000.909051][2dc6] setDisplayRotate :90
[004:128] [2022-08-01 03:54:50 +0000.909140][2dc6] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[004:129] [2022-08-01 03:54:50 +0000.909285][2dc7] StartRecording:
[004:129] [2022-08-01 03:54:50 +0000.909432][2e01] operator(): Set the recording
session in mic source. recording session: 0x7532401000
[004:129] [2022-08-01 03:54:50 +0000.909639][2dc7] operator() leave. expire time =
165 ms

[004:129] [2022-08-01 03:54:50 +0000.909649][2e00] AF_SpeedFilter audio


0x7532403100 PullFrame
[004:129] [2022-08-01 03:54:50 +0000.909747][2e00]
RecordAudioSource::PullAudioFrame
[004:129] [2022-08-01 03:54:50 +0000.909805][2e00] AF_SpeedFilter::PullFrame eof4
[004:131] [2022-08-01 03:54:50 +0000.911960][2e00]
Warning(media_filter_camera.cc:548): media pull audio frame failed:4
[004:133] [2022-08-01 03:54:50 +0000.914165][2e00] AF_SpeedFilter audio time,
0x7532403100 rcv time: 11325897
[004:134] [2022-08-01 03:54:50 +0000.914285][2e00] AF_SpeedFilter audio time,
0x7532403100 rcv time: 11325897in_nSamples:441
[004:134] [2022-08-01 03:54:50 +0000.914530][2e00] resampled_data_size:0
[004:144] [2022-08-01 03:54:50 +0000.924814][2dcb] Run AGC when audioType = 0
[004:144] [2022-08-01 03:54:50 +0000.924990][2dcb]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:197] [2022-08-01 03:54:50 +0000.978140][2dc7]
MediaFilterCamera::NeedProcessTexture
[004:198] [2022-08-01 03:54:50 +0000.978307][2dc7] begine recode to first frame
spend time:234
[004:198] [2022-08-01 03:54:50 +0000.978360][2dc7] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x75323cb380
[004:198] [2022-08-01 03:54:50 +0000.978450][2dc7] blur_distance_:0
[004:198] [2022-08-01 03:54:50 +0000.978497][2dc7] blur_direction_angle_:-90
[004:198] [2022-08-01 03:54:50 +0000.978577][2dc7]
GPUImageProcessing::SetOrientation orientation: 90
[004:198] [2022-08-01 03:54:50 +0000.978626][2dc7] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[004:198] [2022-08-01 03:54:50 +0000.978749][2dc7] GPUImageProcessing: process
video frame with resolution 1280 X 720
[004:198] [2022-08-01 03:54:50 +0000.978814][2dc7] GPUImageProcessing: input frame
width1280 X 720
[004:201] [2022-08-01 03:54:50 +0000.982157][2dc7] drawYUV420 render
OpenGLRenderProgram:0x7503518998
[004:203] [2022-08-01 03:54:50 +0000.983439][2dc7] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:203] [2022-08-01 03:54:50 +0000.983556][2dc7] CropFilter::OnVideoFrame
outputtexture :6
[004:203] [2022-08-01 03:54:50 +0000.983602][2dc7] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:208] [2022-08-01 03:54:50 +0000.988958][2dc7] The read pixel from buffer take:
5 width:1280 height:720 frameType:0
[004:233] [2022-08-01 03:54:51 +0000.13884][2dc7] drawYUV420 render
OpenGLRenderProgram:0x7503518998
[004:248] [2022-08-01 03:54:51 +0000.28270][2dc7] The convert RGB to YUV take 5
[004:248] [2022-08-01 03:54:51 +0000.28527][2dc7] FilterPipeline2::OnVideoFrame pts
32 last_video_timestamp_ 32
[004:248] [2022-08-01 03:54:51 +0000.28608][2dc7]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[004:249] [2022-08-01 03:54:51 +0000.29905][2e00] AF_SpeedFilter audio time 222,
0x7532403100 out time: 11325897 org time: 11325897
[004:249] [2022-08-01 03:54:51 +0000.29994][2e00] FilterPipeline2::OnAudioFrame pts
10 last_audio_timestamp_ 10
[004:249] [2022-08-01 03:54:51 +0000.30033][2e00]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 11325897
[004:249] [2022-08-01 03:54:51 +0000.30075][2e00]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[004:249] [2022-08-01 03:54:51 +0000.30124][2e00] AF_SpeedFilter audio time
[004:249] [2022-08-01 03:54:51 +0000.30224][2e00] AF_SpeedFilter audio time 111,
0x7532403100 out time: 11325907 org time: 11325907
[004:250] [2022-08-01 03:54:51 +0000.30679][2e07]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[004:250] [2022-08-01 03:54:51 +0000.30785][2e07] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[004:250] [2022-08-01 03:54:51 +0000.30834][2e07] push video frame to H264 encoder.
(100 frame for one log)

[004:250] [2022-08-01 03:54:51 +0000.30870][2e07] push video frame to H264 encoder.


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

[004:250] [2022-08-01 03:54:51 +0000.30908][2e07] H264Encode::push video frame to


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

[004:250] [2022-08-01 03:54:51 +0000.30948][2e07] Push an pts:0 to dts queue.


[004:250] [2022-08-01 03:54:51 +0000.30994][2e07] DTS queue for
Generator:0x7516931ab8 0
[004:250] [2022-08-01 03:54:51 +0000.31021][2e07] The input pts:0 fps:30
[004:252] [2022-08-01 03:54:51 +0000.32503][2e07]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[004:267] [2022-08-01 03:54:51 +0000.47609][2dc7] drawYUV420 render
OpenGLRenderProgram:0x7503518998
[004:334] [2022-08-01 03:54:51 +0000.114977][2e07] h264 add frame header cdr flag
[004:335] [2022-08-01 03:54:51 +0000.115834][2e07] h264 add frame header cdr flag
[004:336] [2022-08-01 03:54:51 +0000.116499][2e07] SendFrame
encodedImage._timeStamp:0encodedImage->_length:121471
[004:336] [2022-08-01 03:54:51 +0000.116609][2e07] Received key frame:0
[004:336] [2022-08-01 03:54:51 +0000.116680][2e07] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[004:336] [2022-08-01 03:54:51 +0000.116749][2e07] H264Encode::H264SWEncoder get
callback, length:121471 type:0 nalType:7length:18
[004:336] [2022-08-01 03:54:51 +0000.116811][2e07] H264Encode:: get a sps pps
header!headerSize:31
[004:336] [2022-08-01 03:54:51 +0000.116868][2e07] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[004:336] [2022-08-01 03:54:51 +0000.117050][2e08] get the H.264 SPS parameter
[004:337] [2022-08-01 03:54:51 +0000.117753][2e08] add video track with id:1
[004:338] [2022-08-01 03:54:51 +0000.118544][2e06]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:8
[004:338] [2022-08-01 03:54:51 +0000.119142][2e08] get the H.264 PPS parameter
[004:339] [2022-08-01 03:54:51 +0000.119690][2e08] get the H.264 IDR frame
[004:339] [2022-08-01 03:54:51 +0000.119777][2e08] resss:true
[004:339] [2022-08-01 03:54:51 +0000.119830][2e08] video start ts:0
[004:339] [2022-08-01 03:54:51 +0000.120052][2e08] the video frame has been written
into MP4 file
[004:340] [2022-08-01 03:54:51 +0000.120709][2e08] add aac audio track with id:2
[004:341] [2022-08-01 03:54:51 +0000.121460][2e08] audio start ts:0
[004:341] [2022-08-01 03:54:51 +0000.121609][2e08] the audio frame has been written
into MP4 file
[004:690] [2022-08-01 03:54:51 +0000.470365][2dc7] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[004:734] [2022-08-01 03:54:51 +0000.515207][2dc7] The convert RGB to YUV take 4
[004:975] [2022-08-01 03:54:51 +0000.755708][2e01] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:076] [2022-08-01 03:54:51 +0000.856356][2e07] DTS queue for
Generator:0x7516931ab8 798 837
[005:197] [2022-08-01 03:54:51 +0000.977750][2dc7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:234] [2022-08-01 03:54:52 +0000.15202][2dc7] The convert RGB to YUV take 4
[005:238] [2022-08-01 03:54:52 +0000.19220][2dcb] haveEnoughProcessedData
internalAudioStream.length: 0
[005:570] [2022-08-01 03:54:52 +0000.350366][2e07] Push an pts:1334 to dts queue.
[005:634] [2022-08-01 03:54:52 +0000.415024][2e07] last dts:1300 currentPts:1334
ppsOrSPS:0 queue length:3
[005:701] [2022-08-01 03:54:52 +0000.481268][2e00] AF_SpeedFilter audio
0x7532403100 PullFrame
[005:703] [2022-08-01 03:54:52 +0000.484127][2dc7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:736] [2022-08-01 03:54:52 +0000.516370][2dc7] The convert RGB to YUV take 5
[005:904] [2022-08-01 03:54:52 +0000.685116][2e07] DTS queue for
Generator:0x7516931ab8 1636 1669
[005:943] [2022-08-01 03:54:52 +0000.723637][2e00]
RecordAudioSource::PullAudioFrame
[005:973] [2022-08-01 03:54:52 +0000.753811][2e01] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:142] [2022-08-01 03:54:52 +0000.922858][2dcb] Run AGC when audioType = 0
[006:197] [2022-08-01 03:54:52 +0000.978148][2dc7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:240] [2022-08-01 03:54:53 +0000.20775][2dc7] The convert RGB to YUV take 5
[006:261] [2022-08-01 03:54:53 +0000.42114][2dc7] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[006:310] [2022-08-01 03:54:53 +0000.90519][2e07] h264 add frame header cdr flag
[006:310] [2022-08-01 03:54:53 +0000.91044][2e07] Received key frame:2006
[006:312] [2022-08-01 03:54:53 +0000.92777][2e08] get the H.264 IDR frame
[006:347] [2022-08-01 03:54:53 +0000.127418][2e00] AF_SpeedFilter::PullFrame eof4
[006:349] [2022-08-01 03:54:53 +0000.129645][2e00]
Warning(media_filter_camera.cc:548): media pull audio frame failed:4
[006:406] [2022-08-01 03:54:53 +0000.186446][2e00] resampled_data_size:7168
[006:608] [2022-08-01 03:54:53 +0000.388537][2e06]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:2
[006:694] [2022-08-01 03:54:53 +0000.474902][2dc7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:704] [2022-08-01 03:54:53 +0000.485060][2e07] DTS queue for
Generator:0x7516931ab8 2464
[006:735] [2022-08-01 03:54:53 +0000.516062][2dc7] The convert RGB to YUV take 4
[006:905] [2022-08-01 03:54:53 +0000.686063][2e07] Push an pts:2668 to dts queue.
[006:942] [2022-08-01 03:54:53 +0000.723096][2dcb] haveEnoughProcessedData
internalAudioStream.length: 10
[006:971] [2022-08-01 03:54:53 +0000.752193][2e07] last dts:2628 currentPts:2668
ppsOrSPS:0 queue length:3
[006:976] [2022-08-01 03:54:53 +0000.756255][2e01] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:197] [2022-08-01 03:54:53 +0000.978222][2dc7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:233] [2022-08-01 03:54:54 +0000.13572][2dc7] The convert RGB to YUV take 5
[007:262] [2022-08-01 03:54:54 +0000.42378][2e00] AF_SpeedFilter audio 0x7532403100
PullFrame
[007:496] [2022-08-01 03:54:54 +0000.276602][2dc7] drawYUV420 render
OpenGLRenderProgram:0x7503518998
[007:560] [2022-08-01 03:54:54 +0000.340806][2dc7] GPUImageProcessing: process
video frame with resolution 1280 X 720
[007:560] [2022-08-01 03:54:54 +0000.340988][2dc7] GPUImageProcessing: input frame
width1280 X 720
[007:561] [2022-08-01 03:54:54 +0000.341751][2dc7] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[007:561] [2022-08-01 03:54:54 +0000.341865][2dc7] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[007:569] [2022-08-01 03:54:54 +0000.349835][2e07]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3331
[007:569] [2022-08-01 03:54:54 +0000.349976][2e07] DTS queue for
Generator:0x7516931ab8 3266 3293 3331
[007:572] [2022-08-01 03:54:54 +0000.353194][2e07] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3293 pts:3293
[007:601] [2022-08-01 03:54:54 +0000.381744][2e07] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3363
[007:601] [2022-08-01 03:54:54 +0000.381924][2e07] push video frame to H264
encoder. (100 frame for one log)

[007:601] [2022-08-01 03:54:54 +0000.381973][2e07] push video frame to H264


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

[007:601] [2022-08-01 03:54:54 +0000.382019][2e07] H264Encode::push video frame to


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

[007:601] [2022-08-01 03:54:54 +0000.382077][2e07] The input pts:3363 fps:30


[007:635] [2022-08-01 03:54:54 +0000.415843][2e07] SendFrame
encodedImage._timeStamp:3331encodedImage->_length:54128
[007:636] [2022-08-01 03:54:54 +0000.417072][2e07] H264Encode::H264SWEncoder get
callback, length:48320 type:1 nalType:1length:48316
[007:695] [2022-08-01 03:54:54 +0000.475741][2dc7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:734] [2022-08-01 03:54:54 +0000.514729][2dc7] The convert RGB to YUV take 5
[007:758] [2022-08-01 03:54:54 +0000.539145][2e00]
RecordAudioSource::PullAudioFrame
[007:980] [2022-08-01 03:54:54 +0000.760641][2e01] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:141] [2022-08-01 03:54:54 +0000.922223][2dcb] Run AGC when audioType = 0
[008:142] [2022-08-01 03:54:54 +0000.922434][2dcb]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:196] [2022-08-01 03:54:54 +0000.976579][2dc7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[008:234] [2022-08-01 03:54:55 +0000.14430][2dc7] The convert RGB to YUV take 5
[008:236] [2022-08-01 03:54:55 +0000.17167][2e07] Push an pts:4000 to dts queue.
[008:299] [2022-08-01 03:54:55 +0000.79513][2e07] h264 add frame header cdr flag
[008:299] [2022-08-01 03:54:55 +0000.79895][2e07] Received key frame:4000
[008:299] [2022-08-01 03:54:55 +0000.79953][2e07] last dts:3966 currentPts:4000
ppsOrSPS:0 queue length:3
[008:301] [2022-08-01 03:54:55 +0000.81269][2e08] get the H.264 IDR frame
[008:331] [2022-08-01 03:54:55 +0000.111777][2dc7] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[008:364] [2022-08-01 03:54:55 +0000.144551][2e07] DTS queue for
Generator:0x7516931ab8 4096 4127
[008:555] [2022-08-01 03:54:55 +0000.335569][2e00] AF_SpeedFilter::PullFrame eof4
[008:557] [2022-08-01 03:54:55 +0000.337886][2e00]
Warning(media_filter_camera.cc:548): media pull audio frame failed:4
[008:615] [2022-08-01 03:54:55 +0000.395900][2e00] resampled_data_size:0
[008:649] [2022-08-01 03:54:55 +0000.429642][2dcb] haveEnoughProcessedData
internalAudioStream.length: 10
[008:696] [2022-08-01 03:54:55 +0000.476327][2dc7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[008:725] [2022-08-01 03:54:55 +0000.505820][2dc7] The convert RGB to YUV take 4
[008:819] [2022-08-01 03:54:55 +0000.599843][2e00] AF_SpeedFilter audio
0x7532403100 PullFrame
[008:968] [2022-08-01 03:54:55 +0000.748355][2e06]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:6
[008:979] [2022-08-01 03:54:55 +0000.759961][2e01] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:171] [2022-08-01 03:54:55 +0000.951503][2c03]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[009:171] [2022-08-01 03:54:55 +0000.951806][2dc7] operator(): Stop
[009:171] [2022-08-01 03:54:55 +0000.951889][2dc7] StopPullFrameAndWriteMp4
time:11330945 enter.

[009:171] [2022-08-01 03:54:55 +0000.951970][2dc7] StopRecording:


[009:176] [2022-08-01 03:54:55 +0000.956327][2e00] resampled_data_size:512
[009:176] [2022-08-01 03:54:55 +0000.956494][2e00] AF_SpeedFilter audio time 222,
0x7532403100 out time: 11330887 org time: 11330887
[009:176] [2022-08-01 03:54:55 +0000.956624][2e00] PullAudioFrame: PullFrame audio
finished.
[009:176] [2022-08-01 03:54:55 +0000.956700][2e00]
Warning(media_filter_camera.cc:543): media pull audio frame EOF, so need stop
Timer!
[009:179] [2022-08-01 03:54:55 +0000.959745][2e07]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:149
[009:180] [2022-08-01 03:54:55 +0000.960508][2dc6] stop recording
[009:180] [2022-08-01 03:54:55 +0000.960592][2dc6]
RecordingSessionInternalSimple:destroy media processers
[009:180] [2022-08-01 03:54:55 +0000.960650][2dc6] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[009:180] [2022-08-01 03:54:55 +0000.960720][2dc6] H264Encode::flushing hareware
Encoder
[009:180] [2022-08-01 03:54:55 +0000.960987][2dc6] Flush time:11330954 enter.

[009:180] [2022-08-01 03:54:55 +0000.961074][2dc6] H264Encoder encoder flush


[009:180] [2022-08-01 03:54:55 +0000.961147][2dc6] flush output queue
[009:202] [2022-08-01 03:54:55 +0000.982629][2dc6] DTS queue for
Generator:0x7516931ab8
[009:498] [2022-08-01 03:54:56 +0000.278483][2dc6] Flush leave. expire time = 318
ms

[009:498] [2022-08-01 03:54:56 +0000.278898][2dc6] ~H264EncodeWrap:


[009:498] [2022-08-01 03:54:56 +0000.279081][2dc6] ~H264Encode:
[009:498] [2022-08-01 03:54:56 +0000.279176][2dc6] teardownCompressionSession:
H264Encode::destroying Encoder
[009:499] [2022-08-01 03:54:56 +0000.279263][2dc6] Release time:11331273 enter.
[009:499] [2022-08-01 03:54:56 +0000.279642][2dc6] Release:
MediaCodecVideoEncoder::Release _inited:1
[009:499] [2022-08-01 03:54:56 +0000.279794][2dc6] Destroy time:11331273 enter.

[009:499] [2022-08-01 03:54:56 +0000.279882][2dc6] H264Encoder encoderDestroy


[009:499] [2022-08-01 03:54:56 +0000.279964][2dc6]
AndroidMediaCodecVideoEncoder::release env: 0x7516ad5c00
[009:499] [2022-08-01 03:54:56 +0000.280049][2dc6]
AndroidMediaCodecVideoEncoder::Destroy
[009:537] [2022-08-01 03:54:56 +0000.317632][2dc6] Destroy leave. expire time = 38
ms

[009:537] [2022-08-01 03:54:56 +0000.317967][2dc6] Release leave. expire time = 38


ms

[009:537] [2022-08-01 03:54:56 +0000.318094][2dc6] ~AndroidHwAvcEncoder


time:11331311 enter.

[009:538] [2022-08-01 03:54:56 +0000.318554][2dc6] Release time:11331312 enter.

[009:538] [2022-08-01 03:54:56 +0000.318713][2dc6] Release:


MediaCodecVideoEncoder:: has been released before, just return
[009:538] [2022-08-01 03:54:56 +0000.318820][2dc6] Release leave. expire time = 0
ms

[009:538] [2022-08-01 03:54:56 +0000.318884][2dc6] ~AndroidMediaCodecVideoEncoder


[009:538] [2022-08-01 03:54:56 +0000.318939][2dc6] ~WrapAndroidMediaCodec
time:11331312 enter.

[009:538] [2022-08-01 03:54:56 +0000.318996][2dc6] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[009:538] [2022-08-01 03:54:56 +0000.319069][2dc6] video hevc hw codec


destructor:0x75ab234580

[009:539] [2022-08-01 03:54:56 +0000.319275][2dc6] ~AndroidHwAvcEncoder leave.


expire time = 2 ms

[009:539] [2022-08-01 03:54:56 +0000.319397][2dc6] teardownCompressionSession:


H264Encode::destroyed Encoder
[009:539] [2022-08-01 03:54:56 +0000.319525][2dc6]
RecordingSessionInternalSimple:destroy aac encoder output!
[009:539] [2022-08-01 03:54:56 +0000.319600][2dc6] AACSWEncode destructor
[009:552] [2022-08-01 03:54:56 +0000.332591][2e08] MP4 close file successfully
[009:552] [2022-08-01 03:54:56 +0000.332783][2e08] Recording session Internal:
notify recording ok
[009:552] [2022-08-01 03:54:56 +0000.332865][2e08] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4,
output_video_timestamp_:4928 last_video_pts_:4928
[009:552] [2022-08-01 03:54:56 +0000.332965][2e08] OnRecordFinish:
[009:555] [2022-08-01 03:54:56 +0000.335651][2e08] onRecordingOk: net seek
pos:0record video duration:4961record audio duration:4945
[009:556] [2022-08-01 03:54:56 +0000.336844][2e01] destructMicSource_w:
[009:556] [2022-08-01 03:54:56 +0000.337073][2e01] setOutput_w:
MicSource::setOutput() 0x0
[009:556] [2022-08-01 03:54:56 +0000.337160][2e01] close external audio stream

[009:557] [2022-08-01 03:54:56 +0000.337485][2dc7] releaseThread 0x75321b9100


[009:557] [2022-08-01 03:54:56 +0000.337604][2dc7] ~MicSource: Mic source
destroyed:0x750a7c5000
[009:559] [2022-08-01 03:54:56 +0000.339609][2dc7] StopPullFrameAndWriteMp4 leave.
expire time = 388 ms

[009:559] [2022-08-01 03:54:56 +0000.339813][2dc7] DestroyPipelineAndFilters


time:11331333 enter.

[009:559] [2022-08-01 03:54:56 +0000.339917][2dc7] UnbindInputFilter 0x75323cb4c0


this 0x7503518bc0
[009:559] [2022-08-01 03:54:56 +0000.339992][2dc7] UnbindInputFilter 0x7532401158
this 0x7532403250
[009:559] [2022-08-01 03:54:56 +0000.340083][2dc7] UnbindInputFilter 0x7503518bc0
this 0x759e40c6a0
[009:559] [2022-08-01 03:54:56 +0000.340125][2dc7] filter: filter pipeline destroy
this: 0x759e40c600
[009:561] [2022-08-01 03:54:56 +0000.342111][2dc7] ClearVideoOfSources: recodring
total frames:0
[009:562] [2022-08-01 03:54:56 +0000.342356][2dc7] ClearVideoOfSources:
[009:562] [2022-08-01 03:54:56 +0000.342454][2dc7] GPUImageProcessing destruct.
[009:562] [2022-08-01 03:54:56 +0000.342560][2dc7] destroy TrivalImageDrawer
0x753219a040
[009:562] [2022-08-01 03:54:56 +0000.342637][2dc7] The shader has been initialize,
clean up them.

[009:562] [2022-08-01 03:54:56 +0000.342762][2dc7] ~OpenGLFrameBuffer:


[009:562] [2022-08-01 03:54:56 +0000.343052][2dc7] ~OpenGLFrameBuffer:
[009:565] [2022-08-01 03:54:56 +0000.345537][2dc7] ~OpenGLFrameBuffer:
[009:565] [2022-08-01 03:54:56 +0000.345961][2dc7] ~OpenGLFrameBuffer:
[009:566] [2022-08-01 03:54:56 +0000.346829][2dc7] ~OpenGLFrameBuffer:
[009:567] [2022-08-01 03:54:56 +0000.347375][2dc7] ~OpenGLFrameBuffer:
[009:567] [2022-08-01 03:54:56 +0000.348090][2dc7] GPUImageProcessing destruct
finish.
[009:568] [2022-08-01 03:54:56 +0000.348272][2dc7] GPURGBAFrame destruct.
[009:568] [2022-08-01 03:54:56 +0000.348465][2dc7] destroy OpenGLRenderProgram
0x7503518998
[009:568] [2022-08-01 03:54:56 +0000.348576][2dc7] ~CameraSource time:11331342
enter.

[009:568] [2022-08-01 03:54:56 +0000.348640][2dc7] ~CameraSource leave. expire


time = 0 ms

[009:568] [2022-08-01 03:54:56 +0000.348711][2dc7] ~RecordAudioSource time:11331342


enter.

[009:568] [2022-08-01 03:54:56 +0000.348761][2dc7] ~RecordAudioSource leave.


expire time = 0 ms

[009:568] [2022-08-01 03:54:56 +0000.348823][2dc7] DestroyPipelineAndFilters


leave. expire time = 9 ms

[009:602] [2022-08-01 03:54:56 +0000.382885][2c03]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[009:603] [2022-08-01 03:54:56 +0000.384186][2c03] machine model :redmi
[009:605] [2022-08-01 03:54:56 +0000.385283][2c03] Support this machine
model :redmi
[009:605] [2022-08-01 03:54:56 +0000.385340][2c03] global inited! current sdk
version: 12-14-d8558ab
[009:605] [2022-08-01 03:54:56 +0000.385640][2c03] filter: filter pipeline
construtc this: 0x75323cb200
[009:605] [2022-08-01 03:54:56 +0000.385704][2c03] MediaFilterGraph:
MediaFilterGraph construct
[009:605] [2022-08-01 03:54:56 +0000.385759][2c03] GLESContext:
[009:605] [2022-08-01 03:54:56 +0000.385837][2c03] The result of eglGetDisplay is:
0x1
[009:607] [2022-08-01 03:54:56 +0000.387947][2c03] The result of creation:
0x753248cb80
[009:607] [2022-08-01 03:54:56 +0000.388135][2c03] The result of
eglCreatePbufferSurface is: 0x753248f200
[009:609] [2022-08-01 03:54:56 +0000.389383][2c03] The source 0
path:/data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4
[009:609] [2022-08-01 03:54:56 +0000.389482][2c03] The source 0 speed:1
[009:609] [2022-08-01 03:54:56 +0000.389564][2c03] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4, delay:
0
[009:609] [2022-08-01 03:54:56 +0000.389634][2c03] CreateDecoderByVideoSource
time:11331383 enter.

[009:609] [2022-08-01 03:54:56 +0000.390014][2c03] running_decoder_count:0max


count:2
[009:609] [2022-08-01 03:54:56 +0000.390079][2c03] Start decoding file
/data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x750a611c00
[009:630] [2022-08-01 03:54:56 +0000.410945][2e12] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7516952600] Current FFmpeg version git-2021-06-16-
97cea6f

[009:695] [2022-08-01 03:54:56 +0000.475738][2e12] OnStreamInfoFound: video


duration_: 4961
[009:698] [2022-08-01 03:54:56 +0000.479084][2c03] start decoder
[009:698] [2022-08-01 03:54:56 +0000.479226][2c03] CreateDecoderByVideoSource
leave. expire time = 90 ms

[009:699] [2022-08-01 03:54:56 +0000.479316][2c03] BindInputFilter 0x753236e0a0


this 0x75324df318
[009:699] [2022-08-01 03:54:56 +0000.479380][2c03] BindInputFilter 0x75324df318
this 0x75324df3d8
[009:699] [2022-08-01 03:54:56 +0000.479445][2c03] BindInputFilter 0x753236e0a0
this 0x75324df498
[009:699] [2022-08-01 03:54:56 +0000.479507][2c03] BindInputFilter 0x75324df498
this 0x75324df558
[009:699] [2022-08-01 03:54:56 +0000.479547][2c03] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4
[009:699] [2022-08-01 03:54:56 +0000.479612][2c03] BindInputFilter 0x75324df3d8
this 0x75324df618
[009:699] [2022-08-01 03:54:56 +0000.479698][2c03] BindInputFilter 0x75324df618
this 0x75323cb2a0
[009:699] [2022-08-01 03:54:56 +0000.479760][2c03] BindInputFilter 0x75324df558
this 0x75324df6d8
[009:699] [2022-08-01 03:54:56 +0000.479820][2c03] AddVideoSource: END add video
source: /data/user/0/com.android.camera/no_backup/milive//record_video_11325755.mp4
[009:700] [2022-08-01 03:54:56 +0000.480981][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[009:701] [2022-08-01 03:54:56 +0000.481779][2c03] machine model :redmi
[009:701] [2022-08-01 03:54:56 +0000.481847][2c03] Support this machine
model :redmi
[009:701] [2022-08-01 03:54:56 +0000.481889][2c03] global inited! current sdk
version: 12-14-d8558ab
[009:701] [2022-08-01 03:54:56 +0000.481999][2c03] GetPipeline:
-----------------------------------------
[009:701] [2022-08-01 03:54:56 +0000.482043][2c03] GetPipeline: source:
0x753236de80
[009:701] [2022-08-01 03:54:56 +0000.482084][2c03] GetPipeline: filter: NULLFilter
[009:701] [2022-08-01 03:54:56 +0000.482124][2c03] GetPipeline: filter: NULLFilter
[009:701] [2022-08-01 03:54:56 +0000.482163][2c03] GetPipeline: filter: NULLFilter
[009:701] [2022-08-01 03:54:56 +0000.482229][2c03] GetPipeline: audio filter:
AuidoNULLFilter
[009:702] [2022-08-01 03:54:56 +0000.482311][2c03] GetPipeline: audio filter:
AuidoNULLFilter
[009:702] [2022-08-01 03:54:56 +0000.482327][2e13] NO get frame from decoder
[009:702] [2022-08-01 03:54:56 +0000.482350][2c03] GetPipeline: audio filter:
AudioNUllFilter
[009:702] [2022-08-01 03:54:56 +0000.482433][2c03] GetPipeline:
------------------------------------------
[009:702] [2022-08-01 03:54:56 +0000.482477][2c03] filter: filter pipeline2 update
pattern: 0
[009:703] [2022-08-01 03:54:56 +0000.484072][2c03] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[009:704] [2022-08-01 03:54:56 +0000.484598][2c03] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[009:704] [2022-08-01 03:54:56 +0000.484738][2c03] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[009:704] [2022-08-01 03:54:56 +0000.484843][2e13] NO get frame from decoder
[009:704] [2022-08-01 03:54:56 +0000.485015][2c03] DeviceInit:
[009:705] [2022-08-01 03:54:56 +0000.485474][2c03] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[009:705] [2022-08-01 03:54:56 +0000.485918][2c03] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[009:706] [2022-08-01 03:54:56 +0000.486736][2c03] CreatePlatformSpecificObjects:
[009:706] [2022-08-01 03:54:56 +0000.486852][2c03] audio device use null audio
input and opensl output
[009:706] [2022-08-01 03:54:56 +0000.486910][2c03] Create OpenSLES output module
with java VM support.

[009:706] [2022-08-01 03:54:56 +0000.487224][2c03] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[009:707] [2022-08-01 03:54:56 +0000.487300][2e13] NO get frame from decoder
[009:707] [2022-08-01 03:54:56 +0000.487637][2c03] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[009:707] [2022-08-01 03:54:56 +0000.488090][2c03] Create OpenSLES output module
with buffer num:2

[009:707] [2022-08-01 03:54:56 +0000.488194][2c03] Error(trace.cc:40): Init the


output and input for audio device template.
[009:708] [2022-08-01 03:54:56 +0000.488274][2c03] Init the output device.

[009:708] [2022-08-01 03:54:56 +0000.488322][2c03] Set the playout as stereo:1


[009:708] [2022-08-01 03:54:56 +0000.488381][2c03] Set the sample rate to be:44100

[009:708] [2022-08-01 03:54:56 +0000.488483][2c03] Low latency buffer size:144 low


sample rate:48000
[009:708] [2022-08-01 03:54:56 +0000.488561][2c03] DeviceInit: Done
[009:708] [2022-08-01 03:54:56 +0000.488893][2c03] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[009:710] [2022-08-01 03:54:56 +0000.490572][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[009:710] [2022-08-01 03:54:56 +0000.490791][2c03]
MediaFilterPlayer::SetPlayerNotify 0x759e3ff5e0
[009:711] [2022-08-01 03:54:56 +0000.491246][2e13] NO get frame from decoder
[009:713] [2022-08-01 03:54:56 +0000.493455][2e1d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7503503f18
[009:713] [2022-08-01 03:54:56 +0000.494162][2e13] NO get frame from decoder
[009:716] [2022-08-01 03:54:56 +0000.496653][2e13] NO get frame from decoder
[009:717] [2022-08-01 03:54:56 +0000.498310][2c03]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[009:718] [2022-08-01 03:54:56 +0000.498461][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[009:719] [2022-08-01 03:54:56 +0000.499651][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 720, height: 1280
[009:720] [2022-08-01 03:54:56 +0000.500480][2c03] SetGraphLoop: SetGraphLoop 1
[009:720] [2022-08-01 03:54:56 +0000.500541][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[009:721] [2022-08-01 03:54:56 +0000.501338][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[009:724] [2022-08-01 03:54:56 +0000.505004][2e13] NO get frame from decoder
[009:725] [2022-08-01 03:54:56 +0000.505552][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[009:730] [2022-08-01 03:54:56 +0000.510366][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[009:730] [2022-08-01 03:54:56 +0000.510656][2e1f] Start:
[009:730] [2022-08-01 03:54:56 +0000.510821][2e1e] operator(): video render
started.
[009:730] [2022-08-01 03:54:56 +0000.510868][2e1e] DriveRender working... (1/200)
[009:730] [2022-08-01 03:54:56 +0000.510884][2e1f] Start:
[009:730] [2022-08-01 03:54:56 +0000.510984][2e1e] Warning(video_render.cc:390): No
picture to display (1/50)
[009:730] [2022-08-01 03:54:56 +0000.511152][2e1f] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[009:730] [2022-08-01 03:54:56 +0000.511197][2e1f] Reset: history total size: 98
[009:730] [2022-08-01 03:54:56 +0000.511226][2e1f] DeviceStart:
audioDevice_:0x74e59f4000
[009:731] [2022-08-01 03:54:56 +0000.511251][2e1f] DeviceStart: time profile
playout init before
[009:731] [2022-08-01 03:54:56 +0000.511279][2e1f] DeviceStart: time profile
playout init end
[009:731] [2022-08-01 03:54:56 +0000.511302][2e1f] OpenSlesOutput:Start playout

[009:731] [2022-08-01 03:54:56 +0000.511419][2e13] NO get frame from decoder


[009:735] [2022-08-01 03:54:56 +0000.515910][2e1f] Create the opensl output player.
streamtype before:0

[009:735] [2022-08-01 03:54:56 +0000.515997][2e1f] Create the opensl output player.


streamtype after:3

[009:800] [2022-08-01 03:54:56 +0000.580708][2e1f] Enqueue opensl buffer size:1764


[009:850] [2022-08-01 03:54:56 +0000.631090][2e1f] DeviceStart: time profile
playout all end
[009:850] [2022-08-01 03:54:56 +0000.631156][2e22]
PlayerSimpleBufferQueueCallbackHandler function
[009:851] [2022-08-01 03:54:56 +0000.631310][2e1f] operator(): Audio playback
started.
[009:851] [2022-08-01 03:54:56 +0000.631417][2e22] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[009:851] [2022-08-01 03:54:56 +0000.631490][2e22]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[009:851] [2022-08-01 03:54:56 +0000.631516][2e1f] operator(): Started now!
[009:851] [2022-08-01 03:54:56 +0000.631529][2e20] Pull audio failed.(wait video!)
[009:851] [2022-08-01 03:54:56 +0000.631613][2e20]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[009:851] [2022-08-01 03:54:56 +0000.631631][2e21] Error(video_source.cc:430): wait
decoder a frame: 0
[009:853] [2022-08-01 03:54:56 +0000.633483][2e21] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[009:857] [2022-08-01 03:54:56 +0000.638143][2e21] OnVideoFrameReady(1/200)
[009:858] [2022-08-01 03:54:56 +0000.638596][2e20] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[009:858] [2022-08-01 03:54:56 +0000.638714][2e20] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[009:858] [2022-08-01 03:54:56 +0000.638834][2e1e] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[009:858] [2022-08-01 03:54:56 +0000.638969][2e1e] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:11331632
[009:858] [2022-08-01 03:54:56 +0000.639221][2e20] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[009:861] [2022-08-01 03:54:56 +0000.641666][2e1f] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[009:861] [2022-08-01 03:54:56 +0000.641885][2e1f] The audio playback speed:100
(1/100)
[009:861] [2022-08-01 03:54:56 +0000.641958][2e1f] lipsync_debug: The current
played audio timestamp is:0(1/50)
[009:861] [2022-08-01 03:54:56 +0000.642016][2e1f] First audio frame rendering
[009:887] [2022-08-01 03:54:56 +0000.667941][2e1e] lipsync_debug: render a video
frame
[009:887] [2022-08-01 03:54:56 +0000.668076][2e1e] lipsync_debug: First video frame
rendering.
[009:898] [2022-08-01 03:54:56 +0000.678677][2e1e]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:24 timeDelta:40 last
video ts:900 frame->pts:3060 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[009:898] [2022-08-01 03:54:56 +0000.678817][2e1e] lipsync_debug: tsDelta -
timeDelta = -16
[009:898] [2022-08-01 03:54:56 +0000.678847][2e1e] lipsync_debug:result remaining
time:0
[009:898] [2022-08-01 03:54:56 +0000.678873][2e1e] dynamic updated lipsync delay:0
[009:906] [2022-08-01 03:54:56 +0000.686348][2e1e] lipsync_debug:remaining time:10
tsDelta - timeDelta:6
[009:906] [2022-08-01 03:54:56 +0000.686802][2e1e] lipsync_debug:result remaining
time:6
[009:995] [2022-08-01 03:54:56 +0000.775565][2e21] video frame wait audio frame:
last_video_timestamp:298 last_audio_timestamp:184.943
[009:995] [2022-08-01 03:54:56 +0000.775716][2e21]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[010:183] [2022-08-01 03:54:56 +0000.964147][2dcc] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:184] [2022-08-01 03:54:56 +0000.964296][2dcc] _deviceSampleRate:48000

[010:186] [2022-08-01 03:54:56 +0000.966979][2dcb] Run AGC when audioType = 0


[010:373] [2022-08-01 03:54:57 +0000.153361][2dcb] haveEnoughProcessedData
internalAudioStream.length: 10
[010:515] [2022-08-01 03:54:57 +0000.295438][2e1e] lipsync_debug:displaying video
ts:59940 The current displayed video timestamp is:11332289
[010:703] [2022-08-01 03:54:57 +0000.483545][2e22]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[010:851] [2022-08-01 03:54:57 +0000.632158][2e1f] do work DoLipsync!
[010:852] [2022-08-01 03:54:57 +0000.632318][2e1f] total delay:283 videoTsMS:999
audioTsMS:716 diff:283
[010:852] [2022-08-01 03:54:57 +0000.632351][2e1f] Set the lipsync delay:283
[011:031] [2022-08-01 03:54:57 +0000.811910][2e21] Error(video_source.cc:430): wait
decoder a frame: 0
[011:347] [2022-08-01 03:54:58 +0000.127829][2e1e] lipsync_debug:displaying video
ts:120060 The current displayed video timestamp is:11333121
[011:406] [2022-08-01 03:54:58 +0000.187239][2c03]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[011:407] [2022-08-01 03:54:58 +0000.187875][2e1f] Stop:
[011:411] [2022-08-01 03:54:58 +0000.191795][2e1e] operator(): Video Render
stopped.
[011:414] [2022-08-01 03:54:58 +0000.195202][2e1f] Stop:
[011:416] [2022-08-01 03:54:58 +0000.196581][2e1f] DeviceStop:
audioDevice_:0x74e59f4000
[011:416] [2022-08-01 03:54:58 +0000.196761][2e1f] OpenSlesOutput:Stop playout

[011:423] [2022-08-01 03:54:58 +0000.203811][2e1f] DeviceStop: Done


[011:423] [2022-08-01 03:54:58 +0000.204091][2e1f] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[011:423] [2022-08-01 03:54:58 +0000.204149][2e1f] operator(): Stop now!
[011:519] [2022-08-01 03:54:58 +0000.299913][2c20]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[011:519] [2022-08-01 03:54:58 +0000.300178][2c20] ~MediaFilterCamera time:11333293
enter.

[011:519] [2022-08-01 03:54:58 +0000.300228][2c20] StopPullFrameAndWriteMp4


time:11333293 enter.

[011:523] [2022-08-01 03:54:58 +0000.304003][2dc6] stop recording


[011:523] [2022-08-01 03:54:58 +0000.304121][2dc6] we have stopped recording before
[011:524] [2022-08-01 03:54:58 +0000.305088][2c20] StopPullFrameAndWriteMp4 leave.
expire time = 5 ms

[011:526] [2022-08-01 03:54:58 +0000.306660][2c20] DestroyPipelineAndFilters


time:11333300 enter.

[011:526] [2022-08-01 03:54:58 +0000.306740][2c20] DestroyPipelineAndFilters


leave. expire time = 0 ms

[011:526] [2022-08-01 03:54:58 +0000.306768][2c20] AppDeviceManagerStopMic

[011:526] [2022-08-01 03:54:58 +0000.306865][2c20] AppDeviceManagerStopMic::mic


status is on
[011:526] [2022-08-01 03:54:58 +0000.306906][2c20] Try to stop webrtc device.

[011:526] [2022-08-01 03:54:58 +0000.306932][2c20] Set record state to


stopped.threadID:11296

[011:590] [2022-08-01 03:54:58 +0000.371217][2c20] Try to destory the


recorder.threadID:11296
[011:791] [2022-08-01 03:54:58 +0000.571474][2c20] DestroyAudioRecorder:
[011:7

You might also like