You are on page 1of 71

[000:067] [2023-07-22 04:37:26 +0000.

159691][5e51] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-07-
22 04:37:26 +0000
[000:067] [2023-07-22 04:37:26 +0000.159795][5e51] set AppID=50011 old AppID=-1
[000:067] [2023-07-22 04:37:26 +0000.159816][5e51] Init the android object with
jvm:0xb4000077b8fc4380 env:0x7715209900 context:0x76bb6c22d8

[000:067] [2023-07-22 04:37:26 +0000.159882][5e51] SetAndroidMediaCodecObjects


time:16312467 enter.

[000:067] [2023-07-22 04:37:26 +0000.159930][5e51] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:067] [2023-07-22 04:37:26 +0000.159966][5e51] SetAndroidMediaCodecObjects


time:16312467 enter.

[000:067] [2023-07-22 04:37:26 +0000.159986][5e51] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000077b8fc4380
[000:067] [2023-07-22 04:37:26 +0000.160013][5e51] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000077b8fc4380 address:0x7651116760
[000:067] [2023-07-22 04:37:26 +0000.160035][5e51] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000077b8fc4380
address:0x7651116760
[000:067] [2023-07-22 04:37:26 +0000.160063][5e51] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:067] [2023-07-22 04:37:26 +0000.160099][5e51] Set the android objects with


jvm:0xb4000077b8fc4380 env:0x7715209900 context:0x76bb6c22d8

[000:068] [2023-07-22 04:37:26 +0000.161255][5e51] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7715209900
[000:068] [2023-07-22 04:37:26 +0000.161356][5e51] SystemUtil Init done
[000:075] [2023-07-22 04:37:26 +0000.168250][5e51]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:076] [2023-07-22 04:37:26 +0000.169395][5e51] MediaFilterCamera
[000:078] [2023-07-22 04:37:26 +0000.170675][5e51] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:078] [2023-07-22 04:37:26 +0000.170841][5e51] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:078] [2023-07-22 04:37:26 +0000.170886][5e51] Recording session using default
bitrate support by app:31457280
[000:078] [2023-07-22 04:37:26 +0000.170910][686f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7722834cc0
[000:078] [2023-07-22 04:37:26 +0000.171509][686f] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:079] [2023-07-22 04:37:26 +0000.171653][5e51] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:079] [2023-07-22 04:37:26 +0000.172507][5e51] Error(ini.cc:191): Open the file
failed. error:2
[000:079] [2023-07-22 04:37:26 +0000.172549][5e51]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:080] [2023-07-22 04:37:26 +0000.172691][5e51] The device model: 21121119sg
usingSoftwareAEC value: 0
[000:085] [2023-07-22 04:37:26 +0000.177832][5e51] Error(ini.cc:191): Open the file
failed. error:2
[000:085] [2023-07-22 04:37:26 +0000.177921][5e51]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:085] [2023-07-22 04:37:26 +0000.177948][5e51] The device model: 21121119sg
usingHardwareAEC value: 0
[000:085] [2023-07-22 04:37:26 +0000.177966][5e51] The machine device: 21121119sg
usingHardwareAEC value: 0
[000:085] [2023-07-22 04:37:26 +0000.177982][5e51] Using Default AEC type: software
AEC
[000:086] [2023-07-22 04:37:26 +0000.179288][5e51] The device model: 21121119sg
enum value: 0
[000:088] [2023-07-22 04:37:26 +0000.180934][5e51] GetMachineModel is 21121119SG
[000:088] [2023-07-22 04:37:26 +0000.181023][5e51] GetMachineInfo: 21121119SG
[000:088] [2023-07-22 04:37:26 +0000.181071][5e51] Construct BeautifyReader
begin...
[000:088] [2023-07-22 04:37:26 +0000.181091][5e51] dumpStickerRgba:0
dumpStickerYuv:0
[000:088] [2023-07-22 04:37:26 +0000.181106][5e51] Construct BeautifyReader done.
[000:092] [2023-07-22 04:37:26 +0000.185535][5e51] Error(ini.cc:191): Open the file
failed. error:2
[000:093] [2023-07-22 04:37:26 +0000.185648][5e51]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:093] [2023-07-22 04:37:26 +0000.185784][5e51] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:093] [2023-07-22 04:37:26 +0000.185817][5e51] AppDeviceManager telnet server
for statistics started......
[000:093] [2023-07-22 04:37:26 +0000.185859][6872] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77229c97a0
[000:093] [2023-07-22 04:37:26 +0000.186282][5e51] CpuOverloadDetect time:16312493
enter.

[000:093] [2023-07-22 04:37:26 +0000.186418][5e51] CpuOverloadDetect leave. expire


time = 0 ms

[000:093] [2023-07-22 04:37:26 +0000.186553][6873] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x77228c3680
[000:094] [2023-07-22 04:37:26 +0000.187392][5e51] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:094] [2023-07-22 04:37:26 +0000.187447][5e51] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:095] [2023-07-22 04:37:26 +0000.188030][5e51] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:096] [2023-07-22 04:37:26 +0000.188911][5e51] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:096] [2023-07-22 04:37:26 +0000.189548][5e51] CreatePlatformSpecificObjects:
[000:097] [2023-07-22 04:37:26 +0000.189604][5e51] audio device use opensle input
and opensl output
[000:097] [2023-07-22 04:37:26 +0000.189643][5e51] Create OpenSLES output module
with java VM support.

[000:097] [2023-07-22 04:37:26 +0000.189817][5e51] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:097] [2023-07-22 04:37:26 +0000.190022][5e51] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:097] [2023-07-22 04:37:26 +0000.190228][5e51] Create OpenSLES output module
with buffer num:1

[000:097] [2023-07-22 04:37:26 +0000.190393][5e51] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:097] [2023-07-22 04:37:26 +0000.190562][5e51] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:098] [2023-07-22 04:37:26 +0000.190760][5e51] Create OpenSLES input module
with java VM support.

[000:098] [2023-07-22 04:37:26 +0000.190799][5e51] Create OpenSLES input module


with buffer num:1

[000:098] [2023-07-22 04:37:26 +0000.190873][5e51] Error(trace.cc:40): Init the


output and input for audio device template.
[000:098] [2023-07-22 04:37:26 +0000.190902][5e51] Init the output device.

[000:098] [2023-07-22 04:37:26 +0000.190922][5e51] Init the opensl input.


[000:098] [2023-07-22 04:37:26 +0000.190942][5e51] AppDeviceManager get setting
samplerate: 0
[000:098] [2023-07-22 04:37:26 +0000.191460][5e51] The device model: 21121119sg
enum value: 0
[000:099] [2023-07-22 04:37:26 +0000.192276][5e51] The device model: 21121119sg
enum value: 0
[000:099] [2023-07-22 04:37:26 +0000.192310][5e51] Set the sample rate to be:48000

[000:099] [2023-07-22 04:37:26 +0000.192331][5e51] Enable the recording stereo:0


[000:099] [2023-07-22 04:37:26 +0000.192369][5e51] Set the playout as stereo:1
[000:099] [2023-07-22 04:37:26 +0000.192390][5e51] Init the microphone.
[000:101] [2023-07-22 04:37:26 +0000.193832][5e51] Update the recording sample rate
to be: 48000
[000:101] [2023-07-22 04:37:26 +0000.193902][5e51] Init the speaker.
[000:101] [2023-07-22 04:37:26 +0000.193937][5e51] Low latency buffer size:256 low
sample rate:48000
[000:102] [2023-07-22 04:37:26 +0000.194866][5e51] Using 1 x 10ms for an audio
frame.

[000:105] [2023-07-22 04:37:26 +0000.198453][5e51] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:106] [2023-07-22 04:37:26 +0000.198616][5e51] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:106] [2023-07-22 04:37:26 +0000.198673][5e51] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:111] [2023-07-22 04:37:26 +0000.204032][5e51] The device model:21121119sg

[000:111] [2023-07-22 04:37:26 +0000.204122][5e51] speaker output factor:100


defaultFactor: 100

[000:111] [2023-07-22 04:37:26 +0000.204143][5e51] headset output factor:100


defaultFactor: 100

[000:112] [2023-07-22 04:37:26 +0000.204756][5e51] AppDeviceManagerStart finished.


[000:112] [2023-07-22 04:37:26 +0000.204820][5e51] AppDeviceManagerStartMic::mic
status is off
[000:112] [2023-07-22 04:37:26 +0000.204860][5e51] AppDeviceManagerStartMic update
aec type: 2

[000:112] [2023-07-22 04:37:26 +0000.204877][5e51] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:112] [2023-07-22 04:37:26 +0000.204892][5e51]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:112] [2023-07-22 04:37:26 +0000.204906][5e51]
AudioDeviceDataHandler::StartMicProcess
[000:112] [2023-07-22 04:37:26 +0000.205022][5e51] Try to start webrtc recording
device.

[000:112] [2023-07-22 04:37:26 +0000.205056][5e51] StartRecording. threadID:24145

[000:112] [2023-07-22 04:37:26 +0000.205082][6874] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:112] [2023-07-22 04:37:26 +0000.205208][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[000:112] [2023-07-22 04:37:26 +0000.205560][5e51] The machine model:21121119SG

[000:113] [2023-07-22 04:37:26 +0000.205622][5e51] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:113] [2023-07-22 04:37:26 +0000.205649][5e51] Set the recording mode before


getSetting: 4
[000:113] [2023-07-22 04:37:26 +0000.205680][5e51] Set the recording mode after
getSetting: 1
[000:158] [2023-07-22 04:37:26 +0000.250845][5e51] StartRecording finished.

[000:158] [2023-07-22 04:37:26 +0000.250955][5e51] audio: start the audio mic


checker timer.

[000:159] [2023-07-22 04:37:26 +0000.251700][5e51] machine model :redmi


[000:159] [2023-07-22 04:37:26 +0000.251789][5e51] Support this machine
model :redmi
[000:169] [2023-07-22 04:37:26 +0000.262056][5e51] global inited! current sdk
version: 07-20-936c45f
[000:270] [2023-07-22 04:37:26 +0000.362954][6875] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:270] [2023-07-22 04:37:26 +0000.363141][6875] _deviceSampleRate:48000

[000:275] [2023-07-22 04:37:26 +0000.368566][6874] Run AGC when audioType = 0


