Trace

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

[000:025] [2023-07-02 00:15:58 +0000.

602836][3db3] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-07-
02 00:15:58 +0000
[000:025] [2023-07-02 00:15:58 +0000.602910][3db3] set AppID=50011 old AppID=-1
[000:025] [2023-07-02 00:15:58 +0000.602931][3db3] Init the android object with
jvm:0xb400007b62071540 env:0x7b621729c0 context:0x7a3b150108

[000:025] [2023-07-02 00:15:58 +0000.602963][3db3] SetAndroidMediaCodecObjects


time:103647054 enter.

[000:025] [2023-07-02 00:15:58 +0000.603021][3db3] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:025] [2023-07-02 00:15:58 +0000.603058][3db3] SetAndroidMediaCodecObjects


time:103647054 enter.

[000:025] [2023-07-02 00:15:58 +0000.603094][3db3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b62071540
[000:025] [2023-07-02 00:15:58 +0000.603128][3db3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b62071540 address:0x79b6523760
[000:025] [2023-07-02 00:15:58 +0000.603164][3db3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b62071540
address:0x79b6523760
[000:025] [2023-07-02 00:15:58 +0000.603196][3db3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:025] [2023-07-02 00:15:58 +0000.603220][3db3] Set the android objects with


jvm:0xb400007b62071540 env:0x7b621729c0 context:0x7a3b150108

[000:025] [2023-07-02 00:15:58 +0000.603248][3db3] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b621729c0
[000:025] [2023-07-02 00:15:58 +0000.603275][3db3] SystemUtil Init done
[000:026] [2023-07-02 00:15:58 +0000.603764][3db3]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:026] [2023-07-02 00:15:58 +0000.603878][3db3] MediaFilterCamera
[000:026] [2023-07-02 00:15:58 +0000.603922][3db3] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:026] [2023-07-02 00:15:58 +0000.604018][3db3] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:026] [2023-07-02 00:15:58 +0000.604047][3db3] Recording session using default
bitrate support by app:31457280
[000:026] [2023-07-02 00:15:58 +0000.604262][4506] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a9f9dee40
[000:027] [2023-07-02 00:15:58 +0000.604319][4506] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:027] [2023-07-02 00:15:58 +0000.604428][3db3] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:027] [2023-07-02 00:15:58 +0000.605048][3db3] Error(ini.cc:191): Open the file
failed. error:2
[000:027] [2023-07-02 00:15:58 +0000.605091][3db3]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:027] [2023-07-02 00:15:58 +0000.605108][3db3] The device model: m2102j20sg
usingSoftwareAEC value: 0
[000:029] [2023-07-02 00:15:58 +0000.607211][3db3] Error(ini.cc:191): Open the file
failed. error:2
[000:029] [2023-07-02 00:15:58 +0000.607275][3db3]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:029] [2023-07-02 00:15:58 +0000.607296][3db3] The device model: m2102j20sg
usingHardwareAEC value: 0
[000:030] [2023-07-02 00:15:58 +0000.607312][3db3] The machine device: m2102j20sg
usingHardwareAEC value: 0
[000:030] [2023-07-02 00:15:58 +0000.607344][3db3] Using Default AEC type: software
AEC
[000:030] [2023-07-02 00:15:58 +0000.607984][3db3] The device model: m2102j20sg
enum value: 0
[000:031] [2023-07-02 00:15:58 +0000.608479][3db3] GetMachineModel is M2102J20SG
[000:031] [2023-07-02 00:15:58 +0000.608537][3db3] GetMachineInfo: M2102J20SG
[000:031] [2023-07-02 00:15:58 +0000.608570][3db3] Construct BeautifyReader
begin...
[000:031] [2023-07-02 00:15:58 +0000.608614][3db3] dumpStickerRgba:0
dumpStickerYuv:0
[000:031] [2023-07-02 00:15:58 +0000.608654][3db3] Construct BeautifyReader done.
[000:033] [2023-07-02 00:15:58 +0000.611170][3db3] Error(ini.cc:191): Open the file
failed. error:2
[000:033] [2023-07-02 00:15:58 +0000.611262][3db3]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:034] [2023-07-02 00:15:58 +0000.611430][3db3] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:034] [2023-07-02 00:15:58 +0000.611459][3db3] AppDeviceManager telnet server
for statistics started......
[000:034] [2023-07-02 00:15:58 +0000.611564][4509] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79f6ea8ca0
[000:034] [2023-07-02 00:15:58 +0000.611889][3db3] CpuOverloadDetect time:103647063
enter.

[000:034] [2023-07-02 00:15:58 +0000.612007][3db3] CpuOverloadDetect leave. expire


time = 0 ms

[000:035] [2023-07-02 00:15:58 +0000.612502][3db3] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[000:035] [2023-07-02 00:15:58 +0000.612538][3db3] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:035] [2023-07-02 00:15:58 +0000.612589][450a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79cba70700
[000:036] [2023-07-02 00:15:58 +0000.613648][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:036] [2023-07-02 00:15:58 +0000.613937][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:037] [2023-07-02 00:15:58 +0000.614326][3db3] CreatePlatformSpecificObjects:
[000:037] [2023-07-02 00:15:58 +0000.614366][3db3] audio device use opensle input
and opensl output
[000:037] [2023-07-02 00:15:58 +0000.614414][3db3] Create OpenSLES output module
with java VM support.

[000:037] [2023-07-02 00:15:58 +0000.614518][3db3] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:037] [2023-07-02 00:15:58 +0000.614738][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:037] [2023-07-02 00:15:58 +0000.614891][3db3] Create OpenSLES output module
with buffer num:1

[000:037] [2023-07-02 00:15:58 +0000.615009][3db3] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:037] [2023-07-02 00:15:58 +0000.615162][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:038] [2023-07-02 00:15:58 +0000.615344][3db3] Create OpenSLES input module
with java VM support.

[000:038] [2023-07-02 00:15:58 +0000.615381][3db3] Create OpenSLES input module


with buffer num:1

[000:038] [2023-07-02 00:15:58 +0000.615437][3db3] Error(trace.cc:40): Init the


output and input for audio device template.
[000:038] [2023-07-02 00:15:58 +0000.615460][3db3] Init the output device.

[000:038] [2023-07-02 00:15:58 +0000.615475][3db3] Init the opensl input.


[000:038] [2023-07-02 00:15:58 +0000.615505][3db3] AppDeviceManager get setting
samplerate: 0
[000:038] [2023-07-02 00:15:58 +0000.615815][3db3] The device model: m2102j20sg
enum value: 0
[000:038] [2023-07-02 00:15:58 +0000.616242][3db3] The device model: m2102j20sg
enum value: 0
[000:038] [2023-07-02 00:15:58 +0000.616270][3db3] Set the sample rate to be:48000

[000:039] [2023-07-02 00:15:58 +0000.616311][3db3] Enable the recording stereo:0


[000:039] [2023-07-02 00:15:58 +0000.616343][3db3] Set the playout as stereo:1
[000:039] [2023-07-02 00:15:58 +0000.616369][3db3] Init the microphone.
[000:039] [2023-07-02 00:15:58 +0000.616762][3db3] Update the recording sample rate
to be: 48000
[000:039] [2023-07-02 00:15:58 +0000.616804][3db3] Init the speaker.
[000:042] [2023-07-02 00:15:58 +0000.620242][3db3] Low latency buffer size:144 low
sample rate:48000
[000:043] [2023-07-02 00:15:58 +0000.620458][3db3] Using 1 x 10ms for an audio
frame.

[000:045] [2023-07-02 00:15:58 +0000.623052][3db3] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:045] [2023-07-02 00:15:58 +0000.623136][3db3] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:045] [2023-07-02 00:15:58 +0000.623160][3db3] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:049] [2023-07-02 00:15:58 +0000.626790][3db3] The device model:m2102j20sg

[000:049] [2023-07-02 00:15:58 +0000.626856][3db3] speaker output factor:100


defaultFactor: 100

[000:049] [2023-07-02 00:15:58 +0000.626870][3db3] headset output factor:100


defaultFactor: 100

[000:049] [2023-07-02 00:15:58 +0000.627133][3db3] AppDeviceManagerStart finished.


[000:049] [2023-07-02 00:15:58 +0000.627161][3db3] AppDeviceManagerStartMic::mic
status is off
[000:049] [2023-07-02 00:15:58 +0000.627199][3db3] AppDeviceManagerStartMic update
aec type: 2

[000:049] [2023-07-02 00:15:58 +0000.627215][3db3] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:049] [2023-07-02 00:15:58 +0000.627226][3db3]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:049] [2023-07-02 00:15:58 +0000.627256][3db3]
AudioDeviceDataHandler::StartMicProcess

[000:050] [2023-07-02 00:15:58 +0000.627331][3db3] Try to start webrtc recording


device.
[000:050] [2023-07-02 00:15:58 +0000.627358][3db3] StartRecording. threadID:15795

[000:050] [2023-07-02 00:15:58 +0000.627594][3db3] The machine model:M2102J20SG

[000:050] [2023-07-02 00:15:58 +0000.627645][3db3] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:050] [2023-07-02 00:15:58 +0000.627664][3db3] Set the recording mode before


getSetting: 4
[000:050] [2023-07-02 00:15:58 +0000.627679][3db3] Set the recording mode after
getSetting: 1
[000:050] [2023-07-02 00:15:58 +0000.627865][450b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:050] [2023-07-02 00:15:58 +0000.627920][450b] haveEnoughProcessedData
internalAudioStream.length: 0
[000:083] [2023-07-02 00:15:58 +0000.660316][3db3] StartRecording finished.

[000:083] [2023-07-02 00:15:58 +0000.660409][3db3] audio: start the audio mic


checker timer.

[000:083] [2023-07-02 00:15:58 +0000.660801][3db3] machine model :poco


[000:083] [2023-07-02 00:15:58 +0000.660842][3db3] Support this machine model :poco
[000:083] [2023-07-02 00:15:58 +0000.661026][3db3] global inited! current sdk
version: 07-20-936c45f
[000:152] [2023-07-02 00:15:58 +0000.729994][450c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:152] [2023-07-02 00:15:58 +0000.730069][450c] _deviceSampleRate:48000

[000:152] [2023-07-02 00:15:58 +0000.730275][450b] Run AGC when audioType = 0


[000:153] [2023-07-02 00:15:58 +0000.730338][450b]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:436] [2023-07-02 00:15:59 +0000.13421][430c]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:436] [2023-07-02 00:15:59 +0000.13548][4507] MediaFilterCamera, recording file
context:0x7aad124080 input texture:8
[000:436] [2023-07-02 00:15:59 +0000.13584][4507] GLESContext:
[000:436] [2023-07-02 00:15:59 +0000.13627][4507] The result of eglGetDisplay is:
0xb400007b6216eb40
[000:437] [2023-07-02 00:15:59 +0000.14346][4507] The result of creation:
0x7aad114780
[000:437] [2023-07-02 00:15:59 +0000.14423][4507] The result of
eglCreatePbufferSurface is: 0x7aad114880
[000:437] [2023-07-02 00:15:59 +0000.14502][430c]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7aad124080 input_texture: 8
[001:806] [2023-07-02 00:16:00 +0000.383841][450b] haveEnoughProcessedData
internalAudioStream.length: 0
[002:157] [2023-07-02 00:16:00 +0000.735124][450b] Run AGC when audioType = 0
[003:558] [2023-07-02 00:16:02 +0000.135557][450b] haveEnoughProcessedData
internalAudioStream.length: 10
[004:087] [2023-07-02 00:16:02 +0000.664777][4502]
monitorTime:4004totalDuration:3940
[004:156] [2023-07-02 00:16:02 +0000.733844][450b] Run AGC when audioType = 0
[004:156] [2023-07-02 00:16:02 +0000.734022][450b]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:336] [2023-07-02 00:16:02 +0000.913649][3d91] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[004:336] [2023-07-02 00:16:02 +0000.913725][3d91]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[004:336] [2023-07-02 00:16:02 +0000.914193][3d91]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[004:337] [2023-07-02 00:16:02 +0000.914400][4507] operator() time:103651366
enter.

[004:337] [2023-07-02 00:16:02 +0000.914484][4507] MediaFilterCamera, recording


file context:0x7aad124080 input texture:8
[004:338] [2023-07-02 00:16:02 +0000.916278][4507] MicSource: Mic source
created:10x7aad0fd280
[004:339] [2023-07-02 00:16:02 +0000.917017][4507] received external audio stream

[004:339] [2023-07-02 00:16:02 +0000.917083][4507] alloc thread: 0x79ec60f700


name:worker0 thread id:522879343792 to Mic_source
[004:339] [2023-07-02 00:16:02 +0000.917126][4507] audio: start the audio sender
thread.

[004:339] [2023-07-02 00:16:02 +0000.917210][4507] construct OpenGLRenderProgram


0x7aad131398
[004:339] [2023-07-02 00:16:02 +0000.917254][4507] CropFilter::SetOrientation
orientation: 90
[004:340] [2023-07-02 00:16:02 +0000.917397][4507] filter: filter pipeline
construtc this: 0x7aad01d080
[004:340] [2023-07-02 00:16:02 +0000.917439][4507] filter: filter pipeline2 update
pattern: 1
[004:340] [2023-07-02 00:16:02 +0000.917534][4507] CameraSource::source_id_:1
[004:340] [2023-07-02 00:16:02 +0000.917575][4507] RecordAudioSource::source_id_:2
[004:340] [2023-07-02 00:16:02 +0000.917831][4507] BindInputFilter 0x79ec60fe40
this 0x7aad1315c0
[004:340] [2023-07-02 00:16:02 +0000.917882][4507] BindInputFilter 0x79ec60ffd8
this 0x79da711150
[004:340] [2023-07-02 00:16:02 +0000.917910][4507] BindInputFilter 0x7aad1315c0
this 0x7aad01d120
[004:340] [2023-07-02 00:16:02 +0000.917957][4507] setParamentForFilters:
speed:1.000000
[004:340] [2023-07-02 00:16:02 +0000.917978][4507] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[004:340] [2023-07-02 00:16:02 +0000.918002][4507] SetParamForFilter time:103651369
enter.

[004:340] [2023-07-02 00:16:02 +0000.918021][4507] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[004:340] [2023-07-02 00:16:02 +0000.918041][4507] SetParamForFilter: Params video
index is: 0
[004:340] [2023-07-02 00:16:02 +0000.918058][4507] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[004:340] [2023-07-02 00:16:02 +0000.918075][4507] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[004:340] [2023-07-02 00:16:02 +0000.918092][4507] crop filter mode tpye:
citytravelvideo index:0
[004:350] [2023-07-02 00:16:02 +0000.927563][4507]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.927700][4507]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.927837][4507]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.928042][4507]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.928072][4507]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.928092][4507]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.928113][4507]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.928132][4507]
Warning(parse_template_json.cc:81): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.928149][4507]
Warning(parse_template_json.cc:81): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.928165][4507]
Warning(parse_template_json.cc:67): json parament no found the parament
[004:350] [2023-07-02 00:16:02 +0000.928181][4507]
Warning(parse_template_json.cc:93): json parament no found the duration
[004:350] [2023-07-02 00:16:02 +0000.928203][4507] SetParamForFilter leave. expire
time = 10 ms

[004:351] [2023-07-02 00:16:02 +0000.928796][4507] OnOutputSizeChanged width 1280


height 720
[004:351] [2023-07-02 00:16:02 +0000.928869][4507] OpenGLFrameBuffer: width:1280
height:720
[004:351] [2023-07-02 00:16:02 +0000.928975][4507] OpenGLFrameBuffer: width:1280
height:720
[004:351] [2023-07-02 00:16:02 +0000.929035][4507] OpenGLFrameBuffer: width:1280
height:720
[004:351] [2023-07-02 00:16:02 +0000.929059][4507] OpenGLFrameBuffer: width:1280
height:720
[004:351] [2023-07-02 00:16:02 +0000.929083][4507] OpenGLFrameBuffer: width:1280
height:720
[004:351] [2023-07-02 00:16:02 +0000.929105][4507] OpenGLFrameBuffer: width:1280
height:720
[004:351] [2023-07-02 00:16:02 +0000.929123][4507] construct TrivalImageDrawer
0x79da70ee40
[004:351] [2023-07-02 00:16:02 +0000.929143][4507] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x79da70ee40 context 0x7aad068200
[004:351] [2023-07-02 00:16:02 +0000.929164][4507] setupGLES:
[004:352] [2023-07-02 00:16:02 +0000.929655][4507] OpenGLRenderProgram::Initialize.
[004:352] [2023-07-02 00:16:02 +0000.929718][4507] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[004:352] [2023-07-02 00:16:02 +0000.929756][4507] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[004:352] [2023-07-02 00:16:02 +0000.929812][4507] Init open gl render:
0x7aad131398
[004:352] [2023-07-02 00:16:02 +0000.929853][4507] Fragement shader path:
[004:352] [2023-07-02 00:16:02 +0000.929896][4507] Fragement shader path:
[004:352] [2023-07-02 00:16:02 +0000.929928][4507] create opengl program object.
[004:352] [2023-07-02 00:16:02 +0000.929994][4507] create shader: vertex
[004:356] [2023-07-02 00:16:02 +0000.933371][450b] On audio frame the broadcast
with timestamp:103651385 samples:480. (1000 frame for one log)

[004:357] [2023-07-02 00:16:02 +0000.934748][4507] create shader: fragment


[004:360] [2023-07-02 00:16:02 +0000.938174][452c] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[004:361] [2023-07-02 00:16:02 +0000.938820][452c] The output timestamp from audio
mixer change:103651385
[004:361] [2023-07-02 00:16:02 +0000.938888][452c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:390] [2023-07-02 00:16:02 +0000.967355][4507] Have not extra filter filename!
[004:390] [2023-07-02 00:16:02 +0000.967434][4507] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[004:390] [2023-07-02 00:16:02 +0000.967452][4507] OpenGLRenderProgram::Initialize
success.
[004:390] [2023-07-02 00:16:02 +0000.967487][4507] Setup the OpenGL result:1
[004:390] [2023-07-02 00:16:02 +0000.968114][4506] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[004:390] [2023-07-02 00:16:02 +0000.968233][4506] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[004:390] [2023-07-02 00:16:02 +0000.968250][4535] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a9f9aa698
[004:390] [2023-07-02 00:16:02 +0000.968284][4506] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[004:391] [2023-07-02 00:16:02 +0000.968506][4506] 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_103651419.mp4
fileFD: -1
[004:391] [2023-07-02 00:16:02 +0000.968785][4506] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
is opened successfully
[004:391] [2023-07-02 00:16:02 +0000.968818][4506] setupMediaProcessers:
[004:391] [2023-07-02 00:16:02 +0000.968836][4506]
RecordingSessionInternalSimple:setup media processers.
[004:391] [2023-07-02 00:16:02 +0000.968851][4506] construct AAC encoder
[004:391] [2023-07-02 00:16:02 +0000.969093][4506] H264Encoder creating:
superfast011818
[004:391] [2023-07-02 00:16:02 +0000.969146][4506] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[004:392] [2023-07-02 00:16:02 +0000.969726][4506] H264Encode::GetMachineModel is
M2102J20SG
[004:392] [2023-07-02 00:16:02 +0000.969769][4506] H264Encoder machine_mode
is:M2102J20SG
[004:392] [2023-07-02 00:16:02 +0000.969784][4506] H264Encode::machine size :9
machine_mode:M2102J20SG
[004:392] [2023-07-02 00:16:02 +0000.969799][4506] H264Encode::machine array
size :22 machine_mode:M2102J20SG
[004:392] [2023-07-02 00:16:02 +0000.969830][4506] H264Encode::current machine
is :M2102J20SG auto check hw codec decide to use hw codec
[004:392] [2023-07-02 00:16:02 +0000.969845][4506] setupCompressionSession:
[004:392] [2023-07-02 00:16:02 +0000.969870][4506] H264Encode::creating hareware
Encoder
[004:392] [2023-07-02 00:16:02 +0000.969886][4506] AndroidHwAvcEncoder
time:103651421 enter.

[004:392] [2023-07-02 00:16:02 +0000.970019][4506] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b62071540 address:0x79b6523760
[004:392] [2023-07-02 00:16:02 +0000.970115][4506] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[004:392] [2023-07-02 00:16:02 +0000.970144][4506] The video avc hw codec address
is 0x7a9f8af668
[004:392] [2023-07-02 00:16:02 +0000.970199][4506] AndroidHwAvcEncoder leave.
expire time = 0 ms

[004:392] [2023-07-02 00:16:02 +0000.970228][4506] RegisterEncodeCompleteCallback


time:103651421 enter.

[004:392] [2023-07-02 00:16:02 +0000.970292][4506] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[004:393] [2023-07-02 00:16:02 +0000.970353][4506] InitEncode time:103651422


enter.

[004:393] [2023-07-02 00:16:02 +0000.970404][4506] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[004:393] [2023-07-02 00:16:02 +0000.970439][4506] Create time:103651422 enter.

[004:393] [2023-07-02 00:16:02 +0000.970472][4506] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[004:393] [2023-07-02 00:16:02 +0000.970506][4506]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79f6d5b340
[004:403] [2023-07-02 00:16:02 +0000.980849][4506] supported_type:video/avc
[004:403] [2023-07-02 00:16:02 +0000.980943][4506] name:OMX.qcom.video.encoder.avc
mime:video/avc
[004:403] [2023-07-02 00:16:02 +0000.980972][4506] hwCodecPrefix :OMX.qcom.
[004:403] [2023-07-02 00:16:02 +0000.980990][4506] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[004:403] [2023-07-02 00:16:02 +0000.981012][4506] mediacodec_createCodecByName
time:103651432 enter.

[004:403] [2023-07-02 00:16:02 +0000.981048][4506] WrapAndroidMediaCodec


time:103651432 enter.

[004:403] [2023-07-02 00:16:02 +0000.981163][4506] WrapAndroidMediaCodec leave.


expire time = 0 ms

[004:428] [2023-07-02 00:16:03 +0000.5820][4506] mediacodec_createCodecByName


leave. expire time = 25 ms

[004:428] [2023-07-02 00:16:03 +0000.5940][4506] WrapAndroidMediaFromat


time:103651457 enter.

[004:428] [2023-07-02 00:16:03 +0000.6046][4506] WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:517] [2023-07-02 00:16:03 +0000.94485][4506] Destroy time:103651546 enter.

[004:517] [2023-07-02 00:16:03 +0000.94560][4506] WrapAndroidMediaFromat::


Destroy
[004:517] [2023-07-02 00:16:03 +0000.94595][4506] Destroy leave. expire time = 0
ms

[004:517] [2023-07-02 00:16:03 +0000.94623][4506] ~WrapAndroidMediaFromat


time:103651546 enter.

[004:517] [2023-07-02 00:16:03 +0000.94650][4506] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:517] [2023-07-02 00:16:03 +0000.94681][4506] Create leave. expire time = 124


ms

[004:517] [2023-07-02 00:16:03 +0000.94705][4506] isSemiPlanarSupport


time:103651546 enter.

[004:517] [2023-07-02 00:16:03 +0000.94731][4506] H264Encoder isSemiPlanarSupport


[004:517] [2023-07-02 00:16:03 +0000.94761][4506] isSemiPlanarSupport leave.
expire time = 0 ms

[004:517] [2023-07-02 00:16:03 +0000.94784][4506] creat hw H264Encoder success,


isSemiPlanar:1
[004:517] [2023-07-02 00:16:03 +0000.94888][4506] InitEncode leave. expire time =
124 ms

[004:517] [2023-07-02 00:16:03 +0000.94918][4506] H264Encode::created Encoder


[004:517] [2023-07-02 00:16:03 +0000.94948][4506] H264Encode:: H264 encoder
created.
[004:517] [2023-07-02 00:16:03 +0000.94974][4506] H264 encoder created.
[004:517] [2023-07-02 00:16:03 +0000.95003][4506]
RecordingSessionInternalSimple:created avc encoder avc: 0x79cb63fdc0
[004:517] [2023-07-02 00:16:03 +0000.95030][4506] setOutput:
[004:517] [2023-07-02 00:16:03 +0000.95056][4506]
RecordingSessionInternalSimple:encoder set output to muxer!
[004:517] [2023-07-02 00:16:03 +0000.95082][4506] request a key frame
[004:517] [2023-07-02 00:16:03 +0000.95109][4506] H264Encode:: request a key frame
[004:517] [2023-07-02 00:16:03 +0000.95272][4506] setDisplayRotate :90
[004:518] [2023-07-02 00:16:03 +0000.95313][4506] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[004:518] [2023-07-02 00:16:03 +0000.95391][4507] StartRecording:
[004:518] [2023-07-02 00:16:03 +0000.96090][452c] operator(): Set the recording
session in mic source. recording session: 0x79ec60fe80
[004:519] [2023-07-02 00:16:03 +0000.96502][4507] operator() leave. expire time =
182 ms

[004:519] [2023-07-02 00:16:03 +0000.96598][452b] AF_SpeedFilter audio 0x79da711000


PullFrame
[004:519] [2023-07-02 00:16:03 +0000.96632][452b] RecordAudioSource::PullAudioFrame
[004:519] [2023-07-02 00:16:03 +0000.96651][452b] AF_SpeedFilter audio time,
0x79da711000 rcv time: 103651545
[004:519] [2023-07-02 00:16:03 +0000.96707][452b] AF_SpeedFilter audio time,
0x79da711000 rcv time: 103651545in_nSamples:441
[004:519] [2023-07-02 00:16:03 +0000.96777][452b] resampled_data_size:0
[004:522] [2023-07-02 00:16:03 +0000.99563][452b] AF_SpeedFilter::PullFrame eof4
[004:524] [2023-07-02 00:16:03 +0000.101981][452b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:575] [2023-07-02 00:16:03 +0000.152374][4507]
MediaFilterCamera::NeedProcessTexture
[004:575] [2023-07-02 00:16:03 +0000.152479][4507] begine recode to first frame
spend time:238
[004:575] [2023-07-02 00:16:03 +0000.152509][4507] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x79ec60fd00
[004:575] [2023-07-02 00:16:03 +0000.152550][4507] blur_distance_:0
[004:575] [2023-07-02 00:16:03 +0000.152573][4507] blur_direction_angle_:-90
[004:575] [2023-07-02 00:16:03 +0000.152604][4507]
GPUImageProcessing::SetOrientation orientation: 90
[004:575] [2023-07-02 00:16:03 +0000.152629][4507] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[004:575] [2023-07-02 00:16:03 +0000.152692][4507] GPUImageProcessing: process
video frame with resolution 1280 X 720
[004:575] [2023-07-02 00:16:03 +0000.152724][4507] GPUImageProcessing: input frame
width1280 X 720
[004:576] [2023-07-02 00:16:03 +0000.153534][4507] drawYUV420 render
OpenGLRenderProgram:0x7aad131398
[004:576] [2023-07-02 00:16:03 +0000.154119][4507] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:576] [2023-07-02 00:16:03 +0000.154222][4507] CropFilter::OnVideoFrame
outputtexture :10
[004:576] [2023-07-02 00:16:03 +0000.154285][4507] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:580] [2023-07-02 00:16:03 +0000.157574][4507] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[004:612] [2023-07-02 00:16:03 +0000.190179][4507] drawYUV420 render
OpenGLRenderProgram:0x7aad131398
[004:617] [2023-07-02 00:16:03 +0000.195202][4507] The convert RGB to YUV take 2
[004:618] [2023-07-02 00:16:03 +0000.195462][4507] FilterPipeline2::OnVideoFrame
pts 35 last_video_timestamp_ 35
[004:618] [2023-07-02 00:16:03 +0000.195538][4507]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[004:618] [2023-07-02 00:16:03 +0000.196023][4534]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[004:619] [2023-07-02 00:16:03 +0000.196515][4534] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[004:619] [2023-07-02 00:16:03 +0000.196579][4534] push video frame to H264
encoder. (100 frame for one log)

[004:619] [2023-07-02 00:16:03 +0000.196638][4534] push video frame to H264


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

