0% found this document useful (0 votes)
13 views

Trace

The document contains log messages from the initialization of an Android camera application. It logs the start time, sets application IDs, initializes audio and video devices, creates recording sessions, and binds filters as the camera is configured and started recording. Errors are encountered when trying to load a crop filter configuration from JSON.

Uploaded by

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

Trace

The document contains log messages from the initialization of an Android camera application. It logs the start time, sets application IDs, initializes audio and video devices, creates recording sessions, and binds filters as the camera is configured and started recording. Errors are encountered when trying to load a crop filter configuration from JSON.

Uploaded by

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

[000:041] [2022-02-20 08:52:56 +0000.

552282][466b] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-02-
20 08:52:56 +0000
[000:041] [2022-02-20 08:52:56 +0000.552393][466b] dump file m_prefix:-07-27-
feaf968

[000:043] [2022-02-20 08:52:56 +0000.554589][466b] dump filename:trace.txt dump


time:1645347176

[000:043] [2022-02-20 08:52:56 +0000.554848][466b] set AppID=123 old AppID=-1


[000:043] [2022-02-20 08:52:56 +0000.554890][466b] Init the android object with
jvm:0xb400006fba421380 env:0x6f9ce94cc0 context:0x6f458ac408

[000:043] [2022-02-20 08:52:56 +0000.554921][466b] SetAndroidMediaCodecObjects


time:17733415 enter.

[000:043] [2022-02-20 08:52:56 +0000.554941][466b] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:043] [2022-02-20 08:52:56 +0000.554951][466b] SetAndroidMediaCodecObjects


time:17733415 enter.

[000:043] [2022-02-20 08:52:56 +0000.554959][466b] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400006fba421380
[000:043] [2022-02-20 08:52:56 +0000.554967][466b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400006fba421380 address:0x6ee4a05050
[000:043] [2022-02-20 08:52:56 +0000.554976][466b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400006fba421380
address:0x6ee4a05050
[000:043] [2022-02-20 08:52:56 +0000.554983][466b] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:043] [2022-02-20 08:52:56 +0000.554997][466b] Set the android objects with


jvm:0xb400006fba421380 env:0x6f9ce94cc0 context:0x6f458ac408

[000:043] [2022-02-20 08:52:56 +0000.555013][466b] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9ce94cc0
[000:043] [2022-02-20 08:52:56 +0000.555025][466b] SystemUtil Init done
[000:057] [2022-02-20 08:52:56 +0000.568425][466b]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:058] [2022-02-20 08:52:56 +0000.569323][466b]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:058] [2022-02-20 08:52:56 +0000.569768][466b] machine model :xiaomi
[000:058] [2022-02-20 08:52:56 +0000.569806][466b] Support this machine
model :xiaomi
[000:058] [2022-02-20 08:52:56 +0000.569948][466b] MediaFilterCamera
[000:058] [2022-02-20 08:52:56 +0000.569988][466b] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:059] [2022-02-20 08:52:56 +0000.570198][466b] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:059] [2022-02-20 08:52:56 +0000.570233][466b] Recording session using default
bitrate support by app:31457280
[000:059] [2022-02-20 08:52:56 +0000.570242][37f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6fa9b36b40
[000:059] [2022-02-20 08:52:56 +0000.570391][37f] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:059] [2022-02-20 08:52:56 +0000.570463][466b] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:060] [2022-02-20 08:52:56 +0000.571311][466b] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:060] [2022-02-20 08:52:56 +0000.571599][466b] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:060] [2022-02-20 08:52:56 +0000.571673][466b] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:060] [2022-02-20 08:52:56 +0000.571814][466b] DeviceInit:
[000:061] [2022-02-20 08:52:56 +0000.572070][466b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:061] [2022-02-20 08:52:56 +0000.572329][466b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:062] [2022-02-20 08:52:56 +0000.573372][466b] CreatePlatformSpecificObjects:
[000:062] [2022-02-20 08:52:56 +0000.573412][466b] audio device use null audio
input and opensl output
[000:062] [2022-02-20 08:52:56 +0000.573446][466b] Create OpenSLES output module
with java VM support.

[000:062] [2022-02-20 08:52:56 +0000.573545][466b] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:062] [2022-02-20 08:52:56 +0000.573798][466b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:062] [2022-02-20 08:52:56 +0000.573999][466b] Create OpenSLES output module
with buffer num:2

[000:063] [2022-02-20 08:52:56 +0000.574091][466b] Error(trace.cc:40): Init the


output and input for audio device template.
[000:063] [2022-02-20 08:52:56 +0000.574117][466b] Init the output device.

[000:063] [2022-02-20 08:52:56 +0000.574132][466b] Set the playout as stereo:1


[000:063] [2022-02-20 08:52:56 +0000.574145][466b] Set the sample rate to be:44100

[000:063] [2022-02-20 08:52:56 +0000.574687][466b] Low latency buffer size:144 low