[000:276] [2023-07-22 04:37:26 +0000.368999][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:599] [2023-07-22 04:37:26 +0000.691742][60f1]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:599] [2023-07-22 04:37:26 +0000.692206][6870] MediaFilterCamera, recording
file context:0x7715325580 input texture:8
[000:599] [2023-07-22 04:37:26 +0000.692323][6870] GLESContext:
[000:599] [2023-07-22 04:37:26 +0000.692410][6870] The result of eglGetDisplay is:
0x1
[000:601] [2023-07-22 04:37:26 +0000.694023][6870] The result of creation:
0x7722886d80
[000:606] [2023-07-22 04:37:26 +0000.698884][6870] The result of
eglCreatePbufferSurface is: 0x7722886e00
[000:606] [2023-07-22 04:37:26 +0000.699206][60f1]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7715325580 input_texture: 8
[001:856] [2023-07-22 04:37:27 +0000.949295][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[002:258] [2023-07-22 04:37:28 +0000.350952][6874] Run AGC when audioType = 0
[003:565] [2023-07-22 04:37:29 +0000.658453][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[004:161] [2023-07-22 04:37:30 +0000.254479][686b]
monitorTime:4003totalDuration:3910
[004:257] [2023-07-22 04:37:30 +0000.349870][6874] Run AGC when audioType = 0
[004:257] [2023-07-22 04:37:30 +0000.350219][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:265] [2023-07-22 04:37:31 +0000.358136][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[006:255] [2023-07-22 04:37:32 +0000.347988][6874] Run AGC when audioType = 0
[006:974] [2023-07-22 04:37:33 +0000.67302][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[008:259] [2023-07-22 04:37:34 +0000.352154][6874] Run AGC when audioType = 0
[008:259] [2023-07-22 04:37:34 +0000.352674][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:679] [2023-07-22 04:37:34 +0000.772231][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[010:254] [2023-07-22 04:37:36 +0000.347250][6875] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:254] [2023-07-22 04:37:36 +0000.347428][6875] _deviceSampleRate:48000

[010:255] [2023-07-22 04:37:36 +0000.348167][6874] Run AGC when audioType = 0


[010:379] [2023-07-22 04:37:36 +0000.472521][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[012:087] [2023-07-22 04:37:38 +0000.180248][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[012:258] [2023-07-22 04:37:38 +0000.351586][6874] Run AGC when audioType = 0
[012:259] [2023-07-22 04:37:38 +0000.351849][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:791] [2023-07-22 04:37:39 +0000.884410][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[014:257] [2023-07-22 04:37:40 +0000.350323][6874] Run AGC when audioType = 0
[015:499] [2023-07-22 04:37:41 +0000.591994][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[015:512] [2023-07-22 04:37:41 +0000.605135][5e33] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[015:512] [2023-07-22 04:37:41 +0000.605299][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[015:514] [2023-07-22 04:37:41 +0000.606700][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[015:514] [2023-07-22 04:37:41 +0000.606995][6870] operator() time:16327914 enter.

[015:515] [2023-07-22 04:37:41 +0000.608223][6870] MediaFilterCamera, recording


file context:0x7715325580 input texture:8
[015:517] [2023-07-22 04:37:41 +0000.610514][6870] MicSource: Mic source
created:10x772288a300
[015:519] [2023-07-22 04:37:41 +0000.611694][6870] received external audio stream

[015:519] [2023-07-22 04:37:41 +0000.611847][6870] alloc thread: 0x772283d100


name:worker0 thread id:508716874944 to Mic_source
[015:519] [2023-07-22 04:37:41 +0000.611933][6870] audio: start the audio sender
thread.

[015:519] [2023-07-22 04:37:41 +0000.612247][6870] construct OpenGLRenderProgram


0x772285dd98
[015:519] [2023-07-22 04:37:41 +0000.612374][6870] CropFilter::SetOrientation
orientation: 90
[015:520] [2023-07-22 04:37:41 +0000.612894][6870] filter: filter pipeline
construtc this: 0x7678efd8c0
[015:520] [2023-07-22 04:37:41 +0000.613013][6870] filter: filter pipeline2 update
pattern: 1
[015:520] [2023-07-22 04:37:41 +0000.613158][6870] CameraSource::source_id_:1
[015:520] [2023-07-22 04:37:41 +0000.613228][6870] RecordAudioSource::source_id_:2
[015:521] [2023-07-22 04:37:41 +0000.614535][6870] BindInputFilter 0x772283d840
this 0x772285dfc0
[015:522] [2023-07-22 04:37:41 +0000.614667][6870] BindInputFilter 0x772283d9d8
this 0x772283dcd0
[015:522] [2023-07-22 04:37:41 +0000.614722][6870] BindInputFilter 0x772285dfc0
this 0x7678efd960
[015:522] [2023-07-22 04:37:41 +0000.614816][6870] setParamentForFilters:
speed:0.330000
[015:522] [2023-07-22 04:37:41 +0000.614868][6870] SetParamForFilter:
AF_SpeedFilter params:, speed_ 0.33
[015:522] [2023-07-22 04:37:41 +0000.614922][6870] SetParamForFilter time:16327922
enter.

[015:522] [2023-07-22 04:37:41 +0000.614972][6870] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[015:522] [2023-07-22 04:37:41 +0000.615023][6870] SetParamForFilter: Params video
index is: 0
[015:522] [2023-07-22 04:37:41 +0000.615074][6870] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[015:522] [2023-07-22 04:37:41 +0000.615125][6870] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[015:522] [2023-07-22 04:37:41 +0000.615174][6870] crop filter mode tpye:
citytravelvideo index:0
[015:525] [2023-07-22 04:37:41 +0000.618113][6874] On audio frame the broadcast
with timestamp:16327925 samples:480. (1000 frame for one log)

[015:529] [2023-07-22 04:37:41 +0000.622122][6870]


Warning(parse_template_json.cc:45): json parament no found the parament
[015:529] [2023-07-22 04:37:41 +0000.622247][6916] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[015:529] [2023-07-22 04:37:41 +0000.622278][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:529] [2023-07-22 04:37:41 +0000.622344][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:529] [2023-07-22 04:37:41 +0000.622415][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:529] [2023-07-22 04:37:41 +0000.622487][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:529] [2023-07-22 04:37:41 +0000.622593][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:530] [2023-07-22 04:37:41 +0000.622692][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:530] [2023-07-22 04:37:41 +0000.622765][6870]
Warning(parse_template_json.cc:81): json parament no found the parament
[015:530] [2023-07-22 04:37:41 +0000.622837][6870]
Warning(parse_template_json.cc:81): json parament no found the parament
[015:530] [2023-07-22 04:37:41 +0000.622909][6870]
Warning(parse_template_json.cc:67): json parament no found the parament
[015:530] [2023-07-22 04:37:41 +0000.622936][6916] The output timestamp from audio
mixer change:16327925
[015:530] [2023-07-22 04:37:41 +0000.623008][6870]
Warning(parse_template_json.cc:93): json parament no found the duration
[015:530] [2023-07-22 04:37:41 +0000.623046][6916] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:530] [2023-07-22 04:37:41 +0000.623393][6870] SetParamForFilter leave. expire
time = 8 ms
[015:531] [2023-07-22 04:37:41 +0000.623944][6870] OnOutputSizeChanged width 1280
height 720
[015:531] [2023-07-22 04:37:41 +0000.624054][6870] OpenGLFrameBuffer: width:1280
height:720
[015:531] [2023-07-22 04:37:41 +0000.624221][6870] OpenGLFrameBuffer: width:1280
height:720
[015:531] [2023-07-22 04:37:41 +0000.624297][6870] OpenGLFrameBuffer: width:1280
height:720
[015:531] [2023-07-22 04:37:41 +0000.624382][6870] OpenGLFrameBuffer: width:1280
height:720
[015:531] [2023-07-22 04:37:41 +0000.624434][6870] OpenGLFrameBuffer: width:1280
height:720
[015:531] [2023-07-22 04:37:41 +0000.624524][6870] OpenGLFrameBuffer: width:1280
height:720
[015:531] [2023-07-22 04:37:41 +0000.624595][6870] construct TrivalImageDrawer
0x772280a840
[015:532] [2023-07-22 04:37:41 +0000.624730][6870] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x772280a840 context 0x772292ee40
[015:532] [2023-07-22 04:37:41 +0000.624808][6870] setupGLES:
[015:550] [2023-07-22 04:37:41 +0000.642633][6870] OpenGLRenderProgram::Initialize.
[015:550] [2023-07-22 04:37:41 +0000.642800][6870] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[015:550] [2023-07-22 04:37:41 +0000.642848][6870] The extension of the OpenGL:
GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat
GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap
GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax
GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context
GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic
GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables
GL_OES_sample_shading GL_OES_shader_multisample_interpolation
GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader
GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5
GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float
GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
GL_EXT_external_buffer GL_EXT_EGL_image_array GL_EXT_texture_filter_anisotropic
GL_ARM_texture_unnormalized_coordinates
[015:550] [2023-07-22 04:37:41 +0000.643001][6870] Init open gl render:
0x772285dd98
[015:550] [2023-07-22 04:37:41 +0000.643049][6870] Fragement shader path:
[015:550] [2023-07-22 04:37:41 +0000.643087][6870] Fragement shader path:
[015:550] [2023-07-22 04:37:41 +0000.643115][6870] create opengl program object.
[015:550] [2023-07-22 04:37:41 +0000.643141][6870] create shader: vertex
[015:552] [2023-07-22 04:37:41 +0000.645252][6870] create shader: fragment
[015:646] [2023-07-22 04:37:41 +0000.738713][6870] Have not extra filter filename!
[015:646] [2023-07-22 04:37:41 +0000.738942][6870] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[015:646] [2023-07-22 04:37:41 +0000.739011][6870] OpenGLRenderProgram::Initialize
success.
[015:653] [2023-07-22 04:37:41 +0000.745748][6870] Setup the OpenGL result:1
[015:654] [2023-07-22 04:37:41 +0000.747161][686f] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4
[015:654] [2023-07-22 04:37:41 +0000.747471][686f] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[015:654] [2023-07-22 04:37:41 +0000.747544][691e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x767a634698
[015:655] [2023-07-22 04:37:41 +0000.747607][686f] 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
[015:655] [2023-07-22 04:37:41 +0000.747682][686f] 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_16328053.mp4
fileFD: -1
[015:657] [2023-07-22 04:37:41 +0000.749821][686f] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4
is opened successfully
[015:657] [2023-07-22 04:37:41 +0000.750051][686f] setupMediaProcessers:
[015:657] [2023-07-22 04:37:41 +0000.750131][686f]
RecordingSessionInternalSimple:setup media processers.
[015:657] [2023-07-22 04:37:41 +0000.750227][686f] construct AAC encoder
[015:658] [2023-07-22 04:37:41 +0000.750987][686f] H264Encoder creating:
superfast011818
[015:658] [2023-07-22 04:37:41 +0000.751207][686f] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[015:660] [2023-07-22 04:37:41 +0000.752769][686f] H264Encode::GetMachineModel is
21121119SG
[015:660] [2023-07-22 04:37:41 +0000.752913][686f] H264Encoder machine_mode
is:21121119SG
[015:660] [2023-07-22 04:37:41 +0000.752969][686f] H264Encode::machine size :9
machine_mode:21121119SG
[015:660] [2023-07-22 04:37:41 +0000.753051][686f] H264Encode::machine array
size :22 machine_mode:21121119SG
[015:660] [2023-07-22 04:37:41 +0000.753130][686f] H264Encode::current machine
is :21121119SG auto check hw codec decide to use hw codec
[015:660] [2023-07-22 04:37:41 +0000.753187][686f] setupCompressionSession:
[015:660] [2023-07-22 04:37:41 +0000.753237][686f] H264Encode::creating hareware
Encoder
[015:660] [2023-07-22 04:37:41 +0000.753317][686f] AndroidHwAvcEncoder
time:16328060 enter.

[015:661] [2023-07-22 04:37:41 +0000.753868][686f] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000077b8fc4380 address:0x7651116760
[015:661] [2023-07-22 04:37:41 +0000.754284][686f] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[015:661] [2023-07-22 04:37:41 +0000.754376][686f] The video avc hw codec address
is 0x767a7f8e58
[015:661] [2023-07-22 04:37:41 +0000.754552][686f] AndroidHwAvcEncoder leave.
expire time = 1 ms

[015:662] [2023-07-22 04:37:41 +0000.754638][686f] RegisterEncodeCompleteCallback


time:16328062 enter.

[015:662] [2023-07-22 04:37:41 +0000.755042][686f] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[015:662] [2023-07-22 04:37:41 +0000.755139][686f] InitEncode time:16328062 enter.

[015:662] [2023-07-22 04:37:41 +0000.755359][686f] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[015:662] [2023-07-22 04:37:41 +0000.755454][686f] Create time:16328062 enter.

[015:662] [2023-07-22 04:37:41 +0000.755533][686f] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[015:663] [2023-07-22 04:37:41 +0000.755621][686f]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x766e3d4f80
[015:663] [2023-07-22 04:37:41 +0000.756231][686f] supported_type:audio/mp4a-latm
[015:663] [2023-07-22 04:37:41 +0000.756339][686f] supported_type:audio/mp4a-latm
[015:663] [2023-07-22 04:37:41 +0000.756454][686f] supported_type:audio/3gpp
[015:663] [2023-07-22 04:37:41 +0000.756549][686f] supported_type:audio/3gpp
[015:664] [2023-07-22 04:37:41 +0000.756746][686f] supported_type:audio/amr-wb
[015:664] [2023-07-22 04:37:41 +0000.756882][686f] supported_type:audio/amr-wb
[015:664] [2023-07-22 04:37:41 +0000.757049][686f] supported_type:audio/flac
[015:664] [2023-07-22 04:37:41 +0000.757157][686f] supported_type:audio/flac
[015:664] [2023-07-22 04:37:41 +0000.757363][686f] supported_type:audio/opus
[015:664] [2023-07-22 04:37:41 +0000.757570][686f] supported_type:video/avc
[015:665] [2023-07-22 04:37:41 +0000.757685][686f] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[015:665] [2023-07-22 04:37:41 +0000.757814][686f] hwCodecPrefix :OMX.qcom.
[015:665] [2023-07-22 04:37:41 +0000.757893][686f] hwCodecPrefix :OMX.Nvidia.
[015:665] [2023-07-22 04:37:41 +0000.757995][686f] hwCodecPrefix :OMX.IMG.TOPAZ
[015:665] [2023-07-22 04:37:41 +0000.758074][686f] hwCodecPrefix :OMX.Exynos
[015:665] [2023-07-22 04:37:41 +0000.758172][686f] hwCodecPrefix :OMX.MTK
[015:665] [2023-07-22 04:37:41 +0000.758254][686f] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[015:665] [2023-07-22 04:37:41 +0000.758341][686f] mediacodec_createCodecByName
time:16328065 enter.

[015:665] [2023-07-22 04:37:41 +0000.758467][686f] WrapAndroidMediaCodec


time:16328065 enter.

[015:666] [2023-07-22 04:37:41 +0000.758849][686f] WrapAndroidMediaCodec leave.


expire time = 1 ms

[015:836] [2023-07-22 04:37:41 +0000.928939][686f] mediacodec_createCodecByName


leave. expire time = 171 ms

[015:836] [2023-07-22 04:37:41 +0000.929082][686f] WrapAndroidMediaFromat


time:16328236 enter.
[015:836] [2023-07-22 04:37:41 +0000.929305][686f] WrapAndroidMediaFromat leave.
expire time = 0 ms

[015:918] [2023-07-22 04:37:42 +0000.10796][686f] Destroy time:16328318 enter.

[015:918] [2023-07-22 04:37:42 +0000.10927][686f] WrapAndroidMediaFromat::


Destroy
[015:918] [2023-07-22 04:37:42 +0000.10962][686f] Destroy leave. expire time = 0
ms

[015:918] [2023-07-22 04:37:42 +0000.10991][686f] ~WrapAndroidMediaFromat


time:16328318 enter.

[015:918] [2023-07-22 04:37:42 +0000.11027][686f] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[015:918] [2023-07-22 04:37:42 +0000.11063][686f] Create leave. expire time = 256


ms

[015:918] [2023-07-22 04:37:42 +0000.11096][686f] isSemiPlanarSupport time:16328318


enter.

[015:918] [2023-07-22 04:37:42 +0000.11128][686f] H264Encoder isSemiPlanarSupport


[015:918] [2023-07-22 04:37:42 +0000.11157][686f] isSemiPlanarSupport leave.
expire time = 0 ms

[015:918] [2023-07-22 04:37:42 +0000.11187][686f] creat hw H264Encoder success,


isSemiPlanar:1
[015:918] [2023-07-22 04:37:42 +0000.11355][686f] InitEncode leave. expire time =
256 ms

[015:918] [2023-07-22 04:37:42 +0000.11462][686f] H264Encode::created Encoder


[015:918] [2023-07-22 04:37:42 +0000.11518][686f] H264Encode:: H264 encoder
created.
[015:918] [2023-07-22 04:37:42 +0000.11561][686f] H264 encoder created.
[015:918] [2023-07-22 04:37:42 +0000.11601][686f]
RecordingSessionInternalSimple:created avc encoder avc: 0x768fcf4f80
[015:919] [2023-07-22 04:37:42 +0000.11638][686f] setOutput:
[015:919] [2023-07-22 04:37:42 +0000.11678][686f]
RecordingSessionInternalSimple:encoder set output to muxer!
[015:919] [2023-07-22 04:37:42 +0000.11717][686f] request a key frame
[015:919] [2023-07-22 04:37:42 +0000.11754][686f] H264Encode:: request a key frame
[015:919] [2023-07-22 04:37:42 +0000.11978][686f] setDisplayRotate :90
[015:919] [2023-07-22 04:37:42 +0000.12078][686f] 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
[015:919] [2023-07-22 04:37:42 +0000.12246][6870] StartRecording:
[015:919] [2023-07-22 04:37:42 +0000.12399][6916] operator(): Set the recording
session in mic source. recording session: 0x772283d880
[015:920] [2023-07-22 04:37:42 +0000.12672][6870] operator() leave. expire time =
406 ms

[015:920] [2023-07-22 04:37:42 +0000.12684][6915] AF_SpeedFilter audio 0x772283db80


PullFrame
[015:920] [2023-07-22 04:37:42 +0000.12850][6915] RecordAudioSource::PullAudioFrame
[015:920] [2023-07-22 04:37:42 +0000.12931][6915] AF_SpeedFilter::PullFrame eof4
[015:922] [2023-07-22 04:37:42 +0000.15385][6915]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[015:927] [2023-07-22 04:37:42 +0000.20041][6915] AF_SpeedFilter audio time,
0x772283db80 rcv time: 16328318
[015:927] [2023-07-22 04:37:42 +0000.20371][6915] AF_SpeedFilter audio time,
0x772283db80 rcv time: 16328318in_nSamples:441
[015:928] [2023-07-22 04:37:42 +0000.20795][6915] resampled_data_size:0
[015:974] [2023-07-22 04:37:42 +0000.67504][6870]
MediaFilterCamera::NeedProcessTexture
[015:975] [2023-07-22 04:37:42 +0000.67913][6870] begine recode to first frame
spend time:461
[015:975] [2023-07-22 04:37:42 +0000.68071][6870] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x772283d700
[015:975] [2023-07-22 04:37:42 +0000.68297][6870] blur_distance_:0
[015:975] [2023-07-22 04:37:42 +0000.68416][6870] blur_direction_angle_:-90
[015:975] [2023-07-22 04:37:42 +0000.68516][6870]
GPUImageProcessing::SetOrientation orientation: 90
[015:975] [2023-07-22 04:37:42 +0000.68583][6870] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[015:976] [2023-07-22 04:37:42 +0000.68789][6870] GPUImageProcessing: process video
frame with resolution 1280 X 720
[015:976] [2023-07-22 04:37:42 +0000.68860][6870] GPUImageProcessing: input frame
width1280 X 720
[015:976] [2023-07-22 04:37:42 +0000.69303][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[015:977] [2023-07-22 04:37:42 +0000.69729][6870] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[015:977] [2023-07-22 04:37:42 +0000.69994][6870] CropFilter::OnVideoFrame
outputtexture :10
[015:977] [2023-07-22 04:37:42 +0000.70045][6870] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[015:984] [2023-07-22 04:37:42 +0000.77636][6870] The read pixel from buffer take:
6 width:1280 height:720 frameType:0
[015:999] [2023-07-22 04:37:42 +0000.92015][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[016:012] [2023-07-22 04:37:42 +0000.105365][6870] The convert RGB to YUV take 4
[016:013] [2023-07-22 04:37:42 +0000.105916][6870] FilterPipeline2::OnVideoFrame
pts 24 last_video_timestamp_ 24
[016:013] [2023-07-22 04:37:42 +0000.106126][6870]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[016:015] [2023-07-22 04:37:42 +0000.108505][691d]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[016:016] [2023-07-22 04:37:42 +0000.108778][691d] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[016:016] [2023-07-22 04:37:42 +0000.108839][691d] push video frame to H264
encoder. (100 frame for one log)

[016:016] [2023-07-22 04:37:42 +0000.108882][691d] push video frame to H264


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

[016:016] [2023-07-22 04:37:42 +0000.108944][691d] H264Encode::push video frame to


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

[016:016] [2023-07-22 04:37:42 +0000.108987][691d] Push an pts:0 to dts queue.


[016:016] [2023-07-22 04:37:42 +0000.109260][691d] DTS queue for
Generator:0x766e7f84b8 0
[016:016] [2023-07-22 04:37:42 +0000.109378][691d] The input pts:0 fps:30
[016:018] [2023-07-22 04:37:42 +0000.111348][691d]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[016:034] [2023-07-22 04:37:42 +0000.126889][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[016:081] [2023-07-22 04:37:42 +0000.174124][6915] AF_SpeedFilter audio time 222,
0x772283db80 out time: 16328318 org time: 16328318
[016:081] [2023-07-22 04:37:42 +0000.174604][6915] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[016:082] [2023-07-22 04:37:42 +0000.174750][6915]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 16328318
[016:082] [2023-07-22 04:37:42 +0000.174988][6915]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[016:082] [2023-07-22 04:37:42 +0000.175169][6915] AF_SpeedFilter audio time
[016:082] [2023-07-22 04:37:42 +0000.175422][6915] AF_SpeedFilter audio time 111,
0x772283db80 out time: 16328328 org time: 16328328
[016:083] [2023-07-22 04:37:42 +0000.176319][691d] h264 add frame header cdr flag
[016:084] [2023-07-22 04:37:42 +0000.177453][691d] h264 add frame header cdr flag
[016:085] [2023-07-22 04:37:42 +0000.178481][691d] SendFrame
encodedImage._timeStamp:0encodedImage->_length:180934
[016:086] [2023-07-22 04:37:42 +0000.178668][691d] Received key frame:0
[016:086] [2023-07-22 04:37:42 +0000.178775][691d] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[016:086] [2023-07-22 04:37:42 +0000.178780][691c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:3
[016:086] [2023-07-22 04:37:42 +0000.178852][691d] H264Encode::H264SWEncoder get
callback, length:180934 type:0 nalType:7length:18
[016:086] [2023-07-22 04:37:42 +0000.178919][691d] H264Encode:: get a sps pps
header!headerSize:30
[016:086] [2023-07-22 04:37:42 +0000.178974][691d] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[016:086] [2023-07-22 04:37:42 +0000.179347][691e] add aac audio track with id:1
[016:086] [2023-07-22 04:37:42 +0000.179490][691e] get the H.264 SPS parameter
[016:087] [2023-07-22 04:37:42 +0000.180015][691e] add video track with id:2
[016:088] [2023-07-22 04:37:42 +0000.181474][691e] get the H.264 PPS parameter
[016:089] [2023-07-22 04:37:42 +0000.181832][691e] audio start ts:0
[016:089] [2023-07-22 04:37:42 +0000.182014][691e] the audio frame has been written
into MP4 file
[016:090] [2023-07-22 04:37:42 +0000.183284][691e] get the H.264 IDR frame
[016:090] [2023-07-22 04:37:42 +0000.183533][691e] resss:true
[016:091] [2023-07-22 04:37:42 +0000.183641][691e] video start ts:0
[016:091] [2023-07-22 04:37:42 +0000.184058][691e] the video frame has been written
into MP4 file
[016:255] [2023-07-22 04:37:42 +0000.348381][6874] Run AGC when audioType = 0
[016:256] [2023-07-22 04:37:42 +0000.348849][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:470] [2023-07-22 04:37:42 +0000.562940][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[016:517] [2023-07-22 04:37:42 +0000.610432][6870] The convert RGB to YUV take 4
[016:531] [2023-07-22 04:37:42 +0000.623842][6916] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:840] [2023-07-22 04:37:42 +0000.932734][691d] DTS queue for
Generator:0x766e7f84b8 2415 2524
[016:853] [2023-07-22 04:37:42 +0000.946125][691c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:10
[016:892] [2023-07-22 04:37:42 +0000.985120][6915] resampled_data_size:11264
[016:967] [2023-07-22 04:37:43 +0000.60506][6870] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[017:002] [2023-07-22 04:37:43 +0000.95443][6870] The convert RGB to YUV take 3
[017:219] [2023-07-22 04:37:43 +0000.312279][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[017:244] [2023-07-22 04:37:43 +0000.337050][6915] AF_SpeedFilter audio
0x772283db80 PullFrame
[017:341] [2023-07-22 04:37:43 +0000.433739][691d] Push an pts:4051 to dts queue.
[017:386] [2023-07-22 04:37:43 +0000.479586][691d] last dts:3945 currentPts:4051
ppsOrSPS:0 queue length:2
[017:465] [2023-07-22 04:37:43 +0000.558305][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[017:507] [2023-07-22 04:37:43 +0000.600486][6870] The convert RGB to YUV take 3
[017:531] [2023-07-22 04:37:43 +0000.624355][6916] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:606] [2023-07-22 04:37:43 +0000.699247][691c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:4
[017:667] [2023-07-22 04:37:43 +0000.760227][691d] DTS queue for
Generator:0x766e7f84b8 4945 5036
[017:771] [2023-07-22 04:37:43 +0000.864287][6915] resampled_data_size:5632
[017:893] [2023-07-22 04:37:43 +0000.986367][6915]
RecordAudioSource::PullAudioFrame
[017:972] [2023-07-22 04:37:44 +0000.65006][6870] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[018:007] [2023-07-22 04:37:44 +0000.100360][6870] The convert RGB to YUV take 2
[018:034] [2023-07-22 04:37:44 +0000.127242][6870] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[018:044] [2023-07-22 04:37:44 +0000.136793][691d] h264 add frame header cdr flag
[018:046] [2023-07-22 04:37:44 +0000.138697][691d] Received key frame:6069
[018:082] [2023-07-22 04:37:44 +0000.175147][691e] get the H.264 IDR frame
[018:256] [2023-07-22 04:37:44 +0000.349315][6874] Run AGC when audioType = 0
[018:370] [2023-07-22 04:37:44 +0000.463316][6915] AF_SpeedFilter::PullFrame eof4
[018:373] [2023-07-22 04:37:44 +0000.466141][6915]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[018:401] [2023-07-22 04:37:44 +0000.493789][691c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:11
[018:464] [2023-07-22 04:37:44 +0000.557131][6870] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[018:473] [2023-07-22 04:37:44 +0000.565692][691d] DTS queue for
Generator:0x766e7f84b8 7466
[018:502] [2023-07-22 04:37:44 +0000.595478][6870] The convert RGB to YUV take 3
[018:508] [2023-07-22 04:37:44 +0000.600907][6915] AF_SpeedFilter audio
0x772283db80 PullFrame
[018:532] [2023-07-22 04:37:44 +0000.625297][6916] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:627] [2023-07-22 04:37:44 +0000.719820][6915] resampled_data_size:512
[018:669] [2023-07-22 04:37:44 +0000.762265][691d] Push an pts:8066 to dts queue.
[018:709] [2023-07-22 04:37:44 +0000.802297][691d] last dts:7963 currentPts:8066
ppsOrSPS:0 queue length:2
[018:941] [2023-07-22 04:37:45 +0000.34495][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[018:966] [2023-07-22 04:37:45 +0000.59380][6870] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[019:003] [2023-07-22 04:37:45 +0000.96254][6870] The convert RGB to YUV take 3
[019:135] [2023-07-22 04:37:45 +0000.228549][691c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:4
[019:260] [2023-07-22 04:37:45 +0000.353395][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[019:313] [2023-07-22 04:37:45 +0000.405875][691d] DTS queue for
Generator:0x766e7f84b8 10009
[019:325] [2023-07-22 04:37:45 +0000.418496][6870] GPUImageProcessing: process
video frame with resolution 1280 X 720
[019:326] [2023-07-22 04:37:45 +0000.418706][6870] GPUImageProcessing: input frame
width1280 X 720
[019:326] [2023-07-22 04:37:45 +0000.419142][6870] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[019:326] [2023-07-22 04:37:45 +0000.419451][6870] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[019:333] [2023-07-22 04:37:45 +0000.426754][691d]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:10081
[019:336] [2023-07-22 04:37:45 +0000.429207][6915] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[019:336] [2023-07-22 04:37:45 +0000.429382][6915]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 16338318
[019:336] [2023-07-22 04:37:45 +0000.429430][6915]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[019:340] [2023-07-22 04:37:45 +0000.432869][691d] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10009 pts:10009
[019:373] [2023-07-22 04:37:45 +0000.466024][691d] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:10193
[019:373] [2023-07-22 04:37:45 +0000.466194][691d] push video frame to H264
encoder. (100 frame for one log)

[019:373] [2023-07-22 04:37:45 +0000.466233][691d] push video frame to H264


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

[019:373] [2023-07-22 04:37:45 +0000.466264][691d] H264Encode::push video frame to


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

[019:373] [2023-07-22 04:37:45 +0000.466303][691d] The input pts:10193 fps:30


[019:377] [2023-07-22 04:37:45 +0000.470145][691d] SendFrame
encodedImage._timeStamp:10081encodedImage->_length:329742
[019:412] [2023-07-22 04:37:45 +0000.505338][691d] H264Encode::H264SWEncoder get
callback, length:322399 type:1 nalType:1length:322395
[019:453] [2023-07-22 04:37:45 +0000.545922][6915] resampled_data_size:18432
[019:470] [2023-07-22 04:37:45 +0000.563046][6870] The read pixel from buffer take:
5 width:1280 height:720 frameType:0
[019:508] [2023-07-22 04:37:45 +0000.601148][6870] The convert RGB to YUV take 5
[019:533] [2023-07-22 04:37:45 +0000.626376][6916] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[019:657] [2023-07-22 04:37:45 +0000.750055][6915] AF_SpeedFilter audio time
[019:657] [2023-07-22 04:37:45 +0000.750492][6915] AF_SpeedFilter audio time 111,
0x772283db80 out time: 16339238 org time: 16339238
[019:780] [2023-07-22 04:37:45 +0000.872900][6915] AF_SpeedFilter audio
0x772283db80 PullFrame
[019:849] [2023-07-22 04:37:45 +0000.942481][6915]
RecordAudioSource::PullAudioFrame
[019:927] [2023-07-22 04:37:46 +0000.20040][691c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:10
[019:963] [2023-07-22 04:37:46 +0000.56196][6870] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[020:007] [2023-07-22 04:37:46 +0000.99791][6870] The convert RGB to YUV take 4
[020:008] [2023-07-22 04:37:46 +0000.100985][691d] Push an pts:12130 to dts queue.
[020:041] [2023-07-22 04:37:46 +0000.133958][691d] h264 add frame header cdr flag
[020:042] [2023-07-22 04:37:46 +0000.135464][691d] Received key frame:12130
[020:043] [2023-07-22 04:37:46 +0000.135630][691d] last dts:12006 currentPts:12130
ppsOrSPS:0 queue length:2
[020:077] [2023-07-22 04:37:46 +0000.170243][691e] get the H.264 IDR frame
[020:101] [2023-07-22 04:37:46 +0000.193621][6870] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[020:136] [2023-07-22 04:37:46 +0000.229394][691d] DTS queue for
Generator:0x766e7f84b8 12412 12512
[020:254] [2023-07-22 04:37:46 +0000.347380][6875] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:255] [2023-07-22 04:37:46 +0000.347657][6875] _deviceSampleRate:48000

[020:255] [2023-07-22 04:37:46 +0000.348270][6874] Run AGC when audioType = 0


[020:255] [2023-07-22 04:37:46 +0000.348427][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:312] [2023-07-22 04:37:46 +0000.404983][6915] resampled_data_size:13312
[020:467] [2023-07-22 04:37:46 +0000.560406][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[020:500] [2023-07-22 04:37:46 +0000.592889][6870] The convert RGB to YUV take 3
[020:530] [2023-07-22 04:37:46 +0000.622800][6916] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[020:671] [2023-07-22 04:37:46 +0000.764883][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[020:685] [2023-07-22 04:37:46 +0000.778462][691c]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 13931queue_audio_frame_:5
[020:817] [2023-07-22 04:37:46 +0000.910504][6915] AF_SpeedFilter::PullFrame eof4
[020:820] [2023-07-22 04:37:46 +0000.913002][6915]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[020:969] [2023-07-22 04:37:47 +0000.61704][6870] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[020:976] [2023-07-22 04:37:47 +0000.68795][691d] DTS queue for
Generator:0x766e7f84b8 14945 15051
[021:003] [2023-07-22 04:37:47 +0000.95811][6870] The convert RGB to YUV take 4
[021:032] [2023-07-22 04:37:47 +0000.125592][6870] StopRecording:
[021:033] [2023-07-22 04:37:47 +0000.126393][6870] OnNeedStopRecording:
[021:053] [2023-07-22 04:37:47 +0000.145881][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[021:053] [2023-07-22 04:37:47 +0000.146480][6870] operator(): Stop
[021:053] [2023-07-22 04:37:47 +0000.146567][6870] StopPullFrameAndWriteMp4
time:16333453 enter.

[021:054] [2023-07-22 04:37:47 +0000.146616][6870] StopRecording:


[021:054] [2023-07-22 04:37:47 +0000.146655][6915] resampled_data_size:512
[021:054] [2023-07-22 04:37:47 +0000.146910][6915] AF_SpeedFilter audio time 222,
0x772283db80 out time: 16343448 org time: 16343448
[021:055] [2023-07-22 04:37:47 +0000.147672][6915] AF_SpeedFilter audio
0x772283db80 PullFrame
[021:055] [2023-07-22 04:37:47 +0000.148169][6915] PullAudioFrame: PullFrame audio
finished.
[021:055] [2023-07-22 04:37:47 +0000.148341][6915]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[021:060] [2023-07-22 04:37:47 +0000.153373][691d]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:151
[021:066] [2023-07-22 04:37:47 +0000.158719][686f] stop recording
[021:066] [2023-07-22 04:37:47 +0000.159019][686f]
RecordingSessionInternalSimple:destroy media processers
[021:066] [2023-07-22 04:37:47 +0000.159128][686f] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[021:066] [2023-07-22 04:37:47 +0000.159186][686f] H264Encode::flushing hareware
Encoder
[021:067] [2023-07-22 04:37:47 +0000.159691][686f] Flush time:16333467 enter.

[021:067] [2023-07-22 04:37:47 +0000.159843][686f] H264Encoder encoder flush


[021:067] [2023-07-22 04:37:47 +0000.159944][686f] flush output queue
[021:385] [2023-07-22 04:37:47 +0000.477745][686f] Flush leave. expire time = 318
ms

[021:385] [2023-07-22 04:37:47 +0000.478069][686f] ~H264EncodeWrap:


[021:385] [2023-07-22 04:37:47 +0000.478119][686f] ~H264Encode:
[021:385] [2023-07-22 04:37:47 +0000.478183][686f] teardownCompressionSession:
H264Encode::destroying Encoder
[021:385] [2023-07-22 04:37:47 +0000.478220][686f] Release time:16333785 enter.

[021:385] [2023-07-22 04:37:47 +0000.478395][686f] Release:


MediaCodecVideoEncoder::Release _inited:1
[021:385] [2023-07-22 04:37:47 +0000.478445][686f] Destroy time:16333785 enter.

[021:385] [2023-07-22 04:37:47 +0000.478470][686f] H264Encoder encoderDestroy


[021:385] [2023-07-22 04:37:47 +0000.478498][686f]
AndroidMediaCodecVideoEncoder::release env: 0x768f9f9080
[021:385] [2023-07-22 04:37:47 +0000.478524][686f]
AndroidMediaCodecVideoEncoder::Destroy
[021:430] [2023-07-22 04:37:47 +0000.522787][686f] Destroy leave. expire time = 45
ms

[021:430] [2023-07-22 04:37:47 +0000.523214][686f] Release leave. expire time = 45


ms

[021:430] [2023-07-22 04:37:47 +0000.523587][686f] ~AndroidHwAvcEncoder


time:16333830 enter.

[021:431] [2023-07-22 04:37:47 +0000.524393][686f] Release time:16333831 enter.

[021:431] [2023-07-22 04:37:47 +0000.524487][686f] Release:


MediaCodecVideoEncoder:: has been released before, just return
[021:431] [2023-07-22 04:37:47 +0000.524518][686f] Release leave. expire time = 0
ms

[021:431] [2023-07-22 04:37:47 +0000.524542][686f] ~AndroidMediaCodecVideoEncoder


[021:431] [2023-07-22 04:37:47 +0000.524562][686f] ~WrapAndroidMediaCodec
time:16333831 enter.

[021:431] [2023-07-22 04:37:47 +0000.524600][686f] ~WrapAndroidMediaCodec leave.


expire time = 1 ms

[021:432] [2023-07-22 04:37:47 +0000.524695][686f] video hevc hw codec


destructor:0x767a7f8e58

[021:432] [2023-07-22 04:37:47 +0000.524800][686f] ~AndroidHwAvcEncoder leave.


expire time = 2 ms

[021:432] [2023-07-22 04:37:47 +0000.524853][686f] teardownCompressionSession:


H264Encode::destroyed Encoder
[021:432] [2023-07-22 04:37:47 +0000.524893][686f]
RecordingSessionInternalSimple:destroy aac encoder output!
[021:432] [2023-07-22 04:37:47 +0000.524925][686f] AACSWEncode destructor
[021:445] [2023-07-22 04:37:47 +0000.537978][691e] MP4 close file successfully
[021:445] [2023-07-22 04:37:47 +0000.538127][691e] Recording session Internal:
notify recording ok
[021:445] [2023-07-22 04:37:47 +0000.538164][691e] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4,
output_video_timestamp_:15245.5 last_video_pts_:15154
[021:445] [2023-07-22 04:37:47 +0000.538213][691e] OnRecordFinish:
[021:446] [2023-07-22 04:37:47 +0000.539248][691e] onRecordingOk: net seek
pos:0record video duration:15187record audio duration:15162
[021:447] [2023-07-22 04:37:47 +0000.540276][6916] destructMicSource_w:
[021:447] [2023-07-22 04:37:47 +0000.540491][6916] setOutput_w:
MicSource::setOutput() 0x0
[021:448] [2023-07-22 04:37:47 +0000.540709][6916] close external audio stream

[021:448] [2023-07-22 04:37:47 +0000.541266][6870] releaseThread 0x772283d100


[021:448] [2023-07-22 04:37:47 +0000.541419][6870] ~MicSource: Mic source
destroyed:0x772288a300
[021:450] [2023-07-22 04:37:47 +0000.542779][6870] StopPullFrameAndWriteMp4 leave.
expire time = 397 ms

[021:450] [2023-07-22 04:37:47 +0000.542891][6870] DestroyPipelineAndFilters


time:16333850 enter.

[021:450] [2023-07-22 04:37:47 +0000.542951][6870] UnbindInputFilter 0x772283d840


this 0x772285dfc0
[021:450] [2023-07-22 04:37:47 +0000.543024][6870] UnbindInputFilter 0x772283d9d8
this 0x772283dcd0
[021:450] [2023-07-22 04:37:47 +0000.543071][6870] UnbindInputFilter 0x772285dfc0
this 0x7678efd960
[021:450] [2023-07-22 04:37:47 +0000.543100][6870] filter: filter pipeline destroy
this: 0x7678efd8c0
[021:450] [2023-07-22 04:37:47 +0000.543463][6870] ClearVideoOfSources: recodring
total frames:0
[021:450] [2023-07-22 04:37:47 +0000.543538][6870] ClearVideoOfSources:
[021:450] [2023-07-22 04:37:47 +0000.543565][6870] GPUImageProcessing destruct.
[021:451] [2023-07-22 04:37:47 +0000.543650][6870] destroy TrivalImageDrawer
0x772280a840
[021:451] [2023-07-22 04:37:47 +0000.543688][6870] The shader has been initialize,
clean up them.

[021:451] [2023-07-22 04:37:47 +0000.543744][6870] ~OpenGLFrameBuffer:


[021:451] [2023-07-22 04:37:47 +0000.543920][6870] ~OpenGLFrameBuffer:
[021:451] [2023-07-22 04:37:47 +0000.544048][6870] ~OpenGLFrameBuffer:
[021:451] [2023-07-22 04:37:47 +0000.544175][6870] ~OpenGLFrameBuffer:
[021:451] [2023-07-22 04:37:47 +0000.544364][6870] ~OpenGLFrameBuffer:
[021:451] [2023-07-22 04:37:47 +0000.544558][6870] ~OpenGLFrameBuffer:
[021:452] [2023-07-22 04:37:47 +0000.544975][6870] GPUImageProcessing destruct
finish.
[021:452] [2023-07-22 04:37:47 +0000.545078][6870] GPURGBAFrame destruct.
[021:452] [2023-07-22 04:37:47 +0000.545179][6870] destroy OpenGLRenderProgram
0x772285dd98
[021:452] [2023-07-22 04:37:47 +0000.545236][6870] ~CameraSource time:16333852
enter.

[021:452] [2023-07-22 04:37:47 +0000.545273][6870] ~CameraSource leave. expire


time = 0 ms

[021:452] [2023-07-22 04:37:47 +0000.545324][6870] ~RecordAudioSource time:16333852


enter.

[021:452] [2023-07-22 04:37:47 +0000.545359][6870] ~RecordAudioSource leave.


expire time = 0 ms

[021:452] [2023-07-22 04:37:47 +0000.545399][6870] DestroyPipelineAndFilters


leave. expire time = 2 ms

[021:478] [2023-07-22 04:37:47 +0000.571128][5e33]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[021:479] [2023-07-22 04:37:47 +0000.572122][5e33] machine model :redmi
[021:479] [2023-07-22 04:37:47 +0000.572200][5e33] Support this machine
model :redmi
[021:479] [2023-07-22 04:37:47 +0000.572226][5e33] global inited! current sdk
version: 07-20-936c45f
[021:479] [2023-07-22 04:37:47 +0000.572429][5e33] filter: filter pipeline
construtc this: 0x76594d7f00
[021:479] [2023-07-22 04:37:47 +0000.572481][5e33] MediaFilterGraph:
MediaFilterGraph construct
[021:479] [2023-07-22 04:37:47 +0000.572510][5e33] GLESContext:
[021:479] [2023-07-22 04:37:47 +0000.572567][5e33] The result of eglGetDisplay is:
0x1
[021:482] [2023-07-22 04:37:47 +0000.575150][5e33] The result of creation:
0x767a597f80
[021:484] [2023-07-22 04:37:47 +0000.577079][5e33] The result of
eglCreatePbufferSurface is: 0x77154a8000
[021:485] [2023-07-22 04:37:47 +0000.578387][5e33] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4
[021:486] [2023-07-22 04:37:47 +0000.578664][5e33] The source 0 speed:0.33
[021:486] [2023-07-22 04:37:47 +0000.578736][5e33] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4,
delay: 0
[021:486] [2023-07-22 04:37:47 +0000.578789][5e33] CreateDecoderByVideoSource
time:16333886 enter.

[021:488] [2023-07-22 04:37:47 +0000.581271][5e33] running_decoder_count:0max


count:2
[021:488] [2023-07-22 04:37:47 +0000.581495][5e33] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x768f951000
[021:507] [2023-07-22 04:37:47 +0000.599724][692c] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x766e7fa200] Current FFmpeg version git-2021-06-16-
97cea6f

[021:715] [2023-07-22 04:37:47 +0000.808447][692c] OnStreamInfoFound: video


duration_: 15187
[021:718] [2023-07-22 04:37:47 +0000.810661][5e33] start decoder
[021:717] [2023-07-22 04:37:47 +0000.810635][692e] NO get frame from decoder
[021:718] [2023-07-22 04:37:47 +0000.810867][5e33] CreateDecoderByVideoSource
leave. expire time = 232 ms

[021:718] [2023-07-22 04:37:47 +0000.810977][5e33] BindInputFilter 0x768fe63320


this 0x767a5b4258
[021:718] [2023-07-22 04:37:47 +0000.811067][5e33] BindInputFilter 0x767a5b4258
this 0x767a5b4318
[021:718] [2023-07-22 04:37:47 +0000.811192][5e33] BindInputFilter 0x768fe63320
this 0x767a5b43d8
[021:718] [2023-07-22 04:37:47 +0000.811281][5e33] BindInputFilter 0x767a5b43d8
this 0x767a5b4498
[021:718] [2023-07-22 04:37:47 +0000.811330][5e33] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4
[021:718] [2023-07-22 04:37:47 +0000.811452][5e33] BindInputFilter 0x767a5b4318
this 0x767a5b4558
[021:718] [2023-07-22 04:37:47 +0000.811552][5e33] BindInputFilter 0x767a5b4558
this 0x76594d7fa0
[021:719] [2023-07-22 04:37:47 +0000.811677][5e33] BindInputFilter 0x767a5b4498
this 0x767a5b4618
[021:719] [2023-07-22 04:37:47 +0000.811749][5e33] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16328053.mp4
[021:719] [2023-07-22 04:37:47 +0000.811777][692e] NO get frame from decoder
[021:720] [2023-07-22 04:37:47 +0000.813007][692e] NO get frame from decoder
[021:721] [2023-07-22 04:37:47 +0000.814080][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[021:722] [2023-07-22 04:37:47 +0000.815267][692e] NO get frame from decoder
[021:722] [2023-07-22 04:37:47 +0000.815571][5e33] machine model :redmi
[021:723] [2023-07-22 04:37:47 +0000.815678][5e33] Support this machine
model :redmi
[021:723] [2023-07-22 04:37:47 +0000.815720][5e33] global inited! current sdk
version: 07-20-936c45f
[021:723] [2023-07-22 04:37:47 +0000.815882][5e33] GetPipeline:
-----------------------------------------
[021:723] [2023-07-22 04:37:47 +0000.815924][5e33] GetPipeline: source:
0x768fe63100
[021:723] [2023-07-22 04:37:47 +0000.815952][5e33] GetPipeline: filter: NULLFilter
[021:723] [2023-07-22 04:37:47 +0000.815981][5e33] GetPipeline: filter: NULLFilter
[021:723] [2023-07-22 04:37:47 +0000.816007][5e33] GetPipeline: filter: NULLFilter
[021:723] [2023-07-22 04:37:47 +0000.816035][5e33] GetPipeline: audio filter:
AuidoNULLFilter
[021:723] [2023-07-22 04:37:47 +0000.816059][5e33] GetPipeline: audio filter:
AuidoNULLFilter
[021:723] [2023-07-22 04:37:47 +0000.816093][5e33] GetPipeline: audio filter:
AudioNUllFilter
[021:723] [2023-07-22 04:37:47 +0000.816118][5e33] GetPipeline:
------------------------------------------
[021:723] [2023-07-22 04:37:47 +0000.816151][5e33] filter: filter pipeline2 update
pattern: 0
[021:726] [2023-07-22 04:37:47 +0000.818951][692e] NO get frame from decoder
[021:729] [2023-07-22 04:37:47 +0000.821788][692e] NO get frame from decoder
[021:726] [2023-07-22 04:37:47 +0000.819063][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[021:731] [2023-07-22 04:37:47 +0000.824031][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[021:731] [2023-07-22 04:37:47 +0000.824347][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[021:732] [2023-07-22 04:37:47 +0000.824892][5e33] DeviceInit:
[021:732] [2023-07-22 04:37:47 +0000.825367][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[021:733] [2023-07-22 04:37:47 +0000.825891][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[021:734] [2023-07-22 04:37:47 +0000.827580][692e] NO get frame from decoder
[021:735] [2023-07-22 04:37:47 +0000.828146][5e33] CreatePlatformSpecificObjects:
[021:735] [2023-07-22 04:37:47 +0000.828322][5e33] audio device use null audio
input and opensl output
[021:735] [2023-07-22 04:37:47 +0000.828416][5e33] Create OpenSLES output module
with java VM support.

[021:736] [2023-07-22 04:37:47 +0000.828996][5e33] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[021:737] [2023-07-22 04:37:47 +0000.829784][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[021:738] [2023-07-22 04:37:47 +0000.830712][5e33] Create OpenSLES output module
with buffer num:2

[021:738] [2023-07-22 04:37:47 +0000.830942][5e33] Error(trace.cc:40): Init the


output and input for audio device template.
[021:738] [2023-07-22 04:37:47 +0000.831105][5e33] Init the output device.

[021:738] [2023-07-22 04:37:47 +0000.831174][5e33] Set the playout as stereo:1


[021:738] [2023-07-22 04:37:47 +0000.831231][5e33] Set the sample rate to be:44100

[021:738] [2023-07-22 04:37:47 +0000.831317][5e33] Low latency buffer size:256 low


sample rate:48000
[021:738] [2023-07-22 04:37:47 +0000.831432][5e33] DeviceInit: Done
[021:739] [2023-07-22 04:37:47 +0000.831981][5e33] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[021:739] [2023-07-22 04:37:47 +0000.832352][692e] NO get frame from decoder
[021:742] [2023-07-22 04:37:47 +0000.835433][6939] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x766e3d1918
[021:746] [2023-07-22 04:37:47 +0000.838646][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[021:746] [2023-07-22 04:37:47 +0000.838908][5e33]
MediaFilterPlayer::SetPlayerNotify 0x767a8047a0
[021:747] [2023-07-22 04:37:47 +0000.840311][5e33]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[021:747] [2023-07-22 04:37:47 +0000.840472][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[021:750] [2023-07-22 04:37:47 +0000.843156][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[021:752] [2023-07-22 04:37:47 +0000.844876][5e33] SetGraphLoop: SetGraphLoop 1
[021:752] [2023-07-22 04:37:47 +0000.845027][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[021:753] [2023-07-22 04:37:47 +0000.846008][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[021:754] [2023-07-22 04:37:47 +0000.847419][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[021:755] [2023-07-22 04:37:47 +0000.848545][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[021:757] [2023-07-22 04:37:47 +0000.850548][693b] Start:
[021:760] [2023-07-22 04:37:47 +0000.852703][693a] operator(): video render
started.
[021:760] [2023-07-22 04:37:47 +0000.852896][693a] DriveRender working... (1/200)
[021:760] [2023-07-22 04:37:47 +0000.852932][693a] Warning(video_render.cc:390): No
picture to display (1/50)
[021:761] [2023-07-22 04:37:47 +0000.854211][693b] Start:
[021:761] [2023-07-22 04:37:47 +0000.854468][693b] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[021:761] [2023-07-22 04:37:47 +0000.854536][693b] Reset: history total size: 98
[021:761] [2023-07-22 04:37:47 +0000.854582][693b] DeviceStart:
audioDevice_:0x763630c000
[021:762] [2023-07-22 04:37:47 +0000.854617][693b] DeviceStart: time profile
playout init before
[021:762] [2023-07-22 04:37:47 +0000.854643][693b] DeviceStart: time profile
playout init end
[021:762] [2023-07-22 04:37:47 +0000.854662][693b] OpenSlesOutput:Start playout

[021:763] [2023-07-22 04:37:47 +0000.856563][693b] Create the opensl output player.


streamtype before:0

[021:764] [2023-07-22 04:37:47 +0000.856742][693b] Create the opensl output player.


streamtype after:3

[021:775] [2023-07-22 04:37:47 +0000.867903][693b] Enqueue opensl buffer size:1764


[021:802] [2023-07-22 04:37:47 +0000.895620][693b] DeviceStart: time profile
playout all end
[021:803] [2023-07-22 04:37:47 +0000.895663][693e]
PlayerSimpleBufferQueueCallbackHandler function
[021:803] [2023-07-22 04:37:47 +0000.895796][693b] operator(): Audio playback
started.
[021:803] [2023-07-22 04:37:47 +0000.895870][693e] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[021:803] [2023-07-22 04:37:47 +0000.895946][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[021:803] [2023-07-22 04:37:47 +0000.895973][693b] operator(): Started now!
[021:803] [2023-07-22 04:37:47 +0000.895972][693c] Pull audio failed.(wait video!)
[021:803] [2023-07-22 04:37:47 +0000.896089][693d] Error(video_source.cc:430): wait
decoder a frame: 0
[021:803] [2023-07-22 04:37:47 +0000.896201][693c]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:806] [2023-07-22 04:37:47 +0000.899184][693d] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[021:809] [2023-07-22 04:37:47 +0000.902400][693c] audio_frame_list_ empty
[021:810] [2023-07-22 04:37:47 +0000.903093][693c] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[021:810] [2023-07-22 04:37:47 +0000.903258][693c] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[021:811] [2023-07-22 04:37:47 +0000.904242][693c] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[021:812] [2023-07-22 04:37:47 +0000.904842][693c]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:813] [2023-07-22 04:37:47 +0000.905775][693d] OnVideoFrameReady(1/200)
[021:813] [2023-07-22 04:37:47 +0000.905998][693a] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[021:813] [2023-07-22 04:37:47 +0000.906382][693b] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[021:813] [2023-07-22 04:37:47 +0000.906545][693b] The audio playback speed:100
(1/100)
[021:814] [2023-07-22 04:37:47 +0000.906617][693b] lipsync_debug: The current
played audio timestamp is:0(1/50)
[021:814] [2023-07-22 04:37:47 +0000.906667][693b] First audio frame rendering
[021:823] [2023-07-22 04:37:47 +0000.916010][693a] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:16334223
[021:910] [2023-07-22 04:37:48 +0000.3000][693a] lipsync_debug: render a video
frame
[021:910] [2023-07-22 04:37:48 +0000.3278][693a] lipsync_debug: First video frame
rendering.
[021:921] [2023-07-22 04:37:48 +0000.13711][693a] lipsync_debug:lipsync_threadhold:
lipsync_delta:0 tsDelta:23 timeDelta:98 last video ts:900 frame->pts:2970 pkt_dts:-
9223372036854775808 pkt_pts:-9223372036854775808
[021:921] [2023-07-22 04:37:48 +0000.13962][693a] lipsync_debug: tsDelta -
timeDelta = -75
[021:921] [2023-07-22 04:37:48 +0000.14048][693a] lipsync_debug:result remaining
time:0
[021:921] [2023-07-22 04:37:48 +0000.14101][693a] dynamic updated lipsync delay:0
[022:063] [2023-07-22 04:37:48 +0000.156535][693d] video frame wait audio frame:
last_video_timestamp:495 last_audio_timestamp:393.878
[022:064] [2023-07-22 04:37:48 +0000.156789][693d]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[022:118] [2023-07-22 04:37:48 +0000.210717][693a] lipsync_debug:remaining time:10
tsDelta - timeDelta:26
[022:118] [2023-07-22 04:37:48 +0000.210864][693a] lipsync_debug:result remaining
time:10
[022:255] [2023-07-22 04:37:48 +0000.347903][6874] Run AGC when audioType = 0
[022:419] [2023-07-22 04:37:48 +0000.511724][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[022:474] [2023-07-22 04:37:48 +0000.567090][693a] lipsync_debug:displaying video
ts:59400 The current displayed video timestamp is:16334874
[022:803] [2023-07-22 04:37:48 +0000.896087][693b] do work DoLipsync!
[022:803] [2023-07-22 04:37:48 +0000.896277][693b] total delay:131 videoTsMS:957
audioTsMS:826 diff:131
[022:803] [2023-07-22 04:37:48 +0000.896339][693b] Set the lipsync delay:131
[022:826] [2023-07-22 04:37:48 +0000.919464][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[022:890] [2023-07-22 04:37:48 +0000.983261][693d] Error(video_source.cc:430): wait
decoder a frame: 0
[023:265] [2023-07-22 04:37:49 +0000.358122][693a] lipsync_debug:displaying video
ts:118800 The current displayed video timestamp is:16335665
[023:644] [2023-07-22 04:37:49 +0000.736924][693a] DriveRender working... (1/200)
[023:698] [2023-07-22 04:37:49 +0000.791342][693a]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:4 last video
ts:157410 frame->pts:160380 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[023:698] [2023-07-22 04:37:49 +0000.791453][693a] lipsync_debug: tsDelta -
timeDelta = 29
[023:814] [2023-07-22 04:37:49 +0000.907242][693d] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2996 diff: 5
[023:826] [2023-07-22 04:37:49 +0000.918652][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[023:949] [2023-07-22 04:37:50 +0000.41784][693a] lipsync_debug:displaying video
ts:178200 The current displayed video timestamp is:16336349
[023:981] [2023-07-22 04:37:50 +0000.74517][693c] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[023:982] [2023-07-22 04:37:50 +0000.74733][693c] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[024:075] [2023-07-22 04:37:50 +0000.167987][693b] The audio playback speed:100
(1/100)
[024:075] [2023-07-22 04:37:50 +0000.168220][693b] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[024:148] [2023-07-22 04:37:50 +0000.241295][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[024:232] [2023-07-22 04:37:50 +0000.324781][693d] Error(video_source.cc:430): wait
decoder a frame: 0
[024:257] [2023-07-22 04:37:50 +0000.350036][6874] Run AGC when audioType = 0
[024:257] [2023-07-22 04:37:50 +0000.350603][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:304] [2023-07-22 04:37:50 +0000.397093][693a] lipsync_debug:remaining time:10
tsDelta - timeDelta:7
[024:304] [2023-07-22 04:37:50 +0000.397305][693a] lipsync_debug:result remaining
time:7
[024:608] [2023-07-22 04:37:50 +0000.701106][693a] lipsync_debug:displaying video
ts:237600 The current displayed video timestamp is:16337008
[024:828] [2023-07-22 04:37:50 +0000.920866][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[024:854] [2023-07-22 04:37:50 +0000.947005][693d] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 297000pts ms:3.3e+06
[024:859] [2023-07-22 04:37:50 +0000.951647][693d] OnVideoFrameReady(1/200)
[024:859] [2023-07-22 04:37:50 +0000.951943][693a] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[025:271] [2023-07-22 04:37:51 +0000.363925][693a] lipsync_debug:displaying video
ts:297000 The current displayed video timestamp is:16337671
[025:274] [2023-07-22 04:37:51 +0000.367537][693a] lipsync_debug: render a video
frame
[025:304] [2023-07-22 04:37:51 +0000.397289][693a] lipsync_debug:result remaining
time:0
[025:304] [2023-07-22 04:37:51 +0000.397478][693a] dynamic updated lipsync delay:0
[025:342] [2023-07-22 04:37:51 +0000.435413][693a] DriveRender working... (1/200)
[025:403] [2023-07-22 04:37:51 +0000.496449][693a]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:33 last
video ts:305910 frame->pts:308880 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[025:404] [2023-07-22 04:37:51 +0000.496785][693a] lipsync_debug: tsDelta -
timeDelta = 0
[025:602] [2023-07-22 04:37:51 +0000.694626][693d] Error(video_source.cc:430): wait
decoder a frame: 0
[025:830] [2023-07-22 04:37:51 +0000.923582][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[025:866] [2023-07-22 04:37:51 +0000.959124][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[025:925] [2023-07-22 04:37:52 +0000.18121][693a] lipsync_debug:displaying video
ts:356400 The current displayed video timestamp is:16338325
[026:257] [2023-07-22 04:37:52 +0000.350404][6874] Run AGC when audioType = 0
[026:301] [2023-07-22 04:37:52 +0000.394403][693c] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 204692
[026:301] [2023-07-22 04:37:52 +0000.394595][693c] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[026:393] [2023-07-22 04:37:52 +0000.486264][693b] The audio playback speed:100
(1/100)
[026:393] [2023-07-22 04:37:52 +0000.486376][693b] lipsync_debug: The current
played audio timestamp is:204692(1/50)
[026:545] [2023-07-22 04:37:52 +0000.638006][693a] lipsync_debug:remaining time:10
tsDelta - timeDelta:7
[026:545] [2023-07-22 04:37:52 +0000.638204][693a] lipsync_debug:result remaining
time:7
[026:585] [2023-07-22 04:37:52 +0000.678019][693a] lipsync_debug:displaying video
ts:415800 The current displayed video timestamp is:16338985
[026:833] [2023-07-22 04:37:52 +0000.926223][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[026:948] [2023-07-22 04:37:53 +0000.41375][693d] Error(video_source.cc:430): wait
decoder a frame: 0
[027:014] [2023-07-22 04:37:53 +0000.107404][693a] DriveRender working... (1/200)
[027:069] [2023-07-22 04:37:53 +0000.162228][693a]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:5 last video
ts:457380 frame->pts:460350 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[027:069] [2023-07-22 04:37:53 +0000.162368][693a] lipsync_debug: tsDelta -
timeDelta = 28
[027:263] [2023-07-22 04:37:53 +0000.355678][693a] lipsync_debug:displaying video
ts:475200 The current displayed video timestamp is:16339663
[027:590] [2023-07-22 04:37:53 +0000.683264][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[027:836] [2023-07-22 04:37:53 +0000.928823][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[027:886] [2023-07-22 04:37:53 +0000.979575][693a] lipsync_debug:displaying video
ts:534600 The current displayed video timestamp is:16340286
[027:947] [2023-07-22 04:37:54 +0000.40164][693d] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3996 diff: 5
[028:140] [2023-07-22 04:37:54 +0000.233264][693d] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 594000pts ms:6.6e+06
[028:145] [2023-07-22 04:37:54 +0000.238549][693d] OnVideoFrameReady(1/200)
[028:146] [2023-07-22 04:37:54 +0000.238912][693a] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[028:259] [2023-07-22 04:37:54 +0000.352509][6874] Run AGC when audioType = 0
[028:260] [2023-07-22 04:37:54 +0000.352857][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:291] [2023-07-22 04:37:54 +0000.383863][693d] Error(video_source.cc:430): wait
decoder a frame: 0
[028:546] [2023-07-22 04:37:54 +0000.639526][693a] lipsync_debug:displaying video
ts:594000 The current displayed video timestamp is:16340946
[028:565] [2023-07-22 04:37:54 +0000.657858][693a] lipsync_debug: render a video
frame
[028:580] [2023-07-22 04:37:54 +0000.672718][693a] lipsync_debug:result remaining
time:0
[028:580] [2023-07-22 04:37:54 +0000.672915][693a] dynamic updated lipsync delay:0
[028:626] [2023-07-22 04:37:54 +0000.719391][693c] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 307060
[028:627] [2023-07-22 04:37:54 +0000.719811][693c] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[028:681] [2023-07-22 04:37:54 +0000.774151][693a] DriveRender working... (1/200)
[028:726] [2023-07-22 04:37:54 +0000.819246][693b] The audio playback speed:100
(1/100)
[028:726] [2023-07-22 04:37:54 +0000.819352][693b] lipsync_debug: The current
played audio timestamp is:307060(1/50)
[028:744] [2023-07-22 04:37:54 +0000.836834][693a]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:33 last
video ts:608850 frame->pts:611820 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[028:744] [2023-07-22 04:37:54 +0000.837123][693a] lipsync_debug: tsDelta -
timeDelta = 0
[028:803] [2023-07-22 04:37:54 +0000.896581][693a] lipsync_debug:remaining time:10
tsDelta - timeDelta:7
[028:804] [2023-07-22 04:37:54 +0000.896949][693a] lipsync_debug:result remaining
time:7
[028:838] [2023-07-22 04:37:54 +0000.931534][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[028:892] [2023-07-22 04:37:54 +0000.984896][693d] video frame wait audio frame:
last_video_timestamp:7326 last_audio_timestamp:7218.73
[028:892] [2023-07-22 04:37:54 +0000.985170][693d]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[029:228] [2023-07-22 04:37:55 +0000.320798][693a] lipsync_debug:displaying video
ts:653400 The current displayed video timestamp is:16341628
[029:326] [2023-07-22 04:37:55 +0000.418794][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[029:663] [2023-07-22 04:37:55 +0000.755627][693d] Error(video_source.cc:430): wait
decoder a frame: 0
[029:828] [2023-07-22 04:37:55 +0000.921548][693e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[029:899] [2023-07-22 04:37:55 +0000.992036][693a] lipsync_debug:displaying video
ts:712800 The current displayed video timestamp is:16342299
[030:254] [2023-07-22 04:37:56 +0000.347092][6875] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:254] [2023-07-22 04:37:56 +0000.347319][6875] _deviceSampleRate:48000


[030:257] [2023-07-22 04:37:56 +0000.349797][6874] Run AGC when audioType = 0
[030:334] [2023-07-22 04:37:56 +0000.426718][693a] DriveRender working... (1/200)
[030:394] [2023-07-22 04:37:56 +0000.487586][693a]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:33 last
video ts:754380 frame->pts:757350 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[030:395] [2023-07-22 04:37:56 +0000.487765][693a] lipsync_debug: tsDelta -
timeDelta = 0
[030:463] [2023-07-22 04:37:56 +0000.556140][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[030:464] [2023-07-22 04:37:56 +0000.556881][693b] Stop:
[030:466] [2023-07-22 04:37:56 +0000.559560][693a] operator(): Video Render
stopped.
[030:467] [2023-07-22 04:37:56 +0000.559755][693b] Stop:
[030:467] [2023-07-22 04:37:56 +0000.559976][693b] DeviceStop:
audioDevice_:0x763630c000
[030:467] [2023-07-22 04:37:56 +0000.560020][693b] OpenSlesOutput:Stop playout

[030:468] [2023-07-22 04:37:56 +0000.561516][693b] DeviceStop: Done


[030:469] [2023-07-22 04:37:56 +0000.561745][693b] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[030:469] [2023-07-22 04:37:56 +0000.561809][693b] operator(): Stop now!
[030:469] [2023-07-22 04:37:56 +0000.562174][5e33] Stop:
[030:469] [2023-07-22 04:37:56 +0000.562266][693b] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[030:469] [2023-07-22 04:37:56 +0000.562408][5e33] DeviceRelease:
audioDevice_:0x763630c000
[030:469] [2023-07-22 04:37:56 +0000.562443][5e33] OpenSlesOutput:Stop playout

[030:469] [2023-07-22 04:37:56 +0000.562476][5e33] DeviceRelease: Release the


webrtc device object.
[030:470] [2023-07-22 04:37:56 +0000.562731][5e33] OpenSlesOutput destruct.

[030:470] [2023-07-22 04:37:56 +0000.562812][5e33] DeviceRelease: Done


[030:470] [2023-07-22 04:37:56 +0000.562924][5e33] Stop:
[030:470] [2023-07-22 04:37:56 +0000.563135][693a] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[030:474] [2023-07-22 04:37:56 +0000.567512][5e33] global uninited!
[030:476] [2023-07-22 04:37:56 +0000.569096][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[030:476] [2023-07-22 04:37:56 +0000.569451][5e33] ~MediaFilterGraph:
MediaFilterGraph destruct
[030:476] [2023-07-22 04:37:56 +0000.569499][5e33] RemoveVideoBackGroud: hava not
add video backgroud
[030:477] [2023-07-22 04:37:56 +0000.569615][5e33] UnbindInputFilter 0x767a5b4558
this 0x76594d7fa0
[030:477] [2023-07-22 04:37:56 +0000.569672][5e33] ClearAllSource: remove source
filter, sourceid: 0x768fe63100
[030:477] [2023-07-22 04:37:56 +0000.569700][5e33] DestoryDecoderByVideoSource
time:16342877 enter.

[030:477] [2023-07-22 04:37:56 +0000.569728][5e33] ~VideoBindDecoder time:16342877


enter.

[030:477] [2023-07-22 04:37:56 +0000.570138][5e33] CleanUp time:16342877 enter.

[030:482] [2023-07-22 04:37:56 +0000.574795][5e33] CleanUp leave. expire time = 5


ms
[030:482] [2023-07-22 04:37:56 +0000.574893][5e33] CleanUp time:16342882 enter.

[030:482] [2023-07-22 04:37:56 +0000.575177][5e33] CleanUp leave. expire time = 0


ms

[030:482] [2023-07-22 04:37:56 +0000.575531][5e33] ~VideoBindDecoder leave. expire


time = 5 ms

[030:483] [2023-07-22 04:37:56 +0000.575608][5e33] DestoryDecoderByVideoSource


leave. expire time = 6 ms

[030:483] [2023-07-22 04:37:56 +0000.575644][5e33] UnbindInputFilter 0x767a5b4318


this 0x767a5b4558
[030:483] [2023-07-22 04:37:56 +0000.575672][5e33] UnbindInputFilter 0x767a5b4258
this 0x767a5b4318
[030:483] [2023-07-22 04:37:56 +0000.575731][5e33] UnbindInputFilter 0x768fe63320
this 0x767a5b4258
[030:483] [2023-07-22 04:37:56 +0000.575777][5e33] UnbindInputFilter 0x767a5b4498
this 0x767a5b4618
[030:483] [2023-07-22 04:37:56 +0000.575833][5e33] UnbindInputFilter 0x767a5b43d8
this 0x767a5b4498
[030:483] [2023-07-22 04:37:56 +0000.575883][5e33] UnbindInputFilter 0x768fe63320
this 0x767a5b43d8
[030:483] [2023-07-22 04:37:56 +0000.576317][5e33] ~GLESContext:
[030:484] [2023-07-22 04:37:56 +0000.576743][5e33] GLESContext destruct finish.
[030:484] [2023-07-22 04:37:56 +0000.576793][5e33] filter: filter pipeline destroy
this: 0x76594d7f00
[031:038] [2023-07-22 04:37:57 +0000.130692][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[032:257] [2023-07-22 04:37:58 +0000.349971][6874] Run AGC when audioType = 0
[032:257] [2023-07-22 04:37:58 +0000.350210][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:765] [2023-07-22 04:37:58 +0000.857951][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[034:255] [2023-07-22 04:38:00 +0000.347991][6874] Run AGC when audioType = 0
[034:472] [2023-07-22 04:38:00 +0000.565390][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[034:858] [2023-07-22 04:38:00 +0000.950809][5e33] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[034:858] [2023-07-22 04:38:00 +0000.950926][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[034:858] [2023-07-22 04:38:00 +0000.951132][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[034:858] [2023-07-22 04:38:00 +0000.951398][6870] operator() time:16347258 enter.

[034:859] [2023-07-22 04:38:00 +0000.951622][6870] MediaFilterCamera, recording


file context:0x7715325580 input texture:8
[034:861] [2023-07-22 04:38:00 +0000.954608][6870] MicSource: Mic source
created:10x772288a300
[034:863] [2023-07-22 04:38:00 +0000.955856][6870] alloc thread: 0x772283d100
name:worker0 thread id:508716874944 to Mic_source
[034:863] [2023-07-22 04:38:00 +0000.956023][6870] audio: start the audio sender
thread.

[034:863] [2023-07-22 04:38:00 +0000.956143][6870] construct OpenGLRenderProgram


0x772285dd98
[034:863] [2023-07-22 04:38:00 +0000.956221][6870] CropFilter::SetOrientation
orientation: 90
[034:863] [2023-07-22 04:38:00 +0000.956508][6870] filter: filter pipeline
construtc this: 0x7678f121c0
[034:863] [2023-07-22 04:38:00 +0000.956596][6870] filter: filter pipeline2 update
pattern: 1
[034:864] [2023-07-22 04:38:00 +0000.956790][6870] CameraSource::source_id_:4
[034:864] [2023-07-22 04:38:00 +0000.956894][6870] RecordAudioSource::source_id_:5
[034:864] [2023-07-22 04:38:00 +0000.957402][6870] BindInputFilter 0x772283d9c0
this 0x772285dfc0
[034:864] [2023-07-22 04:38:00 +0000.957538][6870] BindInputFilter 0x772283dfd8
this 0x7678f25150
[034:865] [2023-07-22 04:38:00 +0000.957647][6870] BindInputFilter 0x772285dfc0
this 0x7678f12260
[034:865] [2023-07-22 04:38:00 +0000.957782][6870] setParamentForFilters:
speed:0.330000
[034:865] [2023-07-22 04:38:00 +0000.957861][6870] SetParamForFilter:
AF_SpeedFilter params:, speed_ 0.33
[034:865] [2023-07-22 04:38:00 +0000.957948][6870] SetParamForFilter time:16347265
enter.

[034:865] [2023-07-22 04:38:00 +0000.958026][6870] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[034:865] [2023-07-22 04:38:00 +0000.958109][6870] SetParamForFilter: Params video
index is: 0
[034:865] [2023-07-22 04:38:00 +0000.958188][6870] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[034:865] [2023-07-22 04:38:00 +0000.958267][6870] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[034:865] [2023-07-22 04:38:00 +0000.958347][6870] crop filter mode tpye:
citytravelvideo index:0
[034:875] [2023-07-22 04:38:00 +0000.967810][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.967952][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.967993][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.968025][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.968055][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.968084][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.968111][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.968157][6870]
Warning(parse_template_json.cc:81): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.968244][6870]
Warning(parse_template_json.cc:81): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.968289][6870]
Warning(parse_template_json.cc:67): json parament no found the parament
[034:875] [2023-07-22 04:38:00 +0000.968333][6870]
Warning(parse_template_json.cc:93): json parament no found the duration
[034:875] [2023-07-22 04:38:00 +0000.968388][6870] SetParamForFilter leave. expire
time = 10 ms

[034:875] [2023-07-22 04:38:00 +0000.968529][6870] OnOutputSizeChanged width 1280


height 720
[034:875] [2023-07-22 04:38:00 +0000.968583][6870] OpenGLFrameBuffer: width:1280
height:720
[034:876] [2023-07-22 04:38:00 +0000.968739][6870] OpenGLFrameBuffer: width:1280
height:720
[034:876] [2023-07-22 04:38:00 +0000.968791][6870] OpenGLFrameBuffer: width:1280
height:720
[034:876] [2023-07-22 04:38:00 +0000.968844][6870] OpenGLFrameBuffer: width:1280
height:720
[034:876] [2023-07-22 04:38:00 +0000.968892][6870] OpenGLFrameBuffer: width:1280
height:720
[034:876] [2023-07-22 04:38:00 +0000.968950][6870] OpenGLFrameBuffer: width:1280
height:720
[034:876] [2023-07-22 04:38:00 +0000.968986][6870] construct TrivalImageDrawer
0x7722808cc0
[034:876] [2023-07-22 04:38:00 +0000.969017][6870] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x7722808cc0 context 0x772292ee40
[034:876] [2023-07-22 04:38:00 +0000.969064][6870] setupGLES:
[034:883] [2023-07-22 04:38:00 +0000.975659][6870] OpenGLRenderProgram::Initialize.
[034:883] [2023-07-22 04:38:00 +0000.975779][6870] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[034:883] [2023-07-22 04:38:00 +0000.975822][6870] The extension of the OpenGL:
GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat
GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap
GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax
GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context
GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic
GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables
GL_OES_sample_shading GL_OES_shader_multisample_interpolation
GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader
GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5
GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float
GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
GL_EXT_external_buffer GL_EXT_EGL_image_array GL_EXT_texture_filter_anisotropic
GL_ARM_texture_unnormalized_coordinates
[034:883] [2023-07-22 04:38:00 +0000.975925][6870] Init open gl render:
0x772285dd98
[034:883] [2023-07-22 04:38:00 +0000.976057][6870] Fragement shader path:
[034:883] [2023-07-22 04:38:00 +0000.976190][6870] Fragement shader path:
[034:883] [2023-07-22 04:38:00 +0000.976233][6870] create opengl program object.
[034:883] [2023-07-22 04:38:00 +0000.976285][6870] create shader: vertex
[034:883] [2023-07-22 04:38:00 +0000.976574][6870] create shader: fragment
[034:886] [2023-07-22 04:38:00 +0000.979017][6870] Have not extra filter filename!
[034:886] [2023-07-22 04:38:00 +0000.979128][6870] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[034:886] [2023-07-22 04:38:00 +0000.979173][6870] OpenGLRenderProgram::Initialize
success.
[034:886] [2023-07-22 04:38:00 +0000.979280][6870] Setup the OpenGL result:1
[034:887] [2023-07-22 04:38:00 +0000.979860][686f] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4
[034:887] [2023-07-22 04:38:00 +0000.980347][686f] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[034:887] [2023-07-22 04:38:00 +0000.980373][694a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x767a525e98
[034:887] [2023-07-22 04:38:00 +0000.980503][686f] 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
[034:888] [2023-07-22 04:38:00 +0000.980679][686f] 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_16347286.mp4
fileFD: -1
[034:888] [2023-07-22 04:38:00 +0000.981530][686f] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4
is opened successfully
[034:889] [2023-07-22 04:38:00 +0000.981624][686f] setupMediaProcessers:
[034:889] [2023-07-22 04:38:00 +0000.981680][686f]
RecordingSessionInternalSimple:setup media processers.
[034:889] [2023-07-22 04:38:00 +0000.981757][686f] construct AAC encoder
[034:889] [2023-07-22 04:38:00 +0000.982394][686f] H264Encoder creating:
superfast011818
[034:889] [2023-07-22 04:38:00 +0000.982508][686f] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[034:891] [2023-07-22 04:38:00 +0000.984150][686f] H264Encode::GetMachineModel is
21121119SG
[034:891] [2023-07-22 04:38:00 +0000.984302][686f] H264Encoder machine_mode
is:21121119SG
[034:891] [2023-07-22 04:38:00 +0000.984382][686f] H264Encode::machine size :9
machine_mode:21121119SG
[034:891] [2023-07-22 04:38:00 +0000.984463][686f] H264Encode::machine array
size :22 machine_mode:21121119SG
[034:891] [2023-07-22 04:38:00 +0000.984544][686f] H264Encode::current machine
is :21121119SG auto check hw codec decide to use hw codec
[034:892] [2023-07-22 04:38:00 +0000.984722][686f] setupCompressionSession:
[034:892] [2023-07-22 04:38:00 +0000.984800][686f] H264Encode::creating hareware
Encoder
[034:892] [2023-07-22 04:38:00 +0000.984879][686f] AndroidHwAvcEncoder
time:16347292 enter.

[034:892] [2023-07-22 04:38:00 +0000.985338][686f] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000077b8fc4380 address:0x7651116760
[034:893] [2023-07-22 04:38:00 +0000.985628][686f] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[034:893] [2023-07-22 04:38:00 +0000.985755][686f] The video avc hw codec address
is 0x766e511f20
[034:893] [2023-07-22 04:38:00 +0000.985966][686f] AndroidHwAvcEncoder leave.
expire time = 1 ms

[034:893] [2023-07-22 04:38:00 +0000.986065][686f] RegisterEncodeCompleteCallback


time:16347293 enter.

[034:893] [2023-07-22 04:38:00 +0000.986515][686f] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[034:894] [2023-07-22 04:38:00 +0000.986615][686f] InitEncode time:16347294 enter.

[034:894] [2023-07-22 04:38:00 +0000.986862][686f] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[034:894] [2023-07-22 04:38:00 +0000.987010][686f] Create time:16347294 enter.

[034:894] [2023-07-22 04:38:00 +0000.987090][686f] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[034:894] [2023-07-22 04:38:00 +0000.987183][686f]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x767a5b2cc0
[034:894] [2023-07-22 04:38:00 +0000.987560][686f] supported_type:audio/mp4a-latm
[034:895] [2023-07-22 04:38:00 +0000.987647][686f] supported_type:audio/mp4a-latm
[034:895] [2023-07-22 04:38:00 +0000.987732][686f] supported_type:audio/3gpp
[034:895] [2023-07-22 04:38:00 +0000.987806][686f] supported_type:audio/3gpp
[034:895] [2023-07-22 04:38:00 +0000.987914][686f] supported_type:audio/amr-wb
[034:895] [2023-07-22 04:38:00 +0000.988011][686f] supported_type:audio/amr-wb
[034:895] [2023-07-22 04:38:00 +0000.988116][686f] supported_type:audio/flac
[034:895] [2023-07-22 04:38:00 +0000.988210][686f] supported_type:audio/flac
[034:895] [2023-07-22 04:38:00 +0000.988402][686f] supported_type:audio/opus
[034:895] [2023-07-22 04:38:00 +0000.988588][686f] supported_type:video/avc
[034:896] [2023-07-22 04:38:00 +0000.988791][686f] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[034:896] [2023-07-22 04:38:00 +0000.988895][686f] hwCodecPrefix :OMX.qcom.
[034:896] [2023-07-22 04:38:00 +0000.988945][686f] hwCodecPrefix :OMX.Nvidia.
[034:896] [2023-07-22 04:38:00 +0000.988994][686f] hwCodecPrefix :OMX.IMG.TOPAZ
[034:896] [2023-07-22 04:38:00 +0000.989042][686f] hwCodecPrefix :OMX.Exynos
[034:896] [2023-07-22 04:38:00 +0000.989089][686f] hwCodecPrefix :OMX.MTK
[034:896] [2023-07-22 04:38:00 +0000.989141][686f] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[034:896] [2023-07-22 04:38:00 +0000.989200][686f] mediacodec_createCodecByName
time:16347296 enter.

[034:896] [2023-07-22 04:38:00 +0000.989253][686f] WrapAndroidMediaCodec


time:16347296 enter.

[034:896] [2023-07-22 04:38:00 +0000.989500][686f] WrapAndroidMediaCodec leave.


expire time = 0 ms

[034:917] [2023-07-22 04:38:01 +0000.10535][686f] mediacodec_createCodecByName


leave. expire time = 21 ms

[034:918] [2023-07-22 04:38:01 +0000.10858][686f] WrapAndroidMediaFromat


time:16347318 enter.

[034:918] [2023-07-22 04:38:01 +0000.11120][686f] WrapAndroidMediaFromat leave.


expire time = 0 ms

[034:956] [2023-07-22 04:38:01 +0000.48866][6943] Error(MicSource.cpp:254): There


is no output connect to mic source, discard the frame.
[034:987] [2023-07-22 04:38:01 +0000.80131][686f] Destroy time:16347387 enter.

[034:987] [2023-07-22 04:38:01 +0000.80479][686f] WrapAndroidMediaFromat::


Destroy
[034:987] [2023-07-22 04:38:01 +0000.80574][686f] Destroy leave. expire time = 0
ms

[034:988] [2023-07-22 04:38:01 +0000.80721][686f] ~WrapAndroidMediaFromat


time:16347388 enter.

[034:988] [2023-07-22 04:38:01 +0000.80784][686f] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[034:988] [2023-07-22 04:38:01 +0000.80858][686f] Create leave. expire time = 94


ms

[034:988] [2023-07-22 04:38:01 +0000.80921][686f] isSemiPlanarSupport time:16347388


enter.

[034:988] [2023-07-22 04:38:01 +0000.80976][686f] H264Encoder isSemiPlanarSupport


[034:988] [2023-07-22 04:38:01 +0000.81043][686f] isSemiPlanarSupport leave.
expire time = 0 ms

[034:988] [2023-07-22 04:38:01 +0000.81098][686f] creat hw H264Encoder success,


isSemiPlanar:1
[034:988] [2023-07-22 04:38:01 +0000.81481][686f] InitEncode leave. expire time =
94 ms

[034:988] [2023-07-22 04:38:01 +0000.81560][686f] H264Encode::created Encoder


[034:989] [2023-07-22 04:38:01 +0000.81662][686f] H264Encode:: H264 encoder
created.
[034:989] [2023-07-22 04:38:01 +0000.81835][686f] H264 encoder created.
[034:989] [2023-07-22 04:38:01 +0000.81914][686f]
RecordingSessionInternalSimple:created avc encoder avc: 0x768fcf2a00
[034:989] [2023-07-22 04:38:01 +0000.82001][686f] setOutput:
[034:989] [2023-07-22 04:38:01 +0000.82057][686f]
RecordingSessionInternalSimple:encoder set output to muxer!
[034:989] [2023-07-22 04:38:01 +0000.82110][686f] request a key frame
[034:989] [2023-07-22 04:38:01 +0000.82159][686f] H264Encode:: request a key frame
[034:989] [2023-07-22 04:38:01 +0000.82487][686f] setDisplayRotate :90
[034:989] [2023-07-22 04:38:01 +0000.82604][686f] 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
[034:990] [2023-07-22 04:38:01 +0000.82897][6870] StartRecording:
[034:990] [2023-07-22 04:38:01 +0000.83049][6943] operator(): Set the recording
session in mic source. recording session: 0x772283de80
[034:990] [2023-07-22 04:38:01 +0000.83303][6870] operator() leave. expire time =
132 ms

[035:037] [2023-07-22 04:38:01 +0000.130261][6870] begine recode to first frame


spend time:178
[035:037] [2023-07-22 04:38:01 +0000.130599][6870]
GPUImageProcessing::SetOrientation orientation: 90
[035:038] [2023-07-22 04:38:01 +0000.131307][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[035:077] [2023-07-22 04:38:01 +0000.169961][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[035:091] [2023-07-22 04:38:01 +0000.184587][6949]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[035:113] [2023-07-22 04:38:01 +0000.206008][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[035:153] [2023-07-22 04:38:01 +0000.246477][694a] add aac audio track with id:1
[035:155] [2023-07-22 04:38:01 +0000.248587][694a] audio start ts:0
[035:156] [2023-07-22 04:38:01 +0000.248873][694a] the audio frame has been written
into MP4 file
[035:163] [2023-07-22 04:38:01 +0000.255973][6949] h264 add frame header cdr flag
[035:164] [2023-07-22 04:38:01 +0000.256829][6949] h264 add frame header cdr flag
[035:164] [2023-07-22 04:38:01 +0000.257451][6949] Received key frame:0
[035:165] [2023-07-22 04:38:01 +0000.257605][6949] H264Encode:: get a sps pps
header!headerSize:30
[035:165] [2023-07-22 04:38:01 +0000.257803][694a] get the H.264 SPS parameter
[035:165] [2023-07-22 04:38:01 +0000.258567][694a] add video track with id:2
[035:166] [2023-07-22 04:38:01 +0000.259306][694a] get the H.264 PPS parameter
[035:168] [2023-07-22 04:38:01 +0000.260994][694a] get the H.264 IDR frame
[035:168] [2023-07-22 04:38:01 +0000.261240][694a] resss:true
[035:168] [2023-07-22 04:38:01 +0000.261422][694a] video start ts:0
[035:168] [2023-07-22 04:38:01 +0000.261552][694a] the video frame has been written
into MP4 file
[035:257] [2023-07-22 04:38:01 +0000.350531][6942] resampled_data_size:1536
[035:331] [2023-07-22 04:38:01 +0000.423839][6942] FilterPipeline2::OnAudioFrame
pts 700 last_audio_timestamp_ 700
[035:384] [2023-07-22 04:38:01 +0000.477177][6949] Push an pts:906 to dts queue.
[035:427] [2023-07-22 04:38:01 +0000.519919][6949] last dts:815 currentPts:906
ppsOrSPS:0 queue length:2
[035:448] [2023-07-22 04:38:01 +0000.541544][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[035:498] [2023-07-22 04:38:01 +0000.591229][6948]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 1068queue_audio_frame_:5
[035:520] [2023-07-22 04:38:01 +0000.613058][6870] The convert RGB to YUV take 3
[035:760] [2023-07-22 04:38:01 +0000.853375][6942]
RecordAudioSource::PullAudioFrame
[035:825] [2023-07-22 04:38:01 +0000.917906][6949] DTS queue for
Generator:0x767a56d2b8 2233
[035:846] [2023-07-22 04:38:01 +0000.938968][6870] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4984 diff: 17
[035:945] [2023-07-22 04:38:02 +0000.38196][6870] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[035:955] [2023-07-22 04:38:02 +0000.48092][6943] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[036:016] [2023-07-22 04:38:02 +0000.108775][6870] The convert RGB to YUV take 3
[036:088] [2023-07-22 04:38:02 +0000.180785][6942] resampled_data_size:19456
[036:186] [2023-07-22 04:38:02 +0000.279473][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[036:256] [2023-07-22 04:38:02 +0000.349532][6874] Run AGC when audioType = 0
[036:257] [2023-07-22 04:38:02 +0000.349729][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:269] [2023-07-22 04:38:02 +0000.362328][6942] AF_SpeedFilter audio
0x7678f25000 PullFrame
[036:293] [2023-07-22 04:38:02 +0000.385864][6948]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3390queue_audio_frame_:11
[036:449] [2023-07-22 04:38:02 +0000.541818][6870] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[036:513] [2023-07-22 04:38:02 +0000.606036][6870] The convert RGB to YUV take 4
[036:592] [2023-07-22 04:38:02 +0000.685555][6942]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 16351878
[036:593] [2023-07-22 04:38:02 +0000.685784][6942]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[036:656] [2023-07-22 04:38:02 +0000.749360][6949] DTS queue for
Generator:0x767a56d2b8 4760
[036:673] [2023-07-22 04:38:02 +0000.765938][6870] GPUImageProcessing: process
video frame with resolution 1280 X 720
[036:673] [2023-07-22 04:38:02 +0000.766099][6870] GPUImageProcessing: input frame
width1280 X 720
[036:674] [2023-07-22 04:38:02 +0000.767079][6870] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[036:675] [2023-07-22 04:38:02 +0000.767644][6870] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[036:687] [2023-07-22 04:38:02 +0000.779613][6949] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4760 pts:4760
[036:718] [2023-07-22 04:38:02 +0000.810967][6949]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4945
[036:718] [2023-07-22 04:38:02 +0000.811315][6949] Push an pts:4945 to dts queue.
[036:756] [2023-07-22 04:38:02 +0000.848848][6949] SendFrame
encodedImage._timeStamp:4945encodedImage->_length:356564
[036:756] [2023-07-22 04:38:02 +0000.849033][6949] last dts:4839 currentPts:4945
ppsOrSPS:0 queue length:2
[036:782] [2023-07-22 04:38:02 +0000.875195][6949] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:5142
[036:782] [2023-07-22 04:38:02 +0000.875580][6949] push video frame to H264
encoder. (100 frame for one log)

[036:783] [2023-07-22 04:38:02 +0000.875773][6949] push video frame to H264


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

[036:783] [2023-07-22 04:38:02 +0000.875860][6949] H264Encode::push video frame to


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

[036:783] [2023-07-22 04:38:02 +0000.875956][6949] The input pts:5142 fps:30


[036:818] [2023-07-22 04:38:02 +0000.911347][6949] H264Encode::H264SWEncoder get
callback, length:344675 type:1 nalType:1length:344671
[036:945] [2023-07-22 04:38:03 +0000.38317][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[036:948] [2023-07-22 04:38:03 +0000.41388][6943] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[036:952] [2023-07-22 04:38:03 +0000.44987][6942] resampled_data_size:13824
[037:016] [2023-07-22 04:38:03 +0000.109281][6870] The convert RGB to YUV take 3
[037:028] [2023-07-22 04:38:03 +0000.121532][6948]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5712queue_audio_frame_:6
[037:125] [2023-07-22 04:38:03 +0000.217954][6949] h264 add frame header cdr flag
[037:126] [2023-07-22 04:38:03 +0000.219615][6949] Received key frame:6051
[037:158] [2023-07-22 04:38:03 +0000.251052][694a] get the H.264 IDR frame
[037:186] [2023-07-22 04:38:03 +0000.278758][6942] AF_SpeedFilter audio time 111,
0x7678f25000 out time: 16353688 org time: 16353688
[037:190] [2023-07-22 04:38:03 +0000.283388][6942] AF_SpeedFilter::PullFrame eof4
[037:195] [2023-07-22 04:38:03 +0000.287819][6942]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[037:348] [2023-07-22 04:38:03 +0000.441119][6942] AF_SpeedFilter audio time
[037:447] [2023-07-22 04:38:03 +0000.539711][6870] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[037:488] [2023-07-22 04:38:03 +0000.581033][6949] DTS queue for
Generator:0x767a56d2b8 7172 7278
[037:516] [2023-07-22 04:38:03 +0000.608833][6870] The convert RGB to YUV take 4
[037:537] [2023-07-22 04:38:03 +0000.629844][6942] AF_SpeedFilter audio
0x7678f25000 PullFrame
[037:712] [2023-07-22 04:38:03 +0000.805547][6942]
RecordAudioSource::PullAudioFrame
[037:815] [2023-07-22 04:38:03 +0000.908397][6942] resampled_data_size:8704
[037:818] [2023-07-22 04:38:03 +0000.910932][6948]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 8034queue_audio_frame_:12
[037:916] [2023-07-22 04:38:04 +0000.9149][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[037:917] [2023-07-22 04:38:04 +0000.9947][6870] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[037:946] [2023-07-22 04:38:04 +0000.38753][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[037:958] [2023-07-22 04:38:04 +0000.51120][6943] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[038:018] [2023-07-22 04:38:04 +0000.111599][6870] The convert RGB to YUV take 3
[038:056] [2023-07-22 04:38:04 +0000.148886][6949] Push an pts:8999 to dts queue.
[038:088] [2023-07-22 04:38:04 +0000.181125][6949] last dts:8896 currentPts:8999
ppsOrSPS:0 queue length:2
[038:255] [2023-07-22 04:38:04 +0000.348481][6874] Run AGC when audioType = 0
[038:317] [2023-07-22 04:38:04 +0000.410029][6949] DTS queue for
Generator:0x767a56d2b8 9703 9787
[038:350] [2023-07-22 04:38:04 +0000.443063][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[038:449] [2023-07-22 04:38:04 +0000.541710][6870] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[038:517] [2023-07-22 04:38:04 +0000.610422][6870] The convert RGB to YUV take 3
[038:577] [2023-07-22 04:38:04 +0000.670094][6948]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 10356queue_audio_frame_:6
[038:651] [2023-07-22 04:38:04 +0000.744331][6942] FilterPipeline2::OnAudioFrame
pts 10700 last_audio_timestamp_ 10700
[038:692] [2023-07-22 04:38:04 +0000.784789][6942] resampled_data_size:3072
[038:803] [2023-07-22 04:38:04 +0000.896441][6942] AF_SpeedFilter audio
0x7678f25000 PullFrame
[038:916] [2023-07-22 04:38:05 +0000.9050][6943] The output timestamp from audio
mixer change:16351314
[038:947] [2023-07-22 04:38:05 +0000.39960][6874] On audio frame the broadcast with
timestamp:16351347 samples:480. (1000 frame for one log)

[038:948] [2023-07-22 04:38:05 +0000.40784][6943] Get data in mic source, which has
byte length:1764micAudioStream->length():10
[038:948] [2023-07-22 04:38:05 +0000.41225][6943] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[038:949] [2023-07-22 04:38:05 +0000.42604][6870] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[039:013] [2023-07-22 04:38:05 +0000.106109][6870] The convert RGB to YUV take 4
[039:119] [2023-07-22 04:38:05 +0000.212558][6949] h264 add frame header cdr flag
[039:121] [2023-07-22 04:38:05 +0000.214116][6949] Received key frame:12118
[039:121] [2023-07-22 04:38:05 +0000.214254][6949] DTS queue for
Generator:0x767a56d2b8 12212
[039:161] [2023-07-22 04:38:05 +0000.254224][694a] get the H.264 IDR frame
[039:343] [2023-07-22 04:38:05 +0000.436571][6948]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 12678queue_audio_frame_:12
[039:379] [2023-07-22 04:38:05 +0000.471855][6949] Push an pts:13009 to dts queue.
[039:417] [2023-07-22 04:38:05 +0000.510559][6949] last dts:12927 currentPts:13009
ppsOrSPS:0 queue length:2
[039:443] [2023-07-22 04:38:05 +0000.536514][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[039:510] [2023-07-22 04:38:05 +0000.603552][6942] resampled_data_size:21024
[039:517] [2023-07-22 04:38:05 +0000.610020][6870] The convert RGB to YUV take 3
[039:647] [2023-07-22 04:38:05 +0000.740580][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[039:684] [2023-07-22 04:38:05 +0000.777263][6942] AF_SpeedFilter::PullFrame eof4
[039:689] [2023-07-22 04:38:05 +0000.781948][6942]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[039:720] [2023-07-22 04:38:05 +0000.812865][6942]
RecordAudioSource::PullAudioFrame
[039:843] [2023-07-22 04:38:05 +0000.936113][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[039:843] [2023-07-22 04:38:05 +0000.936306][6870] operator(): Stop
[039:843] [2023-07-22 04:38:05 +0000.936559][6870] StopPullFrameAndWriteMp4
time:16352243 enter.

[039:844] [2023-07-22 04:38:05 +0000.936693][6870] StopRecording:


[039:848] [2023-07-22 04:38:05 +0000.941499][6942]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 16361878
[039:848] [2023-07-22 04:38:05 +0000.941586][6942]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[039:849] [2023-07-22 04:38:05 +0000.942055][6942] PullAudioFrame: PullFrame audio
finished.
[039:849] [2023-07-22 04:38:05 +0000.942130][6942]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[039:850] [2023-07-22 04:38:05 +0000.942722][6949]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:144
[039:853] [2023-07-22 04:38:05 +0000.945664][686f] stop recording
[039:853] [2023-07-22 04:38:05 +0000.945746][686f]
RecordingSessionInternalSimple:destroy media processers
[039:853] [2023-07-22 04:38:05 +0000.945771][686f] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[039:853] [2023-07-22 04:38:05 +0000.945789][686f] H264Encode::flushing hareware
Encoder
[039:853] [2023-07-22 04:38:05 +0000.946011][686f] Flush time:16352253 enter.

[039:853] [2023-07-22 04:38:05 +0000.946055][686f] H264Encoder encoder flush


[039:853] [2023-07-22 04:38:05 +0000.946080][686f] flush output queue
[039:953] [2023-07-22 04:38:06 +0000.45689][6943] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[040:166] [2023-07-22 04:38:06 +0000.258960][686f] Flush leave. expire time = 313
ms

[040:166] [2023-07-22 04:38:06 +0000.259475][686f] ~H264EncodeWrap:


[040:166] [2023-07-22 04:38:06 +0000.259597][686f] ~H264Encode:
[040:167] [2023-07-22 04:38:06 +0000.259674][686f] teardownCompressionSession:
H264Encode::destroying Encoder
[040:167] [2023-07-22 04:38:06 +0000.259751][686f] Release time:16352567 enter.

[040:167] [2023-07-22 04:38:06 +0000.260042][686f] Release:


MediaCodecVideoEncoder::Release _inited:1
[040:167] [2023-07-22 04:38:06 +0000.260137][686f] Destroy time:16352567 enter.

[040:167] [2023-07-22 04:38:06 +0000.260260][686f] H264Encoder encoderDestroy


[040:167] [2023-07-22 04:38:06 +0000.260343][686f]
AndroidMediaCodecVideoEncoder::release env: 0x771c6052c0
[040:167] [2023-07-22 04:38:06 +0000.260415][686f]
AndroidMediaCodecVideoEncoder::Destroy
[040:218] [2023-07-22 04:38:06 +0000.310895][686f] Destroy leave. expire time = 51
ms
[040:218] [2023-07-22 04:38:06 +0000.311182][686f] Release leave. expire time = 51
ms

[040:218] [2023-07-22 04:38:06 +0000.311333][686f] ~AndroidHwAvcEncoder


time:16352618 enter.

[040:219] [2023-07-22 04:38:06 +0000.311765][686f] Release time:16352619 enter.

[040:219] [2023-07-22 04:38:06 +0000.311947][686f] Release:


MediaCodecVideoEncoder:: has been released before, just return
[040:219] [2023-07-22 04:38:06 +0000.312050][686f] Release leave. expire time = 0
ms

[040:219] [2023-07-22 04:38:06 +0000.312167][686f] ~AndroidMediaCodecVideoEncoder


[040:219] [2023-07-22 04:38:06 +0000.312258][686f] ~WrapAndroidMediaCodec
time:16352619 enter.

[040:219] [2023-07-22 04:38:06 +0000.312345][686f] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[040:219] [2023-07-22 04:38:06 +0000.312411][686f] video hevc hw codec


destructor:0x766e511f20

[040:220] [2023-07-22 04:38:06 +0000.312758][686f] ~AndroidHwAvcEncoder leave.


expire time = 2 ms

[040:220] [2023-07-22 04:38:06 +0000.312886][686f] teardownCompressionSession:


H264Encode::destroyed Encoder
[040:220] [2023-07-22 04:38:06 +0000.313059][686f]
RecordingSessionInternalSimple:destroy aac encoder output!
[040:220] [2023-07-22 04:38:06 +0000.313142][686f] AACSWEncode destructor
[040:254] [2023-07-22 04:38:06 +0000.347443][6875] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:255] [2023-07-22 04:38:06 +0000.347650][6875] _deviceSampleRate:48000

[040:255] [2023-07-22 04:38:06 +0000.347824][6874] Run AGC when audioType = 0


[040:255] [2023-07-22 04:38:06 +0000.347964][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[040:256] [2023-07-22 04:38:06 +0000.349448][694a] MP4 close file successfully
[040:257] [2023-07-22 04:38:06 +0000.349626][694a] Recording session Internal:
notify recording ok
[040:257] [2023-07-22 04:38:06 +0000.349712][694a] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4,
output_video_timestamp_:14400 last_video_pts_:14399
[040:257] [2023-07-22 04:38:06 +0000.349818][694a] OnRecordFinish:
[040:257] [2023-07-22 04:38:06 +0000.350512][694a] onRecordingOk: net seek
pos:0record video duration:14432record audio duration:14419
[040:259] [2023-07-22 04:38:06 +0000.351676][6943] destructMicSource_w:
[040:259] [2023-07-22 04:38:06 +0000.351799][6943] setOutput_w:
MicSource::setOutput() 0x0
[040:259] [2023-07-22 04:38:06 +0000.352131][6870] releaseThread 0x772283d100
[040:259] [2023-07-22 04:38:06 +0000.352233][6870] ~MicSource: Mic source
destroyed:0x772288a300
[040:260] [2023-07-22 04:38:06 +0000.353486][6870] StopPullFrameAndWriteMp4 leave.
expire time = 417 ms
[040:261] [2023-07-22 04:38:06 +0000.353638][6870] DestroyPipelineAndFilters
time:16352661 enter.

[040:261] [2023-07-22 04:38:06 +0000.353719][6870] UnbindInputFilter 0x772283d9c0


this 0x772285dfc0
[040:261] [2023-07-22 04:38:06 +0000.353783][6870] UnbindInputFilter 0x772283dfd8
this 0x7678f25150
[040:261] [2023-07-22 04:38:06 +0000.353849][6870] UnbindInputFilter 0x772285dfc0
this 0x7678f12260
[040:261] [2023-07-22 04:38:06 +0000.353879][6870] filter: filter pipeline destroy
this: 0x7678f121c0
[040:261] [2023-07-22 04:38:06 +0000.354589][6870] ClearVideoOfSources: recodring
total frames:0
[040:262] [2023-07-22 04:38:06 +0000.354781][6870] ClearVideoOfSources:
[040:262] [2023-07-22 04:38:06 +0000.354850][6870] GPUImageProcessing destruct.
[040:262] [2023-07-22 04:38:06 +0000.354955][6870] destroy TrivalImageDrawer
0x7722808cc0
[040:262] [2023-07-22 04:38:06 +0000.355043][6870] The shader has been initialize,
clean up them.

[040:262] [2023-07-22 04:38:06 +0000.355146][6870] ~OpenGLFrameBuffer:


[040:262] [2023-07-22 04:38:06 +0000.355542][6870] ~OpenGLFrameBuffer:
[040:263] [2023-07-22 04:38:06 +0000.355837][6870] ~OpenGLFrameBuffer:
[040:263] [2023-07-22 04:38:06 +0000.356161][6870] ~OpenGLFrameBuffer:
[040:263] [2023-07-22 04:38:06 +0000.356403][6870] ~OpenGLFrameBuffer:
[040:264] [2023-07-22 04:38:06 +0000.356717][6870] ~OpenGLFrameBuffer:
[040:264] [2023-07-22 04:38:06 +0000.357161][6870] GPUImageProcessing destruct
finish.
[040:264] [2023-07-22 04:38:06 +0000.357271][6870] GPURGBAFrame destruct.
[040:264] [2023-07-22 04:38:06 +0000.357540][6870] destroy OpenGLRenderProgram
0x772285dd98
[040:265] [2023-07-22 04:38:06 +0000.357621][6870] ~CameraSource time:16352665
enter.

[040:265] [2023-07-22 04:38:06 +0000.357677][6870] ~CameraSource leave. expire


time = 0 ms

[040:267] [2023-07-22 04:38:06 +0000.360141][6870] ~RecordAudioSource time:16352667


enter.

[040:267] [2023-07-22 04:38:06 +0000.360307][6870] ~RecordAudioSource leave.


expire time = 0 ms

[040:267] [2023-07-22 04:38:06 +0000.360406][6870] DestroyPipelineAndFilters


leave. expire time = 6 ms

[040:287] [2023-07-22 04:38:06 +0000.380086][5e33]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[040:288] [2023-07-22 04:38:06 +0000.381251][5e33] machine model :redmi
[040:288] [2023-07-22 04:38:06 +0000.381346][5e33] Support this machine
model :redmi
[040:288] [2023-07-22 04:38:06 +0000.381428][5e33] global inited! current sdk
version: 07-20-936c45f
[040:289] [2023-07-22 04:38:06 +0000.381718][5e33] filter: filter pipeline
construtc this: 0x77b9154380
[040:289] [2023-07-22 04:38:06 +0000.381816][5e33] MediaFilterGraph:
MediaFilterGraph construct
[040:289] [2023-07-22 04:38:06 +0000.381854][5e33] GLESContext:
[040:289] [2023-07-22 04:38:06 +0000.381916][5e33] The result of eglGetDisplay is:
0x1
[040:290] [2023-07-22 04:38:06 +0000.382729][5e33] The result of creation:
0x77154a8580
[040:290] [2023-07-22 04:38:06 +0000.383050][5e33] The result of
eglCreatePbufferSurface is: 0x768f93d280
[040:290] [2023-07-22 04:38:06 +0000.383219][5e33] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4
[040:290] [2023-07-22 04:38:06 +0000.383301][5e33] The source 0 speed:0.33
[040:290] [2023-07-22 04:38:06 +0000.383376][5e33] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4,
delay: 0
[040:290] [2023-07-22 04:38:06 +0000.383441][5e33] CreateDecoderByVideoSource
time:16352690 enter.

[040:291] [2023-07-22 04:38:06 +0000.383777][5e33] running_decoder_count:0max


count:2
[040:291] [2023-07-22 04:38:06 +0000.383855][5e33] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7658f44400
[040:296] [2023-07-22 04:38:06 +0000.388902][6953] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x76592f5c00] Current FFmpeg version git-2021-06-16-
97cea6f

[040:319] [2023-07-22 04:38:06 +0000.412195][6953] OnStreamInfoFound: video


duration_: 14432
[040:322] [2023-07-22 04:38:06 +0000.415076][5e33] start decoder
[040:322] [2023-07-22 04:38:06 +0000.415260][5e33] CreateDecoderByVideoSource
leave. expire time = 32 ms

[040:322] [2023-07-22 04:38:06 +0000.415327][5e33] BindInputFilter 0x768fe05520


this 0x768fe33cd8
[040:322] [2023-07-22 04:38:06 +0000.415369][5e33] BindInputFilter 0x768fe33cd8
this 0x767a449398
[040:322] [2023-07-22 04:38:06 +0000.415404][5e33] BindInputFilter 0x768fe05520
this 0x767a449518
[040:322] [2023-07-22 04:38:06 +0000.415435][5e33] BindInputFilter 0x767a449518
this 0x767a4498d8
[040:322] [2023-07-22 04:38:06 +0000.415457][5e33] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4
[040:322] [2023-07-22 04:38:06 +0000.415494][5e33] BindInputFilter 0x767a449398
this 0x767a449a58
[040:322] [2023-07-22 04:38:06 +0000.415525][5e33] BindInputFilter 0x767a449a58
this 0x77b9154420
[040:322] [2023-07-22 04:38:06 +0000.415556][5e33] BindInputFilter 0x767a4498d8
this 0x767a449b18
[040:322] [2023-07-22 04:38:06 +0000.415589][5e33] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16347286.mp4
[040:323] [2023-07-22 04:38:06 +0000.415647][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[040:322] [2023-07-22 04:38:06 +0000.415047][6954] NO get frame from decoder
[040:324] [2023-07-22 04:38:06 +0000.416858][5e33] machine model :redmi
[040:324] [2023-07-22 04:38:06 +0000.416935][5e33] Support this machine
model :redmi
[040:324] [2023-07-22 04:38:06 +0000.416964][5e33] global inited! current sdk
version: 07-20-936c45f
[040:324] [2023-07-22 04:38:06 +0000.417043][5e33] GetPipeline:
-----------------------------------------
[040:324] [2023-07-22 04:38:06 +0000.417077][5e33] GetPipeline: source:
0x768fe05300
[040:324] [2023-07-22 04:38:06 +0000.417104][5e33] GetPipeline: filter: NULLFilter
[040:324] [2023-07-22 04:38:06 +0000.417136][5e33] GetPipeline: filter: NULLFilter
[040:324] [2023-07-22 04:38:06 +0000.417161][5e33] GetPipeline: filter: NULLFilter
[040:324] [2023-07-22 04:38:06 +0000.417193][5e33] GetPipeline: audio filter:
AuidoNULLFilter
[040:324] [2023-07-22 04:38:06 +0000.417218][5e33] GetPipeline: audio filter:
AuidoNULLFilter
[040:324] [2023-07-22 04:38:06 +0000.417248][5e33] GetPipeline: audio filter:
AudioNUllFilter
[040:324] [2023-07-22 04:38:06 +0000.417307][5e33] GetPipeline:
------------------------------------------
[040:324] [2023-07-22 04:38:06 +0000.417346][5e33] filter: filter pipeline2 update
pattern: 0
[040:325] [2023-07-22 04:38:06 +0000.418549][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[040:326] [2023-07-22 04:38:06 +0000.418905][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[040:326] [2023-07-22 04:38:06 +0000.418999][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[040:326] [2023-07-22 04:38:06 +0000.419191][5e33] DeviceInit:
[040:326] [2023-07-22 04:38:06 +0000.419508][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[040:327] [2023-07-22 04:38:06 +0000.419874][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[040:327] [2023-07-22 04:38:06 +0000.420310][5e33] CreatePlatformSpecificObjects:
[040:327] [2023-07-22 04:38:06 +0000.420375][5e33] audio device use null audio
input and opensl output
[040:327] [2023-07-22 04:38:06 +0000.420409][5e33] Create OpenSLES output module
with java VM support.

[040:328] [2023-07-22 04:38:06 +0000.420658][5e33] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[040:328] [2023-07-22 04:38:06 +0000.421000][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[040:328] [2023-07-22 04:38:06 +0000.421329][5e33] Create OpenSLES output module
with buffer num:2

[040:328] [2023-07-22 04:38:06 +0000.421397][5e33] Error(trace.cc:40): Init the


output and input for audio device template.
[040:328] [2023-07-22 04:38:06 +0000.421428][5e33] Init the output device.

[040:328] [2023-07-22 04:38:06 +0000.421453][5e33] Set the playout as stereo:1


[040:328] [2023-07-22 04:38:06 +0000.421505][5e33] Set the sample rate to be:44100

[040:328] [2023-07-22 04:38:06 +0000.421571][5e33] Low latency buffer size:256 low


sample rate:48000
[040:329] [2023-07-22 04:38:06 +0000.421616][5e33] DeviceInit: Done
[040:329] [2023-07-22 04:38:06 +0000.421808][5e33] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[040:329] [2023-07-22 04:38:06 +0000.422213][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[040:329] [2023-07-22 04:38:06 +0000.422354][5e33]
MediaFilterPlayer::SetPlayerNotify 0x768ff1f8c0
[040:329] [2023-07-22 04:38:06 +0000.422414][5e33]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[040:329] [2023-07-22 04:38:06 +0000.422581][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[040:330] [2023-07-22 04:38:06 +0000.422616][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[040:330] [2023-07-22 04:38:06 +0000.422723][5e33] SetGraphLoop: SetGraphLoop 1
[040:330] [2023-07-22 04:38:06 +0000.422764][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[040:330] [2023-07-22 04:38:06 +0000.422797][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[040:330] [2023-07-22 04:38:06 +0000.423245][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[040:330] [2023-07-22 04:38:06 +0000.423555][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[040:328] [2023-07-22 04:38:06 +0000.421176][6954] NO get frame from decoder
[040:337] [2023-07-22 04:38:06 +0000.429776][6954] NO get frame from decoder
[040:344] [2023-07-22 04:38:06 +0000.436821][6961] Start:
[040:344] [2023-07-22 04:38:06 +0000.436898][6954] NO get frame from decoder
[040:348] [2023-07-22 04:38:06 +0000.441075][695f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7658ecd118
[040:354] [2023-07-22 04:38:06 +0000.447549][6954] NO get frame from decoder
[040:364] [2023-07-22 04:38:06 +0000.456719][6954] NO get frame from decoder
[040:377] [2023-07-22 04:38:06 +0000.470331][6954] NO get frame from decoder
[040:364] [2023-07-22 04:38:06 +0000.456749][6960] operator(): video render
started.
[040:379] [2023-07-22 04:38:06 +0000.471762][6961] Start:
[040:379] [2023-07-22 04:38:06 +0000.472171][6961] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[040:379] [2023-07-22 04:38:06 +0000.472259][6961] Reset: history total size: 98
[040:379] [2023-07-22 04:38:06 +0000.472300][6961] DeviceStart:
audioDevice_:0x766eb20000
[040:379] [2023-07-22 04:38:06 +0000.472329][6961] DeviceStart: time profile
playout init before
[040:379] [2023-07-22 04:38:06 +0000.472358][6961] DeviceStart: time profile
playout init end
[040:379] [2023-07-22 04:38:06 +0000.472379][6961] OpenSlesOutput:Start playout

[040:380] [2023-07-22 04:38:06 +0000.473383][6961] Create the opensl output player.


streamtype before:0

[040:380] [2023-07-22 04:38:06 +0000.473487][6961] Create the opensl output player.


streamtype after:3

[040:388] [2023-07-22 04:38:06 +0000.480696][6954] NO get frame from decoder


[040:394] [2023-07-22 04:38:06 +0000.486942][6961] Enqueue opensl buffer size:1764
[040:414] [2023-07-22 04:38:06 +0000.507077][6961] DeviceStart: time profile
playout all end
[040:414] [2023-07-22 04:38:06 +0000.507194][6961] operator(): Audio playback
started.
[040:414] [2023-07-22 04:38:06 +0000.507288][6961] operator(): Started now!
[040:414] [2023-07-22 04:38:06 +0000.507589][6962] Pull audio failed.(wait video!)
[040:415] [2023-07-22 04:38:06 +0000.508032][6962]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[040:416] [2023-07-22 04:38:06 +0000.509500][6962] Pull audio failed.(wait video!)
[040:417] [2023-07-22 04:38:06 +0000.509953][6962]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[040:418] [2023-07-22 04:38:06 +0000.511338][6962] Pull audio failed.(wait video!)
[040:419] [2023-07-22 04:38:06 +0000.511782][6962]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[040:463] [2023-07-22 04:38:06 +0000.556044][6960] lipsync_debug: First video frame
rendering.
[040:501] [2023-07-22 04:38:06 +0000.594074][6960] lipsync_debug:displaying video
ts:5940 The current displayed video timestamp is:16352901
[040:516] [2023-07-22 04:38:06 +0000.608963][6961] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[040:516] [2023-07-22 04:38:06 +0000.609206][6961] First audio frame rendering
[040:543] [2023-07-22 04:38:06 +0000.636321][6962] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[040:649] [2023-07-22 04:38:06 +0000.742141][6963] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6996 diff: 5
[040:777] [2023-07-22 04:38:06 +0000.870110][6962] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 20456
[040:777] [2023-07-22 04:38:06 +0000.870227][6962] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[040:799] [2023-07-22 04:38:06 +0000.891914][6964]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[040:866] [2023-07-22 04:38:06 +0000.958860][6963] Error(video_source.cc:430): wait
decoder a frame: 0
[040:891] [2023-07-22 04:38:06 +0000.983970][6961] The audio playback speed:100
(1/100)
[040:891] [2023-07-22 04:38:06 +0000.984103][6961] lipsync_debug: The current
played audio timestamp is:22484(1/50)
[041:156] [2023-07-22 04:38:07 +0000.249263][6960] lipsync_debug:displaying video
ts:65340 The current displayed video timestamp is:16353556
[041:258] [2023-07-22 04:38:07 +0000.350665][6963] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 86130pts ms:957000
[041:265] [2023-07-22 04:38:07 +0000.358580][6960] lipsync_debug:remaining time:10
tsDelta - timeDelta:23
[041:266] [2023-07-22 04:38:07 +0000.358707][6960] lipsync_debug:result remaining
time:10
[041:281] [2023-07-22 04:38:07 +0000.374595][6963] OnVideoFrameReady(1/200)
[041:285] [2023-07-22 04:38:07 +0000.377923][6960] operator() frame->pts-
9223372036854775808 queue_ size: 4 (1/200)
[041:376] [2023-07-22 04:38:07 +0000.468864][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[041:801] [2023-07-22 04:38:07 +0000.893894][6964]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[041:997] [2023-07-22 04:38:08 +0000.90249][6960] lipsync_debug:displaying video
ts:124740 The current displayed video timestamp is:16354397
[042:002] [2023-07-22 04:38:08 +0000.95511][6960] lipsync_debug: render a video
frame
[042:063] [2023-07-22 04:38:08 +0000.156201][6960] lipsync_debug:result remaining
time:0
[042:063] [2023-07-22 04:38:08 +0000.156366][6960] dynamic updated lipsync delay:0
[042:083] [2023-07-22 04:38:08 +0000.176220][6963] Error(video_source.cc:430): wait
decoder a frame: 0
[042:096] [2023-07-22 04:38:08 +0000.188747][6960] DriveRender working... (1/200)
[042:243] [2023-07-22 04:38:08 +0000.336279][6960]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:15 last
video ts:145530 frame->pts:148500 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[042:243] [2023-07-22 04:38:08 +0000.336492][6960] lipsync_debug: tsDelta -
timeDelta = 18
[042:258] [2023-07-22 04:38:08 +0000.351163][6874] Run AGC when audioType = 0
[042:663] [2023-07-22 04:38:08 +0000.755891][6960] lipsync_debug:displaying video
ts:184140 The current displayed video timestamp is:16355063
[042:803] [2023-07-22 04:38:08 +0000.895695][6964]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[043:085] [2023-07-22 04:38:09 +0000.178383][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[043:102] [2023-07-22 04:38:09 +0000.194720][6962] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 122824
[043:102] [2023-07-22 04:38:09 +0000.194949][6962] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[043:230] [2023-07-22 04:38:09 +0000.323526][6961] The audio playback speed:100
(1/100)
[043:231] [2023-07-22 04:38:09 +0000.323651][6961] lipsync_debug: The current
played audio timestamp is:124852(1/50)
[043:323] [2023-07-22 04:38:09 +0000.416195][6960] lipsync_debug:displaying video
ts:243540 The current displayed video timestamp is:16355723
[043:414] [2023-07-22 04:38:09 +0000.507253][6961] total delay:-4 videoTsMS:2772
audioTsMS:2776 diff:-4
[043:414] [2023-07-22 04:38:09 +0000.507420][6961] Set the lipsync delay:-4
[043:424] [2023-07-22 04:38:09 +0000.516937][6960] lipsync_debug:remaining time:10
tsDelta - timeDelta:27
[043:424] [2023-07-22 04:38:09 +0000.517188][6960] lipsync_debug:result remaining
time:10
[043:426] [2023-07-22 04:38:09 +0000.518958][6963] Error(video_source.cc:430): wait
decoder a frame: 0
[043:752] [2023-07-22 04:38:09 +0000.845291][6960] DriveRender working... (1/200)
[043:805] [2023-07-22 04:38:09 +0000.898604][6964]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[043:905] [2023-07-22 04:38:09 +0000.998200][6960]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:25 last
video ts:294030 frame->pts:297000 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[043:905] [2023-07-22 04:38:09 +0000.998403][6960] lipsync_debug: tsDelta -
timeDelta = 8
[043:979] [2023-07-22 04:38:10 +0000.72085][6960] lipsync_debug:displaying video
ts:302940 The current displayed video timestamp is:16356379
[044:257] [2023-07-22 04:38:10 +0000.350545][6874] Run AGC when audioType = 0
[044:258] [2023-07-22 04:38:10 +0000.350843][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[044:453] [2023-07-22 04:38:10 +0000.545983][6963] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 383130pts ms:4.257e+06
[044:456] [2023-07-22 04:38:10 +0000.549520][6963] OnVideoFrameReady(1/200)
[044:457] [2023-07-22 04:38:10 +0000.549717][6960] operator() frame->pts-
9223372036854775808 queue_ size: 14 (1/200)
[044:584] [2023-07-22 04:38:10 +0000.676724][6963] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7996 diff: 5
[044:659] [2023-07-22 04:38:10 +0000.752124][6960] lipsync_debug:displaying video
ts:362340 The current displayed video timestamp is:16357059
[044:785] [2023-07-22 04:38:10 +0000.878483][6963] Error(video_source.cc:430): wait
decoder a frame: 0
[044:800] [2023-07-22 04:38:10 +0000.892841][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[044:808] [2023-07-22 04:38:10 +0000.901192][6964]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[045:319] [2023-07-22 04:38:11 +0000.412255][6960] lipsync_debug:displaying video
ts:421740 The current displayed video timestamp is:16357719
[045:323] [2023-07-22 04:38:11 +0000.416656][6960] lipsync_debug: render a video
frame
[045:385] [2023-07-22 04:38:11 +0000.478587][6960] lipsync_debug:result remaining
time:0
[045:386] [2023-07-22 04:38:11 +0000.478701][6960] dynamic updated lipsync delay:0
[045:405] [2023-07-22 04:38:11 +0000.498423][6962] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 225192
[045:405] [2023-07-22 04:38:11 +0000.498527][6962] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[045:439] [2023-07-22 04:38:11 +0000.531869][6960] DriveRender working... (1/200)
[045:476] [2023-07-22 04:38:11 +0000.568814][6961] The audio playback speed:100
(1/100)
[045:476] [2023-07-22 04:38:11 +0000.568946][6961] lipsync_debug: The current
played audio timestamp is:227220(1/50)
[045:585] [2023-07-22 04:38:11 +0000.677640][6960]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:34 last
video ts:445500 frame->pts:448470 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[045:585] [2023-07-22 04:38:11 +0000.677799][6960] lipsync_debug: tsDelta -
timeDelta = -1
[045:665] [2023-07-22 04:38:11 +0000.758115][6960] lipsync_debug:remaining time:10
tsDelta - timeDelta:18
[045:665] [2023-07-22 04:38:11 +0000.758319][6960] lipsync_debug:result remaining
time:10
[045:811] [2023-07-22 04:38:11 +0000.904135][6964]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[045:947] [2023-07-22 04:38:12 +0000.39965][6960] lipsync_debug:displaying video
ts:481140 The current displayed video timestamp is:16358347
[046:135] [2023-07-22 04:38:12 +0000.228258][6963] Error(video_source.cc:430): wait
decoder a frame: 0
[046:254] [2023-07-22 04:38:12 +0000.347563][6874] Run AGC when audioType = 0
[046:518] [2023-07-22 04:38:12 +0000.611422][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[046:630] [2023-07-22 04:38:12 +0000.723427][6960] lipsync_debug:displaying video
ts:540540 The current displayed video timestamp is:16359030
[046:659] [2023-07-22 04:38:12 +0000.751821][6963] video frame wait audio frame:
last_video_timestamp:6468 last_audio_timestamp:6337.01
[046:659] [2023-07-22 04:38:12 +0000.751975][6963]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[046:815] [2023-07-22 04:38:12 +0000.907739][6964]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[047:116] [2023-07-22 04:38:13 +0000.208965][6960] DriveRender working... (1/200)
[047:260] [2023-07-22 04:38:13 +0000.352882][6960]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:3 last video
ts:596970 frame->pts:599940 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[047:260] [2023-07-22 04:38:13 +0000.353045][6960] lipsync_debug: tsDelta -
timeDelta = 30
[047:290] [2023-07-22 04:38:13 +0000.382896][6960] lipsync_debug:displaying video
ts:599940 The current displayed video timestamp is:16359690
[047:484] [2023-07-22 04:38:13 +0000.577497][6963] Error(video_source.cc:430): wait
decoder a frame: 0
[047:736] [2023-07-22 04:38:13 +0000.828775][6962] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 327560
[047:736] [2023-07-22 04:38:13 +0000.828962][6962] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[047:746] [2023-07-22 04:38:13 +0000.838775][6963] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 680130pts ms:7.557e+06
[047:759] [2023-07-22 04:38:13 +0000.852264][6963] OnVideoFrameReady(1/200)
[047:760] [2023-07-22 04:38:13 +0000.852844][6960] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[047:802] [2023-07-22 04:38:13 +0000.894974][6964]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[047:809] [2023-07-22 04:38:13 +0000.902224][6961] The audio playback speed:100
(1/100)
[047:809] [2023-07-22 04:38:13 +0000.902366][6961] lipsync_debug: The current
played audio timestamp is:329588(1/50)
[047:942] [2023-07-22 04:38:14 +0000.34868][6960] lipsync_debug:displaying video
ts:659340 The current displayed video timestamp is:16360342
[048:000] [2023-07-22 04:38:14 +0000.92990][6960] lipsync_debug:remaining time:10
tsDelta - timeDelta:8
[048:000] [2023-07-22 04:38:14 +0000.93113][6960] lipsync_debug:result remaining
time:8
[048:238] [2023-07-22 04:38:14 +0000.331549][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[048:259] [2023-07-22 04:38:14 +0000.352328][6874] Run AGC when audioType = 0
[048:259] [2023-07-22 04:38:14 +0000.352510][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[048:607] [2023-07-22 04:38:14 +0000.700386][6960] lipsync_debug:displaying video
ts:718740 The current displayed video timestamp is:16361007
[048:615] [2023-07-22 04:38:14 +0000.708599][6960] lipsync_debug: render a video
frame
[048:634] [2023-07-22 04:38:14 +0000.727164][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[048:640] [2023-07-22 04:38:14 +0000.732943][6961] Stop:
[048:641] [2023-07-22 04:38:14 +0000.733931][6960] operator(): Video Render
stopped.
[048:641] [2023-07-22 04:38:14 +0000.734109][6961] Stop:
[048:641] [2023-07-22 04:38:14 +0000.734341][6961] DeviceStop:
audioDevice_:0x766eb20000
[048:641] [2023-07-22 04:38:14 +0000.734382][6961] OpenSlesOutput:Stop playout

[048:643] [2023-07-22 04:38:14 +0000.735799][6961] DeviceStop: Done


[048:643] [2023-07-22 04:38:14 +0000.736006][6961] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[048:643] [2023-07-22 04:38:14 +0000.736068][6961] operator(): Stop now!
[048:643] [2023-07-22 04:38:14 +0000.736428][5e33] Stop:
[048:643] [2023-07-22 04:38:14 +0000.736525][6961] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[048:644] [2023-07-22 04:38:14 +0000.736701][5e33] DeviceRelease:
audioDevice_:0x766eb20000
[048:644] [2023-07-22 04:38:14 +0000.736738][5e33] OpenSlesOutput:Stop playout

[048:644] [2023-07-22 04:38:14 +0000.736774][5e33] DeviceRelease: Release the


webrtc device object.
[048:644] [2023-07-22 04:38:14 +0000.736923][5e33] OpenSlesOutput destruct.

[048:644] [2023-07-22 04:38:14 +0000.736996][5e33] DeviceRelease: Done


[048:644] [2023-07-22 04:38:14 +0000.737122][5e33] Stop:
[048:644] [2023-07-22 04:38:14 +0000.737190][6960] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[048:647] [2023-07-22 04:38:14 +0000.740047][5e33] global uninited!
[048:647] [2023-07-22 04:38:14 +0000.740285][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[048:647] [2023-07-22 04:38:14 +0000.740380][5e33] ~MediaFilterGraph:
MediaFilterGraph destruct
[048:647] [2023-07-22 04:38:14 +0000.740400][5e33] RemoveVideoBackGroud: hava not
add video backgroud
[048:647] [2023-07-22 04:38:14 +0000.740436][5e33] UnbindInputFilter 0x767a449a58
this 0x77b9154420
[048:647] [2023-07-22 04:38:14 +0000.740464][5e33] ClearAllSource: remove source
filter, sourceid: 0x768fe05300
[048:647] [2023-07-22 04:38:14 +0000.740483][5e33] DestoryDecoderByVideoSource
time:16361047 enter.

[048:647] [2023-07-22 04:38:14 +0000.740533][5e33] ~VideoBindDecoder time:16361047


enter.

[048:648] [2023-07-22 04:38:14 +0000.740721][5e33] CleanUp time:16361048 enter.

[048:667] [2023-07-22 04:38:14 +0000.759736][5e33] CleanUp leave. expire time = 19


ms

[048:667] [2023-07-22 04:38:14 +0000.759858][5e33] CleanUp time:16361067 enter.

[048:667] [2023-07-22 04:38:14 +0000.760163][5e33] CleanUp leave. expire time = 0


ms

[048:667] [2023-07-22 04:38:14 +0000.760466][5e33] ~VideoBindDecoder leave. expire


time = 20 ms

[048:667] [2023-07-22 04:38:14 +0000.760503][5e33] DestoryDecoderByVideoSource


leave. expire time = 20 ms

[048:667] [2023-07-22 04:38:14 +0000.760572][5e33] UnbindInputFilter 0x767a449398


this 0x767a449a58
[048:668] [2023-07-22 04:38:14 +0000.760650][5e33] UnbindInputFilter 0x768fe33cd8
this 0x767a449398
[048:668] [2023-07-22 04:38:14 +0000.760728][5e33] UnbindInputFilter 0x768fe05520
this 0x768fe33cd8
[048:668] [2023-07-22 04:38:14 +0000.760768][5e33] UnbindInputFilter 0x767a4498d8
this 0x767a449b18
[048:668] [2023-07-22 04:38:14 +0000.760797][5e33] UnbindInputFilter 0x767a449518
this 0x767a4498d8
[048:668] [2023-07-22 04:38:14 +0000.760823][5e33] UnbindInputFilter 0x768fe05520
this 0x767a449518
[048:668] [2023-07-22 04:38:14 +0000.761320][5e33] ~GLESContext:
[048:669] [2023-07-22 04:38:14 +0000.761897][5e33] GLESContext destruct finish.
[048:669] [2023-07-22 04:38:14 +0000.761976][5e33] filter: filter pipeline destroy
this: 0x77b9154380
[049:958] [2023-07-22 04:38:16 +0000.51158][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[050:254] [2023-07-22 04:38:16 +0000.347299][6875] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[050:254] [2023-07-22 04:38:16 +0000.347439][6875] _deviceSampleRate:48000

[050:257] [2023-07-22 04:38:16 +0000.350111][6874] Run AGC when audioType = 0


[051:667] [2023-07-22 04:38:17 +0000.760012][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[052:256] [2023-07-22 04:38:18 +0000.349496][6874] Run AGC when audioType = 0
[052:257] [2023-07-22 04:38:18 +0000.349936][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[053:369] [2023-07-22 04:38:19 +0000.462117][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[054:257] [2023-07-22 04:38:20 +0000.349627][6874] Run AGC when audioType = 0
[055:073] [2023-07-22 04:38:21 +0000.166555][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[056:260] [2023-07-22 04:38:22 +0000.352785][6874] Run AGC when audioType = 0
[056:260] [2023-07-22 04:38:22 +0000.353039][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[056:779] [2023-07-22 04:38:22 +0000.871630][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[058:256] [2023-07-22 04:38:24 +0000.349440][6874] Run AGC when audioType = 0
[058:489] [2023-07-22 04:38:24 +0000.582569][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[060:190] [2023-07-22 04:38:26 +0000.283238][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[060:254] [2023-07-22 04:38:26 +0000.347595][6875] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[060:255] [2023-07-22 04:38:26 +0000.347809][6875] _deviceSampleRate:48000

[060:257] [2023-07-22 04:38:26 +0000.350254][6874] Run AGC when audioType = 0


[060:257] [2023-07-22 04:38:26 +0000.350430][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[061:897] [2023-07-22 04:38:27 +0000.990329][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[062:255] [2023-07-22 04:38:28 +0000.348485][6874] Run AGC when audioType = 0
[063:608] [2023-07-22 04:38:29 +0000.701199][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[064:183] [2023-07-22 04:38:30 +0000.276553][5e33] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[064:184] [2023-07-22 04:38:30 +0000.276670][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[064:184] [2023-07-22 04:38:30 +0000.276819][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[064:184] [2023-07-22 04:38:30 +0000.277034][6870] operator() time:16376584 enter.

[064:184] [2023-07-22 04:38:30 +0000.277151][6870] MediaFilterCamera, recording


file context:0x7715325580 input texture:8
[064:188] [2023-07-22 04:38:30 +0000.280982][6870] MicSource: Mic source
created:10x772288a300
[064:189] [2023-07-22 04:38:30 +0000.282454][6870] alloc thread: 0x772283b180
name:worker0 thread id:508806896832 to Mic_source
[064:190] [2023-07-22 04:38:30 +0000.282822][6870] audio: start the audio sender
thread.

[064:190] [2023-07-22 04:38:30 +0000.283008][6870] construct OpenGLRenderProgram


0x772285dd98
[064:190] [2023-07-22 04:38:30 +0000.283093][6870] CropFilter::SetOrientation
orientation: 90
[064:191] [2023-07-22 04:38:30 +0000.283675][6870] filter: filter pipeline
construtc this: 0x766160e300
[064:191] [2023-07-22 04:38:30 +0000.283800][6870] filter: filter pipeline2 update
pattern: 1
[064:191] [2023-07-22 04:38:30 +0000.283876][6870] CameraSource::source_id_:7
[064:191] [2023-07-22 04:38:30 +0000.283945][6870] RecordAudioSource::source_id_:8
[064:191] [2023-07-22 04:38:30 +0000.284292][6870] BindInputFilter 0x772283ba40
this 0x772285dfc0
[064:191] [2023-07-22 04:38:30 +0000.284407][6870] BindInputFilter 0x772283cc58
this 0x772283d0d0
[064:191] [2023-07-22 04:38:30 +0000.284495][6870] BindInputFilter 0x772285dfc0
this 0x766160e3a0
[064:192] [2023-07-22 04:38:30 +0000.284652][6870] setParamentForFilters:
speed:0.330000
[064:192] [2023-07-22 04:38:30 +0000.284723][6870] SetParamForFilter:
AF_SpeedFilter params:, speed_ 0.33
[064:192] [2023-07-22 04:38:30 +0000.284798][6870] SetParamForFilter time:16376592
enter.

[064:192] [2023-07-22 04:38:30 +0000.284864][6870] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[064:192] [2023-07-22 04:38:30 +0000.284937][6870] SetParamForFilter: Params video
index is: 0
[064:192] [2023-07-22 04:38:30 +0000.285002][6870] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[064:192] [2023-07-22 04:38:30 +0000.285067][6870] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[064:192] [2023-07-22 04:38:30 +0000.285136][6870] crop filter mode tpye:
citytravelvideo index:0
[064:197] [2023-07-22 04:38:30 +0000.290236][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[064:197] [2023-07-22 04:38:30 +0000.290428][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[064:197] [2023-07-22 04:38:30 +0000.290556][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[064:198] [2023-07-22 04:38:30 +0000.290617][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[064:198] [2023-07-22 04:38:30 +0000.290679][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[064:198] [2023-07-22 04:38:30 +0000.290751][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[064:198] [2023-07-22 04:38:30 +0000.290836][6870]
Warning(parse_template_json.cc:45): json parament no found the parament
[064:198] [2023-07-22 04:38:30 +0000.290884][6870]
Warning(parse_template_json.cc:81): json parament no found the parament
[064:198] [2023-07-22 04:38:30 +0000.290967][6870]
Warning(parse_template_json.cc:81): json parament no found the parament
[064:198] [2023-07-22 04:38:30 +0000.291032][6870]
Warning(parse_template_json.cc:67): json parament no found the parament
[064:198] [2023-07-22 04:38:30 +0000.291096][6870]
Warning(parse_template_json.cc:93): json parament no found the duration
[064:198] [2023-07-22 04:38:30 +0000.291151][6870] SetParamForFilter leave. expire
time = 6 ms

[064:198] [2023-07-22 04:38:30 +0000.291315][6870] OnOutputSizeChanged width 1280


height 720
[064:198] [2023-07-22 04:38:30 +0000.291396][6870] OpenGLFrameBuffer: width:1280
height:720
[064:198] [2023-07-22 04:38:30 +0000.291447][6870] OpenGLFrameBuffer: width:1280
height:720
[064:198] [2023-07-22 04:38:30 +0000.291493][6870] OpenGLFrameBuffer: width:1280
height:720
[064:198] [2023-07-22 04:38:30 +0000.291538][6870] OpenGLFrameBuffer: width:1280
height:720
[064:198] [2023-07-22 04:38:30 +0000.291582][6870] OpenGLFrameBuffer: width:1280
height:720
[064:199] [2023-07-22 04:38:30 +0000.291625][6870] OpenGLFrameBuffer: width:1280
height:720
[064:199] [2023-07-22 04:38:30 +0000.291668][6870] construct TrivalImageDrawer
0x7722808e00
[064:199] [2023-07-22 04:38:30 +0000.291716][6870] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x7722808e00 context 0x772292ee40
[064:199] [2023-07-22 04:38:30 +0000.291856][6870] setupGLES:
[064:202] [2023-07-22 04:38:30 +0000.294951][6870] OpenGLRenderProgram::Initialize.
[064:202] [2023-07-22 04:38:30 +0000.295070][6870] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[064:202] [2023-07-22 04:38:30 +0000.295151][6870] The extension of the OpenGL:
GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat
GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap
GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax
GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context
GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic
GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables
GL_OES_sample_shading GL_OES_shader_multisample_interpolation
GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader
GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5
GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float
GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
GL_EXT_external_buffer GL_EXT_EGL_image_array GL_EXT_texture_filter_anisotropic
GL_ARM_texture_unnormalized_coordinates
[064:202] [2023-07-22 04:38:30 +0000.295233][6870] Init open gl render:
0x772285dd98
[064:202] [2023-07-22 04:38:30 +0000.295276][6870] Fragement shader path:
[064:203] [2023-07-22 04:38:30 +0000.295666][6870] Fragement shader path:
[064:203] [2023-07-22 04:38:30 +0000.295709][6870] create opengl program object.
[064:203] [2023-07-22 04:38:30 +0000.295736][6870] create shader: vertex
[064:203] [2023-07-22 04:38:30 +0000.295840][6870] create shader: fragment
[064:205] [2023-07-22 04:38:30 +0000.298110][6870] Have not extra filter filename!
[064:205] [2023-07-22 04:38:30 +0000.298214][6870] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[064:205] [2023-07-22 04:38:30 +0000.298251][6870] OpenGLRenderProgram::Initialize
success.
[064:205] [2023-07-22 04:38:30 +0000.298341][6870] Setup the OpenGL result:1
[064:206] [2023-07-22 04:38:30 +0000.299351][686f] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4
[064:207] [2023-07-22 04:38:30 +0000.299702][686f] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[064:207] [2023-07-22 04:38:30 +0000.299720][69dd] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x767a525e98
[064:207] [2023-07-22 04:38:30 +0000.299891][686f] 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
[064:207] [2023-07-22 04:38:30 +0000.299998][686f] 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_16376605.mp4
fileFD: -1
[064:208] [2023-07-22 04:38:30 +0000.300801][686f] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4
is opened successfully
[064:208] [2023-07-22 04:38:30 +0000.300903][686f] setupMediaProcessers:
[064:208] [2023-07-22 04:38:30 +0000.300940][686f]
RecordingSessionInternalSimple:setup media processers.
[064:208] [2023-07-22 04:38:30 +0000.300972][686f] construct AAC encoder
[064:209] [2023-07-22 04:38:30 +0000.301869][686f] H264Encoder creating:
superfast011818
[064:209] [2023-07-22 04:38:30 +0000.301955][686f] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[064:210] [2023-07-22 04:38:30 +0000.303037][686f] H264Encode::GetMachineModel is
21121119SG
[064:210] [2023-07-22 04:38:30 +0000.303133][686f] H264Encoder machine_mode
is:21121119SG
[064:210] [2023-07-22 04:38:30 +0000.303169][686f] H264Encode::machine size :9
machine_mode:21121119SG
[064:210] [2023-07-22 04:38:30 +0000.303199][686f] H264Encode::machine array
size :22 machine_mode:21121119SG
[064:210] [2023-07-22 04:38:30 +0000.303227][686f] H264Encode::current machine
is :21121119SG auto check hw codec decide to use hw codec
[064:210] [2023-07-22 04:38:30 +0000.303252][686f] setupCompressionSession:
[064:210] [2023-07-22 04:38:30 +0000.303275][686f] H264Encode::creating hareware
Encoder
[064:210] [2023-07-22 04:38:30 +0000.303299][686f] AndroidHwAvcEncoder
time:16376610 enter.

[064:210] [2023-07-22 04:38:30 +0000.303588][686f] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000077b8fc4380 address:0x7651116760
[064:211] [2023-07-22 04:38:30 +0000.303814][686f] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[064:211] [2023-07-22 04:38:30 +0000.303866][686f] The video avc hw codec address
is 0x767a7f8e70
[064:211] [2023-07-22 04:38:30 +0000.304002][686f] AndroidHwAvcEncoder leave.
expire time = 1 ms

[064:211] [2023-07-22 04:38:30 +0000.304054][686f] RegisterEncodeCompleteCallback


time:16376611 enter.

[064:211] [2023-07-22 04:38:30 +0000.304276][686f] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[064:211] [2023-07-22 04:38:30 +0000.304335][686f] InitEncode time:16376611 enter.

[064:211] [2023-07-22 04:38:30 +0000.304462][686f] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[064:211] [2023-07-22 04:38:30 +0000.304516][686f] Create time:16376611 enter.
[064:211] [2023-07-22 04:38:30 +0000.304560][686f] H264Encoder encoderCreate
width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[064:212] [2023-07-22 04:38:30 +0000.304664][686f]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x766eae5a40
[064:212] [2023-07-22 04:38:30 +0000.304947][686f] supported_type:audio/mp4a-latm
[064:212] [2023-07-22 04:38:30 +0000.305028][686f] supported_type:audio/mp4a-latm
[064:212] [2023-07-22 04:38:30 +0000.305085][686f] supported_type:audio/3gpp
[064:212] [2023-07-22 04:38:30 +0000.305131][686f] supported_type:audio/3gpp
[064:212] [2023-07-22 04:38:30 +0000.305199][686f] supported_type:audio/amr-wb
[064:212] [2023-07-22 04:38:30 +0000.305252][686f] supported_type:audio/amr-wb
[064:212] [2023-07-22 04:38:30 +0000.305310][686f] supported_type:audio/flac
[064:212] [2023-07-22 04:38:30 +0000.305371][686f] supported_type:audio/flac
[064:212] [2023-07-22 04:38:30 +0000.305445][686f] supported_type:audio/opus
[064:212] [2023-07-22 04:38:30 +0000.305547][686f] supported_type:video/avc
[064:212] [2023-07-22 04:38:30 +0000.305593][686f] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[064:213] [2023-07-22 04:38:30 +0000.305700][686f] hwCodecPrefix :OMX.qcom.
[064:213] [2023-07-22 04:38:30 +0000.305750][686f] hwCodecPrefix :OMX.Nvidia.
[064:213] [2023-07-22 04:38:30 +0000.305785][686f] hwCodecPrefix :OMX.IMG.TOPAZ
[064:213] [2023-07-22 04:38:30 +0000.305811][686f] hwCodecPrefix :OMX.Exynos
[064:213] [2023-07-22 04:38:30 +0000.305839][686f] hwCodecPrefix :OMX.MTK
[064:213] [2023-07-22 04:38:30 +0000.305869][686f] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[064:213] [2023-07-22 04:38:30 +0000.305910][686f] mediacodec_createCodecByName
time:16376613 enter.

[064:213] [2023-07-22 04:38:30 +0000.305948][686f] WrapAndroidMediaCodec


time:16376613 enter.

[064:213] [2023-07-22 04:38:30 +0000.306137][686f] WrapAndroidMediaCodec leave.


expire time = 0 ms

[064:230] [2023-07-22 04:38:30 +0000.323495][686f] mediacodec_createCodecByName


leave. expire time = 17 ms

[064:231] [2023-07-22 04:38:30 +0000.323708][686f] WrapAndroidMediaFromat


time:16376631 enter.

[064:231] [2023-07-22 04:38:30 +0000.323939][686f] WrapAndroidMediaFromat leave.


expire time = 0 ms

[064:257] [2023-07-22 04:38:30 +0000.350624][6874] Run AGC when audioType = 0


[064:258] [2023-07-22 04:38:30 +0000.350878][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[064:285] [2023-07-22 04:38:30 +0000.378487][686f] Destroy time:16376685 enter.

[064:286] [2023-07-22 04:38:30 +0000.378652][686f] WrapAndroidMediaFromat::


Destroy
[064:286] [2023-07-22 04:38:30 +0000.378732][686f] Destroy leave. expire time = 1
ms

[064:286] [2023-07-22 04:38:30 +0000.378802][686f] ~WrapAndroidMediaFromat


time:16376686 enter.

[064:286] [2023-07-22 04:38:30 +0000.378890][686f] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[064:286] [2023-07-22 04:38:30 +0000.378963][686f] Create leave. expire time = 75


ms

[064:286] [2023-07-22 04:38:30 +0000.379030][686f] isSemiPlanarSupport


time:16376686 enter.

[064:286] [2023-07-22 04:38:30 +0000.379095][686f] H264Encoder isSemiPlanarSupport


[064:286] [2023-07-22 04:38:30 +0000.379179][686f] isSemiPlanarSupport leave.
expire time = 0 ms

[064:286] [2023-07-22 04:38:30 +0000.379250][686f] creat hw H264Encoder success,


isSemiPlanar:1
[064:287] [2023-07-22 04:38:30 +0000.379999][686f] InitEncode leave. expire time =
76 ms

[064:287] [2023-07-22 04:38:30 +0000.380217][686f] H264Encode::created Encoder


[064:287] [2023-07-22 04:38:30 +0000.380318][686f] H264Encode:: H264 encoder
created.
[064:287] [2023-07-22 04:38:30 +0000.380393][686f] H264 encoder created.
[064:287] [2023-07-22 04:38:30 +0000.380508][686f]
RecordingSessionInternalSimple:created avc encoder avc: 0x768fcf2b40
[064:287] [2023-07-22 04:38:30 +0000.380590][686f] setOutput:
[064:288] [2023-07-22 04:38:30 +0000.380768][686f]
RecordingSessionInternalSimple:encoder set output to muxer!
[064:288] [2023-07-22 04:38:30 +0000.380841][686f] request a key frame
[064:288] [2023-07-22 04:38:30 +0000.380889][686f] H264Encode:: request a key frame
[064:288] [2023-07-22 04:38:30 +0000.381223][686f] setDisplayRotate :90
[064:288] [2023-07-22 04:38:30 +0000.381341][686f] 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
[064:289] [2023-07-22 04:38:30 +0000.381617][6870] StartRecording:
[064:289] [2023-07-22 04:38:30 +0000.381897][69d6] operator(): Set the recording
session in mic source. recording session: 0x772283cb00
[064:289] [2023-07-22 04:38:30 +0000.382254][6870] operator() leave. expire time =
105 ms

[064:316] [2023-07-22 04:38:30 +0000.408779][69d5] AF_SpeedFilter audio time,


0x772283cf80 rcv time: 16376705
[064:316] [2023-07-22 04:38:30 +0000.409013][69d5] AF_SpeedFilter audio time,
0x772283cf80 rcv time: 16376705in_nSamples:441
[064:353] [2023-07-22 04:38:30 +0000.446425][6870] begine recode to first frame
spend time:169
[064:354] [2023-07-22 04:38:30 +0000.446659][6870]
GPUImageProcessing::SetOrientation orientation: 90
[064:354] [2023-07-22 04:38:30 +0000.447368][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[064:388] [2023-07-22 04:38:30 +0000.481291][6870] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8984 diff: 17
[064:389] [2023-07-22 04:38:30 +0000.482291][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[064:402] [2023-07-22 04:38:30 +0000.495099][69dc]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[064:423] [2023-07-22 04:38:30 +0000.515718][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[064:429] [2023-07-22 04:38:30 +0000.521894][6870] The read pixel from buffer take:
4 width:1280 height:720 frameType:0
[064:447] [2023-07-22 04:38:30 +0000.540196][69dd] add aac audio track with id:1
[064:473] [2023-07-22 04:38:30 +0000.566168][69dc] h264 add frame header cdr flag
[064:475] [2023-07-22 04:38:30 +0000.567693][69dc] h264 add frame header cdr flag
[064:475] [2023-07-22 04:38:30 +0000.568427][69dc] Received key frame:0
[064:476] [2023-07-22 04:38:30 +0000.568682][69dc] DTS queue for
Generator:0x767a56d2b8 103 212
[064:476] [2023-07-22 04:38:30 +0000.568794][69dc] H264Encode:: get a sps pps
header!headerSize:30
[064:476] [2023-07-22 04:38:30 +0000.568983][69dd] get the H.264 SPS parameter
[064:476] [2023-07-22 04:38:30 +0000.569518][69dd] add video track with id:2
[064:478] [2023-07-22 04:38:30 +0000.570681][69dd] get the H.264 PPS parameter
[064:479] [2023-07-22 04:38:30 +0000.571901][69dd] get the H.264 IDR frame
[064:479] [2023-07-22 04:38:30 +0000.572116][69dd] resss:true
[064:479] [2023-07-22 04:38:30 +0000.572196][69dd] video start ts:0
[064:479] [2023-07-22 04:38:30 +0000.572643][69dd] the video frame has been written
into MP4 file
[064:490] [2023-07-22 04:38:30 +0000.583047][69dd] audio start ts:0
[064:490] [2023-07-22 04:38:30 +0000.583253][69dd] the audio frame has been written
into MP4 file
[064:509] [2023-07-22 04:38:30 +0000.602079][69dc] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:212 pts:212
[064:524] [2023-07-22 04:38:30 +0000.617216][6870] GPUImageProcessing: process
video frame with resolution 1280 X 720
[064:524] [2023-07-22 04:38:30 +0000.617371][6870] GPUImageProcessing: input frame
width1280 X 720
[064:525] [2023-07-22 04:38:30 +0000.617768][6870] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[064:525] [2023-07-22 04:38:30 +0000.617936][6870] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[064:529] [2023-07-22 04:38:30 +0000.622014][69d5] AF_SpeedFilter audio
0x772283cf80 PullFrame
[064:533] [2023-07-22 04:38:30 +0000.626409][6870] The convert RGB to YUV take 2
[064:565] [2023-07-22 04:38:30 +0000.658350][69dc]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:518
[064:607] [2023-07-22 04:38:30 +0000.700149][69dc] SendFrame
encodedImage._timeStamp:518encodedImage->_length:397191
[064:641] [2023-07-22 04:38:30 +0000.734523][69db]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 557queue_audio_frame_:6
[064:665] [2023-07-22 04:38:30 +0000.757904][69dc] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:815
[064:665] [2023-07-22 04:38:30 +0000.758047][69dc] push video frame to H264
encoder. (100 frame for one log)

[064:665] [2023-07-22 04:38:30 +0000.758108][69dc] push video frame to H264


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

[064:665] [2023-07-22 04:38:30 +0000.758214][69dc] H264Encode::push video frame to


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

[064:665] [2023-07-22 04:38:30 +0000.758270][69dc] The input pts:815 fps:30


[064:702] [2023-07-22 04:38:30 +0000.795561][69dc] H264Encode::H264SWEncoder get
callback, length:317129 type:1 nalType:1length:317125
[064:888] [2023-07-22 04:38:30 +0000.981370][69d6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[064:929] [2023-07-22 04:38:31 +0000.21985][6870] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[064:957] [2023-07-22 04:38:31 +0000.49658][69d5] resampled_data_size:8704
[065:033] [2023-07-22 04:38:31 +0000.126470][6870] The convert RGB to YUV take 2
[065:220] [2023-07-22 04:38:31 +0000.313151][69d5] FilterPipeline2::OnAudioFrame
pts 2390 last_audio_timestamp_ 2390
[065:221] [2023-07-22 04:38:31 +0000.313642][69d5] AF_SpeedFilter audio time 111,
0x772283cf80 out time: 16379159 org time: 16379159
[065:236] [2023-07-22 04:38:31 +0000.328958][69dc] Push an pts:2536 to dts queue.
[065:275] [2023-07-22 04:38:31 +0000.367865][69dc] last dts:2436 currentPts:2536
ppsOrSPS:0 queue length:2
[065:305] [2023-07-22 04:38:31 +0000.398581][69dc] DTS queue for
Generator:0x767a56d2b8 2639 2739
[065:316] [2023-07-22 04:38:31 +0000.409150][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[065:426] [2023-07-22 04:38:31 +0000.519463][69db]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2879queue_audio_frame_:12
[065:431] [2023-07-22 04:38:31 +0000.524256][6870] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[065:506] [2023-07-22 04:38:31 +0000.599473][69d5] AF_SpeedFilter audio time
[065:530] [2023-07-22 04:38:31 +0000.623023][6870] The convert RGB to YUV take 4
[065:596] [2023-07-22 04:38:31 +0000.689270][6870] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[065:776] [2023-07-22 04:38:31 +0000.869376][69d5] AF_SpeedFilter audio
0x772283cf80 PullFrame
[065:814] [2023-07-22 04:38:31 +0000.906634][69d5] resampled_data_size:3584
[065:886] [2023-07-22 04:38:31 +0000.978833][69d6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[065:925] [2023-07-22 04:38:32 +0000.18202][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[066:031] [2023-07-22 04:38:32 +0000.124303][6870] The convert RGB to YUV take 3
[066:081] [2023-07-22 04:38:32 +0000.174580][69d5]
RecordAudioSource::PullAudioFrame
[066:130] [2023-07-22 04:38:32 +0000.223486][69dc] DTS queue for
Generator:0x767a56d2b8 5169 5266
[066:182] [2023-07-22 04:38:32 +0000.274998][69db]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5201queue_audio_frame_:7
[066:257] [2023-07-22 04:38:32 +0000.349928][6874] Run AGC when audioType = 0
[066:429] [2023-07-22 04:38:32 +0000.522553][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[066:437] [2023-07-22 04:38:32 +0000.529756][69dc] h264 add frame header cdr flag
[066:438] [2023-07-22 04:38:32 +0000.531568][69dc] Received key frame:6072
[066:470] [2023-07-22 04:38:32 +0000.562893][6870] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9984 diff: 17
[066:480] [2023-07-22 04:38:32 +0000.572715][69dd] get the H.264 IDR frame
[066:516] [2023-07-22 04:38:32 +0000.608802][69d5] AF_SpeedFilter::PullFrame eof4
[066:523] [2023-07-22 04:38:32 +0000.615743][69d5]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[066:533] [2023-07-22 04:38:32 +0000.625757][6870] The convert RGB to YUV take 6
[066:567] [2023-07-22 04:38:32 +0000.660320][69dc] Push an pts:6572 to dts queue.
[066:605] [2023-07-22 04:38:32 +0000.698363][69dc] last dts:6472 currentPts:6572
ppsOrSPS:0 queue length:2
[066:646] [2023-07-22 04:38:32 +0000.739005][69d5] resampled_data_size:21024
[066:896] [2023-07-22 04:38:32 +0000.989524][69d6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[066:934] [2023-07-22 04:38:33 +0000.27411][6870] The read pixel from buffer take:
5 width:1280 height:720 frameType:0
[066:936] [2023-07-22 04:38:33 +0000.28876][69db]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 7523queue_audio_frame_:1
[066:942] [2023-07-22 04:38:33 +0000.35516][69dc] DTS queue for
Generator:0x767a56d2b8 7693
[067:034] [2023-07-22 04:38:33 +0000.127355][6870] The convert RGB to YUV take 4
[067:039] [2023-07-22 04:38:33 +0000.132600][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[067:052] [2023-07-22 04:38:33 +0000.144845][69d5] AF_SpeedFilter audio
0x772283cf80 PullFrame
[067:434] [2023-07-22 04:38:33 +0000.527037][6870] The read pixel from buffer take:
4 width:1280 height:720 frameType:0
[067:502] [2023-07-22 04:38:33 +0000.595597][69d5] resampled_data_size:16384
[067:532] [2023-07-22 04:38:33 +0000.625208][6870] The convert RGB to YUV take 4
[067:663] [2023-07-22 04:38:33 +0000.755873][6870] drawYUV420 render
OpenGLRenderProgram:0x772285dd98
[067:668] [2023-07-22 04:38:33 +0000.761143][69d5]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 16386459
[067:668] [2023-07-22 04:38:33 +0000.761384][69d5]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[067:713] [2023-07-22 04:38:33 +0000.806248][69db]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9845queue_audio_frame_:8
[067:774] [2023-07-22 04:38:33 +0000.866629][69dc] DTS queue for
Generator:0x767a56d2b8 10221
[067:877] [2023-07-22 04:38:33 +0000.969649][69dc] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10430 pts:10430
[067:894] [2023-07-22 04:38:33 +0000.987358][69d6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[067:895] [2023-07-22 04:38:33 +0000.988398][6870] GPUImageProcessing: process
video frame with resolution 1280 X 720
[067:895] [2023-07-22 04:38:33 +0000.988585][6870] GPUImageProcessing: input frame
width1280 X 720
[067:897] [2023-07-22 04:38:33 +0000.990200][6870] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[067:898] [2023-07-22 04:38:33 +0000.990898][6870] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[067:903] [2023-07-22 04:38:33 +0000.996475][69dc]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:10627
[067:905] [2023-07-22 04:38:33 +0000.997881][69dc] Push an pts:10627 to dts queue.
[067:933] [2023-07-22 04:38:34 +0000.26607][6870] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[067:945] [2023-07-22 04:38:34 +0000.38451][69dc] SendFrame
encodedImage._timeStamp:10627encodedImage->_length:415187
[067:946] [2023-07-22 04:38:34 +0000.38692][69dc] last dts:10530 currentPts:10627
ppsOrSPS:0 queue length:2
[068:036] [2023-07-22 04:38:34 +0000.129195][6870] The convert RGB to YUV take 3
[068:037] [2023-07-22 04:38:34 +0000.130027][69dc] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:11039
[068:037] [2023-07-22 04:38:34 +0000.130326][69dc] push video frame to H264
encoder. (100 frame for one log)

[068:037] [2023-07-22 04:38:34 +0000.130441][69dc] push video frame to H264


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

[068:037] [2023-07-22 04:38:34 +0000.130497][69dc] H264Encode::push video frame to


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

[068:037] [2023-07-22 04:38:34 +0000.130573][69dc] The input pts:11039 fps:30


[068:062] [2023-07-22 04:38:34 +0000.155413][69d5]
RecordAudioSource::PullAudioFrame
[068:076] [2023-07-22 04:38:34 +0000.168827][69dc] H264Encode::H264SWEncoder get
callback, length:276698 type:1 nalType:1length:276694
[068:259] [2023-07-22 04:38:34 +0000.351652][6874] Run AGC when audioType = 0
[068:259] [2023-07-22 04:38:34 +0000.351885][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[068:335] [2023-07-22 04:38:34 +0000.428217][69d5] AF_SpeedFilter audio
0x772283cf80 PullFrame
[068:376] [2023-07-22 04:38:34 +0000.469327][69d5] resampled_data_size:10752
[068:426] [2023-07-22 04:38:34 +0000.518937][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[068:436] [2023-07-22 04:38:34 +0000.528668][69dc] h264 add frame header cdr flag
[068:437] [2023-07-22 04:38:34 +0000.530433][69dc] Received key frame:12130
[068:467] [2023-07-22 04:38:34 +0000.560595][69db]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 12167queue_audio_frame_:1
[068:476] [2023-07-22 04:38:34 +0000.569555][69dd] get the H.264 IDR frame
[068:502] [2023-07-22 04:38:34 +0000.595177][69d5] FilterPipeline2::OnAudioFrame
pts 12390 last_audio_timestamp_ 12390
[068:539] [2023-07-22 04:38:34 +0000.632171][6870] The convert RGB to YUV take 2
[068:562] [2023-07-22 04:38:34 +0000.654971][6870] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10984 diff: 17
[068:605] [2023-07-22 04:38:34 +0000.698029][69dc] DTS queue for
Generator:0x767a56d2b8 12648 12748
[068:772] [2023-07-22 04:38:34 +0000.866010][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[068:849] [2023-07-22 04:38:34 +0000.941958][69d5] AF_SpeedFilter audio time 111,
0x772283cf80 out time: 16390079 org time: 16390079
[068:897] [2023-07-22 04:38:34 +0000.990511][69d6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[068:929] [2023-07-22 04:38:35 +0000.22500][6870] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[069:002] [2023-07-22 04:38:35 +0000.95576][69d5] AF_SpeedFilter::PullFrame eof4
[069:009] [2023-07-22 04:38:35 +0000.102226][69d5]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[069:036] [2023-07-22 04:38:35 +0000.129524][6870] The convert RGB to YUV take 3
[069:127] [2023-07-22 04:38:35 +0000.220071][69d5] AF_SpeedFilter audio time
[069:236] [2023-07-22 04:38:35 +0000.329235][69d5] resampled_data_size:5632
[069:242] [2023-07-22 04:38:35 +0000.335074][69db]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 14489queue_audio_frame_:7
[069:243] [2023-07-22 04:38:35 +0000.336551][69dc] Push an pts:14678 to dts queue.
[069:277] [2023-07-22 04:38:35 +0000.370271][69dc] last dts:14569 currentPts:14678
ppsOrSPS:0 queue length:2
[069:434] [2023-07-22 04:38:35 +0000.527460][6870] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[069:439] [2023-07-22 04:38:35 +0000.531843][6870] StopRecording:
[069:440] [2023-07-22 04:38:35 +0000.532694][6870] OnNeedStopRecording:
[069:445] [2023-07-22 04:38:35 +0000.537733][5e33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[069:445] [2023-07-22 04:38:35 +0000.538028][6870] operator(): Stop
[069:445] [2023-07-22 04:38:35 +0000.538118][6870] StopPullFrameAndWriteMp4
time:16381845 enter.

[069:445] [2023-07-22 04:38:35 +0000.538213][6870] StopRecording:


[069:448] [2023-07-22 04:38:35 +0000.540709][69d5] PullAudioFrame: PullFrame audio
finished.
[069:448] [2023-07-22 04:38:35 +0000.540819][69d5]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[069:449] [2023-07-22 04:38:35 +0000.542591][69dc]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:151
[069:450] [2023-07-22 04:38:35 +0000.543311][686f] stop recording
[069:450] [2023-07-22 04:38:35 +0000.543432][686f]
RecordingSessionInternalSimple:destroy media processers
[069:450] [2023-07-22 04:38:35 +0000.543489][686f] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[069:450] [2023-07-22 04:38:35 +0000.543558][686f] H264Encode::flushing hareware
Encoder
[069:451] [2023-07-22 04:38:35 +0000.544047][686f] Flush time:16381851 enter.

[069:451] [2023-07-22 04:38:35 +0000.544139][686f] H264Encoder encoder flush


[069:451] [2023-07-22 04:38:35 +0000.544217][686f] flush output queue
[069:453] [2023-07-22 04:38:35 +0000.546000][686f] DTS queue for
Generator:0x767a56d2b8
[069:767] [2023-07-22 04:38:35 +0000.859769][686f] Flush leave. expire time = 316
ms

[069:767] [2023-07-22 04:38:35 +0000.860094][686f] ~H264EncodeWrap:


[069:767] [2023-07-22 04:38:35 +0000.860212][686f] ~H264Encode:
[069:767] [2023-07-22 04:38:35 +0000.860292][686f] teardownCompressionSession:
H264Encode::destroying Encoder
[069:767] [2023-07-22 04:38:35 +0000.860365][686f] Release time:16382167 enter.

[069:768] [2023-07-22 04:38:35 +0000.860754][686f] Release:


MediaCodecVideoEncoder::Release _inited:1
[069:768] [2023-07-22 04:38:35 +0000.860866][686f] Destroy time:16382168 enter.

[069:768] [2023-07-22 04:38:35 +0000.860923][686f] H264Encoder encoderDestroy


[069:768] [2023-07-22 04:38:35 +0000.860977][686f]
AndroidMediaCodecVideoEncoder::release env: 0x771c604280
[069:768] [2023-07-22 04:38:35 +0000.861029][686f]
AndroidMediaCodecVideoEncoder::Destroy
[069:807] [2023-07-22 04:38:35 +0000.900457][686f] Destroy leave. expire time = 39
ms

[069:808] [2023-07-22 04:38:35 +0000.900983][686f] Release leave. expire time = 41


ms

[069:808] [2023-07-22 04:38:35 +0000.901194][686f] ~AndroidHwAvcEncoder


time:16382208 enter.

[069:808] [2023-07-22 04:38:35 +0000.901596][686f] Release time:16382208 enter.

[069:809] [2023-07-22 04:38:35 +0000.901762][686f] Release:


MediaCodecVideoEncoder:: has been released before, just return
[069:809] [2023-07-22 04:38:35 +0000.901857][686f] Release leave. expire time = 1
ms

[069:809] [2023-07-22 04:38:35 +0000.901939][686f] ~AndroidMediaCodecVideoEncoder


[069:809] [2023-07-22 04:38:35 +0000.901993][686f] ~WrapAndroidMediaCodec
time:16382209 enter.

[069:809] [2023-07-22 04:38:35 +0000.902085][686f] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[069:809] [2023-07-22 04:38:35 +0000.902157][686f] video hevc hw codec


destructor:0x767a7f8e70

[069:809] [2023-07-22 04:38:35 +0000.902331][686f] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[069:809] [2023-07-22 04:38:35 +0000.902422][686f] teardownCompressionSession:


H264Encode::destroyed Encoder
[069:809] [2023-07-22 04:38:35 +0000.902481][686f]
RecordingSessionInternalSimple:destroy aac encoder output!
[069:809] [2023-07-22 04:38:35 +0000.902555][686f] AACSWEncode destructor
[069:824] [2023-07-22 04:38:35 +0000.917552][69dd] MP4 close file successfully
[069:825] [2023-07-22 04:38:35 +0000.917785][69dd] Recording session Internal:
notify recording ok
[069:825] [2023-07-22 04:38:35 +0000.917826][69dd] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4,
output_video_timestamp_:15281.8 last_video_pts_:15172
[069:825] [2023-07-22 04:38:35 +0000.917892][69dd] OnRecordFinish:
[069:825] [2023-07-22 04:38:35 +0000.918490][69dd] onRecordingOk: net seek
pos:0record video duration:15205record audio duration:15185
[069:826] [2023-07-22 04:38:35 +0000.919152][69d6] destructMicSource_w:
[069:826] [2023-07-22 04:38:35 +0000.919303][69d6] setOutput_w:
MicSource::setOutput() 0x0
[069:827] [2023-07-22 04:38:35 +0000.919618][6870] releaseThread 0x772283b180
[069:827] [2023-07-22 04:38:35 +0000.919747][6870] ~MicSource: Mic source
destroyed:0x772288a300
[069:828] [2023-07-22 04:38:35 +0000.920756][6870] StopPullFrameAndWriteMp4 leave.
expire time = 383 ms

[069:828] [2023-07-22 04:38:35 +0000.920855][6870] DestroyPipelineAndFilters


time:16382228 enter.

[069:828] [2023-07-22 04:38:35 +0000.920992][6870] UnbindInputFilter 0x772283ba40


this 0x772285dfc0
[069:828] [2023-07-22 04:38:35 +0000.921096][6870] UnbindInputFilter 0x772283cc58
this 0x772283d0d0
[069:828] [2023-07-22 04:38:35 +0000.921220][6870] UnbindInputFilter 0x772285dfc0
this 0x766160e3a0
[069:828] [2023-07-22 04:38:35 +0000.921303][6870] filter: filter pipeline destroy
this: 0x766160e300
[069:829] [2023-07-22 04:38:35 +0000.921755][6870] ClearVideoOfSources: recodring
total frames:0
[069:829] [2023-07-22 04:38:35 +0000.921841][6870] ClearVideoOfSources:
[069:829] [2023-07-22 04:38:35 +0000.921915][6870] GPUImageProcessing destruct.
[069:829] [2023-07-22 04:38:35 +0000.922010][6870] destroy TrivalImageDrawer
0x7722808e00
[069:829] [2023-07-22 04:38:35 +0000.922083][6870] The shader has been initialize,
clean up them.

[069:829] [2023-07-22 04:38:35 +0000.922177][6870] ~OpenGLFrameBuffer:


[069:829] [2023-07-22 04:38:35 +0000.922532][6870] ~OpenGLFrameBuffer:
[069:830] [2023-07-22 04:38:35 +0000.922814][6870] ~OpenGLFrameBuffer:
[069:830] [2023-07-22 04:38:35 +0000.923046][6870] ~OpenGLFrameBuffer:
[069:830] [2023-07-22 04:38:35 +0000.923244][6870] ~OpenGLFrameBuffer:
[069:830] [2023-07-22 04:38:35 +0000.923435][6870] ~OpenGLFrameBuffer:
[069:831] [2023-07-22 04:38:35 +0000.923690][6870] GPUImageProcessing destruct
finish.
[069:831] [2023-07-22 04:38:35 +0000.923776][6870] GPURGBAFrame destruct.
[069:831] [2023-07-22 04:38:35 +0000.923975][6870] destroy OpenGLRenderProgram
0x772285dd98
[069:831] [2023-07-22 04:38:35 +0000.924168][6870] ~CameraSource time:16382231
enter.

[069:831] [2023-07-22 04:38:35 +0000.924229][6870] ~CameraSource leave. expire


time = 0 ms

[069:831] [2023-07-22 04:38:35 +0000.924269][6870] ~RecordAudioSource time:16382231


enter.

[069:831] [2023-07-22 04:38:35 +0000.924334][6870] ~RecordAudioSource leave.


expire time = 0 ms

[069:831] [2023-07-22 04:38:35 +0000.924367][6870] DestroyPipelineAndFilters


leave. expire time = 3 ms

[069:854] [2023-07-22 04:38:35 +0000.946988][5e33]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[069:855] [2023-07-22 04:38:35 +0000.948322][5e33] machine model :redmi
[069:855] [2023-07-22 04:38:35 +0000.948447][5e33] Support this machine
model :redmi
[069:855] [2023-07-22 04:38:35 +0000.948508][5e33] global inited! current sdk
version: 07-20-936c45f
[069:856] [2023-07-22 04:38:35 +0000.948995][5e33] filter: filter pipeline
construtc this: 0x76594d8f80
[069:856] [2023-07-22 04:38:35 +0000.949144][5e33] MediaFilterGraph:
MediaFilterGraph construct
[069:856] [2023-07-22 04:38:35 +0000.949197][5e33] GLESContext:
[069:856] [2023-07-22 04:38:35 +0000.949279][5e33] The result of eglGetDisplay is:
0x1
[069:857] [2023-07-22 04:38:35 +0000.950295][5e33] The result of creation:
0x77154a8c80
[069:857] [2023-07-22 04:38:35 +0000.950584][5e33] The result of
eglCreatePbufferSurface is: 0x768f93dc80
[069:858] [2023-07-22 04:38:35 +0000.950775][5e33] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4
[069:858] [2023-07-22 04:38:35 +0000.950838][5e33] The source 0 speed:0.33
[069:858] [2023-07-22 04:38:35 +0000.950896][5e33] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4,
delay: 0
[069:858] [2023-07-22 04:38:35 +0000.950952][5e33] CreateDecoderByVideoSource
time:16382258 enter.

[069:859] [2023-07-22 04:38:35 +0000.951819][5e33] running_decoder_count:0max


count:2
[069:859] [2023-07-22 04:38:35 +0000.951967][5e33] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7658f44800
[069:861] [2023-07-22 04:38:35 +0000.953781][69e6] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7678e71a00] Current FFmpeg version git-2021-06-16-
97cea6f

[069:883] [2023-07-22 04:38:35 +0000.976251][69e6] OnStreamInfoFound: video


duration_: 15205
[069:887] [2023-07-22 04:38:35 +0000.979705][69e7] NO get frame from decoder
[069:887] [2023-07-22 04:38:35 +0000.979722][5e33] start decoder
[069:887] [2023-07-22 04:38:35 +0000.979927][5e33] CreateDecoderByVideoSource
leave. expire time = 29 ms

[069:887] [2023-07-22 04:38:35 +0000.980029][5e33] BindInputFilter 0x7658d04220


this 0x766eae5898
[069:887] [2023-07-22 04:38:35 +0000.980108][5e33] BindInputFilter 0x766eae5898
this 0x766eae5958
[069:887] [2023-07-22 04:38:35 +0000.980282][5e33] BindInputFilter 0x7658d04220
this 0x766eae5a18
[069:887] [2023-07-22 04:38:35 +0000.980359][5e33] BindInputFilter 0x766eae5a18
this 0x766eae5ad8
[069:887] [2023-07-22 04:38:35 +0000.980392][5e33] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4
[069:887] [2023-07-22 04:38:35 +0000.980436][5e33] BindInputFilter 0x766eae5958
this 0x766eae5c58
[069:887] [2023-07-22 04:38:35 +0000.980480][5e33] BindInputFilter 0x766eae5c58
this 0x76594d9020
[069:887] [2023-07-22 04:38:35 +0000.980522][5e33] BindInputFilter 0x766eae5ad8
this 0x766eae5d18
[069:887] [2023-07-22 04:38:35 +0000.980570][5e33] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_16376605.mp4
[069:888] [2023-07-22 04:38:35 +0000.980665][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[069:888] [2023-07-22 04:38:35 +0000.981558][5e33] machine model :redmi
[069:888] [2023-07-22 04:38:35 +0000.981592][69e7] NO get frame from decoder
[069:889] [2023-07-22 04:38:35 +0000.981627][5e33] Support this machine
model :redmi
[069:889] [2023-07-22 04:38:35 +0000.981658][5e33] global inited! current sdk
version: 07-20-936c45f
[069:889] [2023-07-22 04:38:35 +0000.981741][5e33] GetPipeline:
-----------------------------------------
[069:889] [2023-07-22 04:38:35 +0000.981776][5e33] GetPipeline: source:
0x7658d04000
[069:889] [2023-07-22 04:38:35 +0000.981859][5e33] GetPipeline: filter: NULLFilter
[069:889] [2023-07-22 04:38:35 +0000.981895][5e33] GetPipeline: filter: NULLFilter
[069:889] [2023-07-22 04:38:35 +0000.981923][5e33] GetPipeline: filter: NULLFilter
[069:889] [2023-07-22 04:38:35 +0000.981953][5e33] GetPipeline: audio filter:
AuidoNULLFilter
[069:889] [2023-07-22 04:38:35 +0000.981980][5e33] GetPipeline: audio filter:
AuidoNULLFilter
[069:889] [2023-07-22 04:38:35 +0000.982030][5e33] GetPipeline: audio filter:
AudioNUllFilter
[069:889] [2023-07-22 04:38:35 +0000.982057][5e33] GetPipeline:
------------------------------------------
[069:889] [2023-07-22 04:38:35 +0000.982084][5e33] filter: filter pipeline2 update
pattern: 0
[069:891] [2023-07-22 04:38:35 +0000.983978][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[069:891] [2023-07-22 04:38:35 +0000.984522][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[069:892] [2023-07-22 04:38:35 +0000.984752][5e33] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[069:892] [2023-07-22 04:38:35 +0000.985050][5e33] DeviceInit:
[069:892] [2023-07-22 04:38:35 +0000.985398][69e7] NO get frame from decoder
[069:892] [2023-07-22 04:38:35 +0000.985601][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[069:893] [2023-07-22 04:38:35 +0000.986331][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[069:894] [2023-07-22 04:38:35 +0000.986937][5e33] CreatePlatformSpecificObjects:
[069:894] [2023-07-22 04:38:35 +0000.987063][5e33] audio device use null audio
input and opensl output
[069:894] [2023-07-22 04:38:35 +0000.987105][5e33] Create OpenSLES output module
with java VM support.

[069:894] [2023-07-22 04:38:35 +0000.987408][5e33] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[069:895] [2023-07-22 04:38:35 +0000.987780][5e33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[069:895] [2023-07-22 04:38:35 +0000.988203][5e33] Create OpenSLES output module
with buffer num:2
[069:895] [2023-07-22 04:38:35 +0000.988289][5e33] Error(trace.cc:40): Init the
output and input for audio device template.
[069:895] [2023-07-22 04:38:35 +0000.988348][5e33] Init the output device.

[069:895] [2023-07-22 04:38:35 +0000.988386][5e33] Set the playout as stereo:1


[069:895] [2023-07-22 04:38:35 +0000.988425][5e33] Set the sample rate to be:44100

[069:895] [2023-07-22 04:38:35 +0000.988493][5e33] Low latency buffer size:256 low


sample rate:48000
[069:895] [2023-07-22 04:38:35 +0000.988548][5e33] DeviceInit: Done
[069:896] [2023-07-22 04:38:35 +0000.988777][5e33] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[069:896] [2023-07-22 04:38:35 +0000.988981][69e7] NO get frame from decoder
[069:896] [2023-07-22 04:38:35 +0000.989184][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[069:896] [2023-07-22 04:38:35 +0000.989285][5e33]
MediaFilterPlayer::SetPlayerNotify 0x765933d800
[069:896] [2023-07-22 04:38:35 +0000.989335][5e33]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[069:896] [2023-07-22 04:38:35 +0000.989368][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[069:896] [2023-07-22 04:38:35 +0000.989396][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[069:896] [2023-07-22 04:38:35 +0000.989471][5e33] SetGraphLoop: SetGraphLoop 1
[069:896] [2023-07-22 04:38:35 +0000.989505][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[069:896] [2023-07-22 04:38:35 +0000.989532][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[069:897] [2023-07-22 04:38:35 +0000.989785][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[069:897] [2023-07-22 04:38:35 +0000.990002][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[069:899] [2023-07-22 04:38:35 +0000.991803][69f1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x767a7f4f18
[069:900] [2023-07-22 04:38:35 +0000.992972][69f3] Start:
[069:901] [2023-07-22 04:38:35 +0000.993840][69e7] NO get frame from decoder
[069:902] [2023-07-22 04:38:35 +0000.995118][69f2] operator(): video render
started.
[069:903] [2023-07-22 04:38:35 +0000.996309][69f3] Start:
[069:904] [2023-07-22 04:38:35 +0000.996697][69f3] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[069:904] [2023-07-22 04:38:35 +0000.996911][69f3] Reset: history total size: 98
[069:904] [2023-07-22 04:38:35 +0000.997043][69f3] DeviceStart:
audioDevice_:0x766e678000
[069:904] [2023-07-22 04:38:35 +0000.997098][69f3] DeviceStart: time profile
playout init before
[069:904] [2023-07-22 04:38:35 +0000.997149][69f3] DeviceStart: time profile
playout init end
[069:904] [2023-07-22 04:38:35 +0000.997193][69f3] OpenSlesOutput:Start playout

[069:906] [2023-07-22 04:38:35 +0000.999370][69e7] NO get frame from decoder


[069:908] [2023-07-22 04:38:36 +0000.1478][69f3] Create the opensl output player.
streamtype before:0
[069:909] [2023-07-22 04:38:36 +0000.1638][69f3] Create the opensl output player.
streamtype after:3

[069:911] [2023-07-22 04:38:36 +0000.4318][69e7] NO get frame from decoder


[069:915] [2023-07-22 04:38:36 +0000.7960][69e7] NO get frame from decoder
[069:926] [2023-07-22 04:38:36 +0000.18836][69f3] Enqueue opensl buffer size:1764
[069:940] [2023-07-22 04:38:36 +0000.33172][69f3] DeviceStart: time profile playout
all end
[069:940] [2023-07-22 04:38:36 +0000.33360][69f3] operator(): Audio playback
started.
[069:941] [2023-07-22 04:38:36 +0000.34156][69f4]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[069:941] [2023-07-22 04:38:36 +0000.34353][69f4] Pull audio failed.(wait video!)
[069:942] [2023-07-22 04:38:36 +0000.35340][69f3] operator(): Started now!
[069:943] [2023-07-22 04:38:36 +0000.36300][69f4]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[069:943] [2023-07-22 04:38:36 +0000.36465][69f4] Pull audio failed.(wait video!)
[069:954] [2023-07-22 04:38:36 +0000.47506][69f4]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[069:955] [2023-07-22 04:38:36 +0000.47685][69f4] audio frame wait video
frame.last_video_timestamp:33 last_audio_timestamp:138.957
[069:959] [2023-07-22 04:38:36 +0000.52232][69f4]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[069:960] [2023-07-22 04:38:36 +0000.52745][69f4] audio frame wait video
frame.last_video_timestamp:33 last_audio_timestamp:138.957
[069:960] [2023-07-22 04:38:36 +0000.53476][69f3] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[069:961] [2023-07-22 04:38:36 +0000.53722][69f3] First audio frame rendering
[070:027] [2023-07-22 04:38:36 +0000.119711][69f2] lipsync_debug: First video frame
rendering.
[070:037] [2023-07-22 04:38:36 +0000.130125][69f2] lipsync_debug:result remaining
time:0
[070:037] [2023-07-22 04:38:36 +0000.130483][69f2] dynamic updated lipsync delay:0
[070:050] [2023-07-22 04:38:36 +0000.143539][69f5] Error(video_source.cc:430): wait
decoder a frame: 0
[070:139] [2023-07-22 04:38:36 +0000.231967][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[070:254] [2023-07-22 04:38:36 +0000.347632][6875] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[070:255] [2023-07-22 04:38:36 +0000.347803][6875] _deviceSampleRate:48000

[070:256] [2023-07-22 04:38:36 +0000.349371][6874] Run AGC when audioType = 0


[070:302] [2023-07-22 04:38:36 +0000.394883][69f2] DriveRender working... (1/200)
[070:497] [2023-07-22 04:38:36 +0000.590354][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[070:498] [2023-07-22 04:38:36 +0000.591472][69f2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:25 last
video ts:47520 frame->pts:50490 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[070:499] [2023-07-22 04:38:36 +0000.591712][69f2] lipsync_debug: tsDelta -
timeDelta = 8
[070:506] [2023-07-22 04:38:36 +0000.599280][69f5] FilterPipeline2::OnVideoFrame
pts 74250 last_video_timestamp_ 825
[070:539] [2023-07-22 04:38:36 +0000.632157][69f2] lipsync_debug:displaying video
ts:53460 The current displayed video timestamp is:16382939
[071:142] [2023-07-22 04:38:37 +0000.234739][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[071:227] [2023-07-22 04:38:37 +0000.320185][69f4] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 62426
[071:227] [2023-07-22 04:38:37 +0000.320462][69f4] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[071:232] [2023-07-22 04:38:37 +0000.325567][69f5] Error(video_source.cc:430): wait
decoder a frame: 0
[071:327] [2023-07-22 04:38:37 +0000.420201][69f2] lipsync_debug:displaying video
ts:112860 The current displayed video timestamp is:16383727
[071:425] [2023-07-22 04:38:37 +0000.518346][69f3] The audio playback speed:100
(1/100)
[071:425] [2023-07-22 04:38:37 +0000.518511][69f3] lipsync_debug: The current
played audio timestamp is:68554(1/50)
[071:709] [2023-07-22 04:38:37 +0000.801720][69f2] lipsync_debug:remaining time:10
tsDelta - timeDelta:27
[071:709] [2023-07-22 04:38:37 +0000.801879][69f2] lipsync_debug:result remaining
time:10
[071:947] [2023-07-22 04:38:38 +0000.40428][69f2] DriveRender working... (1/200)
[072:032] [2023-07-22 04:38:38 +0000.125381][69f2] lipsync_debug:displaying video
ts:172260 The current displayed video timestamp is:16384432
[072:041] [2023-07-22 04:38:38 +0000.133681][69f5] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11992 diff: 9
[072:107] [2023-07-22 04:38:38 +0000.199736][69f5] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 216810pts ms:2.409e+06
[072:110] [2023-07-22 04:38:38 +0000.203421][69f5] OnVideoFrameReady(1/200)
[072:111] [2023-07-22 04:38:38 +0000.203886][69f2] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[072:144] [2023-07-22 04:38:38 +0000.237421][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[072:156] [2023-07-22 04:38:38 +0000.249115][69f2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:25 last
video ts:181170 frame->pts:184140 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[072:156] [2023-07-22 04:38:38 +0000.249463][69f2] lipsync_debug: tsDelta -
timeDelta = 8
[072:216] [2023-07-22 04:38:38 +0000.309225][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[072:258] [2023-07-22 04:38:38 +0000.350743][6874] Run AGC when audioType = 0
[072:258] [2023-07-22 04:38:38 +0000.351067][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[072:593] [2023-07-22 04:38:38 +0000.686583][69f5] Error(video_source.cc:430): wait
decoder a frame: 0
[072:692] [2023-07-22 04:38:38 +0000.785527][69f2] lipsync_debug:displaying video
ts:231660 The current displayed video timestamp is:16385092
[073:104] [2023-07-22 04:38:39 +0000.197149][69f6]
PlayerSimpleBufferQueueCallbackHandler function
[073:147] [2023-07-22 04:38:39 +0000.239816][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[073:342] [2023-07-22 04:38:39 +0000.435495][69f2] lipsync_debug:displaying video
ts:291060 The current displayed video timestamp is:16385742
[073:350] [2023-07-22 04:38:39 +0000.443580][69f2] lipsync_debug: render a video
frame
[073:441] [2023-07-22 04:38:39 +0000.533807][69f2] lipsync_debug:result remaining
time:0
[073:441] [2023-07-22 04:38:39 +0000.533985][69f2] dynamic updated lipsync delay:0
[073:531] [2023-07-22 04:38:39 +0000.624577][69f4] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 164794
[073:532] [2023-07-22 04:38:39 +0000.624773][69f4] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[073:612] [2023-07-22 04:38:39 +0000.705054][69f2] DriveRender working... (1/200)
[073:755] [2023-07-22 04:38:39 +0000.848004][69f3] The audio playback speed:100
(1/100)
[073:755] [2023-07-22 04:38:39 +0000.848301][69f3] lipsync_debug: The current
played audio timestamp is:170922(1/50)
[073:810] [2023-07-22 04:38:39 +0000.902935][69f2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:6 last video
ts:332640 frame->pts:335610 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[073:810] [2023-07-22 04:38:39 +0000.903141][69f2] lipsync_debug: tsDelta -
timeDelta = 27
[073:939] [2023-07-22 04:38:40 +0000.31664][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[073:941] [2023-07-22 04:38:40 +0000.34231][69f2] lipsync_debug:remaining time:10
tsDelta - timeDelta:28
[073:941] [2023-07-22 04:38:40 +0000.34385][69f2] lipsync_debug:result remaining
time:10
[073:947] [2023-07-22 04:38:40 +0000.39656][69f5] Error(video_source.cc:430): wait
decoder a frame: 0
[074:015] [2023-07-22 04:38:40 +0000.108329][69f2] lipsync_debug:displaying video
ts:350460 The current displayed video timestamp is:16386415
[074:139] [2023-07-22 04:38:40 +0000.232227][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[074:255] [2023-07-22 04:38:40 +0000.347655][6874] Run AGC when audioType = 0
[074:675] [2023-07-22 04:38:40 +0000.768173][69f2] lipsync_debug:displaying video
ts:409860 The current displayed video timestamp is:16387075
[074:947] [2023-07-22 04:38:41 +0000.39768][69f3] total delay:-7 videoTsMS:4818
audioTsMS:4825 diff:-7
[074:947] [2023-07-22 04:38:41 +0000.40003][69f3] Set the lipsync delay:-7
[075:088] [2023-07-22 04:38:41 +0000.180855][69f5] video frame wait audio frame:
last_video_timestamp:5379 last_audio_timestamp:5268.34
[075:088] [2023-07-22 04:38:41 +0000.181072][69f5]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[075:139] [2023-07-22 04:38:41 +0000.231994][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[075:280] [2023-07-22 04:38:41 +0000.372917][69f2] DriveRender working... (1/200)
[075:284] [2023-07-22 04:38:41 +0000.377206][69f5] Error(video_source.cc:430): wait
decoder a frame: 0
[075:328] [2023-07-22 04:38:41 +0000.421370][69f2] lipsync_debug:displaying video
ts:469260 The current displayed video timestamp is:16387728
[075:399] [2023-07-22 04:38:41 +0000.491780][69f5] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 513810pts ms:5.709e+06
[075:403] [2023-07-22 04:38:41 +0000.495821][69f5] OnVideoFrameReady(1/200)
[075:403] [2023-07-22 04:38:41 +0000.496046][69f2] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[075:475] [2023-07-22 04:38:41 +0000.568304][69f2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:15 last
video ts:481140 frame->pts:484110 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[075:475] [2023-07-22 04:38:41 +0000.568509][69f2] lipsync_debug: tsDelta -
timeDelta = 18
[075:658] [2023-07-22 04:38:41 +0000.750655][6874] haveEnoughProcessedData
internalAudioStream.length: 0
[075:857] [2023-07-22 04:38:41 +0000.949770][69f4] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 267162
[075:857] [2023-07-22 04:38:41 +0000.950011][69f4] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[075:972] [2023-07-22 04:38:42 +0000.64773][69f2] lipsync_debug:displaying video
ts:528660 The current displayed video timestamp is:16388372
[076:106] [2023-07-22 04:38:42 +0000.199503][69f3] The audio playback speed:100
(1/100)
[076:107] [2023-07-22 04:38:42 +0000.199797][69f3] lipsync_debug: The current
played audio timestamp is:273290(1/50)
[076:137] [2023-07-22 04:38:42 +0000.230336][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[076:140] [2023-07-22 04:38:42 +0000.232868][69f5] webrtc common_video plane
old ..... (1/1000) new: 13001 delete: 12992 diff: 9
[076:185] [2023-07-22 04:38:42 +0000.277924][69f2] lipsync_debug:remaining time:10
tsDelta - timeDelta:17
[076:185] [2023-07-22 04:38:42 +0000.278178][69f2] lipsync_debug:result remaining
time:10
[076:257] [2023-07-22 04:38:42 +0000.349983][6874] Run AGC when audioType = 0
[076:257] [2023-07-22 04:38:42 +0000.350300][6874]
AudioDeviceDataHandler::MixAndSendOutFrame
[076:631] [2023-07-22 04:38:42 +0000.724459][69f2] lipsync_debug:displaying video
ts:588060 The current displayed video timestamp is:16389031
[076:636] [2023-07-22 04:38:42 +0000.728841][69f2] lipsync_debug: render a video
frame
[076:653] [2023-07-22 04:38:42 +0000.746199][69f5] Error(video_source.cc:430): wait
decoder a frame: 0
[076:730] [2023-07-22 04:38:42 +0000.823215][69f2] lipsync_debug:result remaining
time:0
[076:733] [2023-07-22 04:38:42 +0000.825931][69f2] dynamic updated lipsync delay:0
[076:967] [2023-07-22 04:38:43 +0000.59883][69f2] DriveRender working... (1/200)
[077:136] [2023-07-22 04:38:43 +0000.229392][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[077:163] [2023-07-22 04:38:43 +0000.255638][69f2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:16 last
video ts:632610 frame->pts:635580 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[077:163] [2023-07-22 04:38:43 +0000.255772][69f2] lipsync_debug: tsDelta -
timeDelta = 17
[077:312] [2023-07-22 04:38:43 +0000.405591][69f2] lipsync_debug:displaying video
ts:647460 The current displayed video timestamp is:16389712
[077:375] [2023-07-22 04:38:43 +0000.468728][6874] haveEnoughProcessedData
internalAudioStream.length: 10
[077:981] [2023-07-22 04:38:44 +0000.73684][69f2] lipsync_debug:displaying video
ts:706860 The current displayed video timestamp is:16390381
[077:992] [2023-07-22 04:38:44 +0000.85599][69f5] Error(video_source.cc:430): wait
decoder a frame: 0
[078:139] [2023-07-22 04:38:44 +0000.231955][69f6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[078:192] [2023-07-22 04:38:44 +0000.285529][69f4] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 369530
[078:193] [2023-07-22 04:38:44 +0000.285790][69f4] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[078:255] [2023-07-22 04:38:44 +0000.348153][6874] Run AGC when audioType = 0
[078:356] [2023-07-22 04:38:44 +0000.448920][69f3] The audio playback speed:100
(1/100)
[078:356] [2023-07-22 04:38:44 +0000.449097][69f3] lipsync_debug: The current
played audio timestamp is:375658(1/50)
[078:414] [2023-07-22 04:38:44 +0000.507484][69f2] lipsync_debug:remaining time:10
tsDelta - timeDelta:28
[078:415] [2023-07-22 04:38:44 +0000.507613][69f2] lipsync_debug:result remaining
time:10
[078:622] [2023-07-22 04:38:44 +0000.715264][69f2] DriveRender working... (1/200)
[078:640] [2023-07-22 04:38:44 +0000.733475][69f2] lipsync_debug:displaying video
ts:766260 The current displayed video timestamp is:16391040
[078:678] [2023-07-22 04:38:44 +0000.771103][69f5] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 810810pts ms:9.009e+06
[078:682] [2023-07-22 04:38:44 +0000.774801][69f5] OnVideoFrameReady(1/200)
[078:682] [2023-07-22 04:38:44 +0000.775117][69f2] operator() frame->pts-
9223372036854775808 queue_ size: 14 (1/200)
[078:801] [2023-07-22 04:38:44 +0000.893890][5e33]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[078:801] [2023-07-22 04:38:44 +0000.894282][69f3] Stop:
[078:801] [2023-07-22 04:38:44 +0000.894542][69f2] operator(): Video Render
stopped.
[078:802] [2023-07-22 04:38:44 +0000.894722][69f3] Stop:
[078:802] [2023-07-22 04:38:44 +0000.894893][69f3] DeviceStop:
audioDevice_:0x766e678000
[078:802] [2023-07-22 04:38:44 +0000.894928][69f3] OpenSlesOutput:Stop playout

[078:803] [2023-07-22 04:38:44 +0000.895945][69f3] DeviceStop: Done


[078:803] [2023-07-22 04:38:44 +0000.896207][69f3] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[078:803] [2023-07-22 04:38:44 +0000.896299][69f3] operator(): Stop now!
[078:804] [2023-07-22 04:38:44 +0000.896739][5e33] Stop:
[078:804] [2023-07-22 04:38:44 +0000.896859][69f3] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[078:804] [2023-07-22 04:38:44 +0000.897001][5e33] DeviceRelease:
audioDevice_:0x766[000:070] [2023-12-29 00:13:34 +0000.211538][2f9b] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-12-
29 00:13:34 +0000
[000:070] [2023-12-29 00:13:34 +0000.211696][2f9b] set AppID=50011 old AppID=-1
[000:070] [2023-12-29 00:13:34 +0000.211786][2f9b] Init the android object with
jvm:0xb400007d25803380 env:0x7c81ee1900 context:0x7c27e492d8

[000:070] [2023-12-29 00:13:34 +0000.211893][2f9b] SetAndroidMediaCodecObjects


time:5119919 enter.

[000:070] [2023-12-29 00:13:34 +0000.211993][2f9b] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:071] [2023-12-29 00:13:34 +0000.212086][2f9b] SetAndroidMediaCodecObjects


time:5119920 enter.

[000:071] [2023-12-29 00:13:34 +0000.212149][2f9b] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d25803380
[000:071] [2023-12-29 00:13:34 +0000.212212][2f9b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d25803380 address:0x7bbb340760
[000:071] [2023-12-29 00:13:34 +0000.212272][2f9b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d25803380
address:0x7bbb340760
[000:071] [2023-12-29 00:13:34 +0000.212335][2f9b] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:071] [2023-12-29 00:13:34 +0000.212419][2f9b] Set the android objects with


jvm:0xb400007d25803380 env:0x7c81ee1900 context:0x7c27e492d8

[000:072] [2023-12-29 00:13:34 +0000.213864][2f9b] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7c81ee1900
[000:072] [2023-12-29 00:13:34 +0000.213951][2f9b] SystemUtil Init done
[000:079] [2023-12-29 00:13:34 +0000.220593][2f9b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:080] [2023-12-29 00:13:34 +0000.221750][2f9b] MediaFilterCamera
[000:081] [2023-12-29 00:13:34 +0000.222766][2f9b] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:082] [2023-12-29 00:13:34 +0000.223054][2f9b] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:082] [2023-12-29 00:13:34 +0000.223123][4439] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bb14e74c0
[000:082] [2023-12-29 00:13:34 +0000.223168][2f9b] Recording session using default
bitrate support by app:31457280
[000:083] [2023-12-29 00:13:34 +0000.224126][4439] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:083] [2023-12-29 00:13:34 +0000.224331][2f9b] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:084] [2023-12-29 00:13:34 +0000.225831][2f9b] Error(ini.cc:191): Open the file
failed. error:2
[000:084] [2023-12-29 00:13:34 +0000.225943][2f9b]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:085] [2023-12-29 00:13:34 +0000.226196][2f9b] The device model: 21121119sg
usingSoftwareAEC value: 0
[000:090] [2023-12-29 00:13:34 +0000.231435][2f9b] Error(ini.cc:191): Open the file
failed. error:2
[000:090] [2023-12-29 00:13:34 +0000.231598][2f9b]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:090] [2023-12-29 00:13:34 +0000.231780][2f9b] The device model: 21121119sg
usingHardwareAEC value: 0
[000:090] [2023-12-29 00:13:34 +0000.231865][2f9b] The machine device: 21121119sg
usingHardwareAEC value: 0
[000:090] [2023-12-29 00:13:34 +0000.231933][2f9b] Using Default AEC type: software
AEC
[000:093] [2023-12-29 00:13:34 +0000.234132][2f9b] The device model: 21121119sg
enum value: 0
[000:095] [2023-12-29 00:13:34 +0000.236173][2f9b] GetMachineModel is 21121119SG
[000:095] [2023-12-29 00:13:34 +0000.236264][2f9b] GetMachineInfo: 21121119SG
[000:095] [2023-12-29 00:13:34 +0000.236355][2f9b] Construct BeautifyReader
begin...
[000:095] [2023-12-29 00:13:34 +0000.236421][2f9b] dumpStickerRgba:0
dumpStickerYuv:0
[000:095] [2023-12-29 00:13:34 +0000.236481][2f9b] Construct BeautifyReader done.
[000:101] [2023-12-29 00:13:34 +0000.242320][2f9b] Error(ini.cc:191): Open the file
failed. error:2
[000:101] [2023-12-29 00:13:34 +0000.242555][2f9b]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:101] [2023-12-29 00:13:34 +0000.242795][2f9b] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:101] [2023-12-29 00:13:34 +0000.242875][2f9b] AppDeviceManager telnet server
for statistics started......
[000:101] [2023-12-29 00:13:34 +0000.242859][443c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bee4a92a0
[000:102] [2023-12-29 00:13:34 +0000.243752][2f9b] CpuOverloadDetect time:5119951
enter.

[000:102] [2023-12-29 00:13:34 +0000.243953][2f9b] CpuOverloadDetect leave. expire


time = 0 ms

[000:102] [2023-12-29 00:13:34 +0000.244002][443d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7c8e952280
[000:104] [2023-12-29 00:13:34 +0000.245020][2f9b] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:104] [2023-12-29 00:13:34 +0000.245056][2f9b] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:106] [2023-12-29 00:13:34 +0000.247048][2f9b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:114] [2023-12-29 00:13:34 +0000.255209][2f9b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:115] [2023-12-29 00:13:34 +0000.256176][2f9b] CreatePlatformSpecificObjects:
[000:115] [2023-12-29 00:13:34 +0000.256252][2f9b] audio device use opensle input
and opensl output
[000:115] [2023-12-29 00:13:34 +0000.256279][2f9b] Create OpenSLES output module
with java VM support.

[000:115] [2023-12-29 00:13:34 +0000.256466][2f9b] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:115] [2023-12-29 00:13:34 +0000.256736][2f9b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:116] [2023-12-29 00:13:34 +0000.257090][2f9b] Create OpenSLES output module
with buffer num:1

[000:116] [2023-12-29 00:13:34 +0000.257376][2f9b] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:116] [2023-12-29 00:13:34 +0000.257646][2f9b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:116] [2023-12-29 00:13:34 +0000.257893][2f9b] Create OpenSLES input module
with java VM support.

[000:116] [2023-12-29 00:13:34 +0000.257935][2f9b] Create OpenSLES input module


with buffer num:1

[000:116] [2023-12-29 00:13:34 +0000.258009][2f9b] Error(trace.cc:40): Init the


output and input for audio device template.
[000:117] [2023-12-29 00:13:34 +0000.258035][2f9b] Init the output device.

[000:117] [2023-12-29 00:13:34 +0000.258056][2f9b] Init the opensl input.


[000:117] [2023-12-29 00:13:34 +0000.258077][2f9b] AppDeviceManager get setting
samplerate: 0
[000:117] [2023-12-29 00:13:34 +0000.258633][2f9b] The device model: 21121119sg
enum value: 0
[000:118] [2023-12-29 00:13:34 +0000.259419][2f9b] The device model: 21121119sg
enum value: 0
[000:118] [2023-12-29 00:13:34 +0000.259474][2f9b] Set the sample rate to be:48000

[000:118] [2023-12-29 00:13:34 +0000.259502][2f9b] Enable the recording stereo:0


[000:118] [2023-12-29 00:13:34 +0000.259525][2f9b] Set the playout as stereo:1
[000:118] [2023-12-29 00:13:34 +0000.259550][2f9b] Init the microphone.
[000:119] [2023-12-29 00:13:34 +0000.260390][2f9b] Update the recording sample rate
to be: 48000
[000:119] [2023-12-29 00:13:34 +0000.260443][2f9b] Init the speaker.
[000:119] [2023-12-29 00:13:34 +0000.260492][2f9b] Low latency buffer size:256 low
sample rate:48000
[000:120] [2023-12-29 00:13:34 +0000.261432][2f9b] Using 1 x 10ms for an audio
frame.

[000:123] [2023-12-29 00:13:34 +0000.264974][2f9b] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:124] [2023-12-29 00:13:34 +0000.265104][2f9b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:124] [2023-12-29 00:13:34 +0000.265156][2f9b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:129] [2023-12-29 00:13:34 +0000.270248][2f9b] The device model:21121119sg
[000:129] [2023-12-29 00:13:34 +0000.270333][2f9b] speaker output factor:100
defaultFactor: 100

[000:129] [2023-12-29 00:13:34 +0000.270353][2f9b] headset output factor:100


defaultFactor: 100

[000:129] [2023-12-29 00:13:34 +0000.270831][2f9b] AppDeviceManagerStart finished.


[000:129] [2023-12-29 00:13:34 +0000.270868][2f9b] AppDeviceManagerStartMic::mic
status is off
[000:129] [2023-12-29 00:13:34 +0000.270916][2f9b] AppDeviceManagerStartMic update
aec type: 2

[000:129] [2023-12-29 00:13:34 +0000.270939][2f9b] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:129] [2023-12-29 00:13:34 +0000.270958][2f9b]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:129] [2023-12-29 00:13:34 +0000.270974][2f9b]
AudioDeviceDataHandler::StartMicProcess

[000:130] [2023-12-29 00:13:34 +0000.271096][2f9b] Try to start webrtc recording


device.

[000:130] [2023-12-29 00:13:34 +0000.271129][2f9b] StartRecording. threadID:12187

[000:130] [2023-12-29 00:13:34 +0000.271160][443e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:130] [2023-12-29 00:13:34 +0000.271281][443e] haveEnoughProcessedData
internalAudioStream.length: 0
[000:130] [2023-12-29 00:13:34 +0000.271558][2f9b] The machine model:21121119SG

[000:130] [2023-12-29 00:13:34 +0000.271613][2f9b] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:130] [2023-12-29 00:13:34 +0000.271640][2f9b] Set the recording mode before


getSetting: 4
[000:130] [2023-12-29 00:13:34 +0000.271664][2f9b] Set the recording mode after
getSetting: 1
[000:188] [2023-12-29 00:13:34 +0000.329136][2f9b] StartRecording finished.

[000:188] [2023-12-29 00:13:34 +0000.329265][2f9b] audio: start the audio mic


checker timer.

[000:188] [2023-12-29 00:13:34 +0000.329975][2f9b] machine model :redmi


[000:189] [2023-12-29 00:13:34 +0000.330044][2f9b] Support this machine
model :redmi
[000:197] [2023-12-29 00:13:34 +0000.338312][2f9b] global inited! current sdk
version: 07-20-936c45f
[000:388] [2023-12-29 00:13:34 +0000.530003][443f] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:389] [2023-12-29 00:13:34 +0000.530177][443f] _deviceSampleRate:48000

[000:390] [2023-12-29 00:13:34 +0000.531293][443e] Run AGC when audioType = 0


[000:390] [2023-12-29 00:13:34 +0000.531575][443e]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:530] [2023-12-29 00:13:34 +0000.671081][31ad]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:530] [2023-12-29 00:13:34 +0000.671505][443a] MediaFilterCamera, recording
file context:0x7c8e80c280 input texture:19
[000:530] [2023-12-29 00:13:34 +0000.671644][443a] GLESContext:
[000:530] [2023-12-29 00:13:34 +0000.671736][443a] The result of eglGetDisplay is:
0x1
[000:531] [2023-12-29 00:13:34 +0000.672965][443a] The result of creation:
0x7bed496000
[000:533] [2023-12-29 00:13:34 +0000.674782][443a] The result of
eglCreatePbufferSurface is: 0x7bed496280
[000:534] [2023-12-29 00:13:34 +0000.675320][31ad]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7c8e80c280 input_texture: 19
[001:913] [2023-12-29 00:13:36 +0000.54640][443e] haveEnoughProcessedData
internalAudioStream.length: 10
[002:375] [2023-12-29 00:13:36 +0000.516915][443e] Run AGC when audioType = 0
[003:616] [2023-12-29 00:13:37 +0000.757066][443e] haveEnoughProcessedData
internalAudioStream.length: 10
[003:733] [2023-12-29 00:13:37 +0000.874764][2f9b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[003:733] [2023-12-29 00:13:37 +0000.874967][2f9b] ~MediaFilterCamera time:5123582
enter.

[003:734] [2023-12-29 00:13:37 +0000.875042][2f9b] StopPullFrameAndWriteMp4


time:5123583 enter.

[003:734] [2023-12-29 00:13:37 +0000.875449][4439] stop recording


[003:734] [2023-12-29 00:13:37 +0000.875496][4439] we have stopped recording before
[003:734] [2023-12-29 00:13:37 +0000.875577][2f9b] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[003:734] [2023-12-29 00:13:37 +0000.875994][2f9b] DestroyPipelineAndFilters


time:5123583 enter.

[003:735] [2023-12-29 00:13:37 +0000.876104][2f9b] DestroyPipelineAndFilters


leave. expire time = 1 ms

[003:735] [2023-12-29 00:13:37 +0000.876128][2f9b] AppDeviceManagerStopMic

[003:735] [2023-12-29 00:13:37 +0000.876170][2f9b] AppDeviceManagerStopMic::mic


status is on
[003:735] [2023-12-29 00:13:37 +0000.876185][2f9b] Try to stop webrtc device.

[003:735] [2023-12-29 00:13:37 +0000.876200][2f9b] Set record state to


stopped.threadID:12187

[003:756] [2023-12-29 00:13:37 +0000.897570][2f9b] Try to destory the


recorder.threadID:12187

[003:956] [2023-12-29 00:13:38 +0000.97803][2f9b] DestroyAudioRecorder:


[003:956] [2023-12-29 00:13:38 +0000.97973][2f9b] Cleanup the buffer queue in the
recorder.
[003:957] [2023-12-29 00:13:38 +0000.98043][2f9b] Destroy the recorder.

[003:960] [2023-12-29 00:13:38 +0000.101446][2f9b] StopRecording finished.

[003:960] [2023-12-29 00:13:38 +0000.101599][2f9b] The stop recording success.

[003:960] [2023-12-29 00:13:38 +0000.101692][2f9b]


AudioDeviceDataHandler::StopMicProcess
[003:965] [2023-12-29 00:13:38 +0000.106609][2f9b] AppDeviceManager stop.

[003:965] [2023-12-29 00:13:38 +0000.106790][2f9b] Rlease the webrtc device object.

[003:966] [2023-12-29 00:13:38 +0000.107316][2f9b] OpenSlesInput destruct.

[003:966] [2023-12-29 00:13:38 +0000.107438][2f9b] OpenSlesOutput destruct.

[003:967] [2023-12-29 00:13:38 +0000.108414][2f9b] EventDispatchServerScope


destruct
[003:967] [2023-12-29 00:13:38 +0000.108660][2f9b]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[003:967] [2023-12-29 00:13:38 +0000.108857][2f9b] ~AudioDeviceDataHandler

[003:968] [2023-12-29 00:13:38 +0000.109995][2f9b] AppDeviceManagerDestruct.

[003:969] [2023-12-29 00:13:38 +0000.110078][2f9b] ~AppDeviceManager:


[003:969] [2023-12-29 00:13:38 +0000.110188][2f9b] ~CpuOverloadDetect time:5123818
enter.

[003:969] [2023-12-29 00:13:38 +0000.110625][2f9b] ~CpuOverloadDetect leave.


expire time = 0 ms

[003:987] [2023-12-29 00:13:38 +0000.128483][2f9b] Destruct BeautifyReader begin...


[003:987] [2023-12-29 00:13:38 +0000.128560][2f9b] Destruct BeautifyReader done.
[003:987] [2023-12-29 00:13:38 +0000.128592][2f9b] ~MediaFilterCamera leave.
expire time = 254 ms

[003:988] [2023-12-29 00:13:38 +0000.129517][2f9b] ~GLESContext:


[003:989] [2023-12-29 00:13:38 +0000.130247][2f9b] GLESContext destruct finish.
[003:989] [2023-12-29 00:13:38 +0000.130405][2f9b] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[003:989] [2023-12-29 00:13:38 +0000.130903][2f9b] global uninited!
[003:991] [2023-12-29 00:13:38 +0000.132524][2f9b] clear AppID 50011
[003:991] [2023-12-29 00:13:38 +0000.132632][2f9b] UnRegister JVM for Xplatform
util
[003:991] [2023-12-29 00:13:38 +0000.132661][2f9b] Dispose::unregister webrtc video
engine
[003:991] [2023-12-29 00:13:38 +0000.132683][2f9b] Init the android object with
jvm:0x0 env:0x0 context:0x0

[003:991] [2023-12-29 00:13:38 +0000.132706][2f9b] SetAndroidMediaCodecObjects


time:5123840 enter.

[003:991] [2023-12-29 00:13:38 +0000.132724][2f9b] ClearAndroidMediaCodecObjects


time:5123840 enter.

[003:991] [2023-12-29 00:13:38 +0000.132744][2f9b] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:991] [2023-12-29 00:13:38 +0000.132765][2f9b] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:991] [2023-12-29 00:13:38 +0000.132781][2f9b] SetAndroidMediaCodecObjects


time:5123840 enter.

[003:991] [2023-12-29 00:13:38 +0000.132874][2f9b] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[003:991] [2023-12-29 00:13:38 +0000.132901][2f9b] ClearAndroidMediaCodecObjects
time:5123840 enter.

[003:991] [2023-12-29 00:13:38 +0000.132920][2f9b] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:991] [2023-12-29 00:13:38 +0000.132940][2f9b] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects

You might also like