[004:619] [2023-07-02 00:16:03 +0000.196690][4534] H264Encode::push video frame to


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

[004:619] [2023-07-02 00:16:03 +0000.196748][4534] Push an pts:0 to dts queue.


[004:619] [2023-07-02 00:16:03 +0000.196876][4534] DTS queue for
Generator:0x7a9f9aacb8 0
[004:619] [2023-07-02 00:16:03 +0000.196930][4534] The input pts:0 fps:30
[004:621] [2023-07-02 00:16:03 +0000.199033][4534]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[004:652] [2023-07-02 00:16:03 +0000.230289][452b] AF_SpeedFilter audio time 222,
0x79da711000 out time: 103651545 org time: 103651545
[004:653] [2023-07-02 00:16:03 +0000.230390][4507] drawYUV420 render
OpenGLRenderProgram:0x7aad131398
[004:653] [2023-07-02 00:16:03 +0000.230477][452b] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[004:653] [2023-07-02 00:16:03 +0000.230546][452b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 103651545
[004:653] [2023-07-02 00:16:03 +0000.230588][452b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[004:653] [2023-07-02 00:16:03 +0000.230664][452b] AF_SpeedFilter audio time
[004:653] [2023-07-02 00:16:03 +0000.230791][452b] AF_SpeedFilter audio time 111,
0x79da711000 out time: 103651555 org time: 103651555
[004:656] [2023-07-02 00:16:03 +0000.234202][4533]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[004:657] [2023-07-02 00:16:03 +0000.234689][4535] add aac audio track with id:1
[004:690] [2023-07-02 00:16:03 +0000.267911][4534] h264 add frame header cdr flag
[004:692] [2023-07-02 00:16:03 +0000.269325][4534] h264 add frame header cdr flag
[004:692] [2023-07-02 00:16:03 +0000.269637][4534] SendFrame
encodedImage._timeStamp:0encodedImage->_length:72927
[004:692] [2023-07-02 00:16:03 +0000.269690][4534] Received key frame:0
[004:692] [2023-07-02 00:16:03 +0000.269731][4534] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[004:692] [2023-07-02 00:16:03 +0000.269765][4534] H264Encode::H264SWEncoder get
callback, length:72927 type:0 nalType:7length:18
[004:692] [2023-07-02 00:16:03 +0000.269798][4534] H264Encode:: get a sps pps
header!headerSize:31
[004:692] [2023-07-02 00:16:03 +0000.269863][4534] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[004:692] [2023-07-02 00:16:03 +0000.270012][4535] get the H.264 SPS parameter
[004:693] [2023-07-02 00:16:03 +0000.270318][4535] add video track with id:2
[004:693] [2023-07-02 00:16:03 +0000.270935][4535] get the H.264 PPS parameter
[004:693] [2023-07-02 00:16:03 +0000.271301][4535] get the H.264 IDR frame
[004:694] [2023-07-02 00:16:03 +0000.271399][4535] resss:true
[004:694] [2023-07-02 00:16:03 +0000.271428][4535] video start ts:0
[004:694] [2023-07-02 00:16:03 +0000.271565][4535] the video frame has been written
into MP4 file
[004:730] [2023-07-02 00:16:03 +0000.307751][4535] audio start ts:0
[004:730] [2023-07-02 00:16:03 +0000.307897][4535] the audio frame has been written
into MP4 file
[005:073] [2023-07-02 00:16:03 +0000.650988][4507] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:111] [2023-07-02 00:16:03 +0000.689164][4507] The convert RGB to YUV take 1
[005:313] [2023-07-02 00:16:03 +0000.890598][450b] haveEnoughProcessedData
internalAudioStream.length: 0
[005:359] [2023-07-02 00:16:03 +0000.937248][452c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:460] [2023-07-02 00:16:04 +0000.38139][4534] DTS queue for
Generator:0x7a9f9aacb8 812 848
[005:596] [2023-07-02 00:16:04 +0000.174007][4507] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:620] [2023-07-02 00:16:04 +0000.197707][4507] The convert RGB to YUV take 1
[005:978] [2023-07-02 00:16:04 +0000.555654][4534] Push an pts:1363 to dts queue.
[006:035] [2023-07-02 00:16:04 +0000.612934][4534] last dts:1320 currentPts:1363
ppsOrSPS:0 queue length:3
[006:099] [2023-07-02 00:16:04 +0000.676427][4507] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:137] [2023-07-02 00:16:04 +0000.714408][4507] The convert RGB to YUV take 3
[006:143] [2023-07-02 00:16:04 +0000.720390][452b] AF_SpeedFilter audio
0x79da711000 PullFrame
[006:153] [2023-07-02 00:16:04 +0000.730706][450b] Run AGC when audioType = 0
[006:306] [2023-07-02 00:16:04 +0000.883505][4534] DTS queue for
Generator:0x7a9f9aacb8 1656 1692
[006:321] [2023-07-02 00:16:04 +0000.898980][3d91]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[006:322] [2023-07-02 00:16:04 +0000.899584][4507] operator(): Stop
[006:322] [2023-07-02 00:16:04 +0000.899672][4507] StopPullFrameAndWriteMp4
time:103653351 enter.

[006:322] [2023-07-02 00:16:04 +0000.899756][4507] StopRecording:


[006:331] [2023-07-02 00:16:04 +0000.908745][452b] resampled_data_size:512
[006:331] [2023-07-02 00:16:04 +0000.908870][452b] AF_SpeedFilter audio time 222,
0x79da711000 out time: 103653235 org time: 103653235
[006:331] [2023-07-02 00:16:04 +0000.909082][452b] PullAudioFrame: PullFrame audio
finished.
[006:331] [2023-07-02 00:16:04 +0000.909124][452b]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[006:336] [2023-07-02 00:16:04 +0000.914309][4534]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:51
[006:344] [2023-07-02 00:16:04 +0000.921605][4506] stop recording
[006:344] [2023-07-02 00:16:04 +0000.921738][4506]
RecordingSessionInternalSimple:destroy media processers
[006:344] [2023-07-02 00:16:04 +0000.921782][4506] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[006:344] [2023-07-02 00:16:04 +0000.921813][4506] H264Encode::flushing hareware
Encoder
[006:344] [2023-07-02 00:16:04 +0000.921999][4506] Flush time:103653373 enter.

[006:344] [2023-07-02 00:16:04 +0000.922059][4506] H264Encoder encoder flush


[006:344] [2023-07-02 00:16:04 +0000.922099][4506] flush output queue
[006:365] [2023-07-02 00:16:04 +0000.942688][452c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:686] [2023-07-02 00:16:05 +0000.264047][4506] Flush leave. expire time = 342
ms

[006:687] [2023-07-02 00:16:05 +0000.264338][4506] ~H264EncodeWrap:


[006:687] [2023-07-02 00:16:05 +0000.264415][4506] ~H264Encode:
[006:687] [2023-07-02 00:16:05 +0000.264574][4506] teardownCompressionSession:
H264Encode::destroying Encoder
[006:687] [2023-07-02 00:16:05 +0000.264706][4506] Release time:103653716 enter.
[006:687] [2023-07-02 00:16:05 +0000.264917][4506] Release:
MediaCodecVideoEncoder::Release _inited:1
[006:687] [2023-07-02 00:16:05 +0000.264998][4506] Destroy time:103653716 enter.

[006:687] [2023-07-02 00:16:05 +0000.265044][4506] H264Encoder encoderDestroy


[006:687] [2023-07-02 00:16:05 +0000.265089][4506]
AndroidMediaCodecVideoEncoder::release env: 0x79cb63ff00
[006:687] [2023-07-02 00:16:05 +0000.265129][4506]
AndroidMediaCodecVideoEncoder::Destroy
[006:714] [2023-07-02 00:16:05 +0000.291349][4506] Destroy leave. expire time = 27
ms

[006:714] [2023-07-02 00:16:05 +0000.291537][4506] Release leave. expire time = 27


ms

[006:714] [2023-07-02 00:16:05 +0000.291603][4506] ~AndroidHwAvcEncoder


time:103653743 enter.

[006:714] [2023-07-02 00:16:05 +0000.291784][4506] Release time:103653743 enter.

[006:714] [2023-07-02 00:16:05 +0000.291832][4506] Release:


MediaCodecVideoEncoder:: has been released before, just return
[006:714] [2023-07-02 00:16:05 +0000.291865][4506] Release leave. expire time = 0
ms

[006:714] [2023-07-02 00:16:05 +0000.291893][4506] ~AndroidMediaCodecVideoEncoder


[006:714] [2023-07-02 00:16:05 +0000.291914][4506] ~WrapAndroidMediaCodec
time:103653743 enter.

[006:714] [2023-07-02 00:16:05 +0000.291941][4506] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[006:714] [2023-07-02 00:16:05 +0000.291966][4506] video hevc hw codec


destructor:0x7a9f8af668

[006:714] [2023-07-02 00:16:05 +0000.292007][4506] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[006:714] [2023-07-02 00:16:05 +0000.292053][4506] teardownCompressionSession:


H264Encode::destroyed Encoder
[006:714] [2023-07-02 00:16:05 +0000.292093][4506]
RecordingSessionInternalSimple:destroy aac encoder output!
[006:714] [2023-07-02 00:16:05 +0000.292123][4506] AACSWEncode destructor
[006:719] [2023-07-02 00:16:05 +0000.297064][4535] MP4 close file successfully
[006:719] [2023-07-02 00:16:05 +0000.297219][4535] Recording session Internal:
notify recording ok
[006:720] [2023-07-02 00:16:05 +0000.297420][4535] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4,
output_video_timestamp_:1692 last_video_pts_:1692
[006:720] [2023-07-02 00:16:05 +0000.297469][4535] OnRecordFinish:
[006:721] [2023-07-02 00:16:05 +0000.299089][4535] onRecordingOk: net seek
pos:0record video duration:1725record audio duration:1695
[006:722] [2023-07-02 00:16:05 +0000.300257][452c] destructMicSource_w:
[006:723] [2023-07-02 00:16:05 +0000.300424][452c] setOutput_w:
MicSource::setOutput() 0x0
[006:723] [2023-07-02 00:16:05 +0000.300506][452c] close external audio stream

[006:724] [2023-07-02 00:16:05 +0000.301438][4507] releaseThread 0x79ec60f700


[006:724] [2023-07-02 00:16:05 +0000.301503][4507] ~MicSource: Mic source
destroyed:0x7aad0fd280
[006:726] [2023-07-02 00:16:05 +0000.303459][4507] StopPullFrameAndWriteMp4 leave.
expire time = 404 ms

[006:726] [2023-07-02 00:16:05 +0000.303587][4507] DestroyPipelineAndFilters


time:103653755 enter.

[006:726] [2023-07-02 00:16:05 +0000.303655][4507] UnbindInputFilter 0x79ec60fe40


this 0x7aad1315c0
[006:726] [2023-07-02 00:16:05 +0000.303713][4507] UnbindInputFilter 0x79ec60ffd8
this 0x79da711150
[006:726] [2023-07-02 00:16:05 +0000.303793][4507] UnbindInputFilter 0x7aad1315c0
this 0x7aad01d120
[006:726] [2023-07-02 00:16:05 +0000.303830][4507] filter: filter pipeline destroy
this: 0x7aad01d080
[006:727] [2023-07-02 00:16:05 +0000.304490][4507] ClearVideoOfSources: recodring
total frames:0
[006:727] [2023-07-02 00:16:05 +0000.304610][4507] ClearVideoOfSources:
[006:727] [2023-07-02 00:16:05 +0000.304653][4507] GPUImageProcessing destruct.
[006:727] [2023-07-02 00:16:05 +0000.304742][4507] destroy TrivalImageDrawer
0x79da70ee40
[006:727] [2023-07-02 00:16:05 +0000.304783][4507] The shader has been initialize,
clean up them.

[006:727] [2023-07-02 00:16:05 +0000.304888][4507] ~OpenGLFrameBuffer:


[006:727] [2023-07-02 00:16:05 +0000.305109][4507] ~OpenGLFrameBuffer:
[006:727] [2023-07-02 00:16:05 +0000.305302][4507] ~OpenGLFrameBuffer:
[006:728] [2023-07-02 00:16:05 +0000.305478][4507] ~OpenGLFrameBuffer:
[006:731] [2023-07-02 00:16:05 +0000.308503][4507] ~OpenGLFrameBuffer:
[006:731] [2023-07-02 00:16:05 +0000.308724][4507] ~OpenGLFrameBuffer:
[006:731] [2023-07-02 00:16:05 +0000.309169][4507] GPUImageProcessing destruct
finish.
[006:731] [2023-07-02 00:16:05 +0000.309236][4507] GPURGBAFrame destruct.
[006:732] [2023-07-02 00:16:05 +0000.309307][4507] destroy OpenGLRenderProgram
0x7aad131398
[006:732] [2023-07-02 00:16:05 +0000.309394][4507] ~CameraSource time:103653761
enter.

[006:732] [2023-07-02 00:16:05 +0000.309435][4507] ~CameraSource leave. expire


time = 0 ms

[006:732] [2023-07-02 00:16:05 +0000.309481][4507] ~RecordAudioSource


time:103653761 enter.

[006:732] [2023-07-02 00:16:05 +0000.309516][4507] ~RecordAudioSource leave.


expire time = 0 ms

[006:732] [2023-07-02 00:16:05 +0000.309553][4507] DestroyPipelineAndFilters


leave. expire time = 6 ms

[006:749] [2023-07-02 00:16:05 +0000.326540][3d91]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[006:750] [2023-07-02 00:16:05 +0000.327395][3d91] machine model :poco
[006:750] [2023-07-02 00:16:05 +0000.327445][3d91] Support this machine model :poco
[006:750] [2023-07-02 00:16:05 +0000.327470][3d91] global inited! current sdk
version: 07-20-936c45f
[006:750] [2023-07-02 00:16:05 +0000.327655][3d91] filter: filter pipeline
construtc this: 0x79cb66de80
[006:750] [2023-07-02 00:16:05 +0000.327691][3d91] MediaFilterGraph:
MediaFilterGraph construct
[006:750] [2023-07-02 00:16:05 +0000.327731][3d91] GLESContext:
[006:750] [2023-07-02 00:16:05 +0000.327792][3d91] The result of eglGetDisplay is:
0xb400007b6216eb40
[006:752] [2023-07-02 00:16:05 +0000.329477][3d91] The result of creation:
0x79cb60c280
[006:752] [2023-07-02 00:16:05 +0000.329624][3d91] The result of
eglCreatePbufferSurface is: 0x79cb60c380
[006:752] [2023-07-02 00:16:05 +0000.329854][3d91] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[006:752] [2023-07-02 00:16:05 +0000.329888][3d91] The source 0 speed:1
[006:752] [2023-07-02 00:16:05 +0000.329922][3d91] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4,
delay: 0
[006:752] [2023-07-02 00:16:05 +0000.329952][3d91] CreateDecoderByVideoSource
time:103653781 enter.

[006:754] [2023-07-02 00:16:05 +0000.331332][3d91] running_decoder_count:0max


count:2
[006:754] [2023-07-02 00:16:05 +0000.331389][3d91] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x79f6f82c00
[006:755] [2023-07-02 00:16:05 +0000.332532][4560] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79c81d7a00] Current FFmpeg version git-2021-06-16-
97cea6f

[006:822] [2023-07-02 00:16:05 +0000.399594][4560] OnStreamInfoFound: video


duration_: 1725
[006:823] [2023-07-02 00:16:05 +0000.401063][3d91] start decoder
[006:823] [2023-07-02 00:16:05 +0000.401053][4561] NO get frame from decoder
[006:823] [2023-07-02 00:16:05 +0000.401148][3d91] CreateDecoderByVideoSource
leave. expire time = 71 ms

[006:823] [2023-07-02 00:16:05 +0000.401213][3d91] BindInputFilter 0x79f6d3e720