sample rate:48000
[000:063] [2022-02-20 08:52:56 +0000.574733][466b] DeviceInit: Done
[000:065] [2022-02-20 08:52:56 +0000.576180][466b] global inited! current sdk
version: 07-27-feaf968
[000:328] [2022-02-20 08:52:56 +0000.839606][77e0]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:328] [2022-02-20 08:52:56 +0000.839718][77e0]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
15, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices
len: 32, texture_vertices len: 32
[000:329] [2022-02-20 08:52:56 +0000.840113][77e0]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:329] [2022-02-20 08:52:56 +0000.840210][380] MediaFilterCamera, recording file
context:0x6f28fe4e00 input texture:15
[000:329] [2022-02-20 08:52:56 +0000.840265][380] GLESContext:
[000:329] [2022-02-20 08:52:56 +0000.840296][380] The result of eglGetDisplay is:
0x1
[000:330] [2022-02-20 08:52:56 +0000.841133][380] The result of creation:
0x6f4f298400
[000:330] [2022-02-20 08:52:56 +0000.841250][380] The result of
eglCreatePbufferSurface is: 0x6f4f298800
[000:330] [2022-02-20 08:52:56 +0000.841353][77e0]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x6f28fe4e00 input_texture: 15
[006:008] [2022-02-20 08:53:02 +0000.519512][464a] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[006:008] [2022-02-20 08:53:02 +0000.519614][464a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[006:010] [2022-02-20 08:53:02 +0000.521069][464a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[006:011] [2022-02-20 08:53:02 +0000.522074][380] MediaFilterCamera, recording
file context:0x6f28fe4e00 input texture:15
[006:011] [2022-02-20 08:53:02 +0000.522166][380] construct OpenGLRenderProgram
0x6f9ce32498
[006:011] [2022-02-20 08:53:02 +0000.522199][380] CropFilter::SetOrientation
orientation: 90
[006:011] [2022-02-20 08:53:02 +0000.522223][380] filter: filter pipeline construtc
this: 0x6f14604740
[006:011] [2022-02-20 08:53:02 +0000.522238][380] filter: filter pipeline2 update
pattern: 1
[006:011] [2022-02-20 08:53:02 +0000.522310][380] CameraSource::source_id_:1
[006:011] [2022-02-20 08:53:02 +0000.522516][380] SetPlayLoop: AudioSource
SetPlayLoop 0
[006:011] [2022-02-20 08:53:02 +0000.522636][380]
Warning(media_filter_camera.cc:483): seekPos:0
[006:011] [2022-02-20 08:53:02 +0000.522686][380] BindInputFilter 0x6f17e3eec0
this 0x6f9ce32780
[006:011] [2022-02-20 08:53:02 +0000.522716][380] BindInputFilter 0x6f9ce32780
this 0x6f146047d8
[006:011] [2022-02-20 08:53:02 +0000.522804][380] SetParamForFilter time:17739383
enter.

[006:011] [2022-02-20 08:53:02 +0000.523003][380] SetParamForFilter: Params video


index is: 0
[006:011] [2022-02-20 08:53:02 +0000.523031][380] SetParamForFilter: Params seek
pos is: 0
[006:011] [2022-02-20 08:53:02 +0000.523044][380] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.staticframe/
movie_mode: 0
[006:012] [2022-02-20 08:53:02 +0000.523100][380] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.staticframe//config.json
[006:012] [2022-02-20 08:53:02 +0000.523294][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523500][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523558][380]
exp_des.start:0exp_des.end:1667exp_des.expressionstr:0.5
[006:012] [2022-02-20 08:53:02 +0000.523593][380]
exp_des.start:0exp_des.end:1667exp_des.expressionstr:0.5
[006:012] [2022-02-20 08:53:02 +0000.523627][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523643][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523655][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523667][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523679][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523691][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523717][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523739][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523758][380]
Warning(parse_template_json.cc:45): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523771][380]
Warning(parse_template_json.cc:95): json parament no found the parament
[006:012] [2022-02-20 08:53:02 +0000.523784][380]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[006:012] [2022-02-20 08:53:02 +0000.523798][380] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.staticframe//filter.png
[006:012] [2022-02-20 08:53:02 +0000.523809][380]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[006:012] [2022-02-20 08:53:02 +0000.523820][380]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[006:013] [2022-02-20 08:53:02 +0000.524830][380] SetParamForFilter leave. expire
time = 2 ms

[006:013] [2022-02-20 08:53:02 +0000.524994][380] OnOutputSizeChanged width 1920


height 1080
[006:014] [2022-02-20 08:53:02 +0000.525210][380] OpenGLFrameBuffer: width:1920
height:1080
[006:014] [2022-02-20 08:53:02 +0000.525274][380] OpenGLFrameBuffer: width:1920
height:1080
[006:014] [2022-02-20 08:53:02 +0000.525295][380] OpenGLFrameBuffer: width:1920
height:1080
[006:014] [2022-02-20 08:53:02 +0000.525311][380] OpenGLFrameBuffer: width:1920
height:1080
[006:014] [2022-02-20 08:53:02 +0000.525480][380] OpenGLFrameBuffer: width:1920
height:1080
[006:014] [2022-02-20 08:53:02 +0000.525504][380] OpenGLFrameBuffer: width:1920
height:1080
[006:014] [2022-02-20 08:53:02 +0000.525518][380] construct TrivalImageDrawer
0x6f17e6f200
[006:014] [2022-02-20 08:53:02 +0000.525530][380] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x6f17e6f200 context 0x6f4f171340
[006:014] [2022-02-20 08:53:02 +0000.525543][380] setupGLES:
[006:015] [2022-02-20 08:53:02 +0000.526236][380] OpenGLRenderProgram::Initialize.
[006:015] [2022-02-20 08:53:02 +0000.526312][380] The version of the OpenGL: OpenGL
ES GLSL ES 3.20
[006:015] [2022-02-20 08:53:02 +0000.526344][380] 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 GL_QCOM_shading_rate
[006:015] [2022-02-20 08:53:02 +0000.526398][380] Init open gl render: 0x6f9ce32498
[006:015] [2022-02-20 08:53:02 +0000.526418][380] Fragement shader path:
[006:015] [2022-02-20 08:53:02 +0000.526450][380] Fragement shader path:
[006:015] [2022-02-20 08:53:02 +0000.526470][380] create opengl program object.
[006:015] [2022-02-20 08:53:02 +0000.526482][380] create shader: vertex
[006:018] [2022-02-20 08:53:02 +0000.529556][380] create shader: fragment
[006:079] [2022-02-20 08:53:02 +0000.590394][380] External image path is empty!
[006:079] [2022-02-20 08:53:02 +0000.590484][380] Error(crop_filter.cc:464): Init
the image texture failed.
[006:079] [2022-02-20 08:53:02 +0000.590504][380] OpenGLRenderProgram::Initialize
success.
[006:079] [2022-02-20 08:53:02 +0000.590545][380] Setup the OpenGL result:1
[006:079] [2022-02-20 08:53:02 +0000.590623][381] Pull audio failed.(wait video!)
[006:079] [2022-02-20 08:53:02 +0000.590672][381]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:079] [2022-02-20 08:53:02 +0000.590778][37f] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.staticframe_16453471
76316/record_video_17739451.mp4
[006:079] [2022-02-20 08:53:02 +0000.590904][37f] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.staticframe_16453471
76316/record_video_17739451.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[006:079] [2022-02-20 08:53:02 +0000.590939][37f] 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
[006:079] [2022-02-20 08:53:02 +0000.590934][3ae] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f4f277898
[006:079] [2022-02-20 08:53:02 +0000.590961][37f] 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.staticframe_16453471
76316/record_video_17739451.mp4 fileFD: -1
[006:080] [2022-02-20 08:53:02 +0000.591337][37f] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.staticframe_16453471
76316/record_video_17739451.mp4 is opened successfully
[006:080] [2022-02-20 08:53:02 +0000.591399][37f] setupMediaProcessers:
[006:080] [2022-02-20 08:53:02 +0000.591411][37f]
RecordingSessionInternalSimple:setup media processers.
[006:080] [2022-02-20 08:53:02 +0000.591420][37f] construct AAC encoder
[006:080] [2022-02-20 08:53:02 +0000.591654][37f] H264Encoder creating:
superfast011818
[006:080] [2022-02-20 08:53:02 +0000.591691][37f] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[006:080] [2022-02-20 08:53:02 +0000.592016][37f] H264Encode::GetMachineModel is
2109119DG
[006:081] [2022-02-20 08:53:02 +0000.592087][37f] H264Encoder machine_mode
is:2109119DG
[006:081] [2022-02-20 08:53:02 +0000.592101][37f] setupCompressionSession:
[006:081] [2022-02-20 08:53:02 +0000.592111][37f] H264Encode::creating hareware
Encoder
[006:081] [2022-02-20 08:53:02 +0000.592120][37f] AndroidHwAvcEncoder time:17739453
enter.

[006:081] [2022-02-20 08:53:02 +0000.592264][37f] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400006fba421380 address:0x6ee4a05050
[006:081] [2022-02-20 08:53:02 +0000.592367][37f] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[006:081] [2022-02-20 08:53:02 +0000.592391][37f] The video avc hw codec address is
0x6f292f5e70
[006:081] [2022-02-20 08:53:02 +0000.592440][37f] AndroidHwAvcEncoder leave.
expire time = 0 ms

[006:081] [2022-02-20 08:53:02 +0000.592456][37f] RegisterEncodeCompleteCallback


time:17739453 enter.

[006:081] [2022-02-20 08:53:02 +0000.592529][37f] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[006:081] [2022-02-20 08:53:02 +0000.592551][37f] InitEncode time:17739453 enter.

[006:081] [2022-02-20 08:53:02 +0000.592592][37f] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[006:081] [2022-02-20 08:53:02 +0000.592620][37f] Create time:17739453 enter.

[006:081] [2022-02-20 08:53:02 +0000.592634][37f] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[006:081] [2022-02-20 08:53:02 +0000.592648][37f]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6f14494e40
[006:094] [2022-02-20 08:53:02 +0000.605388][37f] supported_type:audio/ozoaudio
[006:094] [2022-02-20 08:53:02 +0000.605492][37f] supported_type:audio/mp4a-latm
[006:094] [2022-02-20 08:53:02 +0000.605517][37f] supported_type:audio/mp4a-latm
[006:094] [2022-02-20 08:53:02 +0000.605539][37f] supported_type:audio/3gpp
[006:094] [2022-02-20 08:53:02 +0000.605557][37f] supported_type:audio/3gpp
[006:094] [2022-02-20 08:53:02 +0000.605578][37f] supported_type:audio/amr-wb
[006:094] [2022-02-20 08:53:02 +0000.605596][37f] supported_type:audio/amr-wb
[006:094] [2022-02-20 08:53:02 +0000.605617][37f] supported_type:audio/flac
[006:094] [2022-02-20 08:53:02 +0000.605636][37f] supported_type:audio/flac
[006:094] [2022-02-20 08:53:02 +0000.605664][37f] supported_type:audio/opus
[006:094] [2022-02-20 08:53:02 +0000.605704][37f] supported_type:video/avc
[006:094] [2022-02-20 08:53:02 +0000.605721][37f] name:c2.qti.avc.encoder
mime:video/avc
[006:094] [2022-02-20 08:53:02 +0000.605751][37f] hwCodecPrefix :OMX.qcom.
[006:094] [2022-02-20 08:53:02 +0000.605767][37f] hwCodecPrefix :OMX.Nvidia.
[006:094] [2022-02-20 08:53:02 +0000.605777][37f] hwCodecPrefix :OMX.IMG.TOPAZ
[006:094] [2022-02-20 08:53:02 +0000.605784][37f] hwCodecPrefix :OMX.Exynos
[006:094] [2022-02-20 08:53:02 +0000.605792][37f] hwCodecPrefix :OMX.MTK
[006:094] [2022-02-20 08:53:02 +0000.605799][37f] hwCodecPrefix :OMX.hantro
[006:094] [2022-02-20 08:53:02 +0000.605807][37f] hwCodecPrefix :OMX.Intel
[006:094] [2022-02-20 08:53:02 +0000.605814][37f] hwCodecPrefix :OMX.ARM
[006:094] [2022-02-20 08:53:02 +0000.605827][37f] supported_type:video/avc
[006:094] [2022-02-20 08:53:02 +0000.605859][37f] name:OMX.qcom.video.encoder.avc
mime:video/avc
[006:094] [2022-02-20 08:53:02 +0000.605874][37f] hwCodecPrefix :OMX.qcom.
[006:094] [2022-02-20 08:53:02 +0000.605889][37f] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[006:094] [2022-02-20 08:53:02 +0000.605905][37f] mediacodec_createCodecByName
time:17739466 enter.

[006:094] [2022-02-20 08:53:02 +0000.605918][37f] WrapAndroidMediaCodec


time:17739466 enter.

[006:094] [2022-02-20 08:53:02 +0000.606014][37f] WrapAndroidMediaCodec leave.


expire time = 0 ms

[006:114] [2022-02-20 08:53:02 +0000.625921][37f] mediacodec_createCodecByName


leave. expire time = 20 ms

[006:114] [2022-02-20 08:53:02 +0000.626027][37f] WrapAndroidMediaFromat


time:17739486 enter.

[006:115] [2022-02-20 08:53:02 +0000.626105][37f] WrapAndroidMediaFromat leave.


expire time = 1 ms

[006:150] [2022-02-20 08:53:02 +0000.661994][381]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:158] [2022-02-20 08:53:02 +0000.669355][37f] Destroy time:17739530 enter.

[006:158] [2022-02-20 08:53:02 +0000.669495][37f] WrapAndroidMediaFromat::


Destroy
[006:158] [2022-02-20 08:53:02 +0000.669522][37f] Destroy leave. expire time = 0
ms

[006:158] [2022-02-20 08:53:02 +0000.669535][37f] ~WrapAndroidMediaFromat


time:17739530 enter.

[006:158] [2022-02-20 08:53:02 +0000.669554][37f] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[006:158] [2022-02-20 08:53:02 +0000.669572][37f] Create leave. expire time = 77


ms

[006:158] [2022-02-20 08:53:02 +0000.669590][37f] isSemiPlanarSupport time:17739530


enter.

[006:158] [2022-02-20 08:53:02 +0000.669600][37f] H264Encoder isSemiPlanarSupport


[006:158] [2022-02-20 08:53:02 +0000.669623][37f] isSemiPlanarSupport leave.
expire time = 0 ms

[006:158] [2022-02-20 08:53:02 +0000.669639][37f] creat hw H264Encoder success,


isSemiPlanar:1
[006:158] [2022-02-20 08:53:02 +0000.669922][37f] InitEncode leave. expire time =
77 ms
[006:158] [2022-02-20 08:53:02 +0000.669991][37f] H264Encode::created Encoder
[006:158] [2022-02-20 08:53:02 +0000.670013][37f] H264Encode:: H264 encoder
created.
[006:158] [2022-02-20 08:53:02 +0000.670025][37f] H264 encoder created.
[006:158] [2022-02-20 08:53:02 +0000.670039][37f]
RecordingSessionInternalSimple:created avc encoder avc: 0x6f05144700
[006:159] [2022-02-20 08:53:02 +0000.670057][37f] setOutput:
[006:159] [2022-02-20 08:53:02 +0000.670067][37f]
RecordingSessionInternalSimple:encoder set output to muxer!
[006:159] [2022-02-20 08:53:02 +0000.670079][37f] request a key frame
[006:159] [2022-02-20 08:53:02 +0000.670090][37f] H264Encode:: request a key frame
[006:159] [2022-02-20 08:53:02 +0000.670285][380] Start:
[006:159] [2022-02-20 08:53:02 +0000.670746][383] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[006:160] [2022-02-20 08:53:02 +0000.671229][383] Reset: history total size: 98
[006:160] [2022-02-20 08:53:02 +0000.671285][383] DeviceStart:
audioDevice_:0x6fa9b58000
[006:160] [2022-02-20 08:53:02 +0000.671321][383] DeviceStart: time profile playout
init before
[006:160] [2022-02-20 08:53:02 +0000.671391][383] DeviceStart: time profile playout
init end
[006:160] [2022-02-20 08:53:02 +0000.671426][383] OpenSlesOutput:Start playout

[006:163] [2022-02-20 08:53:02 +0000.674801][383] The machine model:2109119DG

[006:164] [2022-02-20 08:53:02 +0000.675464][383] Create the opensl output player.


streamtype before:0

[006:164] [2022-02-20 08:53:02 +0000.675640][383] Create the opensl output player.


streamtype after:3

[006:180] [2022-02-20 08:53:02 +0000.691782][383] Enqueue opensl buffer size:1764


[006:196] [2022-02-20 08:53:02 +0000.707412][383] DeviceStart: time profile playout
all end
[006:196] [2022-02-20 08:53:02 +0000.707444][3b8]
PlayerSimpleBufferQueueCallbackHandler function
[006:196] [2022-02-20 08:53:02 +0000.707478][383] operator(): Audio playback
started.
[006:196] [2022-02-20 08:53:02 +0000.707565][3b8] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[006:196] [2022-02-20 08:53:02 +0000.707607][3b8]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[006:218] [2022-02-20 08:53:02 +0000.729516][380] begine recode to first frame
spend time:208
[006:218] [2022-02-20 08:53:02 +0000.729672][77e0] video render surface render a
frame
[006:218] [2022-02-20 08:53:02 +0000.729688][380] CameraSource::PushExtraFrame
pkt_dts: 0, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x6f17e3ed80
[006:219] [2022-02-20 08:53:02 +0000.730490][380] add frame because frame interval.
[006:219] [2022-02-20 08:53:02 +0000.730542][380] blur_distance_:0
[006:219] [2022-02-20 08:53:02 +0000.730584][380] blur_direction_angle_:-90
[006:219] [2022-02-20 08:53:02 +0000.730617][380] color_r_offset_:0
[006:219] [2022-02-20 08:53:02 +0000.730635][380] color_g_offset:0
[006:219] [2022-02-20 08:53:02 +0000.730648][380] play_speed_:1
[006:219] [2022-02-20 08:53:02 +0000.730663][380] roll_value_:0
[006:219] [2022-02-20 08:53:02 +0000.730677][380] need_extra_image_:0 need_image: 0
[006:219] [2022-02-20 08:53:02 +0000.730695][380] ResetFramePtsadjust pts: 0current
pts:10
[006:219] [2022-02-20 08:53:02 +0000.730717][380]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[006:219] [2022-02-20 08:53:02 +0000.730735][380]
GPUImageProcessing::SetOrientation orientation: 90
[006:219] [2022-02-20 08:53:02 +0000.730760][380] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[006:219] [2022-02-20 08:53:02 +0000.730875][380] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[006:219] [2022-02-20 08:53:02 +0000.730924][380] GPUImageProcessing: input frame
width2160 X 3840
[006:224] [2022-02-20 08:53:02 +0000.735546][381]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:230] [2022-02-20 08:53:02 +0000.741082][380] drawYUV420 render
OpenGLRenderProgram:0x6f9ce32498
[006:231] [2022-02-20 08:53:02 +0000.742384][380] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[006:231] [2022-02-20 08:53:02 +0000.742541][380] CropFilter::OnVideoFrame
outputtexture :18
[006:231] [2022-02-20 08:53:02 +0000.742567][380] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[006:237] [2022-02-20 08:53:02 +0000.748185][380] The read pixel from buffer take:
6 width:1920 height:1080 frameType:0
[006:250] [2022-02-20 08:53:02 +0000.761330][380] drawYUV420 render
OpenGLRenderProgram:0x6f9ce32498
[006:258] [2022-02-20 08:53:02 +0000.769255][380] The convert RGB to YUV take 3
[006:258] [2022-02-20 08:53:02 +0000.769756][380] FilterPipeline2::OnVideoFrame pts
33 last_video_timestamp_ 33
[006:258] [2022-02-20 08:53:02 +0000.769913][380]
MediaFilterCamera::OnOutputVideoFrame timestamp: 0
[006:261] [2022-02-20 08:53:02 +0000.772807][39e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[006:262] [2022-02-20 08:53:02 +0000.773917][39e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[006:263] [2022-02-20 08:53:02 +0000.774244][39e] push video frame to H264 encoder.
(100 frame for one log)

[006:263] [2022-02-20 08:53:02 +0000.774300][39e] push video frame to H264 encoder.


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

[006:263] [2022-02-20 08:53:02 +0000.774342][39e] H264Encode::push video frame to


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

[006:263] [2022-02-20 08:53:02 +0000.774390][39e] Push an pts:0 to dts queue.


[006:263] [2022-02-20 08:53:02 +0000.774488][39e] DTS queue for
Generator:0x6f4f277ab8 0
[006:263] [2022-02-20 08:53:02 +0000.774539][39e] The input pts:0 fps:30
[006:266] [2022-02-20 08:53:02 +0000.777377][381] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.staticframe//bgm.mp3
sync_mode: 1 seek_pos: 0 delay: 0 this:0x6f9ce32800
[006:270] [2022-02-20 08:53:02 +0000.782070][39e]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[006:272] [2022-02-20 08:53:02 +0000.783430][381] FilterPipeline2::OnAudioFrame pts
26 last_audio_timestamp_ 26
[006:272] [2022-02-20 08:53:02 +0000.783779][381]
MediaFilterCamera::OnOutputAudioFrame timestamp: 26.5 sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:1152
[006:272] [2022-02-20 08:53:02 +0000.784020][381] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[006:273] [2022-02-20 08:53:02 +0000.784418][383] The audio playback speed:100
(1/100)
[006:273] [2022-02-20 08:53:02 +0000.784504][383] lipsync_debug: The current played
audio timestamp is:26(1/50)
[006:273] [2022-02-20 08:53:02 +0000.784527][383] First audio frame rendering
[006:275] [2022-02-20 08:53:02 +0000.786304][39d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[006:275] [2022-02-20 08:53:02 +0000.786839][3ae] add aac audio track with id:1
[006:289] [2022-02-20 08:53:02 +0000.800320][380] drawYUV420 render
OpenGLRenderProgram:0x6f9ce32498
[006:290] [2022-02-20 08:53:02 +0000.801310][3ae] audio start ts:0
[006:290] [2022-02-20 08:53:02 +0000.801471][3ae] the audio frame has been written
into MP4 file
[006:398] [2022-02-20 08:53:02 +0000.909904][39e] h264 add frame header cdr flag
[006:399] [2022-02-20 08:53:02 +0000.911000][39e] h264 add frame header cdr flag
[006:401] [2022-02-20 08:53:02 +0000.912322][39e] SendFrame
encodedImage._timeStamp:0encodedImage->_length:435104
[006:401] [2022-02-20 08:53:02 +0000.912443][39e] Received key frame:0
[006:401] [2022-02-20 08:53:02 +0000.912468][39e] last dts:0 currentPts:0
ppsOrSPS:0 queue length:5
[006:401] [2022-02-20 08:53:02 +0000.912484][39e] H264Encode::H264SWEncoder get
callback, length:435104 type:0 nalType:7length:19
[006:401] [2022-02-20 08:53:02 +0000.912496][39e] H264Encode:: get a sps pps
header!headerSize:32
[006:401] [2022-02-20 08:53:02 +0000.912506][39e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[006:401] [2022-02-20 08:53:02 +0000.912662][3ae] get the H.264 SPS parameter
[006:401] [2022-02-20 08:53:02 +0000.912979][3ae] add video track with id:2
[006:406] [2022-02-20 08:53:02 +0000.917327][3ae] get the H.264 PPS parameter
[006:408] [2022-02-20 08:53:02 +0000.919545][3ae] get the H.264 IDR frame
[006:408] [2022-02-20 08:53:02 +0000.919860][3ae] resss:true
[006:408] [2022-02-20 08:53:02 +0000.919904][3ae] video start ts:0
[006:409] [2022-02-20 08:53:02 +0000.920267][3ae] the video frame has been written
into MP4 file
[006:500] [2022-02-20 08:53:03 +0000.11376][380] max rang is 200ms, insert a frame
last pts:224 current pts:290
[006:712] [2022-02-20 08:53:03 +0000.223252][380] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:749] [2022-02-20 08:53:03 +0000.260583][380] The convert RGB to YUV take 7
[007:119] [2022-02-20 08:53:03 +0000.630669][39e] DTS queue for
Generator:0x6f4f277ab8 767 800 833 867
[007:174] [2022-02-20 08:53:03 +0000.685217][3b8]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[007:208] [2022-02-20 08:53:03 +0000.719810][380] CameraSource::PushExtraFrame
pkt_dts: 990, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x6f17e3ed80
[007:209] [2022-02-20 08:53:03 +0000.720512][380] CropFilter::OnVideoFrame
outputtexture :18
[007:209] [2022-02-20 08:53:03 +0000.720640][380] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:233] [2022-02-20 08:53:03 +0000.744158][77e0] video render surface render a
frame
[007:243] [2022-02-20 08:53:03 +0000.755042][380] The convert RGB to YUV take 9
[007:585] [2022-02-20 08:53:04 +0000.96568][39e] Push an pts:1333 to dts queue.
[007:697] [2022-02-20 08:53:04 +0000.208696][39e] last dts:1300 currentPts:1333
ppsOrSPS:0 queue length:4
[007:710] [2022-02-20 08:53:04 +0000.221569][380] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:740] [2022-02-20 08:53:04 +0000.251795][380] The convert RGB to YUV take 5
[007:904] [2022-02-20 08:53:04 +0000.415444][380] Current timestamp:1690 is greater
than duration_time: 1667
[007:949] [2022-02-20 08:53:04 +0000.460735][383] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[007:950] [2022-02-20 08:53:04 +0000.461735][380] OnNeedStopRecording:
[007:955] [2022-02-20 08:53:04 +0000.466478][464a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[007:956] [2022-02-20 08:53:04 +0000.467569][380] operator(): Stop
[007:956] [2022-02-20 08:53:04 +0000.467687][380] Stop:
[007:957] [2022-02-20 08:53:04 +0000.468152][383] DeviceStop:
audioDevice_:0x6fa9b58000
[007:957] [2022-02-20 08:53:04 +0000.468199][383] OpenSlesOutput:Stop playout

[007:958] [2022-02-20 08:53:04 +0000.469904][383] DeviceStop: Done


[007:959] [2022-02-20 08:53:04 +0000.470123][383] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[007:963] [2022-02-20 08:53:04 +0000.474105][39e]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[007:966] [2022-02-20 08:53:04 +0000.477885][37f] stop recording
[007:966] [2022-02-20 08:53:04 +0000.477985][37f]
RecordingSessionInternalSimple:destroy media processers
[007:966] [2022-02-20 08:53:04 +0000.478008][37f] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[007:966] [2022-02-20 08:53:04 +0000.478019][37f] H264Encode::flushing hareware
Encoder
[007:967] [2022-02-20 08:53:04 +0000.478267][37f] Flush time:17741339 enter.

[007:967] [2022-02-20 08:53:04 +0000.478319][37f] H264Encoder encoder flush


[007:967] [2022-02-20 08:53:04 +0000.478338][37f] flush output queue
[007:967] [2022-02-20 08:53:04 +0000.478736][37f] DTS queue for
Generator:0x6f4f277ab8 1633 1667
[008:287] [2022-02-20 08:53:04 +0000.798932][37f] Flush leave. expire time = 320
ms

[008:288] [2022-02-20 08:53:04 +0000.799499][37f] ~H264EncodeWrap:


[008:288] [2022-02-20 08:53:04 +0000.799565][37f] ~H264Encode:
[008:288] [2022-02-20 08:53:04 +0000.799602][37f] teardownCompressionSession:
H264Encode::destroying Encoder
[008:288] [2022-02-20 08:53:04 +0000.799644][37f] Release time:17741660 enter.

[008:288] [2022-02-20 08:53:04 +0000.799991][37f] Release:


MediaCodecVideoEncoder::Release _inited:1
[008:289] [2022-02-20 08:53:04 +0000.800065][37f] Destroy time:17741661 enter.

[008:289] [2022-02-20 08:53:04 +0000.800114][37f] H264Encoder encoderDestroy


[008:289] [2022-02-20 08:53:04 +0000.800157][37f]
AndroidMediaCodecVideoEncoder::release env: 0x6f05144840
[008:289] [2022-02-20 08:53:04 +0000.800198][37f]
AndroidMediaCodecVideoEncoder::Destroy
[008:306] [2022-02-20 08:53:04 +0000.818007][37f] Destroy leave. expire time = 18
ms

[008:307] [2022-02-20 08:53:04 +0000.818698][37f] Release leave. expire time = 19


ms

[008:307] [2022-02-20 08:53:04 +0000.818778][37f] ~AndroidHwAvcEncoder


time:17741679 enter.

[008:308] [2022-02-20 08:53:04 +0000.819299][37f] Release time:17741680 enter.


[008:308] [2022-02-20 08:53:04 +0000.819364][37f] Release: MediaCodecVideoEncoder::
has been released before, just return
[008:309] [2022-02-20 08:53:04 +0000.820176][37f] Release leave. expire time = 1
ms

[008:309] [2022-02-20 08:53:04 +0000.820231][37f] ~AndroidMediaCodecVideoEncoder


[008:309] [2022-02-20 08:53:04 +0000.820266][37f] ~WrapAndroidMediaCodec
time:17741681 enter.

[008:309] [2022-02-20 08:53:04 +0000.820317][37f] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[008:309] [2022-02-20 08:53:04 +0000.820355][37f] video hevc hw codec


destructor:0x6f292f5e70

[008:309] [2022-02-20 08:53:04 +0000.820538][37f] ~AndroidHwAvcEncoder leave.


expire time = 2 ms

[008:309] [2022-02-20 08:53:04 +0000.820598][37f] teardownCompressionSession:


H264Encode::destroyed Encoder
[008:309] [2022-02-20 08:53:04 +0000.820641][37f]
RecordingSessionInternalSimple:destroy aac encoder output!
[008:309] [2022-02-20 08:53:04 +0000.820676][37f] AACSWEncode destructor
[008:329] [2022-02-20 08:53:04 +0000.840172][3ae] MP4 close file successfully
[008:329] [2022-02-20 08:53:04 +0000.840933][3ae] Recording session Internal:
notify recording ok
[008:330] [2022-02-20 08:53:04 +0000.841090][3ae] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.staticframe_1645347176316
/record_video_17739451.mp4
[008:330] [2022-02-20 08:53:04 +0000.841145][3ae] OnRecordFinish:
[008:332] [2022-02-20 08:53:04 +0000.843851][380] DestroyPipelineAndFilters
time:17741704 enter.

[008:333] [2022-02-20 08:53:04 +0000.844941][380] UnbindInputFilter 0x6f17e3eec0


this 0x6f9ce32780
[008:333] [2022-02-20 08:53:04 +0000.845021][380] UnbindInputFilter 0x6f9ce32780
this 0x6f146047d8
[008:333] [2022-02-20 08:53:04 +0000.845044][380] filter: filter pipeline destroy
this: 0x6f14604740
[008:334] [2022-02-20 08:53:04 +0000.845162][380] ClearVideoOfSources: recodring
total frames:53
[008:334] [2022-02-20 08:53:04 +0000.845194][380] ClearVideoOfSources:
[008:334] [2022-02-20 08:53:04 +0000.845214][380] GPUImageProcessing destruct.
[008:334] [2022-02-20 08:53:04 +0000.845238][380] destroy TrivalImageDrawer
0x6f17e6f200
[008:334] [2022-02-20 08:53:04 +0000.845257][380] The shader has been initialize,
clean up them.

[008:335] [2022-02-20 08:53:04 +0000.846516][380] ~OpenGLFrameBuffer:


[008:335] [2022-02-20 08:53:04 +0000.846717][380] ~OpenGLFrameBuffer:
[008:335] [2022-02-20 08:53:04 +0000.846835][380] ~OpenGLFrameBuffer:
[008:335] [2022-02-20 08:53:04 +0000.846928][380] ~OpenGLFrameBuffer:
[008:335] [2022-02-20 08:53:04 +0000.847007][380] ~OpenGLFrameBuffer:
[008:336] [2022-02-20 08:53:04 +0000.847115][380] ~OpenGLFrameBuffer:
[008:336] [2022-02-20 08:53:04 +0000.847365][380] GPUImageProcessing destruct
finish.
[008:336] [2022-02-20 08:53:04 +0000.847425][380] GPURGBAFrame destruct.
[008:336] [2022-02-20 08:53:04 +0000.847478][380] destroy OpenGLRenderProgram
0x6f9ce32498
[008:336] [2022-02-20 08:53:04 +0000.847512][380] ~CameraSource time:17741708
enter.

[008:336] [2022-02-20 08:53:04 +0000.847533][380] ~CameraSource leave. expire time


= 0 ms

[008:337] [2022-02-20 08:53:04 +0000.848593][380] DestroyPipelineAndFilters leave.


expire time = 5 ms

[025:928] [2022-02-20 08:53:22 +0000.439516][466b]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[025:928] [2022-02-20 08:53:22 +0000.439717][466b] ~MediaFilterCamera time:17759300
enter.

[025:933] [2022-02-20 08:53:22 +0000.444541][466b] Stop:


[025:933] [2022-02-20 08:53:22 +0000.444768][383] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[025:935] [2022-02-20 08:53:22 +0000.446127][37f] stop recording
[025:935] [2022-02-20 08:53:22 +0000.446236][37f] we have stopped recording before
[025:935] [2022-02-20 08:53:22 +0000.446380][466b] Stop:
[025:935] [2022-02-20 08:53:22 +0000.446941][383] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[025:936] [2022-02-20 08:53:22 +0000.447958][466b] DeviceRelease:
audioDevice_:0x6fa9b58000
[025:936] [2022-02-20 08:53:22 +0000.448014][466b] OpenSlesOutput:Stop playout

[025:936] [2022-02-20 08:53:22 +0000.448046][466b] DeviceRelease: Release the


webrtc device object.
[025:937] [2022-02-20 08:53:22 +0000.448278][466b] OpenSlesOutput destruct.

[025:937] [2022-02-20 08:53:22 +0000.448334][466b] DeviceRelease: Done


[025:937] [2022-02-20 08:53:22 +0000.449017][466b] DestroyPipelineAndFilters
time:17759309 enter.

[025:938] [2022-02-20 08:53:22 +0000.449057][466b] DestroyPipelineAndFilters


leave. expire time = 1 ms

[025:938] [2022-02-20 08:53:22 +0000.449070][466b] ~MediaFilterCamera leave.


expire time = 10 ms

[025:938] [2022-02-20 08:53:22 +0000.449152][466b] ~GLESContext:


[025:939] [2022-02-20 08:53:22 +0000.450556][466b] GLESContext destruct finish.
[025:939] [2022-02-20 08:53:22 +0000.450638][466b] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[025:940] [2022-02-20 08:53:22 +0000.451501][466b] global uninited!
[025:941] [2022-02-20 08:53:22 +0000.452150][466b] clear AppID 123
[025:941] [2022-02-20 08:53:22 +0000.452209][466b] UnRegister JVM for Xplatform
util
[025:941] [2022-02-20 08:53:22 +0000.452234][466b] Dispose::unregister webrtc video
engine
[025:941] [2022-02-20 08:53:22 +0000.452244][466b] Init the android object with
jvm:0x0 env:0x0 context:0x0

[025:941] [2022-02-20 08:53:22 +0000.4[000:018] [2022-03-18 09:04:40 +0000.352548]


[672a] Log to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start
time:2022-03-18 09:04:40 +0000
[000:018] [2022-03-18 09:04:40 +0000.352613][672a] set AppID=50011 old AppID=-1
[000:018] [2022-03-18 09:04:40 +0000.352630][672a] Init the android object with
jvm:0xb400007cba9337d0 env:0x7caa963650 context:0x7b5763c308

[000:018] [2022-03-18 09:04:40 +0000.352663][672a] SetAndroidMediaCodecObjects


time:10720961 enter.

[000:018] [2022-03-18 09:04:40 +0000.352680][672a] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:018] [2022-03-18 09:04:40 +0000.352689][672a] SetAndroidMediaCodecObjects


time:10720961 enter.

[000:018] [2022-03-18 09:04:40 +0000.352698][672a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007cba9337d0
[000:018] [2022-03-18 09:04:40 +0000.352706][672a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007cba9337d0 address:0x7b02b18760
[000:018] [2022-03-18 09:04:40 +0000.352766][672a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007cba9337d0
address:0x7b02b18760
[000:018] [2022-03-18 09:04:40 +0000.352777][672a] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:018] [2022-03-18 09:04:40 +0000.352796][672a] Set the android objects with


jvm:0xb400007cba9337d0 env:0x7caa963650 context:0x7b5763c308

[000:018] [2022-03-18 09:04:40 +0000.352814][672a] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7caa963650
[000:018] [2022-03-18 09:04:40 +0000.352826][672a] SystemUtil Init done
[000:020] [2022-03-18 09:04:40 +0000.354252][672a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:020] [2022-03-18 09:04:40 +0000.354400][672a] MediaFilterCamera
[000:020] [2022-03-18 09:04:40 +0000.354441][672a] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:020] [2022-03-18 09:04:40 +0000.354577][672a] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:020] [2022-03-18 09:04:40 +0000.354609][672a] Recording session using default
bitrate support by app:31457280
[000:020] [2022-03-18 09:04:40 +0000.354629][7638] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cda9333d0
[000:020] [2022-03-18 09:04:40 +0000.354819][7638] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:020] [2022-03-18 09:04:40 +0000.354898][672a] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:021] [2022-03-18 09:04:40 +0000.355505][672a] Error(ini.cc:191): Open the file
failed. error:2
[000:021] [2022-03-18 09:04:40 +0000.355540][672a]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:021] [2022-03-18 09:04:40 +0000.355566][672a] The device model: 2109119dg
usingSoftwareAEC value: 0
[000:023] [2022-03-18 09:04:40 +0000.357685][672a] Error(ini.cc:191): Open the file
failed. error:2
[000:023] [2022-03-18 09:04:40 +0000.357745][672a]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:023] [2022-03-18 09:04:40 +0000.357765][672a] The device model: 2109119dg
usingHardwareAEC value: 0
[000:023] [2022-03-18 09:04:40 +0000.357776][672a] The machine device: 2109119dg
usingHardwareAEC value: 0
[000:023] [2022-03-18 09:04:40 +0000.357787][672a] Using Default AEC type: software
AEC
[000:024] [2022-03-18 09:04:40 +0000.358723][672a] The device model: 2109119dg enum
value: 0
[000:025] [2022-03-18 09:04:40 +0000.359141][672a] GetMachineModel is 2109119DG
[000:025] [2022-03-18 09:04:40 +0000.359202][672a] GetMachineInfo: 2109119DG
[000:025] [2022-03-18 09:04:40 +0000.359229][672a] Construct BeautifyReader
begin...
[000:025] [2022-03-18 09:04:40 +0000.359242][672a] dumpStickerRgba:0
dumpStickerYuv:0
[000:025] [2022-03-18 09:04:40 +0000.359274][672a] Construct BeautifyReader done.
[000:028] [2022-03-18 09:04:40 +0000.362702][672a] Error(ini.cc:191): Open the file
failed. error:2
[000:028] [2022-03-18 09:04:40 +0000.362850][672a]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:029] [2022-03-18 09:04:40 +0000.363011][672a] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:029] [2022-03-18 09:04:40 +0000.363045][672a] AppDeviceManager telnet server
for statistics started......
[000:029] [2022-03-18 09:04:40 +0000.363126][763b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d0a993970
[000:029] [2022-03-18 09:04:40 +0000.363635][672a] CpuOverloadDetect time:10720972
enter.

[000:029] [2022-03-18 09:04:40 +0000.363815][672a] CpuOverloadDetect leave. expire


time = 0 ms

[000:029] [2022-03-18 09:04:40 +0000.363842][763c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cba983010
[000:030] [2022-03-18 09:04:40 +0000.364260][672a] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:030] [2022-03-18 09:04:40 +0000.364290][672a] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:030] [2022-03-18 09:04:40 +0000.364516][672a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:030] [2022-03-18 09:04:40 +0000.364821][672a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:031] [2022-03-18 09:04:40 +0000.365214][672a] CreatePlatformSpecificObjects:
[000:031] [2022-03-18 09:04:40 +0000.365252][672a] audio device use opensle input
and opensl output
[000:031] [2022-03-18 09:04:40 +0000.365286][672a] Create OpenSLES output module
with java VM support.

[000:031] [2022-03-18 09:04:40 +0000.365402][672a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:031] [2022-03-18 09:04:40 +0000.365521][672a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:031] [2022-03-18 09:04:40 +0000.365669][672a] Create OpenSLES output module
with buffer num:1

[000:031] [2022-03-18 09:04:40 +0000.365793][672a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:031] [2022-03-18 09:04:40 +0000.365913][672a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:032] [2022-03-18 09:04:40 +0000.366051][672a] Create OpenSLES input module
with java VM support.

[000:032] [2022-03-18 09:04:40 +0000.366089][672a] Create OpenSLES input module


with buffer num:1
[000:032] [2022-03-18 09:04:40 +0000.366123][672a] Error(trace.cc:40): Init the
output and input for audio device template.
[000:032] [2022-03-18 09:04:40 +0000.366147][672a] Init the output device.

[000:032] [2022-03-18 09:04:40 +0000.366162][672a] Init the opensl input.


[000:032] [2022-03-18 09:04:40 +0000.366176][672a] AppDeviceManager get setting
samplerate: 0
[000:032] [2022-03-18 09:04:40 +0000.366441][672a] The device model: 2109119dg enum
value: 0
[000:032] [2022-03-18 09:04:40 +0000.366780][672a] The device model: 2109119dg enum
value: 0
[000:032] [2022-03-18 09:04:40 +0000.366804][672a] Set the sample rate to be:48000

[000:032] [2022-03-18 09:04:40 +0000.366817][672a] Enable the recording stereo:0


[000:032] [2022-03-18 09:04:40 +0000.366828][672a] Set the playout as stereo:1
[000:032] [2022-03-18 09:04:40 +0000.366837][672a] Init the microphone.
[000:033] [2022-03-18 09:04:40 +0000.367529][672a] Update the recording sample rate
to be: 48000
[000:033] [2022-03-18 09:04:40 +0000.367570][672a] Init the speaker.
[000:033] [2022-03-18 09:04:40 +0000.367609][672a] Low latency buffer size:144 low
sample rate:48000
[000:033] [2022-03-18 09:04:40 +0000.367859][672a] Using 1 x 10ms for an audio
frame.

[000:037] [2022-03-18 09:04:40 +0000.371172][672a] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:037] [2022-03-18 09:04:40 +0000.371275][672a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:037] [2022-03-18 09:04:40 +0000.371304][672a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:041] [2022-03-18 09:04:40 +0000.375640][672a] The device model:2109119dg

[000:041] [2022-03-18 09:04:40 +0000.375712][672a] speaker output factor:100


defaultFactor: 100

[000:041] [2022-03-18 09:04:40 +0000.375727][672a] headset output factor:100


defaultFactor: 100

[000:042] [2022-03-18 09:04:40 +0000.376017][672a] AppDeviceManagerStart finished.


[000:042] [2022-03-18 09:04:40 +0000.376051][672a] AppDeviceManagerStartMic::mic
status is off
[000:042] [2022-03-18 09:04:40 +0000.376112][672a] AppDeviceManagerStartMic update
aec type: 2

[000:042] [2022-03-18 09:04:40 +0000.376139][672a] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:042] [2022-03-18 09:04:40 +0000.376151][672a]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:042] [2022-03-18 09:04:40 +0000.376161][672a]
AudioDeviceDataHandler::StartMicProcess

[000:042] [2022-03-18 09:04:40 +0000.376290][672a] Try to start webrtc recording


device.

[000:042] [2022-03-18 09:04:40 +0000.376332][672a] StartRecording. threadID:26410

[000:042] [2022-03-18 09:04:40 +0000.376378][763d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:042] [2022-03-18 09:04:40 +0000.376478][763d] haveEnoughProcessedData
internalAudioStream.length: 0
[000:042] [2022-03-18 09:04:40 +0000.376635][672a] The machine model:2109119DG

[000:042] [2022-03-18 09:04:40 +0000.376695][672a] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:042] [2022-03-18 09:04:40 +0000.376719][672a] Set the recording mode before


getSetting: 4
[000:042] [2022-03-18 09:04:40 +0000.376736][672a] Set the recording mode after
getSetting: 1
[000:068] [2022-03-18 09:04:40 +0000.402712][672a] StartRecording finished.

[000:068] [2022-03-18 09:04:40 +0000.402766][672a] audio: start the audio mic


checker timer.

[000:069] [2022-03-18 09:04:40 +0000.403224][672a] machine model :xiaomi


[000:069] [2022-03-18 09:04:40 +0000.403273][672a] Support this machine
model :xiaomi
[000:069] [2022-03-18 09:04:40 +0000.403391][672a] global inited! current sdk
version: 07-20-936c45f
[000:132] [2022-03-18 09:04:40 +0000.466112][763e] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:132] [2022-03-18 09:04:40 +0000.466180][763e] _deviceSampleRate:48000

[000:135] [2022-03-18 09:04:40 +0000.469540][763d] Run AGC when audioType = 0


[000:135] [2022-03-18 09:04:40 +0000.469682][763d]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:492] [2022-03-18 09:04:40 +0000.826861][699b]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:493] [2022-03-18 09:04:40 +0000.827172][7639] MediaFilterCamera, recording
file context:0x7c5a94d770 input texture:15
[000:493] [2022-03-18 09:04:40 +0000.827243][7639] GLESContext:
[000:493] [2022-03-18 09:04:40 +0000.827373][7639] The result of eglGetDisplay is:
0xb400007caa966250
[000:494] [2022-03-18 09:04:40 +0000.828312][7639] The result of creation:
0x7c5a97f5a0
[000:494] [2022-03-18 09:04:40 +0000.828454][7639] The result of
eglCreatePbufferSurface is: 0x7c5a993b50
[000:494] [2022-03-18 09:04:40 +0000.828700][699b]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7c5a94d770 input_texture: 15
[001:797] [2022-03-18 09:04:42 +0000.131749][763d] haveEnoughProcessedData
internalAudioStream.length: 0
[002:000] [2022-03-18 09:04:42 +0000.334359][672a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[002:000] [2022-03-18 09:04:42 +0000.334558][672a] ~MediaFilterCamera time:10722943
enter.

[002:000] [2022-03-18 09:04:42 +0000.334597][672a] StopPullFrameAndWriteMp4


time:10722943 enter.

[002:001] [2022-03-18 09:04:42 +0000.335411][7638] stop recording


[002:001] [2022-03-18 09:04:42 +0000.335491][7638] we have stopped recording before
[002:002] [2022-03-18 09:04:42 +0000.336028][672a] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms
[002:004] [2022-03-18 09:04:42 +0000.338011][672a] DestroyPipelineAndFilters
time:10722947 enter.

[002:004] [2022-03-18 09:04:42 +0000.338103][672a] DestroyPipelineAndFilters


leave. expire time = 0 ms

[002:004] [2022-03-18 09:04:42 +0000.338140][672a] AppDeviceManagerStopMic

[002:004] [2022-03-18 09:04:42 +0000.338233][672a] AppDeviceManagerStopMic::mic


status is on
[002:006] [2022-03-18 09:04:42 +0000.340605][672a] Try to stop webrtc device.

[002:006] [2022-03-18 09:04:42 +0000.340676][672a] Set record state to


stopped.threadID:26410

[002:040] [2022-03-18 09:04:42 +0000.374519][672a] Try to destory the


recorder.threadID:26410

[002:240] [2022-03-18 09:04:42 +0000.574714][672a] DestroyAudioRecorder:


[002:240] [2022-03-18 09:04:42 +0000.574830][672a] Cleanup the buffer queue in the
recorder.
[002:240] [2022-03-18 09:04:42 +0000.574865][672a] Destroy the recorder.

[002:243] [2022-03-18 09:04:42 +0000.577280][672a] StopRecording finished.

[002:243] [2022-03-18 09:04:42 +0000.577368][672a] The stop recording success.

[002:243] [2022-03-18 09:04:42 +0000.577393][672a]


AudioDeviceDataHandler::StopMicProcess

[002:248] [2022-03-18 09:04:42 +0000.581968][672a] AppDeviceManager stop.

[002:248] [2022-03-18 09:04:42 +0000.582127][672a] Rlease the webrtc device object.

[002:249] [2022-03-18 09:04:42 +0000.583155][672a] OpenSlesInput destruct.

[002:249] [2022-03-18 09:04:42 +0000.583265][672a] OpenSlesOutput destruct.

[002:249] [2022-03-18 09:04:42 +0000.583838][672a] EventDispatchServerScope


destruct
[002:249] [2022-03-18 09:04:42 +0000.583875][672a]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[002:249] [2022-03-18 09:04:42 +0000.583906][672a] ~AudioDeviceDataHandler

[002:250] [2022-03-18 09:04:42 +0000.584458][672a] AppDeviceManagerDestruct.

[002:250] [2022-03-18 09:04:42 +0000.584493][672a] ~AppDeviceManager:


[002:250] [2022-03-18 09:04:42 +0000.584524][672a] ~CpuOverloadDetect time:10723193
enter.

[002:250] [2022-03-18 09:04:42 +0000.584700][672a] ~CpuOverloadDetect leave.


expire time = 0 ms

[002:265] [2022-03-18 09:04:42 +0000.599141][672a] Destruct BeautifyReader begin...


[002:265] [2022-03-18 09:04:42 +0000.599217][672a] Destruct BeautifyReader done.
[002:265] [2022-03-18 09:04:42 +0000.599243][672a] ~MediaFilterCamera leave.
expire time = 265 ms
[002:265] [2022-03-18 09:04:42 +0000.599383][672a] ~GLESContext:
[002:266] [2022-03-18 09:04:42 +0000.600131][672a] GLESContext destruct finish.
[002:266] [2022-03-18 09:04:42 +0000.600364][672a] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[002:266] [2022-03-18 09:04:42 +0000.600778][672a] global uninited!
[002:268] [2022-03-18 09:04:42 +0000.602723][672a] clear AppID 50011
[002:268] [2022-03-18 09:04:42 +0000.602796][672a] UnRegister JVM for Xplatform
util
[002:268] [2022-03-18 09:04:42 +0000.602819][672a] Dispose::unregister webrtc video
engine
[002:268] [2022-03-18 09:04:42 +0000.602830][672a] Init the android object with
jvm:0x0 env:0x0 context:0x0

[002:268] [2022-03-18 09:04:42 +0000.602845][672a] SetAndroidMediaCodecObjects


time:10723211 enter.

[002:268] [2022-03-18 09:04:42 +0000.602855][672a] ClearAndroidMediaCodecObjects


time:10723211 enter.

[002:268] [2022-03-18 09:04:42 +0000.602865][672a] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:268] [2022-03-18 09:04:42 +0000.602900][672a] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:268] [2022-03-18 09:04:42 +0000.602945][672a] SetAndroidMediaCodecObjects


time:10723211 enter.

[002:269] [2022-03-18 09:04:42 +0000.602965][672a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[002:269] [2022-03-18 09:04:42 +0000.602997][672a] ClearAndroidMediaCodecObjects
time:10723212 enter.

[002:269] [2022-03-18 09:04:42 +0000.603009][672a] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:269] [2022-03-18 09:04:42 +0000.603019][672a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[002:269] [2022-03-18 09:04:42 +0000.603029][672a] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[002:269] [2022-03-18 09:04:42 +0000.603037][672

You might also like