this 0x79d365d7d8
[006:823] [2023-07-02 00:16:05 +0000.401258][3d91] BindInputFilter 0x79d365d7d8
this 0x79d365d898
[006:824] [2023-07-02 00:16:05 +0000.401304][3d91] BindInputFilter 0x79f6d3e720
this 0x79d365d958
[006:824] [2023-07-02 00:16:05 +0000.401346][3d91] BindInputFilter 0x79d365d958
this 0x79d365da18
[006:824] [2023-07-02 00:16:05 +0000.401372][3d91] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[006:824] [2023-07-02 00:16:05 +0000.401413][3d91] BindInputFilter 0x79d365d898
this 0x79d365dad8
[006:824] [2023-07-02 00:16:05 +0000.401450][3d91] BindInputFilter 0x79d365dad8
this 0x79cb66df20
[006:824] [2023-07-02 00:16:05 +0000.401485][3d91] BindInputFilter 0x79d365da18
this 0x79d365db98
[006:824] [2023-07-02 00:16:05 +0000.401519][3d91] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[006:825] [2023-07-02 00:16:05 +0000.402847][4561] NO get frame from decoder
[006:826] [2023-07-02 00:16:05 +0000.403780][4561] NO get frame from decoder
[006:827] [2023-07-02 00:16:05 +0000.404501][4561] NO get frame from decoder
[006:828] [2023-07-02 00:16:05 +0000.405771][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[006:831] [2023-07-02 00:16:05 +0000.408668][3d91] machine model :poco
[006:831] [2023-07-02 00:16:05 +0000.408747][4561] NO get frame from decoder
[006:831] [2023-07-02 00:16:05 +0000.408777][3d91] Support this machine model :poco
[006:831] [2023-07-02 00:16:05 +0000.408846][3d91] global inited! current sdk
version: 07-20-936c45f
[006:831] [2023-07-02 00:16:05 +0000.408940][3d91] GetPipeline:
-----------------------------------------
[006:831] [2023-07-02 00:16:05 +0000.408991][3d91] GetPipeline: source:
0x79f6d3e500
[006:831] [2023-07-02 00:16:05 +0000.409066][3d91] GetPipeline: filter: NULLFilter
[006:831] [2023-07-02 00:16:05 +0000.409111][3d91] GetPipeline: filter: NULLFilter
[006:831] [2023-07-02 00:16:05 +0000.409179][3d91] GetPipeline: filter: NULLFilter
[006:831] [2023-07-02 00:16:05 +0000.409220][3d91] GetPipeline: audio filter:
AuidoNULLFilter
[006:831] [2023-07-02 00:16:05 +0000.409265][3d91] GetPipeline: audio filter:
AuidoNULLFilter
[006:832] [2023-07-02 00:16:05 +0000.409305][3d91] GetPipeline: audio filter:
AudioNUllFilter
[006:832] [2023-07-02 00:16:05 +0000.409345][3d91] GetPipeline:
------------------------------------------
[006:832] [2023-07-02 00:16:05 +0000.409387][3d91] filter: filter pipeline2 update
pattern: 0
[006:833] [2023-07-02 00:16:05 +0000.410757][4561] NO get frame from decoder
[006:833] [2023-07-02 00:16:05 +0000.410938][3d91] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[006:834] [2023-07-02 00:16:05 +0000.411320][3d91] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[006:834] [2023-07-02 00:16:05 +0000.411442][3d91] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[006:834] [2023-07-02 00:16:05 +0000.411756][3d91] DeviceInit:
[006:834] [2023-07-02 00:16:05 +0000.412064][3d91] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[006:835] [2023-07-02 00:16:05 +0000.412722][3d91] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[006:836] [2023-07-02 00:16:05 +0000.413312][3d91] CreatePlatformSpecificObjects:
[006:836] [2023-07-02 00:16:05 +0000.413393][3d91] audio device use null audio
input and opensl output
[006:836] [2023-07-02 00:16:05 +0000.413442][3d91] Create OpenSLES output module
with java VM support.

[006:836] [2023-07-02 00:16:05 +0000.413599][4561] NO get frame from decoder


[006:836] [2023-07-02 00:16:05 +0000.413620][3d91] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[006:836] [2023-07-02 00:16:05 +0000.414036][3d91] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[006:837] [2023-07-02 00:16:05 +0000.414391][3d91] Create OpenSLES output module
with buffer num:2

[006:837] [2023-07-02 00:16:05 +0000.414477][3d91] Error(trace.cc:40): Init the


output and input for audio device template.
[006:837] [2023-07-02 00:16:05 +0000.414535][3d91] Init the output device.

[006:837] [2023-07-02 00:16:05 +0000.414578][3d91] Set the playout as stereo:1


[006:837] [2023-07-02 00:16:05 +0000.414618][3d91] Set the sample rate to be:44100

[006:837] [2023-07-02 00:16:05 +0000.414675][3d91] Low latency buffer size:144 low


sample rate:48000
[006:837] [2023-07-02 00:16:05 +0000.414730][3d91] DeviceInit: Done
[006:837] [2023-07-02 00:16:05 +0000.414950][3d91] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[006:837] [2023-07-02 00:16:05 +0000.415280][456c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79d3b53718
[006:838] [2023-07-02 00:16:05 +0000.415797][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[006:838] [2023-07-02 00:16:05 +0000.415928][3d91]
MediaFilterPlayer::SetPlayerNotify 0x79f7205e40
[006:838] [2023-07-02 00:16:05 +0000.416023][3d91]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[006:838] [2023-07-02 00:16:05 +0000.416065][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[006:838] [2023-07-02 00:16:05 +0000.416058][4561] NO get frame from decoder
[006:839] [2023-07-02 00:16:05 +0000.416366][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[006:839] [2023-07-02 00:16:05 +0000.416515][3d91] SetGraphLoop: SetGraphLoop 1
[006:839] [2023-07-02 00:16:05 +0000.416558][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[006:839] [2023-07-02 00:16:05 +0000.416621][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[006:839] [2023-07-02 00:16:05 +0000.416958][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[006:839] [2023-07-02 00:16:05 +0000.417304][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[006:849] [2023-07-02 00:16:05 +0000.427013][456e] Start:
[006:849] [2023-07-02 00:16:05 +0000.427270][456d] operator(): video render
started.
[006:850] [2023-07-02 00:16:05 +0000.427417][456e] Start:
[006:850] [2023-07-02 00:16:05 +0000.427536][456e] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[006:850] [2023-07-02 00:16:05 +0000.427593][456e] Reset: history total size: 98
[006:850] [2023-07-02 00:16:05 +0000.427632][456e] DeviceStart:
audioDevice_:0x79cb637000
[006:850] [2023-07-02 00:16:05 +0000.427661][456e] DeviceStart: time profile
playout init before
[006:850] [2023-07-02 00:16:05 +0000.427691][456e] DeviceStart: time profile
playout init end
[006:850] [2023-07-02 00:16:05 +0000.427722][456e] OpenSlesOutput:Start playout

[006:850] [2023-07-02 00:16:05 +0000.428279][456d] DriveRender working... (1/200)


[006:851] [2023-07-02 00:16:05 +0000.428400][456d] Warning(video_render.cc:390): No
picture to display (1/50)
[006:852] [2023-07-02 00:16:05 +0000.429841][456e] Create the opensl output player.
streamtype before:0

[006:852] [2023-07-02 00:16:05 +0000.429893][456e] Create the opensl output player.


streamtype after:3

[006:877] [2023-07-02 00:16:05 +0000.455076][456e] Enqueue opensl buffer size:1764


[006:899] [2023-07-02 00:16:05 +0000.477064][456e] DeviceStart: time profile
playout all end
[006:899] [2023-07-02 00:16:05 +0000.477156][456e] operator(): Audio playback
started.
[006:899] [2023-07-02 00:16:05 +0000.477153][4571]
PlayerSimpleBufferQueueCallbackHandler function
[006:899] [2023-07-02 00:16:05 +0000.477287][456f] Pull audio failed.(wait video!)
[006:900] [2023-07-02 00:16:05 +0000.477334][4570] Error(video_source.cc:430): wait
decoder a frame: 0
[006:901] [2023-07-02 00:16:05 +0000.478627][4570] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[006:902] [2023-07-02 00:16:05 +0000.480206][4571] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[006:902] [2023-07-02 00:16:05 +0000.480282][4571]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[006:904] [2023-07-02 00:16:05 +0000.481914][4570] OnVideoFrameReady(1/200)
[006:900] [2023-07-02 00:16:05 +0000.477317][456f]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[006:900] [2023-07-02 00:16:05 +0000.477410][456e] operator(): Started now!
[006:907] [2023-07-02 00:16:05 +0000.485281][456f] audio_frame_list_ empty
[006:932] [2023-07-02 00:16:05 +0000.509398][4570]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[006:932] [2023-07-02 00:16:05 +0000.510135][456d] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[006:933] [2023-07-02 00:16:05 +0000.510397][456d] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:103653962
[006:958] [2023-07-02 00:16:05 +0000.535959][456d] lipsync_debug: render a video
frame
[006:958] [2023-07-02 00:16:05 +0000.536020][456d] lipsync_debug: First video frame
rendering.
[006:968] [2023-07-02 00:16:05 +0000.546174][456d]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:30 timeDelta:35 last
video ts:900 frame->pts:3600 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[006:968] [2023-07-02 00:16:05 +0000.546238][456d] lipsync_debug: tsDelta -
timeDelta = -5
[006:968] [2023-07-02 00:16:05 +0000.546251][456d] lipsync_debug:result remaining
time:0
[006:968] [2023-07-02 00:16:05 +0000.546262][456d] dynamic updated lipsync delay:0
[006:971] [2023-07-02 00:16:05 +0000.549021][456d] lipsync_debug:remaining time:10
tsDelta - timeDelta:26
[006:971] [2023-07-02 00:16:05 +0000.549122][456d] lipsync_debug:result remaining
time:10
[006:984] [2023-07-02 00:16:05 +0000.561454][456f] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[006:984] [2023-07-02 00:16:05 +0000.561526][456f] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[006:984] [2023-07-02 00:16:05 +0000.561626][456e] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[006:984] [2023-07-02 00:16:05 +0000.561737][456e] The audio playback speed:100
(1/100)
[006:984] [2023-07-02 00:16:05 +0000.561780][456f] audio frame wait video
frame.last_video_timestamp:107 last_audio_timestamp:207.937
[006:984] [2023-07-02 00:16:05 +0000.561783][456e] lipsync_debug: The current
played audio timestamp is:0(1/50)
[006:984] [2023-07-02 00:16:05 +0000.561824][456e] First audio frame rendering
[007:030] [2023-07-02 00:16:05 +0000.607337][4570] video frame wait audio frame:
last_video_timestamp:339 last_audio_timestamp:207.937
[007:042] [2023-07-02 00:16:05 +0000.620120][4561] av_read_frame AVERROR_EOF
[007:075] [2023-07-02 00:16:05 +0000.652568][450b] haveEnoughProcessedData
internalAudioStream.length: 20
[007:250] [2023-07-02 00:16:05 +0000.828167][4561] OnReceiveEOF:
[007:250] [2023-07-02 00:16:05 +0000.828274][4561] OnDecoderEOF time:103654279
enter.
[007:251] [2023-07-02 00:16:05 +0000.828525][4561] OnDecoderEOF leave. expire time
= 1 ms

[007:251] [2023-07-02 00:16:05 +0000.828610][4561] OnDecoderFinished:


OnDecoderFinished total decoder frames:51 this:0x79f6d3e500
[007:251] [2023-07-02 00:16:05 +0000.828746][455f] CleanUp time:103654280 enter.

[007:255] [2023-07-02 00:16:05 +0000.832411][455f] CleanUp leave. expire time = 4


ms

[007:255] [2023-07-02 00:16:05 +0000.832541][455f] clean up


[007:255] [2023-07-02 00:16:05 +0000.832575][455f] running_decoder_count:0max
count:2
[007:389] [2023-07-02 00:16:05 +0000.967113][4570] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 992 diff: 9
[007:596] [2023-07-02 00:16:06 +0000.173760][456d] lipsync_debug:displaying video
ts:60570 The current displayed video timestamp is:103654625
[007:789] [2023-07-02 00:16:06 +0000.366402][4571]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[007:900] [2023-07-02 00:16:06 +0000.477872][456e] do work DoLipsync!
[007:900] [2023-07-02 00:16:06 +0000.478081][456e] total delay:171 videoTsMS:947
audioTsMS:776 diff:171
[007:900] [2023-07-02 00:16:06 +0000.478137][456e] Set the lipsync delay:171
[008:044] [2023-07-02 00:16:06 +0000.621508][4570] Error(video_source.cc:430): wait
decoder a frame: 0
[008:154] [2023-07-02 00:16:06 +0000.731336][450b] Run AGC when audioType = 0
[008:154] [2023-07-02 00:16:06 +0000.731489][450b]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:457] [2023-07-02 00:16:07 +0000.34972][456d] lipsync_debug:displaying video
ts:122670 The current displayed video timestamp is:103655486
[008:501] [2023-07-02 00:16:07 +0000.78898][456d] DriveRender working... (1/200)
[008:514] [2023-07-02 00:16:07 +0000.91312][456f] PullAudioFrame: PullFrame audio
finished.
[008:514] [2023-07-02 00:16:07 +0000.91425][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:544] [2023-07-02 00:16:07 +0000.121810][456f] Pull finished audio filter.
[008:544] [2023-07-02 00:16:07 +0000.122005][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:547] [2023-07-02 00:16:07 +0000.125280][456d]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:35 timeDelta:33 last
video ts:127800 frame->pts:130950 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[008:548] [2023-07-02 00:16:07 +0000.125397][456d] lipsync_debug: tsDelta -
timeDelta = 2
[008:575] [2023-07-02 00:16:07 +0000.152564][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:605] [2023-07-02 00:16:07 +0000.183169][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:637] [2023-07-02 00:16:07 +0000.214509][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:667] [2023-07-02 00:16:07 +0000.245242][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:698] [2023-07-02 00:16:07 +0000.275698][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:729] [2023-07-02 00:16:07 +0000.306614][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:760] [2023-07-02 00:16:07 +0000.337655][456f] media player notify EOF, audio
PullFrameStatus is EOF
[008:787] [2023-07-02 00:16:07 +0000.365096][4570] OnVideoTimer: media player
notify EOF, PullFrameStatus is EOF and render size is 0
[008:788] [2023-07-02 00:16:07 +0000.366303][4570] Stop:
[008:789] [2023-07-02 00:16:07 +0000.366495][456d] operator(): Video Render
stopped.
[008:789] [2023-07-02 00:16:07 +0000.367005][4570] Stop:
[008:791] [2023-07-02 00:16:07 +0000.368485][456e] DeviceStop:
audioDevice_:0x79cb637000
[008:791] [2023-07-02 00:16:07 +0000.368557][456e] OpenSlesOutput:Stop playout

[008:796] [2023-07-02 00:16:07 +0000.373682][456e] DeviceStop: Done


[008:796] [2023-07-02 00:16:07 +0000.373898][456e] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[008:796] [2023-07-02 00:16:07 +0000.374135][4570] to reset filter graph
[008:796] [2023-07-02 00:16:07 +0000.374201][4570] RemoveVideoBackGroud: hava not
add video backgroud
[008:796] [2023-07-02 00:16:07 +0000.374287][4570] UnbindInputFilter 0x79d365dad8
this 0x79cb66df20
[008:797] [2023-07-02 00:16:07 +0000.374336][4570] ClearAllSource: remove source
filter, sourceid: 0x79f6d3e500
[008:797] [2023-07-02 00:16:07 +0000.374368][4570] DestoryDecoderByVideoSource
time:103655826 enter.

[008:797] [2023-07-02 00:16:07 +0000.374405][4570] ~VideoBindDecoder time:103655826


enter.

[008:797] [2023-07-02 00:16:07 +0000.374519][4570] CleanUp time:103655826 enter.

[008:797] [2023-07-02 00:16:07 +0000.374736][4570] CleanUp leave. expire time = 0


ms

[008:797] [2023-07-02 00:16:07 +0000.374783][4570] CleanUp time:103655826 enter.

[008:797] [2023-07-02 00:16:07 +0000.375133][4570] CleanUp leave. expire time = 0


ms

[008:799] [2023-07-02 00:16:07 +0000.376714][4570] ~VideoBindDecoder leave. expire


time = 2 ms

[008:799] [2023-07-02 00:16:07 +0000.376836][4570] DestoryDecoderByVideoSource


leave. expire time = 2 ms

[008:799] [2023-07-02 00:16:07 +0000.376894][4570] UnbindInputFilter 0x79d365d898


this 0x79d365dad8
[008:799] [2023-07-02 00:16:07 +0000.376940][4570] UnbindInputFilter 0x79d365d7d8
this 0x79d365d898
[008:799] [2023-07-02 00:16:07 +0000.376978][4570] UnbindInputFilter 0x79f6d3e720
this 0x79d365d7d8
[008:799] [2023-07-02 00:16:07 +0000.377070][4570] UnbindInputFilter 0x79d365da18
this 0x79d365db98
[008:799] [2023-07-02 00:16:07 +0000.377127][4570] UnbindInputFilter 0x79d365d958
this 0x79d365da18
[008:799] [2023-07-02 00:16:07 +0000.377176][4570] UnbindInputFilter 0x79f6d3e720
this 0x79d365d958
[008:799] [2023-07-02 00:16:07 +0000.377235][4570] to reset filter graph clear end
[008:799] [2023-07-02 00:16:07 +0000.377283][4570] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4,
delay: 0
[008:800] [2023-07-02 00:16:07 +0000.377337][4570] CreateDecoderByVideoSource
time:103655829 enter.

[008:800] [2023-07-02 00:16:07 +0000.377559][4570] running_decoder_count:0max


count:2
[008:800] [2023-07-02 00:16:07 +0000.377613][4570] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x79f6f82c00
[008:801] [2023-07-02 00:16:07 +0000.379131][4573] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79cb692400] Current FFmpeg version git-2021-06-16-
97cea6f

[008:826] [2023-07-02 00:16:07 +0000.403747][450b] haveEnoughProcessedData


internalAudioStream.length: 0
[008:878] [2023-07-02 00:16:07 +0000.456003][4573] OnStreamInfoFound: video
duration_: 1725
[008:880] [2023-07-02 00:16:07 +0000.458110][4570] start decoder
[008:880] [2023-07-02 00:16:07 +0000.458110][4574] NO get frame from decoder
[008:880] [2023-07-02 00:16:07 +0000.458275][4570] CreateDecoderByVideoSource
leave. expire time = 80 ms

[008:881] [2023-07-02 00:16:07 +0000.458375][4570] BindInputFilter 0x79f6d3e720


this 0x79d365d958
[008:881] [2023-07-02 00:16:07 +0000.458423][4570] BindInputFilter 0x79d365d958
this 0x79d365da18
[008:881] [2023-07-02 00:16:07 +0000.458475][4570] BindInputFilter 0x79f6d3e720
this 0x79d365db98
[008:881] [2023-07-02 00:16:07 +0000.458529][4570] BindInputFilter 0x79d365db98
this 0x79d365d7d8
[008:881] [2023-07-02 00:16:07 +0000.458567][4570] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[008:881] [2023-07-02 00:16:07 +0000.458621][4570] BindInputFilter 0x79d365da18
this 0x79d365d898
[008:881] [2023-07-02 00:16:07 +0000.458674][4570] BindInputFilter 0x79d365d898
this 0x79cb66df20
[008:881] [2023-07-02 00:16:07 +0000.458730][4570] BindInputFilter 0x79d365d7d8
this 0x79d365dad8
[008:881] [2023-07-02 00:16:07 +0000.458777][4570] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[008:881] [2023-07-02 00:16:07 +0000.458803][4570] to reset filter graph end
[008:881] [2023-07-02 00:16:07 +0000.458834][4570] Start:
[008:881] [2023-07-02 00:16:07 +0000.458987][456d] operator(): video render
started.
[008:881] [2023-07-02 00:16:07 +0000.459095][4570] Start:
[008:881] [2023-07-02 00:16:07 +0000.459269][456e] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[008:882] [2023-07-02 00:16:07 +0000.459329][456e] Reset: history total size: 98
[008:882] [2023-07-02 00:16:07 +0000.459378][456e] DeviceStart:
audioDevice_:0x79cb637000
[008:882] [2023-07-02 00:16:07 +0000.459420][456e] DeviceStart: time profile
playout init before
[008:882] [2023-07-02 00:16:07 +0000.459461][456e] DeviceStart: time profile
playout init end
[008:882] [2023-07-02 00:16:07 +0000.459496][456e] OpenSlesOutput:Start playout

[008:882] [2023-07-02 00:16:07 +0000.459643][4574] NO get frame from decoder


[008:883] [2023-07-02 00:16:07 +0000.460372][4574] NO get frame from decoder
[008:883] [2023-07-02 00:16:07 +0000.460458][456e] Create the opensl output player.
streamtype before:0

[008:883] [2023-07-02 00:16:07 +0000.460622][456e] Create the opensl output player.


streamtype after:3

[008:886] [2023-07-02 00:16:07 +0000.463784][4574] NO get frame from decoder


[008:887] [2023-07-02 00:16:07 +0000.464338][4574] NO get frame from decoder
[008:887] [2023-07-02 00:16:07 +0000.464956][4574] NO get frame from decoder
[008:888] [2023-07-02 00:16:07 +0000.465579][4574] NO get frame from decoder
[008:888] [2023-07-02 00:16:07 +0000.466176][4574] NO get frame from decoder
[008:903] [2023-07-02 00:16:07 +0000.480417][456e] Enqueue opensl buffer size:1764
[008:919] [2023-07-02 00:16:07 +0000.496783][456e] DeviceStart: time profile
playout all end
[008:919] [2023-07-02 00:16:07 +0000.496870][456e] operator(): Audio playback
started.
[008:919] [2023-07-02 00:16:07 +0000.496917][457e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[008:935] [2023-07-02 00:16:07 +0000.512681][456d] lipsync_debug: First video frame
rendering.
[008:999] [2023-07-02 00:16:07 +0000.576347][456e] First audio frame rendering
[009:056] [2023-07-02 00:16:07 +0000.633363][4574] av_read_frame AVERROR_EOF
[009:079] [2023-07-02 00:16:07 +0000.656636][4574] OnReceiveEOF:
[009:079] [2023-07-02 00:16:07 +0000.656723][4574] OnDecoderEOF time:103656108
enter.

[009:079] [2023-07-02 00:16:07 +0000.656784][4574] OnDecoderEOF leave. expire time


= 0 ms

[009:079] [2023-07-02 00:16:07 +0000.656811][455f] CleanUp time:103656108 enter.

[009:079] [2023-07-02 00:16:07 +0000.656817][4574] OnDecoderFinished:


OnDecoderFinished total decoder frames:51 this:0x79f6d3e500
[009:081] [2023-07-02 00:16:07 +0000.658952][455f] CleanUp leave. expire time = 2
ms

[009:081] [2023-07-02 00:16:07 +0000.659008][455f] clean up


[009:081] [2023-07-02 00:16:07 +0000.659023][455f] running_decoder_count:0max
count:2
[009:088] [2023-07-02 00:16:07 +0000.666189][456d] lipsync_debug:remaining time:10
tsDelta - timeDelta:31
[009:088] [2023-07-02 00:16:07 +0000.666278][456d] lipsync_debug:result remaining
time:10
[009:221] [2023-07-02 00:16:07 +0000.798607][456d] lipsync_debug:displaying video
ts:26820 The current displayed video timestamp is:103656250
[009:466] [2023-07-02 00:16:08 +0000.43533][456f] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 26584
[009:466] [2023-07-02 00:16:08 +0000.43882][456f] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[009:558] [2023-07-02 00:16:08 +0000.135375][456e] The audio playback speed:100
(1/100)
[009:558] [2023-07-02 00:16:08 +0000.136042][456e] lipsync_debug: The current
played audio timestamp is:26584(1/50)
[009:790] [2023-07-02 00:16:08 +0000.367588][4570] Error(video_source.cc:430): wait
decoder a frame: 0
[009:868] [2023-07-02 00:16:08 +0000.445352][457e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[009:909] [2023-07-02 00:16:08 +0000.486795][456d] lipsync_debug:displaying video
ts:88740 The current displayed video timestamp is:103656938
[010:137] [2023-07-02 00:16:08 +0000.714345][456d] DriveRender working... (1/200)
[010:153] [2023-07-02 00:16:08 +0000.730739][450c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:153] [2023-07-02 00:16:08 +0000.730885][450c] _deviceSampleRate:48000

[010:157] [2023-07-02 00:16:08 +0000.735228][450b] Run AGC when audioType = 0


[010:247] [2023-07-02 00:16:08 +0000.825096][456d]
lipsync_debug:lipsync_threadhold: lipsync_delta:15 tsDelta:45 timeDelta:35 last
video ts:107010 frame->pts:109710 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[010:247] [2023-07-02 00:16:08 +0000.825213][456d] lipsync_debug: tsDelta -
timeDelta = 10
[010:353] [2023-07-02 00:16:08 +0000.930523][4570] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 149040pts ms:1.656e+06
[010:355] [2023-07-02 00:16:08 +0000.933147][4570] OnVideoFrameReady(1/200)
[010:356] [2023-07-02 00:16:08 +0000.933543][456d] operator() frame->pts-
9223372036854775808 queue_ size: 11 (1/200)
[010:511] [2023-07-02 00:16:09 +0000.88953][456f] PullAudioFrame: PullFrame audio
finished.
[010:511] [2023-07-02 00:16:09 +0000.89102][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:542] [2023-07-02 00:16:09 +0000.119381][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:572] [2023-07-02 00:16:09 +0000.149771][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:580] [2023-07-02 00:16:09 +0000.157712][450b] haveEnoughProcessedData
internalAudioStream.length: 0
[010:603] [2023-07-02 00:16:09 +0000.180478][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:633] [2023-07-02 00:16:09 +0000.210969][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:664] [2023-07-02 00:16:09 +0000.241639][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:695] [2023-07-02 00:16:09 +0000.272717][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:725] [2023-07-02 00:16:09 +0000.303159][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:756] [2023-07-02 00:16:09 +0000.333570][456f] media player notify EOF, audio
PullFrameStatus is EOF
[010:763] [2023-07-02 00:16:09 +0000.340861][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[010:764] [2023-07-02 00:16:09 +0000.342227][456e] Stop:
[010:765] [2023-07-02 00:16:09 +0000.342524][456d] operator(): Video Render
stopped.
[010:765] [2023-07-02 00:16:09 +0000.342635][456e] Stop:
[010:765] [2023-07-02 00:16:09 +0000.342668][456e] DeviceStop:
audioDevice_:0x79cb637000
[010:765] [2023-07-02 00:16:09 +0000.342696][456e] OpenSlesOutput:Stop playout

[010:767] [2023-07-02 00:16:09 +0000.345309][456e] DeviceStop: Done


[010:768] [2023-07-02 00:16:09 +0000.345642][456e] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[010:768] [2023-07-02 00:16:09 +0000.345698][456e] operator(): Stop now!
[010:804] [2023-07-02 00:16:09 +0000.381680][3d91]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[010:804] [2023-07-02 00:16:09 +0000.381780][3d91] StopPreView: Have Stopped,
operation cancel
[010:804] [2023-07-02 00:16:09 +0000.381849][3d91] Stop:
[010:804] [2023-07-02 00:16:09 +0000.382234][456e] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[010:805] [2023-07-02 00:16:09 +0000.382487][3d91] DeviceRelease:
audioDevice_:0x79cb637000
[010:805] [2023-07-02 00:16:09 +0000.382537][3d91] OpenSlesOutput:Stop playout

[010:805] [2023-07-02 00:16:09 +0000.382577][3d91] DeviceRelease: Release the


webrtc device object.
[010:806] [2023-07-02 00:16:09 +0000.383830][3d91] OpenSlesOutput destruct.

[010:806] [2023-07-02 00:16:09 +0000.384020][3d91] DeviceRelease: Done


[010:806] [2023-07-02 00:16:09 +0000.384138][3d91] Stop:
[010:807] [2023-07-02 00:16:09 +0000.384401][456d] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[010:810] [2023-07-02 00:16:09 +0000.387732][3d91] global uninited!
[010:810] [2023-07-02 00:16:09 +0000.387904][3d91]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[010:810] [2023-07-02 00:16:09 +0000.387987][3d91] ~MediaFilterGraph:
MediaFilterGraph destruct
[010:810] [2023-07-02 00:16:09 +0000.388023][3d91] RemoveVideoBackGroud: hava not
add video backgroud
[010:810] [2023-07-02 00:16:09 +0000.388069][3d91] UnbindInputFilter 0x79d365d898
this 0x79cb66df20
[010:810] [2023-07-02 00:16:09 +0000.388105][3d91] ClearAllSource: remove source
filter, sourceid: 0x79f6d3e500
[010:810] [2023-07-02 00:16:09 +0000.388137][3d91] DestoryDecoderByVideoSource
time:103657839 enter.

[010:810] [2023-07-02 00:16:09 +0000.388179][3d91] ~VideoBindDecoder time:103657839


enter.

[010:811] [2023-07-02 00:16:09 +0000.389025][3d91] CleanUp time:103657840 enter.

[010:812] [2023-07-02 00:16:09 +0000.389676][3d91] CleanUp leave. expire time = 1


ms

[010:812] [2023-07-02 00:16:09 +0000.389725][3d91] CleanUp time:103657841 enter.

[010:812] [2023-07-02 00:16:09 +0000.390229][3d91] CleanUp leave. expire time = 0


ms

[010:814] [2023-07-02 00:16:09 +0000.391338][3d91] ~VideoBindDecoder leave. expire


time = 4 ms

[010:814] [2023-07-02 00:16:09 +0000.391441][3d91] DestoryDecoderByVideoSource


leave. expire time = 4 ms

[010:814] [2023-07-02 00:16:09 +0000.391474][3d91] UnbindInputFilter 0x79d365da18


this 0x79d365d898
[010:814] [2023-07-02 00:16:09 +0000.391498][3d91] UnbindInputFilter 0x79d365d958
this 0x79d365da18
[010:814] [2023-07-02 00:16:09 +0000.391516][3d91] UnbindInputFilter 0x79f6d3e720
this 0x79d365d958
[010:814] [2023-07-02 00:16:09 +0000.391534][3d91] UnbindInputFilter 0x79d365d7d8
this 0x79d365dad8
[010:814] [2023-07-02 00:16:09 +0000.391551][3d91] UnbindInputFilter 0x79d365db98
this 0x79d365d7d8
[010:814] [2023-07-02 00:16:09 +0000.391568][3d91] UnbindInputFilter 0x79f6d3e720
this 0x79d365db98
[010:814] [2023-07-02 00:16:09 +0000.391595][3d91] ~GLESContext:
[010:825] [2023-07-02 00:16:09 +0000.402542][3d91] GLESContext destruct finish.
[010:825] [2023-07-02 00:16:09 +0000.402626][3d91] filter: filter pipeline destroy
this: 0x79cb66de80
[010:827] [2023-07-02 00:16:09 +0000.404855][3d91]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[010:827] [2023-07-02 00:16:09 +0000.405284][3d91] machine model :poco
[010:828] [2023-07-02 00:16:09 +0000.405330][3d91] Support this machine model :poco
[010:828] [2023-07-02 00:16:09 +0000.405347][3d91] global inited! current sdk
version: 07-20-936c45f
[010:828] [2023-07-02 00:16:09 +0000.405468][3d91] filter: filter pipeline
construtc this: 0x79cb66de80
[010:828] [2023-07-02 00:16:09 +0000.405497][3d91] MediaFilterGraph:
MediaFilterGraph construct
[010:828] [2023-07-02 00:16:09 +0000.405513][3d91] GLESContext:
[010:828] [2023-07-02 00:16:09 +0000.405558][3d91] The result of eglGetDisplay is:
0xb400007b6216eb40
[010:829] [2023-07-02 00:16:09 +0000.406331][3d91] The result of creation:
0x79f7006e00
[010:829] [2023-07-02 00:16:09 +0000.406439][3d91] The result of
eglCreatePbufferSurface is: 0x79f70afa80
[010:829] [2023-07-02 00:16:09 +0000.406546][3d91] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[010:829] [2023-07-02 00:16:09 +0000.406578][3d91] The source 0 speed:1
[010:829] [2023-07-02 00:16:09 +0000.406616][3d91] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4,
delay: 0
[010:829] [2023-07-02 00:16:09 +0000.406653][3d91] CreateDecoderByVideoSource
time:103657858 enter.

[010:830] [2023-07-02 00:16:09 +0000.407326][3d91] running_decoder_count:0max


count:2
[010:830] [2023-07-02 00:16:09 +0000.407363][3d91] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x79f6f82c00
[010:830] [2023-07-02 00:16:09 +0000.408015][4580] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79c81d7a00] Current FFmpeg version git-2021-06-16-
97cea6f

[010:887] [2023-07-02 00:16:09 +0000.464741][4580] OnStreamInfoFound: video


duration_: 1725
[010:888] [2023-07-02 00:16:09 +0000.466114][4581] NO get frame from decoder
[010:888] [2023-07-02 00:16:09 +0000.466148][3d91] start decoder
[010:888] [2023-07-02 00:16:09 +0000.466293][3d91] CreateDecoderByVideoSource
leave. expire time = 60 ms

[010:889] [2023-07-02 00:16:09 +0000.466369][3d91] BindInputFilter 0x79f6d3e720


this 0x79d365d118
[010:889] [2023-07-02 00:16:09 +0000.466426][3d91] BindInputFilter 0x79d365d118
this 0x79d365d1d8
[010:889] [2023-07-02 00:16:09 +0000.466478][3d91] BindInputFilter 0x79f6d3e720
this 0x79d365d298
[010:889] [2023-07-02 00:16:09 +0000.466524][3d91] BindInputFilter 0x79d365d298
this 0x79d365d358
[010:889] [2023-07-02 00:16:09 +0000.466557][3d91] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[010:889] [2023-07-02 00:16:09 +0000.466604][3d91] BindInputFilter 0x79d365d1d8
this 0x79d365d418
[010:889] [2023-07-02 00:16:09 +0000.466650][3d91] BindInputFilter 0x79d365d418
this 0x79cb66df20
[010:889] [2023-07-02 00:16:09 +0000.466696][3d91] BindInputFilter 0x79d365d358
this 0x79d365d4d8
[010:889] [2023-07-02 00:16:09 +0000.466783][3d91] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103651419.mp4
[010:889] [2023-07-02 00:16:09 +0000.467075][3d91]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[010:889] [2023-07-02 00:16:09 +0000.467236][3d91] MediaComposeFile time:103657918
enter.

[010:889] [2023-07-02 00:16:09 +0000.467298][3d91] RecordingSessionInternalSimple:


Create session internal:720 X 1280 fps:30
[010:890] [2023-07-02 00:16:09 +0000.467445][3d91] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[010:890] [2023-07-02 00:16:09 +0000.467518][3d91] Recording session using default
bitrate support by app:31457280
[010:890] [2023-07-02 00:16:09 +0000.467697][458c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79c4c957c0
[010:890] [2023-07-02 00:16:09 +0000.467763][458c] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[010:890] [2023-07-02 00:16:09 +0000.467811][4581] NO get frame from decoder
[010:890] [2023-07-02 00:16:09 +0000.467980][3d91] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[010:890] [2023-07-02 00:16:09 +0000.468253][3d91] GetPipeline:
-----------------------------------------
[010:891] [2023-07-02 00:16:09 +0000.468414][3d91] GetPipeline: source:
0x79f6d3e500
[010:891] [2023-07-02 00:16:09 +0000.468453][3d91] GetPipeline: filter: NULLFilter
[010:891] [2023-07-02 00:16:09 +0000.468547][3d91] GetPipeline: filter: NULLFilter
[010:891] [2023-07-02 00:16:09 +0000.468576][3d91] GetPipeline: filter: NULLFilter
[010:891] [2023-07-02 00:16:09 +0000.468601][3d91] GetPipeline: audio filter:
AuidoNULLFilter
[010:891] [2023-07-02 00:16:09 +0000.468667][3d91] GetPipeline: audio filter:
AuidoNULLFilter
[010:891] [2023-07-02 00:16:09 +0000.468707][3d91] GetPipeline: audio filter:
AudioNUllFilter
[010:891] [2023-07-02 00:16:09 +0000.468745][3d91] GetPipeline:
------------------------------------------
[010:891] [2023-07-02 00:16:09 +0000.468776][3d91] filter: filter pipeline2 update
pattern: 2
[010:891] [2023-07-02 00:16:09 +0000.469074][3d91] MediaComposeFile leave. expire
time = 2 ms

[010:892] [2023-07-02 00:16:09 +0000.469528][4581] NO get frame from decoder


[010:892] [2023-07-02 00:16:09 +0000.469698][3d91] machine model :poco
[010:892] [2023-07-02 00:16:09 +0000.469733][3d91] Support this machine model :poco
[010:892] [2023-07-02 00:16:09 +0000.469764][3d91] global inited! current sdk
version: 07-20-936c45f
[010:894] [2023-07-02 00:16:09 +0000.471721][4581] NO get frame from decoder
[010:896] [2023-07-02 00:16:09 +0000.473878][4581] NO get frame from decoder
[010:898] [2023-07-02 00:16:09 +0000.475918][4581] NO get frame from decoder
[010:902] [2023-07-02 00:16:09 +0000.479849][4581] NO get frame from decoder
[010:904] [2023-07-02 00:16:09 +0000.481871][4581] NO get frame from decoder
[010:919] [2023-07-02 00:16:09 +0000.497048][3d91]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[010:919] [2023-07-02 00:16:09 +0000.497142][3d91] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 286
[010:919] [2023-07-02 00:16:09 +0000.497235][3d91]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[010:919] [2023-07-02 00:16:09 +0000.497273][3d91] BeginCompose: BeginCompose, is
composing 0
[010:920] [2023-07-02 00:16:09 +0000.497445][458c] start recording, file path:
[010:920] [2023-07-02 00:16:09 +0000.498121][458c] MP4 session params: fps:30
width:1280 height:720 file name: fileFd: 286 audio_timescale:44100
video_timescale:90000
[010:920] [2023-07-02 00:16:09 +0000.498167][458c] 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
[010:920] [2023-07-02 00:16:09 +0000.498195][458c] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file name:
fileFD: 286
[010:920] [2023-07-02 00:16:09 +0000.498267][458c] fd_open successed
handle:0xb400007b621420b0
[010:921] [2023-07-02 00:16:09 +0000.498448][458c] create mp4 file:349
m_fileHandle: 0x79d3aeee00
[010:921] [2023-07-02 00:16:09 +0000.498476][458c] MP4 file: is opened successfully
[010:921] [2023-07-02 00:16:09 +0000.498499][458c] setupMediaProcessers:
[010:921] [2023-07-02 00:16:09 +0000.498520][458c]
RecordingSessionInternalSimple:setup media processers.
[010:921] [2023-07-02 00:16:09 +0000.498545][458c] construct AAC encoder
[010:921] [2023-07-02 00:16:09 +0000.498547][4591] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79f6dce298
[010:921] [2023-07-02 00:16:09 +0000.498831][458c] H264Encoder creating:
ultrafast012323
[010:921] [2023-07-02 00:16:09 +0000.498869][458c] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[010:921] [2023-07-02 00:16:09 +0000.499293][458c] H264Encode::GetMachineModel is
M2102J20SG
[010:922] [2023-07-02 00:16:09 +0000.499327][458c] H264Encoder machine_mode
is:M2102J20SG
[010:922] [2023-07-02 00:16:09 +0000.499349][458c] H264Encode::machine size :9
machine_mode:M2102J20SG
[010:922] [2023-07-02 00:16:09 +0000.499369][458c] H264Encode::machine array
size :22 machine_mode:M2102J20SG
[010:922] [2023-07-02 00:16:09 +0000.499388][458c] H264Encode::current machine
is :M2102J20SG auto check hw codec decide to use hw codec
[010:922] [2023-07-02 00:16:09 +0000.499404][458c] setupCompressionSession:
[010:922] [2023-07-02 00:16:09 +0000.499425][458c] H264Encode::creating hareware
Encoder
[010:922] [2023-07-02 00:16:09 +0000.499446][458c] AndroidHwAvcEncoder
time:103657951 enter.

[010:922] [2023-07-02 00:16:09 +0000.499581][458c] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b62071540 address:0x79b6523760
[010:922] [2023-07-02 00:16:09 +0000.499696][458c] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[010:922] [2023-07-02 00:16:09 +0000.499734][458c] The video avc hw codec address
is 0x7a9f8af950
[010:922] [2023-07-02 00:16:09 +0000.499803][458c] AndroidHwAvcEncoder leave.
expire time = 0 ms

[010:922] [2023-07-02 00:16:09 +0000.499847][458c] RegisterEncodeCompleteCallback


time:103657951 enter.
[010:922] [2023-07-02 00:16:09 +0000.499929][458c] RegisterEncodeCompleteCallback
leave. expire time = 0 ms

[010:922] [2023-07-02 00:16:09 +0000.499976][458c] InitEncode time:103657951


enter.

[010:922] [2023-07-02 00:16:09 +0000.500045][458c] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[010:922] [2023-07-02 00:16:09 +0000.500091][458c] Create time:103657951 enter.

[010:922] [2023-07-02 00:16:09 +0000.500127][458c] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[010:922] [2023-07-02 00:16:09 +0000.500167][458c]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79d365df80
[010:922] [2023-07-02 00:16:09 +0000.500289][458c] supported_type:video/avc
[010:923] [2023-07-02 00:16:09 +0000.500331][458c] name:OMX.qcom.video.encoder.avc
mime:video/avc
[010:923] [2023-07-02 00:16:09 +0000.500382][458c] hwCodecPrefix :OMX.qcom.
[010:923] [2023-07-02 00:16:09 +0000.500422][458c] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[010:923] [2023-07-02 00:16:09 +0000.500470][458c] mediacodec_createCodecByName
time:103657952 enter.

[010:923] [2023-07-02 00:16:09 +0000.500504][458c] WrapAndroidMediaCodec


time:103657952 enter.

[010:923] [2023-07-02 00:16:09 +0000.500610][458c] WrapAndroidMediaCodec leave.


expire time = 0 ms

[010:950] [2023-07-02 00:16:09 +0000.528012][458c] mediacodec_createCodecByName


leave. expire time = 27 ms

[010:950] [2023-07-02 00:16:09 +0000.528136][458c] WrapAndroidMediaFromat


time:103657979 enter.

[010:950] [2023-07-02 00:16:09 +0000.528191][458c] WrapAndroidMediaFromat leave.


expire time = 0 ms

[010:976] [2023-07-02 00:16:09 +0000.553832][458c] Destroy time:103658005 enter.

[010:976] [2023-07-02 00:16:09 +0000.553956][458c] WrapAndroidMediaFromat::


Destroy
[010:976] [2023-07-02 00:16:09 +0000.554051][458c] Destroy leave. expire time = 0
ms

[010:976] [2023-07-02 00:16:09 +0000.554073][458c] ~WrapAndroidMediaFromat


time:103658005 enter.

[010:976] [2023-07-02 00:16:09 +0000.554091][458c] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[010:976] [2023-07-02 00:16:09 +0000.554107][458c] Create leave. expire time = 54


ms

[010:976] [2023-07-02 00:16:09 +0000.554122][458c] isSemiPlanarSupport


time:103658005 enter.

[010:976] [2023-07-02 00:16:09 +0000.554136][458c] H264Encoder isSemiPlanarSupport


[010:976] [2023-07-02 00:16:09 +0000.554151][458c] isSemiPlanarSupport leave.
expire time = 0 ms

[010:976] [2023-07-02 00:16:09 +0000.554166][458c] creat hw H264Encoder success,


isSemiPlanar:1
[010:976] [2023-07-02 00:16:09 +0000.554252][458c] InitEncode leave. expire time =
54 ms

[010:976] [2023-07-02 00:16:09 +0000.554273][458c] H264Encode::created Encoder


[010:976] [2023-07-02 00:16:09 +0000.554289][458c] H264Encode:: H264 encoder
created.
[010:977] [2023-07-02 00:16:09 +0000.554306][458c] H264 encoder created.
[010:977] [2023-07-02 00:16:09 +0000.554330][458c]
RecordingSessionInternalSimple:created avc encoder avc: 0x79cb642700
[010:977] [2023-07-02 00:16:09 +0000.554348][458c] setOutput:
[010:977] [2023-07-02 00:16:09 +0000.554364][458c]
RecordingSessionInternalSimple:encoder set output to muxer!
[010:977] [2023-07-02 00:16:09 +0000.554376][458c] request a key frame
[010:977] [2023-07-02 00:16:09 +0000.554389][458c] H264Encode:: request a key frame
[010:979] [2023-07-02 00:16:09 +0000.556708][458c] setDisplayRotate :90
[010:982] [2023-07-02 00:16:09 +0000.559808][458c] 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
[010:983] [2023-07-02 00:16:09 +0000.561013][458d] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[010:984] [2023-07-02 00:16:09 +0000.562064][458d]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[011:041] [2023-07-02 00:16:09 +0000.618497][458c] setDisplayRotate :90
[011:041] [2023-07-02 00:16:09 +0000.618581][458c] 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
[011:042] [2023-07-02 00:16:09 +0000.619679][4591] add aac audio track with id:1
[011:042] [2023-07-02 00:16:09 +0000.619766][4591] audio start ts:0
[011:042] [2023-07-02 00:16:09 +0000.619808][4591] the audio frame has been written
into MP4 file
[011:046] [2023-07-02 00:16:09 +0000.623680][458d] h264 add frame header cdr flag
[011:046] [2023-07-02 00:16:09 +0000.624045][458d] h264 add frame header cdr flag
[011:046] [2023-07-02 00:16:09 +0000.624233][458d] Received key frame:10
[011:046] [2023-07-02 00:16:09 +0000.624292][458d] H264Encode:: get a sps pps
header!headerSize:31
[011:047] [2023-07-02 00:16:09 +0000.624487][4591] get the H.264 SPS parameter
[011:047] [2023-07-02 00:16:09 +0000.624675][4591] add video track with id:2
[011:047] [2023-07-02 00:16:09 +0000.625018][4591] get the H.264 PPS parameter
[011:047] [2023-07-02 00:16:09 +0000.625154][4591] get the H.264 IDR frame
[011:047] [2023-07-02 00:16:09 +0000.625192][4591] resss:true
[011:047] [2023-07-02 00:16:09 +0000.625208][4591] video start ts:10
[011:047] [2023-07-02 00:16:09 +0000.625295][4591] the video frame has been written
into MP4 file
[011:049] [2023-07-02 00:16:09 +0000.627015][458c] setDisplayRotate :90
[011:049] [2023-07-02 00:16:09 +0000.627160][458c] 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
[011:080] [2023-07-02 00:16:09 +0000.657808][458f] Error(video_source.cc:430): wait
decoder a frame: 0
[011:108] [2023-07-02 00:16:09 +0000.686013][458d] DTS queue for
Generator:0x79cb7180b8 673 711 737 774 812 848 879
[011:111] [2023-07-02 00:16:09 +0000.689050][458d] Push an pts:986 to dts queue.
[011:117] [2023-07-02 00:16:09 +0000.695211][4581] av_read_frame AVERROR_EOF
[011:139] [2023-07-02 00:16:09 +0000.717247][458f] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1960 diff: 41
[011:142] [2023-07-02 00:16:09 +0000.719570][4581] OnReceiveEOF:
[011:142] [2023-07-02 00:16:09 +0000.719647][4581] OnDecoderEOF time:103658171
enter.

[011:142] [2023-07-02 00:16:09 +0000.719722][4581] OnDecoderEOF leave. expire time


= 0 ms

[011:142] [2023-07-02 00:16:09 +0000.719741][457f] CleanUp time:103658171 enter.

[011:142] [2023-07-02 00:16:09 +0000.719752][4581] OnDecoderFinished:


OnDecoderFinished total decoder frames:51 this:0x79f6d3e500
[011:145] [2023-07-02 00:16:09 +0000.722601][4590] PullAudioFrame: PullFrame audio
finished.
[011:145] [2023-07-02 00:16:09 +0000.722681][4590]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[011:145] [2023-07-02 00:16:09 +0000.723067][457f] CleanUp leave. expire time = 3
ms

[011:145] [2023-07-02 00:16:09 +0000.723256][4590] OnAudioTimer: OnAudioTimer


return
[011:145] [2023-07-02 00:16:09 +0000.723266][457f] clean up
[011:147] [2023-07-02 00:16:09 +0000.724696][457f] running_decoder_count:0max
count:2
[011:154] [2023-07-02 00:16:09 +0000.731644][458d] last dts:947 currentPts:986
ppsOrSPS:0 queue length:10
[011:159] [2023-07-02 00:16:09 +0000.736921][458f]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[011:159] [2023-07-02 00:16:09 +0000.736991][458f] OnVideoTimer: OnVideoTimer
EndComposeFile
[011:159] [2023-07-02 00:16:09 +0000.737009][458f] EndComposeFile: EndComposeFile,
is composing 1
[011:194] [2023-07-02 00:16:09 +0000.772148][458d] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:1692
[011:194] [2023-07-02 00:16:09 +0000.772262][458d] push video frame to H264
encoder. (100 frame for one log)

[011:195] [2023-07-02 00:16:09 +0000.772316][458d] push video frame to H264


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

[011:195] [2023-07-02 00:16:09 +0000.772387][458d] H264Encode::push video frame to


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

[011:195] [2023-07-02 00:16:09 +0000.772439][458d] The input pts:1692 fps:30


[011:206] [2023-07-02 00:16:09 +0000.783318][458d]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:51
[011:206] [2023-07-02 00:16:09 +0000.783464][458d]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x79c526c800
[011:207] [2023-07-02 00:16:09 +0000.784764][458e]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[011:207] [2023-07-02 00:16:09 +0000.784848][458e]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[011:207] [2023-07-02 00:16:09 +0000.785147][458c] stop recording
[011:207] [2023-07-02 00:16:09 +0000.785215][458c]
RecordingSessionInternalSimple:destroy media processers
[011:207] [2023-07-02 00:16:09 +0000.785266][458c] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[011:208] [2023-07-02 00:16:09 +0000.785305][458c] H264Encode::flushing hareware
Encoder
[011:208] [2023-07-02 00:16:09 +0000.785461][458c] Flush time:103658237 enter.

[011:208] [2023-07-02 00:16:09 +0000.785528][458c] H264Encoder encoder flush


[011:208] [2023-07-02 00:16:09 +0000.785572][458c] flush output queue
[011:220] [2023-07-02 00:16:09 +0000.797373][458c] DTS queue for
Generator:0x79cb7180b8 1561 1583 1621 1656 1692
[011:221] [2023-07-02 00:16:09 +0000.798625][458c] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1561 pts:1561
[011:234] [2023-07-02 00:16:09 +0000.811523][458c] SendFrame
encodedImage._timeStamp:1656encodedImage->_length:15344
[011:235] [2023-07-02 00:16:09 +0000.812668][458c] H264Encode::H264SWEncoder get
callback, length:11312 type:1 nalType:1length:11308
[011:534] [2023-07-02 00:16:10 +0000.112126][458c] Flush leave. expire time = 326
ms

[011:535] [2023-07-02 00:16:10 +0000.112513][458c] ~H264EncodeWrap:


[011:535] [2023-07-02 00:16:10 +0000.112602][458c] ~H264Encode:
[011:535] [2023-07-02 00:16:10 +0000.112646][458c] teardownCompressionSession:
H264Encode::destroying Encoder
[011:535] [2023-07-02 00:16:10 +0000.112702][458c] Release time:103658564 enter.

[011:536] [2023-07-02 00:16:10 +0000.113313][458c] Release:


MediaCodecVideoEncoder::Release _inited:1
[011:536] [2023-07-02 00:16:10 +0000.113391][458c] Destroy time:103658565 enter.

[011:536] [2023-07-02 00:16:10 +0000.113434][458c] H264Encoder encoderDestroy


[011:536] [2023-07-02 00:16:10 +0000.113477][458c]
AndroidMediaCodecVideoEncoder::release env: 0x79cb642840
[011:536] [2023-07-02 00:16:10 +0000.113575][458c]
AndroidMediaCodecVideoEncoder::Destroy
[011:561] [2023-07-02 00:16:10 +0000.139020][458c] Destroy leave. expire time = 25
ms

[011:562] [2023-07-02 00:16:10 +0000.139370][458c] Release leave. expire time = 27


ms

[011:562] [2023-07-02 00:16:10 +0000.139447][458c] ~AndroidHwAvcEncoder


time:103658591 enter.

[011:562] [2023-07-02 00:16:10 +0000.139639][458c] Release time:103658591 enter.

[011:562] [2023-07-02 00:16:10 +0000.139712][458c] Release:


MediaCodecVideoEncoder:: has been released before, just return
[011:562] [2023-07-02 00:16:10 +0000.139749][458c] Release leave. expire time = 0
ms

[011:562] [2023-07-02 00:16:10 +0000.139783][458c] ~AndroidMediaCodecVideoEncoder


[011:562] [2023-07-02 00:16:10 +0000.139815][458c] ~WrapAndroidMediaCodec
time:103658591 enter.

[011:562] [2023-07-02 00:16:10 +0000.139849][458c] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[011:562] [2023-07-02 00:16:10 +0000.139883][458c] video hevc hw codec


destructor:0x7a9f8af950

[011:562] [2023-07-02 00:16:10 +0000.139963][458c] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[011:562] [2023-07-02 00:16:10 +0000.140033][458c] teardownCompressionSession:


H264Encode::destroyed Encoder
[011:562] [2023-07-02 00:16:10 +0000.140077][458c]
RecordingSessionInternalSimple:destroy aac encoder output!
[011:562] [2023-07-02 00:16:10 +0000.140109][458c] AACSWEncode destructor
[011:568] [2023-07-02 00:16:10 +0000.145371][4591] fd_close successed!
[011:568] [2023-07-02 00:16:10 +0000.145965][4591] MP4 close file successfully
[011:568] [2023-07-02 00:16:10 +0000.146031][4591] Recording session Internal:
notify recording ok
[011:568] [2023-07-02 00:16:10 +0000.146072][4591] onRecordingOk: Recording Ok,
compose use time: 649, averagefps 0
[011:568] [2023-07-02 00:16:10 +0000.146116][4591] OnReceiveEOF:
[011:572] [2023-07-02 00:16:10 +0000.149562][458f] OnVideoTimer: OnVideoTimer
return
[011:587] [2023-07-02 00:16:10 +0000.164953][3d91]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[011:587] [2023-07-02 00:16:10 +0000.165058][3d91] ~MediaComposeFile time:103658616
enter.

[011:587] [2023-07-02 00:16:10 +0000.165095][3d91] CancelCompose: CancelCompose,


is composing 0
[011:587] [2023-07-02 00:16:10 +0000.165207][458c] stop recording
[011:587] [2023-07-02 00:16:10 +0000.165247][458c] we have stopped recording before
[011:588] [2023-07-02 00:16:10 +0000.166058][3d91] ~MediaComposeFile leave. expire
time = 1 ms

[011:588] [2023-07-02 00:16:10 +0000.166218][3d91] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[011:589] [2023-07-02 00:16:10 +0000.166604][3d91] global uninited!
[011:589] [2023-07-02 00:16:10 +0000.166731][3d91]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[011:589] [2023-07-02 00:16:10 +0000.166816][3d91] ~MediaFilterGraph:
MediaFilterGraph destruct
[011:589] [2023-07-02 00:16:10 +0000.166861][3d91] RemoveVideoBackGroud: hava not
add video backgroud
[011:589] [2023-07-02 00:16:10 +0000.166894][3d91] UnbindInputFilter 0x79d365d418
this 0x79cb66df20
[011:589] [2023-07-02 00:16:10 +0000.166931][3d91] ClearAllSource: remove source
filter, sourceid: 0x79f6d3e500
[011:589] [2023-07-02 00:16:10 +0000.166956][3d91] DestoryDecoderByVideoSource
time:103658618 enter.

[011:589] [2023-07-02 00:16:10 +0000.166987][3d91] ~VideoBindDecoder time:103658618


enter.

[011:589] [2023-07-02 00:16:10 +0000.167201][3d91] CleanUp time:103658618 enter.

[011:590] [2023-07-02 00:16:10 +0000.167565][3d91] CleanUp leave. expire time = 1


ms

[011:590] [2023-07-02 00:16:10 +0000.167608][3d91] CleanUp time:103658619 enter.

[011:590] [2023-07-02 00:16:10 +0000.167997][3d91] CleanUp leave. expire time = 0


ms

[011:592] [2023-07-02 00:16:10 +0000.169667][3d91] ~VideoBindDecoder leave. expire


time = 3 ms
[011:592] [2023-07-02 00:16:10 +0000.169747][3d91] DestoryDecoderByVideoSource
leave. expire time = 3 ms

[011:592] [2023-07-02 00:16:10 +0000.169779][3d91] UnbindInputFilter 0x79d365d1d8


this 0x79d365d418
[011:592] [2023-07-02 00:16:10 +0000.169824][3d91] UnbindInputFilter 0x79d365d118
this 0x79d365d1d8
[011:592] [2023-07-02 00:16:10 +0000.169853][3d91] UnbindInputFilter 0x79f6d3e720
this 0x79d365d118
[011:592] [2023-07-02 00:16:10 +0000.169875][3d91] UnbindInputFilter 0x79d365d358
this 0x79d365d4d8
[011:592] [2023-07-02 00:16:10 +0000.169899][3d91] UnbindInputFilter 0x79d365d298
this 0x79d365d358
[011:592] [2023-07-02 00:16:10 +0000.169922][3d91] UnbindInputFilter 0x79f6d3e720
this 0x79d365d298
[011:592] [2023-07-02 00:16:10 +0000.169954][3d91] ~GLESContext:
[011:595] [2023-07-02 00:16:10 +0000.173099][3d91] GLESContext destruct finish.
[011:595] [2023-07-02 00:16:10 +0000.173156][3d91] filter: filter pipeline destroy
this: 0x79cb66de80
[012:157] [2023-07-02 00:16:10 +0000.735192][450b] Run AGC when audioType = 0
[012:158] [2023-07-02 00:16:10 +0000.735331][450b]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:339] [2023-07-02 00:16:10 +0000.916773][450b] haveEnoughProcessedData
internalAudioStream.length: 0
[014:077] [2023-07-02 00:16:12 +0000.654970][450b] haveEnoughProcessedData
internalAudioStream.length: 0
[014:158] [2023-07-02 00:16:12 +0000.735326][450b] Run AGC when audioType = 0
[014:984] [2023-07-02 00:16:13 +0000.562035][3db3]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[014:984] [2023-07-02 00:16:13 +0000.562156][3db3] ~MediaFilterCamera
time:103662013 enter.

[014:984] [2023-07-02 00:16:13 +0000.562192][3db3] StopPullFrameAndWriteMp4


time:103662013 enter.

[014:986] [2023-07-02 00:16:13 +0000.563852][4506] stop recording


[014:986] [2023-07-02 00:16:13 +0000.563939][4506] we have stopped recording before
[014:986] [2023-07-02 00:16:13 +0000.564026][3db3] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[014:987] [2023-07-02 00:16:13 +0000.564871][3db3] DestroyPipelineAndFilters


time:103662016 enter.

[014:987] [2023-07-02 00:16:13 +0000.564944][3db3] DestroyPipelineAndFilters


leave. expire time = 0 ms

[014:987] [2023-07-02 00:16:13 +0000.565001][3db3] AppDeviceManagerStopMic

[014:987] [2023-07-02 00:16:13 +0000.565082][3db3] AppDeviceManagerStopMic::mic


status is on
[014:987] [2023-07-02 00:16:13 +0000.565121][3db3] Try to stop webrtc device.

[014:987] [2023-07-02 00:16:13 +0000.565162][3db3] Set record state to


stopped.threadID:15795

[015:030] [2023-07-02 00:16:13 +0000.607555][3db3] Try to destory the


recorder.threadID:15795
[015:230] [2023-07-02 00:16:13 +0000.807697][3db3] DestroyAudioRecorder:
[015:230] [2023-07-02 00:16:13 +0000.807806][3db3] Cleanup the buffer queue in the
recorder.
[015:230] [2023-07-02 00:16:13 +0000.807833][3db3] Destroy the recorder.

[015:231] [2023-07-02 00:16:13 +0000.808621][3db3] StopRecording finished.

[015:231] [2023-07-02 00:16:13 +0000.808681][3db3] The stop recording success.

[015:231] [2023-07-02 00:16:13 +0000.808695][3db3]


AudioDeviceDataHandler::StopMicProcess

[015:234] [2023-07-02 00:16:13 +0000.811537][3db3] AppDeviceManager stop.

[015:234] [2023-07-02 00:16:13 +0000.811619][3db3] Rlease the webrtc device object.

[015:234] [2023-07-02 00:16:13 +0000.811836][3db3] OpenSlesInput destruct.

[015:234] [2023-07-02 00:16:13 +0000.811884][3db3] OpenSlesOutput destruct.

[015:235] [2023-07-02 00:16:13 +0000.812306][3db3] EventDispatchServerScope


destruct
[015:235] [2023-07-02 00:16:13 +0000.812344][3db3]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[015:235] [2023-07-02 00:16:13 +0000.812390][3db3] ~AudioDeviceDataHandler

[015:235] [2023-07-02 00:16:13 +0000.812874][3db3] AppDeviceManagerDestruct.

[015:235] [2023-07-02 00:16:13 +0000.812901][3db3] ~[000:015] [2023-07-02 00:16:47


+0000.55945][3db3] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-07-
02 00:16:47 +0000
[000:015] [2023-07-02 00:16:47 +0000.56008][3db3] dump file m_prefix:-07-27-feaf968

[000:017] [2023-07-02 00:16:47 +0000.57586][3db3] dump filename:trace.txt dump


time:1688256958

[000:017] [2023-07-02 00:16:47 +0000.57632][3db3] dump


filename:support_resolution.txt dump time:1688256973

[000:017] [2023-07-02 00:16:47 +0000.57739][3db3] set AppID=123 old AppID=-1


[000:017] [2023-07-02 00:16:47 +0000.57758][3db3] Init the android object with
jvm:0xb400007b62071540 env:0x7b621729c0 context:0x7a3b150488

[000:017] [2023-07-02 00:16:47 +0000.57776][3db3] SetAndroidMediaCodecObjects


time:103695509 enter.

[000:017] [2023-07-02 00:16:47 +0000.57798][3db3] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:017] [2023-07-02 00:16:47 +0000.57829][3db3] SetAndroidMediaCodecObjects


time:103695509 enter.

[000:017] [2023-07-02 00:16:47 +0000.57841][3db3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b62071540
[000:017] [2023-07-02 00:16:47 +0000.57862][3db3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b62071540 address:0x799571e050
[000:017] [2023-07-02 00:16:47 +0000.57875][3db3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b62071540
address:0x799571e050
[000:017] [2023-07-02 00:16:47 +0000.57895][3db3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:017] [2023-07-02 00:16:47 +0000.57918][3db3] Set the android objects with


jvm:0xb400007b62071540 env:0x7b621729c0 context:0x7a3b150488

[000:017] [2023-07-02 00:16:47 +0000.57946][3db3] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b621729c0
[000:017] [2023-07-02 00:16:47 +0000.57972][3db3] SystemUtil Init done
[000:040] [2023-07-02 00:16:47 +0000.81289][3db3]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:041] [2023-07-02 00:16:47 +0000.81977][3db3]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:042] [2023-07-02 00:16:47 +0000.82397][3db3] machine model :poco
[000:042] [2023-07-02 00:16:47 +0000.82419][3db3] Support this machine model :poco
[000:042] [2023-07-02 00:16:47 +0000.82486][3db3] MediaFilterCamera
[000:042] [2023-07-02 00:16:47 +0000.82516][3db3] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:042] [2023-07-02 00:16:47 +0000.82598][3db3] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:042] [2023-07-02 00:16:47 +0000.82620][3db3] Recording session using default
bitrate support by app:31457280
[000:042] [2023-07-02 00:16:47 +0000.82634][4672] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a9f9dee40
[000:042] [2023-07-02 00:16:47 +0000.82827][4672] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:042] [2023-07-02 00:16:47 +0000.82948][3db3] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:043] [2023-07-02 00:16:47 +0000.83814][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:043] [2023-07-02 00:16:47 +0000.84048][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:043] [2023-07-02 00:16:47 +0000.84102][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:043] [2023-07-02 00:16:47 +0000.84247][3db3] DeviceInit:
[000:044] [2023-07-02 00:16:47 +0000.84406][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2023-07-02 00:16:47 +0000.84745][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:044] [2023-07-02 00:16:47 +0000.84961][3db3] CreatePlatformSpecificObjects:
[000:044] [2023-07-02 00:16:47 +0000.84997][3db3] audio device use null audio
input and opensl output
[000:044] [2023-07-02 00:16:47 +0000.85024][3db3] Create OpenSLES output module
with java VM support.

[000:044] [2023-07-02 00:16:47 +0000.85139][3db3] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2023-07-02 00:16:47 +0000.85241][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:045] [2023-07-02 00:16:47 +0000.85354][3db3] Create OpenSLES output module
with buffer num:2

[000:045] [2023-07-02 00:16:47 +0000.85423][3db3] Error(trace.cc:40): Init the


output and input for audio device template.
[000:045] [2023-07-02 00:16:47 +0000.85445][3db3] Init the output device.

[000:045] [2023-07-02 00:16:47 +0000.85456][3db3] Set the playout as stereo:1


[000:045] [2023-07-02 00:16:47 +0000.85480][3db3] Set the sample rate to be:44100

[000:045] [2023-07-02 00:16:47 +0000.85795][3db3] Low latency buffer size:144 low


sample rate:48000
[000:045] [2023-07-02 00:16:47 +0000.85822][3db3] DeviceInit: Done
[000:045] [2023-07-02 00:16:47 +0000.86053][3db3] global inited! current sdk
version: 07-27-feaf968
[000:392] [2023-07-02 00:16:47 +0000.432471][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:392] [2023-07-02 00:16:47 +0000.432576][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
9, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices len:
32, texture_vertices len: 32
[000:393] [2023-07-02 00:16:47 +0000.433443][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:393] [2023-07-02 00:16:47 +0000.433590][4673] MediaFilterCamera, recording
file context:0x7aad124080 input texture:9
[000:393] [2023-07-02 00:16:47 +0000.433650][4673] GLESContext:
[000:393] [2023-07-02 00:16:47 +0000.433697][4673] The result of eglGetDisplay is:
0xb400007b6216eb40
[000:394] [2023-07-02 00:16:47 +0000.434483][4673] The result of creation:
0x79d3ae7680
[000:394] [2023-07-02 00:16:47 +0000.434569][4673] The result of
eglCreatePbufferSurface is: 0x79d3ae7780
[000:394] [2023-07-02 00:16:47 +0000.434674][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7aad124080 input_texture: 9
[007:822] [2023-07-02 00:16:54 +0000.863266][3d91] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[007:823] [2023-07-02 00:16:54 +0000.863490][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[007:824] [2023-07-02 00:16:54 +0000.865094][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[007:825] [2023-07-02 00:16:54 +0000.865532][4673] MediaFilterCamera, recording
file context:0x7aad124080 input texture:9
[007:825] [2023-07-02 00:16:54 +0000.865667][4673] construct OpenGLRenderProgram
0x7a34806098
[007:825] [2023-07-02 00:16:54 +0000.865757][4673] CropFilter::SetOrientation
orientation: 90
[007:825] [2023-07-02 00:16:54 +0000.865826][4673] filter: filter pipeline
construtc this: 0x79cb7d4200
[007:825] [2023-07-02 00:16:54 +0000.865868][4673] filter: filter pipeline2 update
pattern: 1
[007:825] [2023-07-02 00:16:54 +0000.865983][4673] CameraSource::source_id_:1
[007:826] [2023-07-02 00:16:54 +0000.866426][4673] SetPlayLoop: AudioSource
SetPlayLoop 0
[007:826] [2023-07-02 00:16:54 +0000.866874][4673]
Warning(media_filter_camera.cc:483): seekPos:0
[007:826] [2023-07-02 00:16:54 +0000.867035][4673] BindInputFilter 0x7a34934d40
this 0x7a34806380
[007:826] [2023-07-02 00:16:54 +0000.867170][4673] BindInputFilter 0x7a34806380
this 0x79cb7d4298
[007:826] [2023-07-02 00:16:54 +0000.867270][4673] SetParamForFilter time:103703318
enter.

[007:827] [2023-07-02 00:16:54 +0000.867336][4673] SetParamForFilter: Params video


index is: 0
[007:827] [2023-07-02 00:16:54 +0000.867369][4673] SetParamForFilter: Params seek
pos is: 0
[007:827] [2023-07-02 00:16:54 +0000.867435][4673] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.velocity/
movie_mode: 0
[007:827] [2023-07-02 00:16:54 +0000.867495][4673] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.velocity//config.json
[007:827] [2023-07-02 00:16:54 +0000.867989][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:827] [2023-07-02 00:16:54 +0000.868062][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:827] [2023-07-02 00:16:54 +0000.868121][4673]
exp_des.start:0exp_des.end:3630exp_des.expressionstr:0.5 + 0.1*x /3630
[007:827] [2023-07-02 00:16:54 +0000.868178][4673]
exp_des.start:0exp_des.end:3630exp_des.expressionstr:0.5 + 0.1*x /3630
[007:827] [2023-07-02 00:16:54 +0000.868227][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:827] [2023-07-02 00:16:54 +0000.868275][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:827] [2023-07-02 00:16:54 +0000.868298][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:828] [2023-07-02 00:16:54 +0000.868492][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:828] [2023-07-02 00:16:54 +0000.868525][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:828] [2023-07-02 00:16:54 +0000.868548][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:828] [2023-07-02 00:16:54 +0000.868573][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:828] [2023-07-02 00:16:54 +0000.868594][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:828] [2023-07-02 00:16:54 +0000.868614][4673]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:828] [2023-07-02 00:16:54 +0000.868632][4673]
Warning(parse_template_json.cc:95): json parament no found the parament
[007:828] [2023-07-02 00:16:54 +0000.868681][4673]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[007:828] [2023-07-02 00:16:54 +0000.868729][4673] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.velocity//filter.png
[007:828] [2023-07-02 00:16:54 +0000.868775][4673]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[007:828] [2023-07-02 00:16:54 +0000.868826][4673]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[007:830] [2023-07-02 00:16:54 +0000.871012][4673] SetParamForFilter leave. expire
time = 4 ms

[007:831] [2023-07-02 00:16:54 +0000.871340][4673] OnOutputSizeChanged width 1920


height 1080
[007:831] [2023-07-02 00:16:54 +0000.871441][4673] OpenGLFrameBuffer: width:1920
height:1080
[007:831] [2023-07-02 00:16:54 +0000.871496][4673] OpenGLFrameBuffer: width:1920
height:1080
[007:831] [2023-07-02 00:16:54 +0000.871544][4673] OpenGLFrameBuffer: width:1920
height:1080
[007:831] [2023-07-02 00:16:54 +0000.871598][4673] OpenGLFrameBuffer: width:1920
height:1080
[007:831] [2023-07-02 00:16:54 +0000.871653][4673] OpenGLFrameBuffer: width:1920
height:1080
[007:831] [2023-07-02 00:16:54 +0000.871675][4673] OpenGLFrameBuffer: width:1920
height:1080
[007:831] [2023-07-02 00:16:54 +0000.871715][4673] construct TrivalImageDrawer
0x79f7084100
[007:831] [2023-07-02 00:16:54 +0000.871767][4673] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x79f7084100 context 0x7a9fa67280
[007:831] [2023-07-02 00:16:54 +0000.871843][4673] setupGLES:
[007:832] [2023-07-02 00:16:54 +0000.872354][4673] OpenGLRenderProgram::Initialize.
[007:832] [2023-07-02 00:16:54 +0000.872443][4673] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[007:832] [2023-07-02 00:16:54 +0000.872523][4673] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[007:832] [2023-07-02 00:16:54 +0000.872687][4673] Init open gl render:
0x7a34806098
[007:832] [2023-07-02 00:16:54 +0000.872759][4673] Fragement shader path:
[007:832] [2023-07-02 00:16:54 +0000.872847][4673] Fragement shader path:
[007:832] [2023-07-02 00:16:54 +0000.872897][4673] create opengl program object.
[007:832] [2023-07-02 00:16:54 +0000.872947][4673] create shader: vertex
[007:832] [2023-07-02 00:16:54 +0000.873215][4673] create shader: fragment
[007:898] [2023-07-02 00:16:54 +0000.939300][4673] External image path is empty!
[007:899] [2023-07-02 00:16:54 +0000.939366][4673] Error(crop_filter.cc:464): Init
the image texture failed.
[007:899] [2023-07-02 00:16:54 +0000.939382][4673] OpenGLRenderProgram::Initialize
success.
[007:899] [2023-07-02 00:16:54 +0000.939419][4673] Setup the OpenGL result:1
[007:899] [2023-07-02 00:16:54 +0000.939487][4674] Pull audio failed.(wait video!)
[007:899] [2023-07-02 00:16:54 +0000.939545][4674]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:899] [2023-07-02 00:16:54 +0000.940238][4672] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_16882570068
53/record_video_103703391.mp4
[007:900] [2023-07-02 00:16:54 +0000.940389][4672] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_16882570068
53/record_video_103703391.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[007:900] [2023-07-02 00:16:54 +0000.940416][468b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7aad00a498
[007:900] [2023-07-02 00:16:54 +0000.940446][4672] 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
[007:900] [2023-07-02 00:16:54 +0000.940557][4672] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_16882570068
53/record_video_103703391.mp4 fileFD: -1
[007:900] [2023-07-02 00:16:54 +0000.940858][4672] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_16882570068
53/record_video_103703391.mp4 is opened successfully
[007:900] [2023-07-02 00:16:54 +0000.940898][4672] setupMediaProcessers:
[007:900] [2023-07-02 00:16:54 +0000.940931][4672]
RecordingSessionInternalSimple:setup media processers.
[007:900] [2023-07-02 00:16:54 +0000.940976][4672] construct AAC encoder
[007:900] [2023-07-02 00:16:54 +0000.941271][4672] H264Encoder creating:
superfast011818
[007:901] [2023-07-02 00:16:54 +0000.941310][4672] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[007:901] [2023-07-02 00:16:54 +0000.941766][4672] H264Encode::GetMachineModel is
M2102J20SG
[007:901] [2023-07-02 00:16:54 +0000.941831][4672] H264Encoder machine_mode
is:M2102J20SG
[007:901] [2023-07-02 00:16:54 +0000.941850][4672] setupCompressionSession:
[007:901] [2023-07-02 00:16:54 +0000.941883][4672] H264Encode::creating hareware
Encoder
[007:901] [2023-07-02 00:16:54 +0000.941915][4672] AndroidHwAvcEncoder
time:103703393 enter.

[007:901] [2023-07-02 00:16:54 +0000.942051][4672] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b62071540 address:0x799571e050
[007:901] [2023-07-02 00:16:54 +0000.942141][4672] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[007:901] [2023-07-02 00:16:54 +0000.942179][4672] The video avc hw codec address
is 0x79ec7bd7d0
[007:901] [2023-07-02 00:16:54 +0000.942245][4672] AndroidHwAvcEncoder leave.
expire time = 0 ms

[007:902] [2023-07-02 00:16:54 +0000.942316][4672] RegisterEncodeCompleteCallback


time:103703394 enter.
[007:902] [2023-07-02 00:16:54 +0000.942382][4672] RegisterEncodeCompleteCallback
leave. expire time = 0 ms

[007:902] [2023-07-02 00:16:54 +0000.942426][4672] InitEncode time:103703394


enter.

[007:902] [2023-07-02 00:16:54 +0000.942490][4672] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[007:902] [2023-07-02 00:16:54 +0000.942520][4672] Create time:103703394 enter.

[007:902] [2023-07-02 00:16:54 +0000.942541][4672] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[007:902] [2023-07-02 00:16:54 +0000.942564][4672]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79ec712980
[007:902] [2023-07-02 00:16:54 +0000.942677][4672] supported_type:video/avc
[007:902] [2023-07-02 00:16:54 +0000.942714][4672] name:OMX.qcom.video.encoder.avc
mime:video/avc
[007:902] [2023-07-02 00:16:54 +0000.942756][4672] hwCodecPrefix :OMX.qcom.
[007:902] [2023-07-02 00:16:54 +0000.942792][4672] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[007:902] [2023-07-02 00:16:54 +0000.942829][4672] mediacodec_createCodecByName
time:103703394 enter.

[007:902] [2023-07-02 00:16:54 +0000.942865][4672] WrapAndroidMediaCodec


time:103703394 enter.

[007:902] [2023-07-02 00:16:54 +0000.942958][4672] WrapAndroidMediaCodec leave.


expire time = 0 ms

[007:917] [2023-07-02 00:16:54 +0000.957617][4672] mediacodec_createCodecByName


leave. expire time = 15 ms

[007:917] [2023-07-02 00:16:54 +0000.957848][4672] WrapAndroidMediaFromat


time:103703409 enter.

[007:917] [2023-07-02 00:16:54 +0000.957946][4672] WrapAndroidMediaFromat leave.


expire time = 0 ms

[007:971] [2023-07-02 00:16:55 +0000.11742][4674]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:980] [2023-07-02 00:16:55 +0000.20453][4672] Destroy time:103703472 enter.

[007:980] [2023-07-02 00:16:55 +0000.20674][4672] WrapAndroidMediaFromat::


Destroy
[007:980] [2023-07-02 00:16:55 +0000.20729][4672] Destroy leave. expire time = 0
ms

[007:980] [2023-07-02 00:16:55 +0000.20773][4672] ~WrapAndroidMediaFromat


time:103703472 enter.

[007:980] [2023-07-02 00:16:55 +0000.20981][4672] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[007:980] [2023-07-02 00:16:55 +0000.21045][4672] Create leave. expire time = 78


ms

[007:980] [2023-07-02 00:16:55 +0000.21092][4672] isSemiPlanarSupport


time:103703472 enter.

[007:980] [2023-07-02 00:16:55 +0000.21135][4672] H264Encoder isSemiPlanarSupport


[007:980] [2023-07-02 00:16:55 +0000.21182][4672] isSemiPlanarSupport leave.
expire time = 0 ms

[007:980] [2023-07-02 00:16:55 +0000.21223][4672] creat hw H264Encoder success,


isSemiPlanar:1
[007:981] [2023-07-02 00:16:55 +0000.21430][4672] InitEncode leave. expire time =
79 ms

[007:981] [2023-07-02 00:16:55 +0000.21482][4672] H264Encode::created Encoder


[007:981] [2023-07-02 00:16:55 +0000.21524][4672] H264Encode:: H264 encoder
created.
[007:981] [2023-07-02 00:16:55 +0000.21563][4672] H264 encoder created.
[007:981] [2023-07-02 00:16:55 +0000.21602][4672]
RecordingSessionInternalSimple:created avc encoder avc: 0x79c68244c0
[007:981] [2023-07-02 00:16:55 +0000.21649][4672] setOutput:
[007:981] [2023-07-02 00:16:55 +0000.21688][4672]
RecordingSessionInternalSimple:encoder set output to muxer!
[007:981] [2023-07-02 00:16:55 +0000.21727][4672] request a key frame
[007:981] [2023-07-02 00:16:55 +0000.21765][4672] H264Encode:: request a key frame
[007:982] [2023-07-02 00:16:55 +0000.22380][4673] Start:
[007:982] [2023-07-02 00:16:55 +0000.22691][4676] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[007:982] [2023-07-02 00:16:55 +0000.22782][4676] Reset: history total size: 98
[007:982] [2023-07-02 00:16:55 +0000.22814][4676] DeviceStart:
audioDevice_:0x79f6d74000
[007:982] [2023-07-02 00:16:55 +0000.22834][4676] DeviceStart: time profile playout
init before
[007:982] [2023-07-02 00:16:55 +0000.22859][4676] DeviceStart: time profile playout
init end
[007:982] [2023-07-02 00:16:55 +0000.22876][4676] OpenSlesOutput:Start playout

[007:985] [2023-07-02 00:16:55 +0000.25378][4676] The machine model:M2102J20SG

[007:985] [2023-07-02 00:16:55 +0000.25643][4676] Create the opensl output player.


streamtype before:0

[007:985] [2023-07-02 00:16:55 +0000.25725][4676] Create the opensl output player.


streamtype after:3

[008:007] [2023-07-02 00:16:55 +0000.47618][4676] Enqueue opensl buffer size:1764


[008:039] [2023-07-02 00:16:55 +0000.79489][4676] DeviceStart: time profile playout
all end
[008:039] [2023-07-02 00:16:55 +0000.79709][4676] operator(): Audio playback
started.
[008:039] [2023-07-02 00:16:55 +0000.80035][4691]
PlayerSimpleBufferQueueCallbackHandler function
[008:043] [2023-07-02 00:16:55 +0000.83483][4691] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[008:043] [2023-07-02 00:16:55 +0000.83558][4691]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[008:045] [2023-07-02 00:16:55 +0000.85425][4674]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[008:064] [2023-07-02 00:16:55 +0000.105237][430c] video render surface render a
frame
[008:065] [2023-07-02 00:16:55 +0000.105715][4673] begine recode to first frame
spend time:240
[008:065] [2023-07-02 00:16:55 +0000.105811][4673] CameraSource::PushExtraFrame
pkt_dts: 0, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a34934c00
[008:065] [2023-07-02 00:16:55 +0000.105837][4673] add frame because frame
interval.
[008:065] [2023-07-02 00:16:55 +0000.105858][4673] blur_distance_:0
[008:065] [2023-07-02 00:16:55 +0000.105874][4673] blur_direction_angle_:-90
[008:065] [2023-07-02 00:16:55 +0000.105896][4673] color_r_offset_:0
[008:065] [2023-07-02 00:16:55 +0000.105911][4673] color_g_offset:0
[008:065] [2023-07-02 00:16:55 +0000.105927][4673] play_speed_:1
[008:065] [2023-07-02 00:16:55 +0000.105944][4673] roll_value_:0
[008:065] [2023-07-02 00:16:55 +0000.105960][4673] need_extra_image_:0 need_image:
0
[008:065] [2023-07-02 00:16:55 +0000.105975][4673] ResetFramePtsadjust pts:
0current pts:10
[008:065] [2023-07-02 00:16:55 +0000.105991][4673]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[008:065] [2023-07-02 00:16:55 +0000.106044][4673]
GPUImageProcessing::SetOrientation orientation: 90
[008:065] [2023-07-02 00:16:55 +0000.106090][4673] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[008:065] [2023-07-02 00:16:55 +0000.106138][4673] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[008:065] [2023-07-02 00:16:55 +0000.106213][4673] GPUImageProcessing: input frame
width2160 X 3840
[008:070] [2023-07-02 00:16:55 +0000.110923][4673] drawYUV420 render
OpenGLRenderProgram:0x7a34806098
[008:071] [2023-07-02 00:16:55 +0000.111884][4673] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[008:071] [2023-07-02 00:16:55 +0000.112131][4673] CropFilter::OnVideoFrame
outputtexture :12
[008:071] [2023-07-02 00:16:55 +0000.112166][4673] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[008:074] [2023-07-02 00:16:55 +0000.114460][4673] The read pixel from buffer take:
3 width:1920 height:1080 frameType:0
[008:090] [2023-07-02 00:16:55 +0000.131062][4673] drawYUV420 render
OpenGLRenderProgram:0x7a34806098
[008:099] [2023-07-02 00:16:55 +0000.140006][4673] The convert RGB to YUV take 3
[008:099] [2023-07-02 00:16:55 +0000.140151][4673] FilterPipeline2::OnVideoFrame
pts 33 last_video_timestamp_ 33
[008:099] [2023-07-02 00:16:55 +0000.140197][4673]
MediaFilterCamera::OnOutputVideoFrame timestamp: 0
[008:101] [2023-07-02 00:16:55 +0000.142165][468a]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[008:101] [2023-07-02 00:16:55 +0000.142269][468a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[008:101] [2023-07-02 00:16:55 +0000.142294][468a] push video frame to H264
encoder. (100 frame for one log)

[008:102] [2023-07-02 00:16:55 +0000.142336][468a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[008:102] [2023-07-02 00:16:55 +0000.142372][468a] H264Encode::push video frame to


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

[008:102] [2023-07-02 00:16:55 +0000.142392][468a] Push an pts:0 to dts queue.


[008:102] [2023-07-02 00:16:55 +0000.142449][468a] DTS queue for
Generator:0x7aad1296b8 0
[008:102] [2023-07-02 00:16:55 +0000.142471][468a] The input pts:0 fps:30
[008:103] [2023-07-02 00:16:55 +0000.144229][468a]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[008:106] [2023-07-02 00:16:55 +0000.146499][4674] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.velocity//bgm.mp3
sync_mode: 1 seek_pos: 0 delay: 0 this:0x7a34806400
[008:107] [2023-07-02 00:16:55 +0000.147952][4686] FFMpeg=> [mp3 @ 0x79c65fec00]
Current FFmpeg version git-2021-06-16-97cea6f

[008:148] [2023-07-02 00:16:55 +0000.188655][4673] drawYUV420 render


OpenGLRenderProgram:0x7a34806098
[008:157] [2023-07-02 00:16:55 +0000.197968][4674] FilterPipeline2::OnAudioFrame
pts 0 last_audio_timestamp_ 0
[008:157] [2023-07-02 00:16:55 +0000.198199][4674]
MediaFilterCamera::OnOutputAudioFrame timestamp: 0.5 sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:27
[008:157] [2023-07-02 00:16:55 +0000.198288][4674] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[008:159] [2023-07-02 00:16:55 +0000.199461][4676] The audio playback speed:100
(1/100)
[008:159] [2023-07-02 00:16:55 +0000.199648][4676] lipsync_debug: The current
played audio timestamp is:0(1/50)
[008:159] [2023-07-02 00:16:55 +0000.199683][4676] First audio frame rendering
[008:173] [2023-07-02 00:16:55 +0000.214227][4689]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[008:175] [2023-07-02 00:16:55 +0000.215600][468b] add aac audio track with id:1
[008:184] [2023-07-02 00:16:55 +0000.224642][468b] audio start ts:0
[008:184] [2023-07-02 00:16:55 +0000.224736][468b] the audio frame has been written
into MP4 file
[008:215] [2023-07-02 00:16:55 +0000.255518][468a] h264 add frame header cdr flag
[008:216] [2023-07-02 00:16:55 +0000.256610][468a] h264 add frame header cdr flag
[008:216] [2023-07-02 00:16:55 +0000.256926][468a] SendFrame
encodedImage._timeStamp:0encodedImage->_length:164928
[008:216] [2023-07-02 00:16:55 +0000.256960][468a] Received key frame:0
[008:216] [2023-07-02 00:16:55 +0000.257003][468a] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[008:216] [2023-07-02 00:16:55 +0000.257039][468a] H264Encode::H264SWEncoder get
callback, length:164928 type:0 nalType:7length:19
[008:216] [2023-07-02 00:16:55 +0000.257066][468a] H264Encode:: get a sps pps
header!headerSize:32
[008:216] [2023-07-02 00:16:55 +0000.257093][468a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[008:216] [2023-07-02 00:16:55 +0000.257195][468b] get the H.264 SPS parameter
[008:217] [2023-07-02 00:16:55 +0000.257367][468b] add video track with id:2
[008:217] [2023-07-02 00:16:55 +0000.257927][468b] get the H.264 PPS parameter
[008:217] [2023-07-02 00:16:55 +0000.258144][468b] get the H.264 IDR frame
[008:217] [2023-07-02 00:16:55 +0000.258191][468b] resss:true
[008:217] [2023-07-02 00:16:55 +0000.258224][468b] video start ts:0
[008:217] [2023-07-02 00:16:55 +0000.258269][468b] the video frame has been written
into MP4 file
[008:558] [2023-07-02 00:16:55 +0000.599145][4673] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:606] [2023-07-02 00:16:55 +0000.647303][4673] The convert RGB to YUV take 10
[008:944] [2023-07-02 00:16:55 +0000.985179][468a] DTS queue for
Generator:0x7aad1296b8 800 833
[009:040] [2023-07-02 00:16:56 +0000.80330][4673] CameraSource::PushExtraFrame
pkt_dts: 982, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a34934c00
[009:049] [2023-07-02 00:16:56 +0000.89527][4691]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[009:077] [2023-07-02 00:16:56 +0000.118111][430c] video render surface render a
frame
[009:079] [2023-07-02 00:16:56 +0000.119329][4673] CropFilter::OnVideoFrame
outputtexture :12
[009:079] [2023-07-02 00:16:56 +0000.119437][4673] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:118] [2023-07-02 00:16:56 +0000.158915][4673] The convert RGB to YUV take 9
[009:457] [2023-07-02 00:16:56 +0000.497885][468a] Push an pts:1333 to dts queue.
[009:494] [2023-07-02 00:16:56 +0000.534326][468a] last dts:1300 currentPts:1333
ppsOrSPS:0 queue length:2
[009:584] [2023-07-02 00:16:56 +0000.624764][4673] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:636] [2023-07-02 00:16:56 +0000.676634][4673] The convert RGB to YUV take 8
[009:796] [2023-07-02 00:16:56 +0000.837045][468a] DTS queue for
Generator:0x7aad1296b8 1633 1667
[010:018] [2023-07-02 00:16:57 +0000.58562][4673] CameraSource::PushExtraFrame
pkt_dts: 1964, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a34934c00
[010:086] [2023-07-02 00:16:57 +0000.126841][4691]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[010:091] [2023-07-02 00:16:57 +0000.131840][430c] video render surface render a
frame
[010:092] [2023-07-02 00:16:57 +0000.132551][4673] CropFilter::OnVideoFrame
outputtexture :12
[010:092] [2023-07-02 00:16:57 +0000.132837][4673] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:134] [2023-07-02 00:16:57 +0000.174759][4673] The convert RGB to YUV take 7
[010:135] [2023-07-02 00:16:57 +0000.175698][4673] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 982 diff: 19
[010:209] [2023-07-02 00:16:57 +0000.249465][468a] h264 add frame header cdr flag
[010:209] [2023-07-02 00:16:57 +0000.249832][468a] Received key frame:2000
[010:224] [2023-07-02 00:16:57 +0000.264784][468b] get the H.264 IDR frame
[010:418] [2023-07-02 00:16:57 +0000.458438][4674] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[010:420] [2023-07-02 00:16:57 +0000.460542][4676] The audio playback speed:100
(1/100)
[010:420] [2023-07-02 00:16:57 +0000.460754][4676] lipsync_debug: The current
played audio timestamp is:2400(1/50)
[010:594] [2023-07-02 00:16:57 +0000.634958][4673] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:610] [2023-07-02 00:16:57 +0000.651016][468a] DTS queue for
Generator:0x7aad1296b8 2467
[010:639] [2023-07-02 00:16:57 +0000.679385][4673] The convert RGB to YUV take 8
[010:802] [2023-07-02 00:16:57 +0000.843281][468a] Push an pts:2667 to dts queue.
[010:845] [2023-07-02 00:16:57 +0000.886120][468a] last dts:2633 currentPts:2667
ppsOrSPS:0 queue length:2
[010:996] [2023-07-02 00:16:58 +0000.37244][4673] CameraSource::PushExtraFrame
pkt_dts: 2945, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a34934c00
[011:053] [2023-07-02 00:16:58 +0000.94178][4691]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[011:102] [2023-07-02 00:16:58 +0000.142411][430c] video render surface render a
frame
[011:105] [2023-07-02 00:16:58 +0000.146036][4673] CropFilter::OnVideoFrame
outputtexture :12
[011:105] [2023-07-02 00:16:58 +0000.146249][4673] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:153] [2023-07-02 00:16:58 +0000.193944][4673] The convert RGB to YUV take 7
[011:414] [2023-07-02 00:16:58 +0000.454340][4673] drawYUV420 render
OpenGLRenderProgram:0x7a34806098
[011:481] [2023-07-02 00:16:58 +0000.521368][4673] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[011:481] [2023-07-02 00:16:58 +0000.521609][4673] GPUImageProcessing: input frame
width2160 X 3840
[011:481] [2023-07-02 00:16:58 +0000.522184][4673] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[011:482] [2023-07-02 00:16:58 +0000.522314][4673] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[011:500] [2023-07-02 00:16:58 +0000.541118][468a] DTS queue for
Generator:0x7aad1296b8 3267 3300 3333
[011:504] [2023-07-02 00:16:58 +0000.544467][468a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3300 pts:3300
[011:514] [2023-07-02 00:16:58 +0000.554780][468a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3367
[011:514] [2023-07-02 00:16:58 +0000.554878][468a] push video frame to H264
encoder. (100 frame for one log)

[011:514] [2023-07-02 00:16:58 +0000.554903][468a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[011:514] [2023-07-02 00:16:58 +0000.554923][468a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3367(100 frame for one
log)

[011:514] [2023-07-02 00:16:58 +0000.554948][468a] The input pts:3367 fps:30


[011:557] [2023-07-02 00:16:58 +0000.597692][468a] SendFrame
encodedImage._timeStamp:3333encodedImage->_length:49536
[011:561] [2023-07-02 00:16:58 +0000.601470][468a] H264Encode::H264SWEncoder get
callback, length:24800 type:1 nalType:1length:24796
[011:612] [2023-07-02 00:16:58 +0000.652768][4673] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:654] [2023-07-02 00:16:58 +0000.695177][4673] The convert RGB to YUV take 10
[011:711] [2023-07-02 00:16:58 +0000.751517][4673] Current timestamp:3657 is
greater than duration_time: 3630
[011:818] [2023-07-02 00:16:58 +0000.858875][4676] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[011:818] [2023-07-02 00:16:58 +0000.859074][4673] OnNeedStopRecording:
[011:823] [2023-07-02 00:16:58 +0000.863755][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[011:823] [2023-07-02 00:16:58 +0000.864275][4673] operator(): Stop
[011:824] [2023-07-02 00:16:58 +0000.864394][4674] OnOutputAudioFrame: Have not
start, exit OnOutputAudioFrame
[011:824] [2023-07-02 00:16:58 +0000.864595][4674] OnAudioTimer: Have not start,
exit OnAudioTimer
[011:824] [2023-07-02 00:16:58 +0000.864736][4673] Stop:
[011:824] [2023-07-02 00:16:58 +0000.865031][4676] DeviceStop:
audioDevice_:0x79f6d74000
[011:824] [2023-07-02 00:16:58 +0000.865164][4676] OpenSlesOutput:Stop playout

[011:831] [2023-07-02 00:16:58 +0000.871660][4676] DeviceStop: Done


[011:831] [2023-07-02 00:16:58 +0000.872084][4676] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[011:834] [2023-07-02 00:16:58 +0000.874937][468a]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[011:836] [2023-07-02 00:16:58 +0000.876505][4672] stop recording
[011:836] [2023-07-02 00:16:58 +0000.876624][4672]
RecordingSessionInternalSimple:destroy media processers
[011:836] [2023-07-02 00:16:58 +0000.876681][4672] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[011:836] [2023-07-02 00:16:58 +0000.876725][4672] H264Encode::flushing hareware
Encoder
[011:836] [2023-07-02 00:16:58 +0000.876935][4672] Flush time:103707328 enter.

[011:836] [2023-07-02 00:16:58 +0000.877025][4672] H264Encoder encoder flush


[011:836] [2023-07-02 00:16:58 +0000.877080][4672] flush output queue
[012:180] [2023-07-02 00:16:59 +0000.221044][4672] Flush leave. expire time = 344
ms

[012:181] [2023-07-02 00:16:59 +0000.221321][4672] ~H264EncodeWrap:


[012:181] [2023-07-02 00:16:59 +0000.221876][4672] ~H264Encode:
[012:181] [2023-07-02 00:16:59 +0000.222023][4672] teardownCompressionSession:
H264Encode::destroying Encoder
[012:181] [2023-07-02 00:16:59 +0000.222148][4672] Release time:103707673 enter.

[012:182] [2023-07-02 00:16:59 +0000.222369][4672] Release:


MediaCodecVideoEncoder::Release _inited:1
[012:182] [2023-07-02 00:16:59 +0000.222454][4672] Destroy time:103707674 enter.

[012:182] [2023-07-02 00:16:59 +0000.222492][4672] H264Encoder encoderDestroy


[012:182] [2023-07-02 00:16:59 +0000.222519][4672]
AndroidMediaCodecVideoEncoder::release env: 0x79c6824600
[012:182] [2023-07-02 00:16:59 +0000.222551][4672]
AndroidMediaCodecVideoEncoder::Destroy
[012:224] [2023-07-02 00:16:59 +0000.264414][4672] Destroy leave. expire time = 42
ms

[012:224] [2023-07-02 00:16:59 +0000.264552][4672] Release leave. expire time = 43


ms

[012:224] [2023-07-02 00:16:59 +0000.264591][4672] ~AndroidHwAvcEncoder


time:103707716 enter.

[012:224] [2023-07-02 00:16:59 +0000.264700][4672] Release time:103707716 enter.

[012:224] [2023-07-02 00:16:59 +0000.264746][4672] Release:


MediaCodecVideoEncoder:: has been released before, just return
[012:224] [2023-07-02 00:16:59 +0000.264771][4672] Release leave. expire time = 0
ms

[012:224] [2023-07-02 00:16:59 +0000.264789][4672] ~AndroidMediaCodecVideoEncoder


[012:224] [2023-07-02 00:16:59 +0000.264805][4672] ~WrapAndroidMediaCodec
time:103707716 enter.

[012:224] [2023-07-02 00:16:59 +0000.264819][4672] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[012:224] [2023-07-02 00:16:59 +0000.264833][4672] video hevc hw codec


destructor:0x79ec7bd7d0

[012:224] [2023-07-02 00:16:59 +0000.264866][4672] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[012:224] [2023-07-02 00:16:59 +0000.264902][4672] teardownCompressionSession:


H264Encode::destroyed Encoder
[012:224] [2023-07-02 00:16:59 +0000.264936][4672]
RecordingSessionInternalSimple:destroy aac encoder output!
[012:224] [2023-07-02 00:16:59 +0000.264969][4672] AACSWEncode destructor
[012:227] [2023-07-02 00:16:59 +0000.267583][468b] MP4 close file successfully
[012:227] [2023-07-02 00:16:59 +0000.267651][468b] Recording session Internal:
notify recording ok
[012:227] [2023-07-02 00:16:59 +0000.267671][468b] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_1688257006853/
record_video_103703391.mp4
[012:227] [2023-07-02 00:16:59 +0000.267695][468b] OnRecordFinish:
[012:228] [2023-07-02 00:16:59 +0000.269217][4673] DestroyPipelineAndFilters
time:103707720 enter.

[012:229] [2023-07-02 00:16:59 +0000.269536][4673] UnbindInputFilter 0x7a34934d40


this 0x7a34806380
[012:229] [2023-07-02 00:16:59 +0000.269593][4673] UnbindInputFilter 0x7a34806380
this 0x79cb7d4298
[012:229] [2023-07-02 00:16:59 +0000.269617][4673] filter: filter pipeline destroy
this: 0x79cb7d4200
[012:229] [2023-07-02 00:16:59 +0000.269719][4673] ClearVideoOfSources: recodring
total frames:112
[012:229] [2023-07-02 00:16:59 +0000.269754][4673] ClearVideoOfSources:
[012:229] [2023-07-02 00:16:59 +0000.269815][4673] GPUImageProcessing destruct.
[012:229] [2023-07-02 00:16:59 +0000.269865][4673] destroy TrivalImageDrawer
0x79f7084100
[012:229] [2023-07-02 00:16:59 +0000.269886][4673] The shader has been initialize,
clean up them.

[012:230] [2023-07-02 00:16:59 +0000.270717][4673] ~OpenGLFrameBuffer:


[012:230] [2023-07-02 00:16:59 +0000.270842][4673] ~OpenGLFrameBuffer:
[012:230] [2023-07-02 00:16:59 +0000.270919][4673] ~OpenGLFrameBuffer:
[012:230] [2023-07-02 00:16:59 +0000.270985][4673] ~OpenGLFrameBuffer:
[012:230] [2023-07-02 00:16:59 +0000.271042][4673] ~OpenGLFrameBuffer:
[012:230] [2023-07-02 00:16:59 +0000.271103][4673] ~OpenGLFrameBuffer:
[012:231] [2023-07-02 00:16:59 +0000.271367][4673] GPUImageProcessing destruct
finish.
[012:231] [2023-07-02 00:16:59 +0000.271420][4673] GPURGBAFrame destruct.
[012:231] [2023-07-02 00:16:59 +0000.271471][4673] destroy OpenGLRenderProgram
0x7a34806098
[012:231] [2023-07-02 00:16:59 +0000.271506][4673] ~CameraSource time:103707723
enter.

[012:231] [2023-07-02 00:16:59 +0000.271537][4673] ~CameraSource leave. expire


time = 0 ms

[012:239] [2023-07-02 00:16:59 +0000.280048][4673] DestroyPipelineAndFilters


leave. expire time = 11 ms

[027:318] [2023-07-02 00:17:14 +0000.358586][3db3]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[027:318] [2023-07-02 00:17:14 +0000.358949][3db3] ~MediaFilterCamera
time:103722810 enter.

[027:319] [2023-07-02 00:17:14 +0000.360276][3db3] Stop:


[027:321] [2023-07-02 00:17:14 +0000.361837][4676] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[027:325] [2023-07-02 00:17:14 +0000.366199][4672] stop recording
[027:325] [2023-07-02 00:17:14 +0000.366282][4672] we have stopped recording before
[027:326] [2023-07-02 00:17:14 +0000.366618][3db3] Stop:
[027:327] [2023-07-02 00:17:14 +0000.367322][4676] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[027:327] [2023-07-02 00:17:14 +0000.368243][3db3] DeviceRelease:
audioDevice_:0x79f6d74000
[027:328] [2023-07-02 00:17:14 +0000.368416][3db3] OpenSlesOutput:Stop playout

[027:328] [2023-07-02 00:17:14 +0000.368482][3db3] DeviceRelease: Release the


webrtc device object.
[027:329] [2023-07-02 00:17:14 +0000.369545][3db3] OpenSlesOutput destruct.

[027:329] [2023-07-02 00:17:14 +0000.369907][3db3] DeviceRelease: Done


[027:334] [2023-07-02 00:17:14 +0000.374492][3db3] DestroyPipelineAndFilters
time:103722826 enter.

[027:334] [2023-07-02 00:17:14 +0000.374844][3db3] DestroyPipelineAndFilters


leave. expire time = 0 ms

[027:334] [2023-07-02 00:17:14 +0000.374910][3db3] ~MediaFilterCamera leave.


expire time = 16 ms

[027:335] [2023-07-02 00:17:14 +0000.375605][3db3] ~GLESContext:


[027:342] [2023-07-02 00:17:14 +0000.383023][3db3] GLESContext destruct finish.
[027:342] [2023-07-02 00:17:14 +0000.383303][3db3] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[027:348] [2023-07-02 00:17:14 +0000.388628][3db3] global uninited!
[027:356] [2023-07-02 00:17:14 +0000.397192][3db3] clear AppID 123
[027:357] [2023-07-02 00:17:14 +0000.397330][3db3] UnRegister JVM for Xplatform
util
[027:357] [2023-07-02 00:17:14 +0000.397372][3db3] Dispose::unregister webrtc video
engine
[027:357] [2023-07-02 00:17:14 +0000.397393][3db3] Init the android object with
jvm:0x0 env:0x0 context:0x0

[027:357] [2023-07-02 00:17:14 +0000.397417][3db3] SetAndroidMediaCodecObjects


time:103722849 enter.

[027:357] [2023-07-02 00:17:14 +0000.397473][3db3] ClearAndroidMediaCodecObjects


time:103722849 enter.

[027:357] [2023-07-02 00:17:14 +0000.397494][3db3] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[027:357] [2023-07-02 00:17:14 +0000.397512][3db3] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[027:357] [2023-07-02 00:17:14 +0000.397526][3db3] SetAndroidMediaCodecObjects


time:103722849 enter.

[027:357] [2023-07-02 00:17:14 +0000.397547][3db3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[027:357] [2023-07-02 00:17:14 +0000.397616][3db3] ClearAndroidMediaCodecObjects
time:103722849 enter.

[027:357] [2023-07-02 00:17:14 +0000.397649][3db3] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[027:357] [2023-07-02 00:17:14 +0000.397677][3db3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[027:357] [2023-07-02 00:17:14 +0000.397691][3db3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[027:357] [2023-07-02 00:17:14 +0000.397704][3db3] Dispose::unregister webrtc voice


engine
[027:357] [2023-07-02 00:17:14 +0000.397745][3db3] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[027:357] [2023-07-02 00:17:14 +0000.397862][3db3] SystemUtil UnInit done


[039:934] [2023-07-02 00:17:26 +0000.974513][3db3] Register JVM for xplatform util
[039:938] [2023-07-02 00:17:26 +0000.978543][3db3] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-07-
02 00:17:26 +0000
[039:938] [2023-07-02 00:17:26 +0000.978594][3db3] dump file m_prefix:-07-27-
feaf968

[039:940] [2023-07-02 00:17:26 +0000.980326][3db3] dump filename:trace.txt dump


time:1688256958

[039:940] [2023-07-02 00:17:26 +0000.980387][3db3] dump


filename:support_resolution.txt dump time:1688256973

[039:940] [2023-07-02 00:17:26 +0000.980494][3db3] set AppID=123 old AppID=-1


[039:940] [2023-07-02 00:17:26 +0000.980518][3db3] Init the android object with
jvm:0xb400007b62071540 env:0x7b621729c0 context:0x7a3b150b88

[039:940] [2023-07-02 00:17:26 +0000.980549][3db3] SetAndroidMediaCodecObjects


time:103735432 enter.

[039:940] [2023-07-02 00:17:26 +0000.980579][3db3] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[039:940] [2023-07-02 00:17:26 +0000.980606][3db3] SetAndroidMediaCodecObjects


time:103735432 enter.

[039:940] [2023-07-02 00:17:26 +0000.980635][3db3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b62071540
[039:940] [2023-07-02 00:17:26 +0000.980663][3db3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b62071540 address:0x799571e050
[039:940] [2023-07-02 00:17:26 +0000.980691][3db3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b62071540
address:0x799571e050
[039:940] [2023-07-02 00:17:26 +0000.980720][3db3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[039:940] [2023-07-02 00:17:26 +0000.980734][3db3] Set the android objects with


jvm:0xb400007b62071540 env:0x7b621729c0 context:0x7a3b150b88

[039:940] [2023-07-02 00:17:26 +0000.980758][3db3] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b621729c0
[039:940] [2023-07-02 00:17:26 +0000.980788][3db3] SystemUtil Init done
[039:953] [2023-07-02 00:17:26 +0000.994298][3db3]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[039:954] [2023-07-02 00:17:26 +0000.994368][3db3]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[039:954] [2023-07-02 00:17:26 +0000.994991][3db3] machine model :poco
[039:954] [2023-07-02 00:17:26 +0000.995019][3db3] Support this machine model :poco
[039:954] [2023-07-02 00:17:26 +0000.995107][3db3] MediaFilterCamera
[039:954] [2023-07-02 00:17:26 +0000.995138][3db3] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[039:955] [2023-07-02 00:17:26 +0000.995365][3db3] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[039:955] [2023-07-02 00:17:26 +0000.995393][3db3] Recording session using default
bitrate support by app:31457280
[039:955] [2023-07-02 00:17:26 +0000.995402][4729] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a9f9dc3c0
[039:955] [2023-07-02 00:17:26 +0000.995552][4729] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[039:955] [2023-07-02 00:17:26 +0000.995609][3db3] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[039:956] [2023-07-02 00:17:26 +0000.996483][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[039:956] [2023-07-02 00:17:26 +0000.996666][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[039:956] [2023-07-02 00:17:26 +0000.996719][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[039:956] [2023-07-02 00:17:26 +0000.996853][3db3] DeviceInit:
[039:956] [2023-07-02 00:17:26 +0000.997013][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[039:956] [2023-07-02 00:17:26 +0000.997290][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[039:957] [2023-07-02 00:17:26 +0000.997457][3db3] CreatePlatformSpecificObjects:
[039:957] [2023-07-02 00:17:26 +0000.997493][3db3] audio device use null audio
input and opensl output
[039:957] [2023-07-02 00:17:26 +0000.997520][3db3] Create OpenSLES output module
with java VM support.

[039:957] [2023-07-02 00:17:26 +0000.997618][3db3] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[039:957] [2023-07-02 00:17:26 +0000.997740][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[039:957] [2023-07-02 00:17:26 +0000.997873][3db3] Create OpenSLES output module
with buffer num:2

[039:957] [2023-07-02 00:17:26 +0000.997913][3db3] Error(trace.cc:40): Init the


output and input for audio device template.
[039:957] [2023-07-02 00:17:26 +0000.997933][3db3] Init the output device.

[039:957] [2023-07-02 00:17:26 +0000.997948][3db3] Set the playout as stereo:1


[039:957] [2023-07-02 00:17:26 +0000.997973][3db3] Set the sample rate to be:44100

[039:958] [2023-07-02 00:17:26 +0000.998379][3db3] Low latency buffer size:144 low


sample rate:48000
[039:958] [2023-07-02 00:17:26 +0000.998410][3db3] DeviceInit: Done
[039:958] [2023-07-02 00:17:26 +0000.999252][3db3] global inited! current sdk
version: 07-27-feaf968
[040:275] [2023-07-02 00:17:27 +0000.315900][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[040:275] [2023-07-02 00:17:27 +0000.316030][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
9, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices len:
32, texture_vertices len: 32
[040:275] [2023-07-02 00:17:27 +0000.316089][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[040:275] [2023-07-02 00:17:27 +0000.316214][472a] MediaFilterCamera, recording
file context:0x7aad124080 input texture:9
[040:275] [2023-07-02 00:17:27 +0000.316261][472a] GLESContext:
[040:276] [2023-07-02 00:17:27 +0000.316308][472a] The result of eglGetDisplay is:
0xb400007b6216eb40
[040:276] [2023-07-02 00:17:27 +0000.317000][472a] The result of creation:
0x79f7006d00
[040:276] [2023-07-02 00:17:27 +0000.317083][472a] The result of
eglCreatePbufferSurface is: 0x79f7006e80
[040:276] [2023-07-02 00:17:27 +0000.317205][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7aad124080 input_texture: 9
[042:721] [2023-07-02 00:17:29 +0000.761648][3d91] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[042:721] [2023-07-02 00:17:29 +0000.761727][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[042:721] [2023-07-02 00:17:29 +0000.761884][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[042:721] [2023-07-02 00:17:29 +0000.762227][472a] MediaFilterCamera, recording
file context:0x7aad124080 input texture:9
[042:722] [2023-07-02 00:17:29 +0000.762438][472a] construct OpenGLRenderProgram
0x79f707c898
[042:722] [2023-07-02 00:17:29 +0000.762570][472a] CropFilter::SetOrientation
orientation: 90
[042:722] [2023-07-02 00:17:29 +0000.762625][472a] filter: filter pipeline
construtc this: 0x79d365d740
[042:722] [2023-07-02 00:17:29 +0000.762679][472a] filter: filter pipeline2 update
pattern: 1
[042:722] [2023-07-02 00:17:29 +0000.762738][472a] CameraSource::source_id_:2
[042:722] [2023-07-02 00:17:29 +0000.763085][472a] SetPlayLoop: AudioSource
SetPlayLoop 0
[042:722] [2023-07-02 00:17:29 +0000.763191][472a]
Warning(media_filter_camera.cc:483): seekPos:0
[042:722] [2023-07-02 00:17:29 +0000.763247][472a] BindInputFilter 0x79cb72ab40
this 0x79f707cb80
[042:723] [2023-07-02 00:17:29 +0000.763307][472a] BindInputFilter 0x79f707cb80
this 0x79d365d7d8
[042:723] [2023-07-02 00:17:29 +0000.763357][472a] SetParamForFilter time:103738215
enter.

[042:723] [2023-07-02 00:17:29 +0000.763404][472a] SetParamForFilter: Params video


index is: 0
[042:723] [2023-07-02 00:17:29 +0000.763453][472a] SetParamForFilter: Params seek
pos is: 0
[042:723] [2023-07-02 00:17:29 +0000.763501][472a] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.cool2/
movie_mode: 0
[042:723] [2023-07-02 00:17:29 +0000.763550][472a] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.cool2//config.json
[042:723] [2023-07-02 00:17:29 +0000.764177][472a]
Warning(parse_template_json.cc:45): json parament no found the parament
[042:723] [2023-07-02 00:17:29 +0000.764282][472a]
Warning(parse_template_json.cc:45): json parament no found the parament
[042:724] [2023-07-02 00:17:29 +0000.764320][472a]
exp_des.start:0exp_des.end:2430exp_des.expressionstr:0.5
[042:724] [2023-07-02 00:17:29 +0000.764370][472a]
exp_des.start:0exp_des.end:2430exp_des.expressionstr:0.5
[042:724] [2023-07-02 00:17:29 +0000.764397][472a]
Warning(parse_template_json.cc:45): json parament no found the parament
[042:724] [2023-07-02 00:17:29 +0000.764418][472a]
Warning(parse_template_json.cc:45): json parament no found the parament
[042:724] [2023-07-02 00:17:29 +0000.764437][472a]
Warning(parse_template_json.cc:45): json parament no found the parament
[042:724] [2023-07-02 00:17:29 +0000.764457][472a]
Warning(parse_template_json.cc:45): json parament no found the parament
[042:724] [2023-07-02 00:17:29 +0000.764478][472a]
exp_des.start:800exp_des.end:1600exp_des.expressionstr:10.0
[042:724] [2023-07-02 00:17:29 +0000.764501][472a]
exp_des.start:800exp_des.end:1600exp_des.expressionstr:0.0
[042:724] [2023-07-02 00:17:29 +0000.764524][472a]
exp_des.start:800exp_des.end:1600exp_des.expressionstr:0.005194*sin(0.02374*x-
1.691)
[042:724] [2023-07-02 00:17:29 +0000.764547][472a]
exp_des.start:800exp_des.end:1600exp_des.expressionstr:0.3
[042:724] [2023-07-02 00:17:29 +0000.764569][472a]
exp_des.start:800exp_des.end:1600exp_des.expressionstr:1.0
[042:724] [2023-07-02 00:17:29 +0000.764590][472a]
Warning(parse_template_json.cc:95): json parament no found the parament
[042:724] [2023-07-02 00:17:29 +0000.764610][472a]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[042:724] [2023-07-02 00:17:29 +0000.764628][472a] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.cool2//filter.png
[042:724] [2023-07-02 00:17:29 +0000.764652][472a] CropFilter::ConfigExtraFiles
external image path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.cool2//shutter1.png
[042:724] [2023-07-02 00:17:29 +0000.764673][472a]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[042:726] [2023-07-02 00:17:29 +0000.766591][472a] SetParamForFilter leave. expire
time = 3 ms

[042:726] [2023-07-02 00:17:29 +0000.766903][472a] OnOutputSizeChanged width 1920


height 1080
[042:726] [2023-07-02 00:17:29 +0000.766985][472a] OpenGLFrameBuffer: width:1920
height:1080
[042:726] [2023-07-02 00:17:29 +0000.767031][472a] OpenGLFrameBuffer: width:1920
height:1080
[042:726] [2023-07-02 00:17:29 +0000.767082][472a] OpenGLFrameBuffer: width:1920
height:1080
[042:726] [2023-07-02 00:17:29 +0000.767128][472a] OpenGLFrameBuffer: width:1920
height:1080
[042:726] [2023-07-02 00:17:29 +0000.767172][472a] OpenGLFrameBuffer: width:1920
height:1080
[042:726] [2023-07-02 00:17:29 +0000.767194][472a] OpenGLFrameBuffer: width:1920
height:1080
[042:726] [2023-07-02 00:17:29 +0000.767228][472a] construct TrivalImageDrawer
0x79f6ff1600
[042:726] [2023-07-02 00:17:29 +0000.767276][472a] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x79f6ff1600 context 0x7ab9db7cc0
[042:727] [2023-07-02 00:17:29 +0000.767317][472a] setupGLES:
[042:727] [2023-07-02 00:17:29 +0000.767813][472a] OpenGLRenderProgram::Initialize.
[042:727] [2023-07-02 00:17:29 +0000.767909][472a] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[042:727] [2023-07-02 00:17:29 +0000.767955][472a] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[042:727] [2023-07-02 00:17:29 +0000.768098][472a] Init open gl render:
0x79f707c898
[042:727] [2023-07-02 00:17:29 +0000.768174][472a] Fragement shader path:
[042:727] [2023-07-02 00:17:29 +0000.768224][472a] Fragement shader path:
[042:727] [2023-07-02 00:17:29 +0000.768263][472a] create opengl program object.
[042:729] [2023-07-02 00:17:29 +0000.770282][472a] create shader: vertex
[042:730] [2023-07-02 00:17:29 +0000.771178][472a] create shader: fragment
[042:795] [2023-07-02 00:17:29 +0000.836306][472a] OpenGLRenderProgram::Initialize
success.
[042:796] [2023-07-02 00:17:29 +0000.836428][472a] Setup the OpenGL result:1
[042:796] [2023-07-02 00:17:29 +0000.836785][4729] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.cool2_1688257046778/
record_video_103738288.mp4
[042:796] [2023-07-02 00:17:29 +0000.836929][4729] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.cool2_1688257046778/
record_video_103738288.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[042:796] [2023-07-02 00:17:29 +0000.836977][4729] 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
[042:796] [2023-07-02 00:17:29 +0000.837017][4729] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.cool2_1688257046778/
record_video_103738288.mp4 fileFD: -1
[042:796] [2023-07-02 00:17:29 +0000.837152][474b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79cb8aea98
[042:797] [2023-07-02 00:17:29 +0000.837317][4729] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.cool2_1688257046778/
record_video_103738288.mp4 is opened successfully
[042:797] [2023-07-02 00:17:29 +0000.837389][4729] setupMediaProcessers:
[042:797] [2023-07-02 00:17:29 +0000.837424][4729]
RecordingSessionInternalSimple:setup media processers.
[042:797] [2023-07-02 00:17:29 +0000.837454][4729] construct AAC encoder
[042:797] [2023-07-02 00:17:29 +0000.837749][4729] H264Encoder creating:
superfast011818
[042:797] [2023-07-02 00:17:29 +0000.837790][4729] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[042:797] [2023-07-02 00:17:29 +0000.838243][4729] H264Encode::GetMachineModel is
M2102J20SG
[042:797] [2023-07-02 00:17:29 +0000.838286][4729] H264Encoder machine_mode
is:M2102J20SG
[042:798] [2023-07-02 00:17:29 +0000.838341][4729] setupCompressionSession:
[042:798] [2023-07-02 00:17:29 +0000.838371][4729] H264Encode::creating hareware
Encoder
[042:798] [2023-07-02 00:17:29 +0000.838402][4729] AndroidHwAvcEncoder
time:103738290 enter.

[042:798] [2023-07-02 00:17:29 +0000.838538][4729] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b62071540 address:0x799571e050
[042:798] [2023-07-02 00:17:29 +0000.838640][4729] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[042:798] [2023-07-02 00:17:29 +0000.838679][4729] The video avc hw codec address
is 0x7a9f8aff08
[042:798] [2023-07-02 00:17:29 +0000.838734][4729] AndroidHwAvcEncoder leave.
expire time = 0 ms

[042:798] [2023-07-02 00:17:29 +0000.838775][4729] RegisterEncodeCompleteCallback


time:103738290 enter.

[042:798] [2023-07-02 00:17:29 +0000.838852][4729] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[042:798] [2023-07-02 00:17:29 +0000.838908][4729] InitEncode time:103738290


enter.

[042:798] [2023-07-02 00:17:29 +0000.838974][4729] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[042:798] [2023-07-02 00:17:29 +0000.839023][4729] Create time:103738290 enter.

[042:798] [2023-07-02 00:17:29 +0000.839047][4729] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[042:798] [2023-07-02 00:17:29 +0000.839070][4729]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79aceeb0c0
[042:798] [2023-07-02 00:17:29 +0000.839188][4729] supported_type:video/avc
[042:798] [2023-07-02 00:17:29 +0000.839233][4729] name:OMX.qcom.video.encoder.avc
mime:video/avc
[042:798] [2023-07-02 00:17:29 +0000.839284][4729] hwCodecPrefix :OMX.qcom.
[042:799] [2023-07-02 00:17:29 +0000.839324][4729] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[042:799] [2023-07-02 00:17:29 +0000.839366][4729] mediacodec_createCodecByName
time:103738291 enter.
[042:799] [2023-07-02 00:17:29 +0000.839393][4729] WrapAndroidMediaCodec
time:103738291 enter.

[042:799] [2023-07-02 00:17:29 +0000.839484][4729] WrapAndroidMediaCodec leave.


expire time = 0 ms

[042:806] [2023-07-02 00:17:29 +0000.846654][472b]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[042:819] [2023-07-02 00:17:29 +0000.859790][4729] mediacodec_createCodecByName
leave. expire time = 20 ms

[042:819] [2023-07-02 00:17:29 +0000.859911][4729] WrapAndroidMediaFromat


time:103738311 enter.

[042:819] [2023-07-02 00:17:29 +0000.860002][4729] WrapAndroidMediaFromat leave.


expire time = 0 ms

[042:877] [2023-07-02 00:17:29 +0000.917362][4729] Destroy time:103738369 enter.

[042:877] [2023-07-02 00:17:29 +0000.917507][4729] WrapAndroidMediaFromat::


Destroy
[042:877] [2023-07-02 00:17:29 +0000.917571][4729] Destroy leave. expire time = 0
ms

[042:877] [2023-07-02 00:17:29 +0000.917628][4729] ~WrapAndroidMediaFromat


time:103738369 enter.

[042:877] [2023-07-02 00:17:29 +0000.917680][4729] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[042:877] [2023-07-02 00:17:29 +0000.917740][4729] Create leave. expire time = 79


ms

[042:877] [2023-07-02 00:17:29 +0000.917812][4729] isSemiPlanarSupport


time:103738369 enter.

[042:877] [2023-07-02 00:17:29 +0000.917857][4729] H264Encoder isSemiPlanarSupport


[042:877] [2023-07-02 00:17:29 +0000.917985][4729] isSemiPlanarSupport leave.
expire time = 0 ms

[042:877] [2023-07-02 00:17:29 +0000.918081][4729] creat hw H264Encoder success,


isSemiPlanar:1
[042:877] [2023-07-02 00:17:29 +0000.918256][4729] InitEncode leave. expire time =
79 ms

[042:878] [2023-07-02 00:17:29 +0000.918424][4729] H264Encode::created Encoder


[042:878] [2023-07-02 00:17:29 +0000.918474][4729] H264Encode:: H264 encoder
created.
[042:878] [2023-07-02 00:17:29 +0000.918499][4729] H264 encoder created.
[042:878] [2023-07-02 00:17:29 +0000.918524][4729]
RecordingSessionInternalSimple:created avc encoder avc: 0x79d34fe300
[042:878] [2023-07-02 00:17:29 +0000.918554][4729] setOutput:
[042:878] [2023-07-02 00:17:29 +0000.918575][4729]
RecordingSessionInternalSimple:encoder set output to muxer!
[042:878] [2023-07-02 00:17:29 +0000.918596][4729] request a key frame
[042:878] [2023-07-02 00:17:29 +0000.918615][4729] H264Encode:: request a key frame
[042:878] [2023-07-02 00:17:29 +0000.918815][472b]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[042:879] [2023-07-02 00:17:29 +0000.919393][472a] Start:
[042:879] [2023-07-02 00:17:29 +0000.919784][472d] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[042:879] [2023-07-02 00:17:29 +0000.919931][472d] Reset: history total size: 98
[042:879] [2023-07-02 00:17:29 +0000.919986][472d] DeviceStart:
audioDevice_:0x7a34b0f000
[042:879] [2023-07-02 00:17:29 +0000.920033][472d] DeviceStart: time profile
playout init before
[042:879] [2023-07-02 00:17:29 +0000.920085][472d] DeviceStart: time profile
playout init end
[042:879] [2023-07-02 00:17:29 +0000.920124][472d] OpenSlesOutput:Start playout

[042:881] [2023-07-02 00:17:29 +0000.921628][472d] Create the opensl output player.


streamtype before:0

[042:881] [2023-07-02 00:17:29 +0000.921737][472d] Create the opensl output player.


streamtype after:3

[042:904] [2023-07-02 00:17:29 +0000.944476][472d] Enqueue opensl buffer size:1764


[042:932] [2023-07-02 00:17:29 +0000.972716][472d] DeviceStart: time profile
playout all end
[042:932] [2023-07-02 00:17:29 +0000.972915][472d] operator(): Audio playback
started.
[042:949] [2023-07-02 00:17:29 +0000.989560][472a] begine recode to first frame
spend time:228
[042:949] [2023-07-02 00:17:29 +0000.989709][472a] add frame because frame
interval.
[042:949] [2023-07-02 00:17:29 +0000.989853][472a]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[042:949] [2023-07-02 00:17:29 +0000.989888][472a]
GPUImageProcessing::SetOrientation orientation: 90
[042:950] [2023-07-02 00:17:29 +0000.990604][472b]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[042:958] [2023-07-02 00:17:29 +0000.998877][472a] drawYUV420 render
OpenGLRenderProgram:0x79f707c898
[042:972] [2023-07-02 00:17:30 +0000.12419][472a] drawYUV420 render
OpenGLRenderProgram:0x79f707c898
[042:978] [2023-07-02 00:17:30 +0000.18610][474a]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[042:982] [2023-07-02 00:17:30 +0000.22772][472b] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.cool2//bgm.mp3 sync_mode:
1 seek_pos: 0 delay: 0 this:0x79cb8b0c00
[042:987] [2023-07-02 00:17:30 +0000.27917][472a] drawYUV420 render
OpenGLRenderProgram:0x79f707c898
[043:011] [2023-07-02 00:17:30 +0000.51637][4743] FFMpeg=> [mp3 @ 0x79ec51fa00]
Current FFmpeg version git-2021-06-16-97cea6f

[043:029] [2023-07-02 00:17:30 +0000.69778][472d] First audio frame rendering


[043:042] [2023-07-02 00:17:30 +0000.83067][474b] add aac audio track with id:1
[043:047] [2023-07-02 00:17:30 +0000.88299][472a] CameraSource::PushExtraFrame
pkt_dts: 136, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x79cb72aa00
[043:052] [2023-07-02 00:17:30 +0000.92476][474b] audio start ts:0
[043:052] [2023-07-02 00:17:30 +0000.92562][474b] the audio frame has been written
into MP4 file
[043:057] [2023-07-02 00:17:30 +0000.98115][474a] h264 add frame header cdr flag
[043:058] [2023-07-02 00:17:30 +0000.98780][474a] h264 add frame header cdr flag
[043:058] [2023-07-02 00:17:30 +0000.99186][474a] Received key frame:0
[043:058] [2023-07-02 00:17:30 +0000.99229][474a] H264Encode:: get a sps pps
header!headerSize:32
[043:058] [2023-07-02 00:17:30 +0000.99299][474b] get the H.264 SPS parameter
[043:059] [2023-07-02 00:17:30 +0000.99482][474b] add video track with id:2
[043:059] [2023-07-02 00:17:30 +0000.100217][474b] get the H.264 PPS parameter
[043:061] [2023-07-02 00:17:30 +0000.101361][474b] get the H.264 IDR frame
[043:061] [2023-07-02 00:17:30 +0000.101431][474b] resss:true
[043:061] [2023-07-02 00:17:30 +0000.101462][474b] video start ts:0
[043:061] [2023-07-02 00:17:30 +0000.101517][474b] the video frame has been written
into MP4 file
[043:193] [2023-07-02 00:17:30 +0000.234174][430c] video render surface render a
frame
[043:194] [2023-07-02 00:17:30 +0000.235144][472a] CropFilter::OnVideoFrame
outputtexture :14
[043:195] [2023-07-02 00:17:30 +0000.235384][472a] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[043:220] [2023-07-02 00:17:30 +0000.260911][4751]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[043:275] [2023-07-02 00:17:30 +0000.316010][472a] The convert RGB to YUV take 10
[043:314] [2023-07-02 00:17:30 +0000.354859][474a] Push an pts:333 to dts queue.
[043:332] [2023-07-02 00:17:30 +0000.372797][472a] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1978 diff: 23
[043:354] [2023-07-02 00:17:30 +0000.394879][474a] last dts:300 currentPts:333
ppsOrSPS:0 queue length:2
[043:435] [2023-07-02 00:17:30 +0000.475522][474a] DTS queue for
Generator:0x79cb8aecb8 433 467
[043:701] [2023-07-02 00:17:30 +0000.742145][472a] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[043:766] [2023-07-02 00:17:30 +0000.806604][472a] The convert RGB to YUV take 3
[043:953] [2023-07-02 00:17:30 +0000.993629][472b] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[044:020] [2023-07-02 00:17:31 +0000.61248][472d] The audio playback speed:100
(1/100)
[044:021] [2023-07-02 00:17:31 +0000.61421][472d] lipsync_debug: The current played
audio timestamp is:1128(1/50)
[044:045] [2023-07-02 00:17:31 +0000.85674][472a] CameraSource::PushExtraFrame
pkt_dts: 1118, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x79cb72aa00
[044:183] [2023-07-02 00:17:31 +0000.223535][4751]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[044:204] [2023-07-02 00:17:31 +0000.245323][430c] video render surface render a
frame
[044:209] [2023-07-02 00:17:31 +0000.249543][472a] CropFilter::OnVideoFrame
outputtexture :14
[044:209] [2023-07-02 00:17:31 +0000.249890][472a] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[044:286] [2023-07-02 00:17:31 +0000.326855][472a] The convert RGB to YUV take 5
[044:288] [2023-07-02 00:17:31 +0000.329106][474a] DTS queue for
Generator:0x79cb8aecb8 1267 1300
[044:649] [2023-07-02 00:17:31 +0000.689465][474a] Push an pts:1667 to dts queue.
[044:702] [2023-07-02 00:17:31 +0000.742519][474a] last dts:1633 currentPts:1667
ppsOrSPS:0 queue length:2
[044:717] [2023-07-02 00:17:31 +0000.758162][472a] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[044:784] [2023-07-02 00:17:31 +0000.824415][472a] The convert RGB to YUV take 4
[045:025] [2023-07-02 00:17:32 +0000.66248][472a] CameraSource::PushExtraFrame
pkt_dts: 2099, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x79cb72aa00
[045:039] [2023-07-02 00:17:32 +0000.80021][474a] h264 add frame header cdr flag
[045:040] [2023-07-02 00:17:32 +0000.80357][474a] Received key frame:2000
[045:070] [2023-07-02 00:17:32 +0000.110861][474b] get the H.264 IDR frame
[045:103] [2023-07-02 00:17:32 +0000.143992][474a] DTS queue for
Generator:0x79cb8aecb8 2100
[045:223] [2023-07-02 00:17:32 +0000.264157][430c] video render surface render a
frame
[045:226] [2023-07-02 00:17:32 +0000.266722][4751]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[045:229] [2023-07-02 00:17:32 +0000.269413][472a] CropFilter::OnVideoFrame
outputtexture :14
[045:229] [2023-07-02 00:17:32 +0000.269685][472a] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[045:304] [2023-07-02 00:17:32 +0000.344761][472a] The convert RGB to YUV take 4
[045:431] [2023-07-02 00:17:32 +0000.472068][472a] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2982 diff: 19
[045:471] [2023-07-02 00:17:32 +0000.512082][472d] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[045:472] [2023-07-02 00:17:32 +0000.512316][472a] OnNeedStopRecording:
[045:472] [2023-07-02 00:17:32 +0000.513249][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[045:473] [2023-07-02 00:17:32 +0000.513495][472a] operator(): Stop
[045:473] [2023-07-02 00:17:32 +0000.513848][472a] Stop:
[045:473] [2023-07-02 00:17:32 +0000.514074][472d] DeviceStop:
audioDevice_:0x7a34b0f000
[045:473] [2023-07-02 00:17:32 +0000.514209][472d] OpenSlesOutput:Stop playout

[045:477] [2023-07-02 00:17:32 +0000.517934][472d] DeviceStop: Done


[045:477] [2023-07-02 00:17:32 +0000.518221][472d] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[045:482] [2023-07-02 00:17:32 +0000.522509][474a]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[045:486] [2023-07-02 00:17:32 +0000.526462][4729] stop recording
[045:486] [2023-07-02 00:17:32 +0000.526560][4729]
RecordingSessionInternalSimple:destroy media processers
[045:486] [2023-07-02 00:17:32 +0000.526596][4729] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[045:486] [2023-07-02 00:17:32 +0000.526644][4729] H264Encode::flushing hareware
Encoder
[045:486] [2023-07-02 00:17:32 +0000.526871][4729] Flush time:103740978 enter.

[045:486] [2023-07-02 00:17:32 +0000.526979][4729] H264Encoder encoder flush


[045:486] [2023-07-02 00:17:32 +0000.527017][4729] flush output queue
[045:825] [2023-07-02 00:17:32 +0000.866122][4729] Flush leave. expire time = 339
ms

[045:826] [2023-07-02 00:17:32 +0000.866520][4729] ~H264EncodeWrap:


[045:826] [2023-07-02 00:17:32 +0000.866618][4729] ~H264Encode:
[045:826] [2023-07-02 00:17:32 +0000.866674][4729] teardownCompressionSession:
H264Encode::destroying Encoder
[045:826] [2023-07-02 00:17:32 +0000.866728][4729] Release time:103741318 enter.

[045:826] [2023-07-02 00:17:32 +0000.867038][4729] Release:


MediaCodecVideoEncoder::Release _inited:1
[045:826] [2023-07-02 00:17:32 +0000.867141][4729] Destroy time:103741318 enter.

[045:826] [2023-07-02 00:17:32 +0000.867195][4729] H264Encoder encoderDestroy


[045:826] [2023-07-02 00:17:32 +0000.867246][4729]
AndroidMediaCodecVideoEncoder::release env: 0x79d34fe440
[045:826] [2023-07-02 00:17:32 +0000.867300][4729]
AndroidMediaCodecVideoEncoder::Destroy
[045:876] [2023-07-02 00:17:32 +0000.917130][4729] Destroy leave. expire time = 50
ms

[045:876] [2023-07-02 00:17:32 +0000.917263][4729] Release leave. expire time = 50


ms

[045:876] [2023-07-02 00:17:32 +0000.917286][4729] ~AndroidHwAvcEncoder


time:103741368 enter.

[045:877] [2023-07-02 00:17:32 +0000.917375][4729] Release time:103741369 enter.

[045:877] [2023-07-02 00:17:32 +0000.917432][4729] Release:


MediaCodecVideoEncoder:: has been released before, just return
[045:877] [2023-07-02 00:17:32 +0000.917450][4729] Release leave. expire time = 0
ms

[045:877] [2023-07-02 00:17:32 +0000.917465][4729] ~AndroidMediaCodecVideoEncoder


[045:877] [2023-07-02 00:17:32 +0000.917479][4729] ~WrapAndroidMediaCodec
time:103741369 enter.

[045:877] [2023-07-02 00:17:32 +0000.917491][4729] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[045:877] [2023-07-02 00:17:32 +0000.917502][4729] video hevc hw codec


destructor:0x7a9f8aff08

[045:877] [2023-07-02 00:17:32 +0000.917525][4729] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[045:877] [2023-07-02 00:17:32 +0000.917568][4729] teardownCompressionSession:


H264Encode::destroyed Encoder
[045:877] [2023-07-02 00:17:32 +0000.917587][4729]
RecordingSessionInternalSimple:destroy aac encoder output!
[045:877] [2023-07-02 00:17:32 +0000.917647][4729] AACSWEncode destructor
[045:879] [2023-07-02 00:17:32 +0000.919482][474b] MP4 close file successfully
[045:879] [2023-07-02 00:17:32 +0000.919607][474b] Recording session Internal:
notify recording ok
[045:879] [2023-07-02 00:17:32 +0000.919630][474b] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.cool2_1688257046778/
record_video_103738288.mp4
[045:879] [2023-07-02 00:17:32 +0000.919649][474b] OnRecordFinish:
[045:881] [2023-07-02 00:17:32 +0000.921369][472a] DestroyPipelineAndFilters
time:103741373 enter.

[045:881] [2023-07-02 00:17:32 +0000.921712][472a] UnbindInputFilter 0x79cb72ab40


this 0x79f707cb80
[045:881] [2023-07-02 00:17:32 +0000.921778][472a] UnbindInputFilter 0x79f707cb80
this 0x79d365d7d8
[045:881] [2023-07-02 00:17:32 +0000.921792][472a] filter: filter pipeline destroy
this: 0x79d365d740
[045:881] [2023-07-02 00:17:32 +0000.921878][472a] ClearVideoOfSources: recodring
total frames:76
[045:881] [2023-07-02 00:17:32 +0000.921904][472a] ClearVideoOfSources:
[045:881] [2023-07-02 00:17:32 +0000.921919][472a] GPUImageProcessing destruct.
[045:881] [2023-07-02 00:17:32 +0000.921946][472a] destroy TrivalImageDrawer
0x79f6ff1600
[045:881] [2023-07-02 00:17:32 +0000.921964][472a] The shader has been initialize,
clean up them.
[045:883] [2023-07-02 00:17:32 +0000.923956][472a] ~OpenGLFrameBuffer:
[045:883] [2023-07-02 00:17:32 +0000.924094][472a] ~OpenGLFrameBuffer:
[045:883] [2023-07-02 00:17:32 +0000.924164][472a] ~OpenGLFrameBuffer:
[045:883] [2023-07-02 00:17:32 +0000.924224][472a] ~OpenGLFrameBuffer:
[045:883] [2023-07-02 00:17:32 +0000.924275][472a] ~OpenGLFrameBuffer:
[045:884] [2023-07-02 00:17:32 +0000.924485][472a] ~OpenGLFrameBuffer:
[045:888] [2023-07-02 00:17:32 +0000.928614][472a] GPUImageProcessing destruct
finish.
[045:888] [2023-07-02 00:17:32 +0000.928695][472a] GPURGBAFrame destruct.
[045:888] [2023-07-02 00:17:32 +0000.929168][472a] destroy OpenGLRenderProgram
0x79f707c898
[045:888] [2023-07-02 00:17:32 +0000.929246][472a] ~CameraSource time:103741380
enter.

[045:888] [2023-07-02 00:17:32 +0000.929267][472a] ~CameraSource leave. expire


time = 0 ms

[045:894] [2023-07-02 00:17:32 +0000.934786][472a] DestroyPipelineAndFilters


leave. expire time = 13 ms

[055:441] [2023-07-02 00:17:42 +0000.481498][3db3]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[055:441] [2023-07-02 00:17:42 +0000.481732][3db3] ~MediaFilterCamera
time:103750933 enter.

[055:442] [2023-07-02 00:17:42 +0000.483100][3db3] Stop:


[055:443] [2023-07-02 00:17:42 +0000.483592][472d] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[055:446] [2023-07-02 00:17:42 +0000.486591][4729] stop recording
[055:446] [2023-07-02 00:17:42 +0000.486754][4729] we have stopped recording before
[055:450] [2023-07-02 00:17:42 +0000.490655][3db3] Stop:
[055:451] [2023-07-02 00:17:42 +0000.491659][472d] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[055:451] [2023-07-02 00:17:42 +0000.492085][3db3] DeviceRelease:
audioDevice_:0x7a34b0f000
[055:451] [2023-07-02 00:17:42 +0000.492159][3db3] OpenSlesOutput:Stop playout

[055:451] [2023-07-02 00:17:42 +0000.492222][3db3] DeviceRelease: Release the


webrtc device object.
[055:452] [2023-07-02 00:17:42 +0000.492458][3db3] OpenSlesOutput destruct.

[055:452] [2023-07-02 00:17:42 +0000.492530][3db3] DeviceRelease: Done


[055:453] [2023-07-02 00:17:42 +0000.493712][3db3] DestroyPipelineAndFilters
time:103750945 enter.

[055:453] [2023-07-02 00:17:42 +0000.493842][3db3] DestroyPipelineAndFilters


leave. expire time = 0 ms

[055:453] [2023-07-02 00:17:42 +0000.493873][3db3] ~MediaFilterCamera leave.


expire time = 12 ms

[055:453] [2023-07-02 00:17:42 +0000.494002][3db3] ~GLESContext:


[055:459] [2023-07-02 00:17:42 +0000.499321][3db3] GLESContext destruct finish.
[055:461] [2023-07-02 00:17:42 +0000.501698][3db3] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[055:465] [2023-07-02 00:17:42 +0000.505734][3db3] global uninited!
[055:465] [2023-07-02 00:17:42 +0000.505861][3db3] clear AppID 123
[055:465] [2023-07-02 00:17:42 +0000.505894][3db3] UnRegister JVM for Xplatform
util
[055:465] [2023-07-02 00:17:42 +0000.505934][3db3] Dispose::unregister webrtc video
engine
[055:465] [2023-07-02 00:17:42 +0000.505964][3db3] Init the android object with
jvm:0x0 env:0x0 context:0x0

[055:465] [2023-07-02 00:17:42 +0000.505995][3db3] SetAndroidMediaCodecObjects


time:103750957 enter.

[055:465] [2023-07-02 00:17:42 +0000.506024][3db3] ClearAndroidMediaCodecObjects


time:103750957 enter.

[055:465] [2023-07-02 00:17:42 +0000.506055][3db3] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[055:465] [2023-07-02 00:17:42 +0000.506081][3db3] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[055:465] [2023-07-02 00:17:42 +0000.506110][3db3] SetAndroidMediaCodecObjects


time:103750957 enter.

[055:465] [2023-07-02 00:17:42 +0000.506139][3db3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[055:465] [2023-07-02 00:17:42 +0000.506153][3db3] ClearAndroidMediaCodecObjects
time:103750957 enter.

[055:465] [2023-07-02 00:17:42 +0000.506174][3db3] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[055:465] [2023-07-02 00:17:42 +0000.506202][3db3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[055:465] [2023-07-02 00:17:42 +0000.506221][3db3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[055:465] [2023-07-02 00:17:42 +0000.506241][3db3] Dispose::unregister webrtc voice


engine
[055:465] [2023-07-02 00:17:42 +0000.506254][3db3] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[055:465] [2023-07-02 00:17:42 +0000.506271][3db3] SystemUtil UnInit done


[065:117] [2023-07-02 00:17:52 +0000.157442][3db3] Register JVM for xplatform util
[065:121] [2023-07-02 00:17:52 +0000.161906][3db3] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-07-
02 00:17:52 +0000
[065:121] [2023-07-02 00:17:52 +0000.161951][3db3] dump file m_prefix:-07-27-
feaf968

[065:123] [2023-07-02 00:17:52 +0000.163489][3db3] dump filename:trace.txt dump


time:1688256958

[065:123] [2023-07-02 00:17:52 +0000.163543][3db3] dump


filename:support_resolution.txt dump time:1688256973

[065:123] [2023-07-02 00:17:52 +0000.163628][3db3] set AppID=123 old AppID=-1


[065:123] [2023-07-02 00:17:52 +0000.163653][3db3] Init the android object with
jvm:0xb400007b62071540 env:0x7b621729c0 context:0x7a3b150b88

[065:123] [2023-07-02 00:17:52 +0000.163693][3db3] SetAndroidMediaCodecObjects


time:103760615 enter.
[065:123] [2023-07-02 00:17:52 +0000.163720][3db3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[065:123] [2023-07-02 00:17:52 +0000.163746][3db3] SetAndroidMediaCodecObjects


time:103760615 enter.

[065:123] [2023-07-02 00:17:52 +0000.163775][3db3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b62071540
[065:123] [2023-07-02 00:17:52 +0000.163804][3db3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b62071540 address:0x799571e050
[065:123] [2023-07-02 00:17:52 +0000.163830][3db3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b62071540
address:0x799571e050
[065:123] [2023-07-02 00:17:52 +0000.163858][3db3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[065:123] [2023-07-02 00:17:52 +0000.163874][3db3] Set the android objects with


jvm:0xb400007b62071540 env:0x7b621729c0 context:0x7a3b150b88

[065:123] [2023-07-02 00:17:52 +0000.163897][3db3] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b621729c0
[065:123] [2023-07-02 00:17:52 +0000.163925][3db3] SystemUtil Init done
[065:136] [2023-07-02 00:17:52 +0000.177205][3db3]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[065:136] [2023-07-02 00:17:52 +0000.177273][3db3]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[065:137] [2023-07-02 00:17:52 +0000.177911][3db3] machine model :poco
[065:137] [2023-07-02 00:17:52 +0000.177939][3db3] Support this machine model :poco
[065:137] [2023-07-02 00:17:52 +0000.178007][3db3] MediaFilterCamera
[065:137] [2023-07-02 00:17:52 +0000.178041][3db3] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[065:137] [2023-07-02 00:17:52 +0000.178129][3db3] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[065:137] [2023-07-02 00:17:52 +0000.178159][3db3] Recording session using default
bitrate support by app:31457280
[065:137] [2023-07-02 00:17:52 +0000.178165][47ac] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a9f9dc3c0
[065:137] [2023-07-02 00:17:52 +0000.178223][47ac] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[065:137] [2023-07-02 00:17:52 +0000.178299][3db3] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[065:138] [2023-07-02 00:17:52 +0000.179230][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[065:139] [2023-07-02 00:17:52 +0000.179417][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[065:139] [2023-07-02 00:17:52 +0000.179477][3db3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[065:139] [2023-07-02 00:17:52 +0000.179619][3db3] DeviceInit:
[065:139] [2023-07-02 00:17:52 +0000.179785][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[065:139] [2023-07-02 00:17:52 +0000.180016][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[065:139] [2023-07-02 00:17:52 +0000.180189][3db3] CreatePlatformSpecificObjects:
[065:139] [2023-07-02 00:17:52 +0000.180225][3db3] audio device use null audio
input and opensl output
[065:139] [2023-07-02 00:17:52 +0000.180253][3db3] Create OpenSLES output module
with java VM support.
[065:140] [2023-07-02 00:17:52 +0000.180358][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[065:140] [2023-07-02 00:17:52 +0000.180480][3db3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[065:140] [2023-07-02 00:17:52 +0000.180615][3db3] Create OpenSLES output module
with buffer num:2

[065:140] [2023-07-02 00:17:52 +0000.180656][3db3] Error(trace.cc:40): Init the


output and input for audio device template.
[065:140] [2023-07-02 00:17:52 +0000.180684][3db3] Init the output device.

[065:140] [2023-07-02 00:17:52 +0000.180713][3db3] Set the playout as stereo:1


[065:140] [2023-07-02 00:17:52 +0000.180743][3db3] Set the sample rate to be:44100

[065:140] [2023-07-02 00:17:52 +0000.181082][3db3] Low latency buffer size:144 low


sample rate:48000
[065:140] [2023-07-02 00:17:52 +0000.181112][3db3] DeviceInit: Done
[065:141] [2023-07-02 00:17:52 +0000.181728][3db3] global inited! current sdk
version: 07-27-feaf968
[065:452] [2023-07-02 00:17:52 +0000.492328][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[065:452] [2023-07-02 00:17:52 +0000.492408][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
9, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices len:
32, texture_vertices len: 32
[065:452] [2023-07-02 00:17:52 +0000.492440][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[065:452] [2023-07-02 00:17:52 +0000.492849][47ad] MediaFilterCamera, recording
file context:0x7aad124080 input texture:9
[065:452] [2023-07-02 00:17:52 +0000.492901][47ad] GLESContext:
[065:452] [2023-07-02 00:17:52 +0000.492950][47ad] The result of eglGetDisplay is:
0xb400007b6216eb40
[065:453] [2023-07-02 00:17:52 +0000.493689][47ad] The result of creation:
0x7a34b00a80
[065:453] [2023-07-02 00:17:52 +0000.493776][47ad] The result of
eglCreatePbufferSurface is: 0x7a34b00d00
[065:453] [2023-07-02 00:17:52 +0000.493875][430c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7aad124080 input_texture: 9
[066:417] [2023-07-02 00:17:53 +0000.457596][3d91] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[066:417] [2023-07-02 00:17:53 +0000.457700][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[066:417] [2023-07-02 00:17:53 +0000.457855][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[066:417] [2023-07-02 00:17:53 +0000.458077][47ad] MediaFilterCamera, recording
file context:0x7aad124080 input texture:9
[066:417] [2023-07-02 00:17:53 +0000.458152][47ad] construct OpenGLRenderProgram
0x79d3a65498
[066:417] [2023-07-02 00:17:53 +0000.458217][47ad] CropFilter::SetOrientation
orientation: 90
[066:417] [2023-07-02 00:17:53 +0000.458260][47ad] filter: filter pipeline
construtc this: 0x79cb73a480
[066:417] [2023-07-02 00:17:53 +0000.458344][47ad] filter: filter pipeline2 update
pattern: 1
[066:418] [2023-07-02 00:17:53 +0000.458407][47ad] CameraSource::source_id_:3
[066:419] [2023-07-02 00:17:53 +0000.459907][47ad] SetPlayLoop: AudioSource
SetPlayLoop 0
[066:419] [2023-07-02 00:17:53 +0000.460017][47ad]
Warning(media_filter_camera.cc:483): seekPos:0
[066:419] [2023-07-02 00:17:53 +0000.460071][47ad] BindInputFilter 0x79f7012a40
this 0x79d3a65780
[066:419] [2023-07-02 00:17:53 +0000.460128][47ad] BindInputFilter 0x79d3a65780
this 0x79cb73a518
[066:419] [2023-07-02 00:17:53 +0000.460161][47ad] SetParamForFilter time:103761911
enter.

[066:419] [2023-07-02 00:17:53 +0000.460200][47ad] SetParamForFilter: Params video


index is: 0
[066:419] [2023-07-02 00:17:53 +0000.460243][47ad] SetParamForFilter: Params seek
pos is: 0
[066:419] [2023-07-02 00:17:53 +0000.460289][47ad] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.life/
movie_mode: 0
[066:420] [2023-07-02 00:17:53 +0000.460330][47ad] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.life//config.json
[066:420] [2023-07-02 00:17:53 +0000.460760][47ad]
exp_des.start:0exp_des.end:2600exp_des.expressionstr:
[066:420] [2023-07-02 00:17:53 +0000.460824][47ad]
exp_des.start:0exp_des.end:2600exp_des.expressionstr:
[066:420] [2023-07-02 00:17:53 +0000.460860][47ad]
exp_des.start:0exp_des.end:2070exp_des.expressionstr:0.7 - 0.2*x / 2070
[066:420] [2023-07-02 00:17:53 +0000.460893][47ad]
exp_des.start:0exp_des.end:2070exp_des.expressionstr:0.7 - 0.2*x / 2070
[066:420] [2023-07-02 00:17:53 +0000.460968][47ad]
exp_des.start:0exp_des.end:2070exp_des.expressionstr:
[066:420] [2023-07-02 00:17:53 +0000.461015][47ad]
Warning(parse_template_json.cc:45): json parament no found the parament
[066:420] [2023-07-02 00:17:53 +0000.461059][47ad]
Warning(parse_template_json.cc:45): json parament no found the parament
[066:420] [2023-07-02 00:17:53 +0000.461104][47ad]
Warning(parse_template_json.cc:45): json parament no found the parament
[066:420] [2023-07-02 00:17:53 +0000.461128][47ad]
Warning(parse_template_json.cc:45): json parament no found the parament
[066:420] [2023-07-02 00:17:53 +0000.461164][47ad]
Warning(parse_template_json.cc:45): json parament no found the parament
[066:420] [2023-07-02 00:17:53 +0000.461210][47ad]
Warning(parse_template_json.cc:45): json parament no found the parament
[066:420] [2023-07-02 00:17:53 +0000.461260][47ad]
Warning(parse_template_json.cc:95): json parament no found the parament
[066:421] [2023-07-02 00:17:53 +0000.461309][47ad]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[066:421] [2023-07-02 00:17:53 +0000.461355][47ad] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.life//filter.png
[066:421] [2023-07-02 00:17:53 +0000.461405][47ad]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[066:421] [2023-07-02 00:17:53 +0000.461452][47ad]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[066:423] [2023-07-02 00:17:53 +0000.463626][47ad] SetParamForFilter leave. expire
time = 4 ms

[066:423] [2023-07-02 00:17:53 +0000.463979][47ad] OnOutputSizeChanged width 1920


height 1080
[066:423] [2023-07-02 00:17:53 +0000.464037][47ad] OpenGLFrameBuffer: width:1920
height:1080
[066:423] [2023-07-02 00:17:53 +0000.464070][47ad] OpenGLFrameBuffer: width:1920
height:1080
[066:423] [2023-07-02 00:17:53 +0000.464098][47ad] OpenGLFrameBuffer: width:1920
height:1080
[066:423] [2023-07-02 00:17:53 +0000.464125][47ad] OpenGLFrameBuffer: width:1920
height:1080
[066:423] [2023-07-02 00:17:53 +0000.464149][47ad] OpenGLFrameBuffer: width:1920
height:1080
[066:423] [2023-07-02 00:17:53 +0000.464172][47ad] OpenGLFrameBuffer: width:1920
height:1080
[066:423] [2023-07-02 00:17:53 +0000.464192][47ad] construct TrivalImageDrawer
0x7a34adbf00
[066:423] [2023-07-02 00:17:53 +0000.464213][47ad] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a34adbf00 context 0x7a9f9fb800
[066:423] [2023-07-02 00:17:53 +0000.464239][47ad] setupGLES:
[066:424] [2023-07-02 00:17:53 +0000.464669][47ad] OpenGLRenderProgram::Initialize.
[066:424] [2023-07-02 00:17:53 +0000.464746][47ad] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[066:424] [2023-07-02 00:17:53 +0000.464777][47ad] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[066:424] [2023-07-02 00:17:53 +0000.464915][47ad] Init open gl render:
0x79d3a65498
[066:424] [2023-07-02 00:17:53 +0000.464963][47ad] Fragement shader path:
[066:424] [2023-07-02 00:17:53 +0000.465034][47ad] Fragement shader path:
[066:424] [2023-07-02 00:17:53 +0000.465068][47ad] create opengl program object.
[066:424] [2023-07-02 00:17:53 +0000.465096][47ad] create shader: vertex
[066:425] [2023-07-02 00:17:53 +0000.465415][47ad] create shader: fragment
[066:441] [2023-07-02 00:17:53 +0000.481425][47ad] External image path is empty!
[066:441] [2023-07-02 00:17:53 +0000.481615][47ad] Error(crop_filter.cc:464): Init
the image texture failed.
[066:441] [2023-07-02 00:17:53 +0000.481671][47ad] OpenGLRenderProgram::Initialize
success.
[066:441] [2023-07-02 00:17:53 +0000.481771][47ad] Setup the OpenGL result:1
[066:444] [2023-07-02 00:17:53 +0000.484484][47ac] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.life_1688257071959/
record_video_103761934.mp4
[066:444] [2023-07-02 00:17:53 +0000.484827][47ac] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.life_1688257071959/
record_video_103761934.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[066:444] [2023-07-02 00:17:53 +0000.484928][47ac] 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
[066:444] [2023-07-02 00:17:53 +0000.484999][47ac] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.life_1688257071959/
record_video_103761934.mp4 fileFD: -1
[066:444] [2023-07-02 00:17:53 +0000.485229][47c1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79f7216098
[066:445] [2023-07-02 00:17:53 +0000.485562][47ac] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.life_1688257071959/
record_video_103761934.mp4 is opened successfully
[066:445] [2023-07-02 00:17:53 +0000.485669][47ac] setupMediaProcessers:
[066:445] [2023-07-02 00:17:53 +0000.485775][47ac]
RecordingSessionInternalSimple:setup media processers.
[066:445] [2023-07-02 00:17:53 +0000.485841][47ac] construct AAC encoder
[066:445] [2023-07-02 00:17:53 +0000.486305][47ac] H264Encoder creating:
superfast011818
[066:446] [2023-07-02 00:17:53 +0000.486399][47ac] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[066:446] [2023-07-02 00:17:53 +0000.486943][47ac] H264Encode::GetMachineModel is
M2102J20SG
[066:446] [2023-07-02 00:17:53 +0000.487064][47ac] H264Encoder machine_mode
is:M2102J20SG
[066:446] [2023-07-02 00:17:53 +0000.487087][47ac] setupCompressionSession:
[066:446] [2023-07-02 00:17:53 +0000.487105][47ac] H264Encode::creating hareware
Encoder
[066:446] [2023-07-02 00:17:53 +0000.487124][47ac] AndroidHwAvcEncoder
time:103761938 enter.

[066:447] [2023-07-02 00:17:53 +0000.487383][47ac] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b62071540 address:0x799571e050
[066:447] [2023-07-02 00:17:53 +0000.487593][47ac] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[066:447] [2023-07-02 00:17:53 +0000.487663][47ac] The video avc hw codec address
is 0x7a9f8aff78
[066:447] [2023-07-02 00:17:53 +0000.487772][47ac] AndroidHwAvcEncoder leave.
expire time = 1 ms

[066:447] [2023-07-02 00:17:53 +0000.487839][47ac] RegisterEncodeCompleteCallback


time:103761939 enter.

[066:447] [2023-07-02 00:17:53 +0000.487996][47ac] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[066:447] [2023-07-02 00:17:53 +0000.488090][47ac] InitEncode time:103761939


enter.

[066:447] [2023-07-02 00:17:53 +0000.488220][47ac] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[066:447] [2023-07-02 00:17:53 +0000.488296][47ac] Create time:103761939 enter.

[066:448] [2023-07-02 00:17:53 +0000.488635][47ac] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[066:448] [2023-07-02 00:17:53 +0000.488695][47ac]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79d365d440
[066:448] [2023-07-02 00:17:53 +0000.488901][47ac] supported_type:video/avc
[066:448] [2023-07-02 00:17:53 +0000.488974][47ac] name:OMX.qcom.video.encoder.avc
mime:video/avc
[066:448] [2023-07-02 00:17:53 +0000.489051][47ac] hwCodecPrefix :OMX.qcom.
[066:448] [2023-07-02 00:17:53 +0000.489108][47ac] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[066:448] [2023-07-02 00:17:53 +0000.489161][47ac] mediacodec_createCodecByName
time:103761940 enter.

[066:448] [2023-07-02 00:17:53 +0000.489214][47ac] WrapAndroidMediaCodec


time:103761940 enter.

[066:449] [2023-07-02 00:17:53 +0000.489365][47ac] WrapAndroidMediaCodec leave.


expire time = 1 ms

[066:472] [2023-07-02 00:17:53 +0000.512889][47ac] mediacodec_createCodecByName


leave. expire time = 24 ms

[066:472] [2023-07-02 00:17:53 +0000.513030][47ac] WrapAndroidMediaFromat


time:103761964 enter.

[066:472] [2023-07-02 00:17:53 +0000.513129][47ac] WrapAndroidMediaFromat leave.


expire time = 0 ms

[066:483] [2023-07-02 00:17:53 +0000.523610][47ae]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[066:531] [2023-07-02 00:17:53 +0000.572272][47ac] Destroy time:103762023 enter.

[066:532] [2023-07-02 00:17:53 +0000.572515][47ac] WrapAndroidMediaFromat::


Destroy
[066:532] [2023-07-02 00:17:53 +0000.572559][47ac] Destroy leave. expire time = 1
ms

[066:532] [2023-07-02 00:17:53 +0000.572583][47ac] ~WrapAndroidMediaFromat


time:103762024 enter.

[066:532] [2023-07-02 00:17:53 +0000.572609][47ac] ~WrapAndroidMediaFromat leave.


expire time = 0 ms
[066:532] [2023-07-02 00:17:53 +0000.572639][47ac] Create leave. expire time = 85
ms

[066:532] [2023-07-02 00:17:53 +0000.572666][47ac] isSemiPlanarSupport


time:103762024 enter.

[066:532] [2023-07-02 00:17:53 +0000.572687][47ac] H264Encoder isSemiPlanarSupport


[066:532] [2023-07-02 00:17:53 +0000.572712][47ac] isSemiPlanarSupport leave.
expire time = 0 ms

[066:532] [2023-07-02 00:17:53 +0000.572811][47ac] creat hw H264Encoder success,


isSemiPlanar:1
[066:532] [2023-07-02 00:17:53 +0000.572967][47ac] InitEncode leave. expire time =
85 ms

[066:532] [2023-07-02 00:17:53 +0000.573010][47ac] H264Encode::created Encoder


[066:532] [2023-07-02 00:17:53 +0000.573036][47ac] H264Encode:: H264 encoder
created.
[066:532] [2023-07-02 00:17:53 +0000.573059][47ac] H264 encoder created.
[066:532] [2023-07-02 00:17:53 +0000.573079][47ac]
RecordingSessionInternalSimple:created avc encoder avc: 0x79d34fca00
[066:532] [2023-07-02 00:17:53 +0000.573104][47ac] setOutput:
[066:532] [2023-07-02 00:17:53 +0000.573126][47ac]
RecordingSessionInternalSimple:encoder set output to muxer!
[066:532] [2023-07-02 00:17:53 +0000.573147][47ac] request a key frame
[066:532] [2023-07-02 00:17:53 +0000.573166][47ac] H264Encode:: request a key frame
[066:533] [2023-07-02 00:17:53 +0000.573440][47ad] Start:
[066:533] [2023-07-02 00:17:53 +0000.573752][47b0] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[066:533] [2023-07-02 00:17:53 +0000.573856][47b0] Reset: history total size: 98
[066:533] [2023-07-02 00:17:53 +0000.573893][47b0] DeviceStart:
audioDevice_:0x7a34920000
[066:533] [2023-07-02 00:17:53 +0000.573920][47b0] DeviceStart: time profile
playout init before
[066:533] [2023-07-02 00:17:53 +0000.573947][47b0] DeviceStart: time profile
playout init end
[066:533] [2023-07-02 00:17:53 +0000.573971][47b0] OpenSlesOutput:Start playout

[066:535] [2023-07-02 00:17:53 +0000.575663][47b0] Create the opensl output player.


streamtype before:0

[066:535] [2023-07-02 00:17:53 +0000.575745][47b0] Create the opensl output player.


streamtype after:3

[066:556] [2023-07-02 00:17:53 +0000.596588][47ae]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[066:572] [2023-07-02 00:17:53 +0000.612337][47b0] Enqueue opensl buffer size:1764
[066:607] [2023-07-02 00:17:53 +0000.648054][47b0] DeviceStart: time profile
playout all end
[066:607] [2023-07-02 00:17:53 +0000.648239][47b0] operator(): Audio playback
started.
[066:629] [2023-07-02 00:17:53 +0000.669950][47ae]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[066:630] [2023-07-02 00:17:53 +0000.670950][47ad] begine recode to first frame
spend time:213
[066:630] [2023-07-02 00:17:53 +0000.671011][47ad] add frame because frame
interval.
[066:630] [2023-07-02 00:17:53 +0000.671057][47ad]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[066:630] [2023-07-02 00:17:53 +0000.671099][47ad]
GPUImageProcessing::SetOrientation orientation: 90
[066:632] [2023-07-02 00:17:53 +0000.672503][47ad] drawYUV420 render
OpenGLRenderProgram:0x79d3a65498
[066:647] [2023-07-02 00:17:53 +0000.687640][47ad] drawYUV420 render
OpenGLRenderProgram:0x79d3a65498
[066:659] [2023-07-02 00:17:53 +0000.700293][47c0]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[066:660] [2023-07-02 00:17:53 +0000.700364][47ae] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.life//bgm.mp3 sync_mode: 1
seek_pos: 0 delay: 0 this:0x79d3a65800
[066:660] [2023-07-02 00:17:53 +0000.700806][47bd] FFMpeg=> [mp3 @ 0x79d362d400]
Current FFmpeg version git-2021-06-16-97cea6f

[066:660] [2023-07-02 00:17:53 +0000.701074][47bd] Warning(ff_ffplay.cpp:68):


FFMpeg=> [mp3 @ 0x79d362d400] Estimating duration from bitrate, this may be
inaccurate

[066:663] [2023-07-02 00:17:53 +0000.703712][47b0] First audio frame rendering


[066:665] [2023-07-02 00:17:53 +0000.705421][47c1] add aac audio track with id:1
[066:670] [2023-07-02 00:17:53 +0000.710523][47ad] drawYUV420 render
OpenGLRenderProgram:0x79d3a65498
[066:677] [2023-07-02 00:17:53 +0000.717853][47c1] audio start ts:0
[066:677] [2023-07-02 00:17:53 +0000.717945][47c1] the audio frame has been written
into MP4 file
[066:715] [2023-07-02 00:17:53 +0000.755459][47c0] h264 add frame header cdr flag
[066:715] [2023-07-02 00:17:53 +0000.756039][47c0] h264 add frame header cdr flag
[066:716] [2023-07-02 00:17:53 +0000.756410][47c0] Received key frame:0
[066:716] [2023-07-02 00:17:53 +0000.756501][47c0] H264Encode:: get a sps pps
header!headerSize:32
[066:716] [2023-07-02 00:17:53 +0000.756641][47c1] get the H.264 SPS parameter
[066:716] [2023-07-02 00:17:53 +0000.756894][47c1] add video track with id:2
[066:717] [2023-07-02 00:17:53 +0000.757602][47c1] get the H.264 PPS parameter
[066:718] [2023-07-02 00:17:53 +0000.759256][47c1] get the H.264 IDR frame
[066:719] [2023-07-02 00:17:53 +0000.759347][47c1] resss:true
[066:719] [2023-07-02 00:17:53 +0000.759365][47c1] video start ts:0
[066:719] [2023-07-02 00:17:53 +0000.759472][47c1] the video frame has been written
into MP4 file
[066:843] [2023-07-02 00:17:53 +0000.884220][47ad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[066:957] [2023-07-02 00:17:53 +0000.997998][47ad] The convert RGB to YUV take 14
[067:078] [2023-07-02 00:17:54 +0000.119283][47ad] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[067:079] [2023-07-02 00:17:54 +0000.119462][47ad] GPUImageProcessing: input frame
width2160 X 3840
[067:079] [2023-07-02 00:17:54 +0000.120070][47ad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[067:079] [2023-07-02 00:17:54 +0000.120191][47ad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[067:106] [2023-07-02 00:17:54 +0000.147285][47c0] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:400 pts:400
[067:117] [2023-07-02 00:17:54 +0000.161293][47ad] CameraSource::PushExtraFrame
pkt_dts: 508, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x79f7012900
[067:128] [2023-07-02 00:17:54 +0000.168830][47c0] DTS queue for
Generator:0x79f72164b8 433 467
[067:200] [2023-07-02 00:17:54 +0000.240374][47c0] Push an pts:533 to dts queue.
[067:236] [2023-07-02 00:17:54 +0000.277289][47c0] SendFrame
encodedImage._timeStamp:533encodedImage->_length:37920
[067:237] [2023-07-02 00:17:54 +0000.277506][47c0] last dts:500 currentPts:533
ppsOrSPS:0 queue length:2
[067:256] [2023-07-02 00:17:54 +0000.296404][47c0] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:600
[067:256] [2023-07-02 00:17:54 +0000.296655][47c0] push video frame to H264
encoder. (100 frame for one log)

[067:256] [2023-07-02 00:17:54 +0000.296690][47c0] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[067:256] [2023-07-02 00:17:54 +0000.296711][47c0] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:600(100 frame for one
log)

[067:256] [2023-07-02 00:17:54 +0000.296735][47c0] The input pts:600 fps:30


[067:272] [2023-07-02 00:17:54 +0000.312516][47c7]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[067:303] [2023-07-02 00:17:54 +0000.343570][47c0] H264Encode::H264SWEncoder get
callback, length:48096 type:1 nalType:1length:48092
[067:348] [2023-07-02 00:17:54 +0000.388878][430c] video render surface render a
frame
[067:349] [2023-07-02 00:17:54 +0000.389770][47ad] CropFilter::OnVideoFrame
outputtexture :16
[067:349] [2023-07-02 00:17:54 +0000.389987][47ad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[067:461] [2023-07-02 00:17:54 +0000.501417][47ad] The convert RGB to YUV take 7
[067:541] [2023-07-02 00:17:54 +0000.581879][47ae] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[067:594] [2023-07-02 00:17:54 +0000.634880][47b0] The audio playback speed:100
(1/100)
[067:594] [2023-07-02 00:17:54 +0000.635058][47b0] lipsync_debug: The current
played audio timestamp is:1079(1/50)
[067:859] [2023-07-02 00:17:54 +0000.899751][47ad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[067:971] [2023-07-02 00:17:55 +0000.11725][47ad] The convert RGB to YUV take 13
[067:976] [2023-07-02 00:17:55 +0000.16433][47c0] DTS queue for
Generator:0x79f72164b8 1267 1300
[068:103] [2023-07-02 00:17:55 +0000.143785][47ad] CameraSource::PushExtraFrame
pkt_dts: 1489, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x79f7012900
[068:310] [2023-07-02 00:17:55 +0000.350978][47c7]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[068:370] [2023-07-02 00:17:55 +0000.410896][430c] video render surface render a
frame
[068:371] [2023-07-02 00:17:55 +0000.411770][47ad] CropFilter::OnVideoFrame
outputtexture :16
[068:371] [2023-07-02 00:17:55 +0000.411995][47ad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[068:483] [2023-07-02 00:17:55 +0000.524272][47ad] The convert RGB to YUV take 9
[068:547] [2023-07-02 00:17:55 +0000.588030][47c0] Push an pts:1867 to dts queue.
[068:592] [2023-07-02 00:17:55 +0000.632856][47c0] last dts:1833 currentPts:1867
ppsOrSPS:0 queue length:2
[068:672] [2023-07-02 00:17:55 +0000.712589][47ad] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3983 diff: 18
[068:747] [2023-07-02 00:17:55 +0000.787611][47c0] h264 add frame header cdr flag
[068:747] [2023-07-02 00:17:55 +0000.787955][47c0] Received key frame:2000
[068:780] [2023-07-02 00:17:55 +0000.820820][47b0] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[068:780] [2023-07-02 00:17:55 +0000.821269][47ad] OnNeedStopRecording:
[068:781] [2023-07-02 00:17:55 +0000.822144][3d91]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[068:782] [2023-07-02 00:17:55 +0000.822615][47ad] operator(): Stop
[068:785] [2023-07-02 00:17:55 +0000.825686][47ad] Stop:
[068:786] [2023-07-02 00:17:55 +0000.826480][47b0] DeviceStop:
audioDevice_:0x7a34920000
[068:786] [2023-07-02 00:17:55 +0000.826735][47b0] OpenSlesOutput:Stop playout

[068:792] [2023-07-02 00:17:55 +0000.833061][47b0] DeviceStop: Done


[068:793] [2023-07-02 00:17:55 +0000.833329][47b0] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[068:795] [2023-07-02 00:17:55 +0000.835428][47c0]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[068:797] [2023-07-02 00:17:55 +0000.837893][47ac] stop recording
[068:797] [2023-07-02 00:17:55 +0000.837986][47ac]
RecordingSessionInternalSimple:destroy media processers
[068:797] [2023-07-02 00:17:55 +0000.838018][47ac] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[068:797] [2023-07-02 00:17:55 +0000.838061][47ac] H264Encode::flushing hareware
Encoder
[068:797] [2023-07-02 00:17:55 +0000.838243][47ac] Flush time:103764289 enter.

[068:798] [2023-07-02 00:17:55 +0000.838375][47ac] H264Encoder encoder flush


[068:798] [2023-07-02 00:17:55 +0000.838414][47ac] flush output queue
[068:799] [2023-07-02 00:17:55 +0000.840213][47c1] get the H.264 IDR frame
[069:132] [2023-07-02 00:17:56 +0000.172518][47ac] Flush leave. expire time = 335
ms

[069:132] [2023-07-02 00:17:56 +0000.172932][47ac] ~H264EncodeWrap:


[069:132] [2023-07-02 00:17:56 +0000.173024][47ac] ~H264Encode:
[069:132] [2023-07-02 00:17:56 +0000.173077][47ac] teardownCompressionSession:
H264Encode::destroying Encoder
[069:132] [2023-07-02 00:17:56 +0000.173128][47ac] Release time:103764624 enter.

[069:133] [2023-07-02 00:17:56 +0000.173561][47ac] Release:


MediaCodecVideoEncoder::Release _inited:1
[069:133] [2023-07-02 00:17:56 +0000.173686][47ac] Destroy time:103764625 enter.

[069:133] [2023-07-02 00:17:56 +0000.173736][47ac] H264Encoder encoderDestroy


[069:133] [2023-07-02 00:17:56 +0000.173784][47ac]
AndroidMediaCodecVideoEncoder::release env: 0x79d34fcb40
[069:133] [2023-07-02 00:17:56 +0000.173835][47ac]
AndroidMediaCodecVideoEncoder::Destroy
[069:176] [2023-07-02 00:17:56 +0000.216370][47ac] Destroy leave. expire time = 43
ms

[069:176] [2023-07-02 00:17:56 +0000.216692][47ac] Release leave. expire time = 44


ms

[069:176] [2023-07-02 00:17:56 +0000.216806][47ac] ~AndroidHwAvcEncoder


time:103764668 enter.

[069:176] [2023-07-02 00:17:56 +0000.217027][47ac] Release time:103764668 enter.

[069:176] [2023-07-02 00:17:56 +0000.217109][47ac] Release:


MediaCodecVideoEncoder:: has been released before, just return
[069:176] [2023-07-02 00:17:56 +0000.217195][47ac] Release leave. expire time = 0
ms
[069:176] [2023-07-02 00:17:56 +0000.217244][47ac] ~AndroidMediaCodecVideoEncoder
[069:177] [2023-07-02 00:17:56 +0000.217394][47ac] ~WrapAndroidMediaCodec
time:103764669 enter.

[069:177] [2023-07-02 00:17:56 +0000.217546][47ac] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[069:177] [2023-07-02 00:17:56 +0000.217615][47ac] video hevc hw codec


destructor:0x7a9f8aff78

[069:177] [2023-07-02 00:17:56 +0000.217711][47ac] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[069:177] [2023-07-02 00:17:56 +0000.217786][47ac] teardownCompressionSession:


H264Encode::destroyed Encoder
[069:177] [2023-07-02 00:17:56 +0000.217883][47ac]
RecordingSessionInternalSimple:destroy aac encoder output!
[069:177] [2023-07-02 00:17:56 +0000.217933][47ac] AACSWEncode destructor
[069:181] [2023-07-02 00:17:56 +0000.222013][47c1] MP4 close file successfully
[069:181] [2023-07-02 00:17:56 +0000.222275][47c1] Recording session Internal:
notify recording ok
[069:182] [2023-07-02 00:17:56 +0000.222321][47c1] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.life_1688257071959/
record_video_103761934.mp4
[069:182] [2023-07-02 00:17:56 +0000.222411][47c1] OnRecordFinish:
[069:184] [2023-07-02 00:17:56 +0000.224588][47ad] DestroyPipelineAndFilters
time:103764676 enter.

[069:185] [2023-07-02 00:17:56 +0000.225422][47ad] UnbindInputFilter 0x79f7012a40


this 0x79d3a65780
[069:185] [2023-07-02 00:17:56 +0000.225629][47ad] UnbindInputFilter 0x79d3a65780
this 0x79cb73a518
[069:185] [2023-07-02 00:17:56 +0000.225670][47ad] filter: filter pipeline destroy
this: 0x79cb73a480
[069:185] [2023-07-02 00:17:56 +0000.225876][47ad] ClearVideoOfSources: recodring
total frames:65
[069:185] [2023-07-02 00:17:56 +0000.226048][47ad] ClearVideoOfSources:
[069:185] [2023-07-02 00:17:56 +0000.226125][47ad] GPUImageProcessing destruct.
[069:185] [2023-07-02 00:17:56 +0000.226208][47ad] destroy TrivalImageDrawer
0x7a34adbf00
[069:185] [2023-07-02 00:17:56 +0000.226299][47ad] The shader has been initialize,
clean up them.

[069:186] [2023-07-02 00:17:56 +0000.226733][47ad] ~OpenGLFrameBuffer:


[069:186] [2023-07-02 00:17:56 +0000.226930][47ad] ~OpenGLFrameBuffer:
[069:186] [2023-07-02 00:17:56 +0000.227225][47ad] ~OpenGLFrameBuffer:
[069:187] [2023-07-02 00:17:56 +0000.227338][47ad] ~OpenGLFrameBuffer:
[069:187] [2023-07-02 00:17:56 +0000.227421][47ad] ~OpenGLFrameBuffer:
[069:187] [2023-07-02 00:17:56 +0000.227494][47ad] ~OpenGLFrameBuffer:
[069:187] [2023-07-02 00:17:56 +0000.228030][47ad] GPUImageProcessing destruct
finish.
[069:187] [2023-07-02 00:17:56 +0000.228139][47ad] GPURGBAFrame destruct.
[069:187] [2023-07-02 00:17:56 +0000.228239][47ad] destroy OpenGLRenderProgram
0x79d3a65498
[069:188] [2023-07-02 00:17:56 +0000.228539][47ad] ~CameraSource time:103764680
enter.
[069:188] [2023-07-02 00:17:56 +0000.228652][47ad] ~CameraSource leave. expire
time = 0 ms

[069:198] [2023-07-02 00:17:56 +0000.239203][47ad] DestroyPipelineAndFilters


leave. expire time = 14 ms

[078:649] [2023-07-02 00:18:05 +0000.689697][3db3]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[078:649] [2023-07-02 00:18:05 +0000.689980][3db3] ~MediaFilterCamera
time:103774141 enter.

[078:652] [2023-07-02 00:18:05 +0000.692668][3db3] Stop:


[078:653] [2023-07-02 00:18:05 +0000.693341][47b0] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[078:655] [2023-07-02 00:18:05 +0000.696091][47ac] stop recording
[078:655] [2023-07-02 00:18:05 +0000.696217][47ac] we have stopped recording before
[078:657] [2023-07-02 00:18:05 +0000.697563][3db3] Stop:
[078:657] [2023-07-02 00:18:05 +0000.698005][47b0] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[078:658] [2023-07-02 00:18:05 +0000.698527][3db3] DeviceRelease:
audioDevice_:0x7a34920000
[078:658] [2023-07-02 00:18:05 +0000.698610][3db3] OpenSlesOutput:Stop playout

[078:658] [2023-07-02 00:18:05 +0000.698674][3db3] DeviceRelease: Release the


webrtc device object.
[078:658] [2023-07-02 00:18:05

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy