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

Trace

Uploaded by

yamixgang
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)
3 views

Trace

Uploaded by

yamixgang
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/ 36

[000:037] [2024-12-21 11:00:00 +0000.

466189][6c09] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-12-
21 11:00:00 +0000
[000:037] [2024-12-21 11:00:00 +0000.466299][6c09] dump file m_prefix:-07-27-
feaf968

[000:039] [2024-12-21 11:00:00 +0000.468682][6c09] dump filename:trace.txt dump


time:1734778800

[000:039] [2024-12-21 11:00:00 +0000.468931][6c09] set AppID=123 old AppID=-1


[000:039] [2024-12-21 11:00:00 +0000.468981][6c09] Init the android object with
jvm:0xb400007c15605540 env:0x7b3648e400 context:0x7ace538c88

[000:039] [2024-12-21 11:00:00 +0000.469016][6c09] SetAndroidMediaCodecObjects


time:615962533 enter.

[000:039] [2024-12-21 11:00:00 +0000.469049][6c09] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:039] [2024-12-21 11:00:00 +0000.469065][6c09] SetAndroidMediaCodecObjects


time:615962533 enter.

[000:039] [2024-12-21 11:00:00 +0000.469078][6c09] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007c15605540
[000:039] [2024-12-21 11:00:00 +0000.469092][6c09] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007c15605540 address:0x7a32a7d050
[000:039] [2024-12-21 11:00:00 +0000.469108][6c09] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007c15605540
address:0x7a32a7d050
[000:039] [2024-12-21 11:00:00 +0000.469122][6c09] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:040] [2024-12-21 11:00:00 +0000.469160][6c09] Set the android objects with


jvm:0xb400007c15605540 env:0x7b3648e400 context:0x7ace538c88

[000:041] [2024-12-21 11:00:00 +0000.470455][6c09] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b3648e400
[000:041] [2024-12-21 11:00:00 +0000.470504][6c09] SystemUtil Init done
[000:073] [2024-12-21 11:00:00 +0000.502588][6c09]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:074] [2024-12-21 11:00:00 +0000.503255][6c09]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:074] [2024-12-21 11:00:00 +0000.503755][6c09] machine model :poco
[000:074] [2024-12-21 11:00:00 +0000.503809][6c09] Support this machine model :poco
[000:076] [2024-12-21 11:00:00 +0000.505437][6c09] MediaFilterCamera
[000:076] [2024-12-21 11:00:00 +0000.505530][6c09] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:076] [2024-12-21 11:00:00 +0000.505698][6c09] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:076] [2024-12-21 11:00:00 +0000.505739][6c09] Recording session using default
bitrate support by app:31457280
[000:076] [2024-12-21 11:00:00 +0000.505982][717d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7acc092540
[000:076] [2024-12-21 11:00:00 +0000.506042][717d] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:077] [2024-12-21 11:00:00 +0000.506143][6c09] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:077] [2024-12-21 11:00:00 +0000.507040][6c09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:078] [2024-12-21 11:00:00 +0000.507270][6c09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:078] [2024-12-21 11:00:00 +0000.507343][6c09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:078] [2024-12-21 11:00:00 +0000.507504][6c09] DeviceInit:
[000:079] [2024-12-21 11:00:00 +0000.508283][6c09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:081] [2024-12-21 11:00:00 +0000.510664][6c09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:082] [2024-12-21 11:00:00 +0000.511211][6c09] CreatePlatformSpecificObjects:
[000:082] [2024-12-21 11:00:00 +0000.511281][6c09] audio device use null audio
input and opensl output
[000:082] [2024-12-21 11:00:00 +0000.511322][6c09] Create OpenSLES output module
with java VM support.

[000:082] [2024-12-21 11:00:00 +0000.511544][6c09] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:082] [2024-12-21 11:00:00 +0000.511891][6c09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:083] [2024-12-21 11:00:00 +0000.512208][6c09] Create OpenSLES output module
with buffer num:2

[000:083] [2024-12-21 11:00:00 +0000.512313][6c09] Error(trace.cc:40): Init the


output and input for audio device template.
[000:083] [2024-12-21 11:00:00 +0000.512345][6c09] Init the output device.

[000:083] [2024-12-21 11:00:00 +0000.512364][6c09] Set the playout as stereo:1


[000:083] [2024-12-21 11:00:00 +0000.512380][6c09] Set the sample rate to be:44100

[000:084] [2024-12-21 11:00:00 +0000.513811][6c09] Low latency buffer size:144 low


sample rate:48000
[000:084] [2024-12-21 11:00:00 +0000.513919][6c09] DeviceInit: Done
[000:091] [2024-12-21 11:00:00 +0000.520579][6c09] global inited! current sdk
version: 07-27-feaf968
[000:518] [2024-12-21 11:00:00 +0000.947776][6f47]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:518] [2024-12-21 11:00:00 +0000.947890][6f47]
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:519] [2024-12-21 11:00:00 +0000.948452][6f47]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:519] [2024-12-21 11:00:00 +0000.948755][717e] MediaFilterCamera, recording
file context:0x7b4bbbbc00 input texture:9
[000:519] [2024-12-21 11:00:00 +0000.948816][717e] GLESContext:
[000:519] [2024-12-21 11:00:00 +0000.948858][717e] The result of eglGetDisplay is:
0xb400007c15678080
[000:520] [2024-12-21 11:00:00 +0000.949706][717e] The result of creation:
0x7a702e6980
[000:520] [2024-12-21 11:00:00 +0000.949799][717e] The result of
eglCreatePbufferSurface is: 0x7a702e6a80
[000:520] [2024-12-21 11:00:00 +0000.949892][6f47]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7b4bbbbc00 input_texture: 9
[007:404] [2024-12-21 11:00:07 +0000.833545][6bd1] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[007:404] [2024-12-21 11:00:07 +0000.833733][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[007:405] [2024-12-21 11:00:07 +0000.834885][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[007:406] [2024-12-21 11:00:07 +0000.835529][717e] MediaFilterCamera, recording
file context:0x7b4bbbbc00 input texture:9
[007:406] [2024-12-21 11:00:07 +0000.835705][717e] construct OpenGLRenderProgram
0x7a702e8898
[007:406] [2024-12-21 11:00:07 +0000.835779][717e] CropFilter::SetOrientation
orientation: 90
[007:406] [2024-12-21 11:00:07 +0000.835839][717e] filter: filter pipeline
construtc this: 0x7a70364bc0
[007:406] [2024-12-21 11:00:07 +0000.835878][717e] filter: filter pipeline2 update
pattern: 1
[007:406] [2024-12-21 11:00:07 +0000.835981][717e] CameraSource::source_id_:1
[007:408] [2024-12-21 11:00:07 +0000.837228][717e] SetPlayLoop: AudioSource
SetPlayLoop 0
[007:409] [2024-12-21 11:00:07 +0000.838298][717e]
Warning(media_filter_camera.cc:483): seekPos:0
[007:409] [2024-12-21 11:00:07 +0000.838413][717e] BindInputFilter 0x7a58c9c4c0
this 0x7a702e8b80
[007:409] [2024-12-21 11:00:07 +0000.838469][717e] BindInputFilter 0x7a702e8b80
this 0x7a70364c58
[007:409] [2024-12-21 11:00:07 +0000.838569][717e] SetParamForFilter time:615969903
enter.

[007:409] [2024-12-21 11:00:07 +0000.838618][717e] SetParamForFilter: Params video


index is: 0
[007:409] [2024-12-21 11:00:07 +0000.838639][717e] SetParamForFilter: Params seek
pos is: 0
[007:409] [2024-12-21 11:00:07 +0000.838659][717e] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.bruce/
movie_mode: 0
[007:409] [2024-12-21 11:00:07 +0000.838681][717e] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//config.json
[007:410] [2024-12-21 11:00:07 +0000.839488][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839656][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839738][717e]
exp_des.start:0exp_des.end:2360exp_des.expressionstr:0.5
[007:410] [2024-12-21 11:00:07 +0000.839796][717e]
exp_des.start:0exp_des.end:2360exp_des.expressionstr:0.5
[007:410] [2024-12-21 11:00:07 +0000.839837][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839870][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839893][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839918][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839938][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839958][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839977][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.839995][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.840018][717e]
Warning(parse_template_json.cc:45): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.840033][717e]
Warning(parse_template_json.cc:95): json parament no found the parament
[007:410] [2024-12-21 11:00:07 +0000.840053][717e]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[007:410] [2024-12-21 11:00:07 +0000.840073][717e] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//filter.png
[007:410] [2024-12-21 11:00:07 +0000.840093][717e]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[007:410] [2024-12-21 11:00:07 +0000.840112][717e]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[007:419] [2024-12-21 11:00:07 +0000.848358][717e] SetParamForFilter leave. expire
time = 10 ms

[007:419] [2024-12-21 11:00:07 +0000.848579][717e] OnOutputSizeChanged width 1920


height 1080
[007:419] [2024-12-21 11:00:07 +0000.848612][717e] OpenGLFrameBuffer: width:1920
height:1080
[007:419] [2024-12-21 11:00:07 +0000.848632][717e] OpenGLFrameBuffer: width:1920
height:1080
[007:419] [2024-12-21 11:00:07 +0000.848648][717e] OpenGLFrameBuffer: width:1920
height:1080
[007:419] [2024-12-21 11:00:07 +0000.848664][717e] OpenGLFrameBuffer: width:1920
height:1080
[007:419] [2024-12-21 11:00:07 +0000.848676][717e] OpenGLFrameBuffer: width:1920
height:1080
[007:419] [2024-12-21 11:00:07 +0000.848690][717e] OpenGLFrameBuffer: width:1920
height:1080
[007:419] [2024-12-21 11:00:07 +0000.848704][717e] construct TrivalImageDrawer
0x7a59089c00
[007:419] [2024-12-21 11:00:07 +0000.848721][717e] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a59089c00 context 0x7a74ecb300
[007:419] [2024-12-21 11:00:07 +0000.848739][717e] setupGLES:
[007:419] [2024-12-21 11:00:07 +0000.849060][717e] OpenGLRenderProgram::Initialize.
[007:419] [2024-12-21 11:00:07 +0000.849135][717e] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[007:420] [2024-12-21 11:00:07 +0000.849157][717e] 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:420] [2024-12-21 11:00:07 +0000.849232][717e] Init open gl render:
0x7a702e8898
[007:420] [2024-12-21 11:00:07 +0000.849265][717e] Fragement shader path:
[007:420] [2024-12-21 11:00:07 +0000.849319][717e] Fragement shader path:
[007:420] [2024-12-21 11:00:07 +0000.849337][717e] create opengl program object.
[007:420] [2024-12-21 11:00:07 +0000.849355][717e] create shader: vertex
[007:420] [2024-12-21 11:00:07 +0000.849526][717e] create shader: fragment
[007:431] [2024-12-21 11:00:07 +0000.860348][717e] External image path is empty!
[007:431] [2024-12-21 11:00:07 +0000.860485][717e] Error(crop_filter.cc:464): Init
the image texture failed.
[007:431] [2024-12-21 11:00:07 +0000.860519][717e] OpenGLRenderProgram::Initialize
success.
[007:431] [2024-12-21 11:00:07 +0000.860612][717e] Setup the OpenGL result:1
[007:431] [2024-12-21 11:00:07 +0000.860866][717f] Pull audio failed.(wait video!)
[007:431] [2024-12-21 11:00:07 +0000.861010][717f]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:432] [2024-12-21 11:00:07 +0000.861241][717d] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778800079/
record_video_615969925.mp4
[007:432] [2024-12-21 11:00:07 +0000.861530][717d] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778800079/
record_video_615969925.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[007:432] [2024-12-21 11:00:07 +0000.861598][7199] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b3651d698
[007:432] [2024-12-21 11:00:07 +0000.861715][717d] 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:432] [2024-12-21 11:00:07 +0000.861824][717d] 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.bruce_1734778800079/
record_video_615969925.mp4 fileFD: -1
[007:435] [2024-12-21 11:00:07 +0000.864236][717d] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778800079/
record_video_615969925.mp4 is opened successfully
[007:435] [2024-12-21 11:00:07 +0000.864353][717d] setupMediaProcessers:
[007:435] [2024-12-21 11:00:07 +0000.864385][717d]
RecordingSessionInternalSimple:setup media processers.
[007:435] [2024-12-21 11:00:07 +0000.864423][717d] construct AAC encoder
[007:435] [2024-12-21 11:00:07 +0000.864880][717d] H264Encoder creating:
superfast011818
[007:435] [2024-12-21 11:00:07 +0000.864963][717d] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[007:436] [2024-12-21 11:00:07 +0000.865601][717d] H264Encode::GetMachineModel is
M2102J20SI
[007:436] [2024-12-21 11:00:07 +0000.865734][717d] H264Encoder machine_mode
is:M2102J20SI
[007:436] [2024-12-21 11:00:07 +0000.865775][717d] setupCompressionSession:
[007:436] [2024-12-21 11:00:07 +0000.865794][717d] H264Encode::creating hareware
Encoder
[007:436] [2024-12-21 11:00:07 +0000.865812][717d] AndroidHwAvcEncoder
time:615969930 enter.

[007:436] [2024-12-21 11:00:07 +0000.866016][717d] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007c15605540 address:0x7a32a7d050
[007:437] [2024-12-21 11:00:07 +0000.866238][717d] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[007:437] [2024-12-21 11:00:07 +0000.866328][717d] The video avc hw codec address
is 0x7acc086e10
[007:437] [2024-12-21 11:00:07 +0000.866464][717d] AndroidHwAvcEncoder leave.
expire time = 1 ms

[007:437] [2024-12-21 11:00:07 +0000.866502][717d] RegisterEncodeCompleteCallback


time:615969931 enter.

[007:437] [2024-12-21 11:00:07 +0000.866672][717d] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[007:437] [2024-12-21 11:00:07 +0000.866757][717d] InitEncode time:615969931


enter.

[007:437] [2024-12-21 11:00:07 +0000.866902][717d] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[007:437] [2024-12-21 11:00:07 +0000.867125][717d] Create time:615969931 enter.

[007:438] [2024-12-21 11:00:07 +0000.867176][717d] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[007:438] [2024-12-21 11:00:07 +0000.867220][717d]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7acc26f400
[007:466] [2024-12-21 11:00:07 +0000.895579][717d] supported_type:video/avc
[007:466] [2024-12-21 11:00:07 +0000.895788][717d] name:OMX.qcom.video.encoder.avc
mime:video/avc
[007:466] [2024-12-21 11:00:07 +0000.895886][717d] hwCodecPrefix :OMX.qcom.
[007:466] [2024-12-21 11:00:07 +0000.895989][717d] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[007:466] [2024-12-21 11:00:07 +0000.896075][717d] mediacodec_createCodecByName
time:615969960 enter.

[007:467] [2024-12-21 11:00:07 +0000.896140][717d] WrapAndroidMediaCodec


time:615969961 enter.

[007:467] [2024-12-21 11:00:07 +0000.896373][717d] WrapAndroidMediaCodec leave.


expire time = 0 ms
[007:503] [2024-12-21 11:00:07 +0000.932664][717f]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:574] [2024-12-21 11:00:08 +0000.4087][717f]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:617] [2024-12-21 11:00:08 +0000.46788][717d] mediacodec_createCodecByName
leave. expire time = 151 ms

[007:617] [2024-12-21 11:00:08 +0000.46963][717d] WrapAndroidMediaFromat


time:615970111 enter.

[007:617] [2024-12-21 11:00:08 +0000.47081][717d] WrapAndroidMediaFromat leave.


expire time = 0 ms

[007:646] [2024-12-21 11:00:08 +0000.75974][717f]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:720] [2024-12-21 11:00:08 +0000.149492][717f]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:724] [2024-12-21 11:00:08 +0000.153574][717d] Destroy time:615970218 enter.

[007:724] [2024-12-21 11:00:08 +0000.153757][717d] WrapAndroidMediaFromat::


Destroy
[007:724] [2024-12-21 11:00:08 +0000.153810][717d] Destroy leave. expire time = 0
ms

[007:724] [2024-12-21 11:00:08 +0000.153851][717d] ~WrapAndroidMediaFromat


time:615970218 enter.

[007:724] [2024-12-21 11:00:08 +0000.153891][717d] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[007:724] [2024-12-21 11:00:08 +0000.153911][717d] Create leave. expire time = 287


ms

[007:724] [2024-12-21 11:00:08 +0000.153941][717d] isSemiPlanarSupport


time:615970218 enter.

[007:724] [2024-12-21 11:00:08 +0000.153982][717d] H264Encoder isSemiPlanarSupport


[007:724] [2024-12-21 11:00:08 +0000.154030][717d] isSemiPlanarSupport leave.
expire time = 0 ms

[007:724] [2024-12-21 11:00:08 +0000.154072][717d] creat hw H264Encoder success,


isSemiPlanar:1
[007:725] [2024-12-21 11:00:08 +0000.154218][717d] InitEncode leave. expire time =
288 ms

[007:725] [2024-12-21 11:00:08 +0000.154278][717d] H264Encode::created Encoder


[007:725] [2024-12-21 11:00:08 +0000.154306][717d] H264Encode:: H264 encoder
created.
[007:725] [2024-12-21 11:00:08 +0000.154344][717d] H264 encoder created.
[007:725] [2024-12-21 11:00:08 +0000.154385][717d]
RecordingSessionInternalSimple:created avc encoder avc: 0x7a8ab6be00
[007:725] [2024-12-21 11:00:08 +0000.154426][717d] setOutput:
[007:725] [2024-12-21 11:00:08 +0000.154465][717d]
RecordingSessionInternalSimple:encoder set output to muxer!
[007:725] [2024-12-21 11:00:08 +0000.154483][717d] request a key frame
[007:725] [2024-12-21 11:00:08 +0000.154513][717d] H264Encode:: request a key frame
[007:725] [2024-12-21 11:00:08 +0000.154639][717e] Start:
[007:725] [2024-12-21 11:00:08 +0000.154936][7181] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[007:725] [2024-12-21 11:00:08 +0000.155031][7181] Reset: history total size: 98
[007:725] [2024-12-21 11:00:08 +0000.155087][7181] DeviceStart:
audioDevice_:0x7a8a930000
[007:725] [2024-12-21 11:00:08 +0000.155124][7181] DeviceStart: time profile
playout init before
[007:726] [2024-12-21 11:00:08 +0000.155232][7181] DeviceStart: time profile
playout init end
[007:726] [2024-12-21 11:00:08 +0000.155260][7181] OpenSlesOutput:Start playout

[007:731] [2024-12-21 11:00:08 +0000.160342][7181] The machine model:M2102J20SI

[007:731] [2024-12-21 11:00:08 +0000.160561][7181] Create the opensl output player.


streamtype before:0

[007:731] [2024-12-21 11:00:08 +0000.160635][7181] Create the opensl output player.


streamtype after:3

[007:793] [2024-12-21 11:00:08 +0000.222342][717f]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:809] [2024-12-21 11:00:08 +0000.239056][7181] Enqueue opensl buffer size:1764
[007:841] [2024-12-21 11:00:08 +0000.270329][7181] DeviceStart: time profile
playout all end
[007:841] [2024-12-21 11:00:08 +0000.270480][7181] operator(): Audio playback
started.
[007:841] [2024-12-21 11:00:08 +0000.270478][719f]
PlayerSimpleBufferQueueCallbackHandler function
[007:841] [2024-12-21 11:00:08 +0000.270657][719f] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[007:841] [2024-12-21 11:00:08 +0000.270711][719f]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[007:867] [2024-12-21 11:00:08 +0000.296232][717e] begine recode to first frame
spend time:461
[007:867] [2024-12-21 11:00:08 +0000.296308][717e] CameraSource::PushExtraFrame
pkt_dts: 0, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a58c9c380
[007:867] [2024-12-21 11:00:08 +0000.296331][717e] add frame because frame
interval.
[007:867] [2024-12-21 11:00:08 +0000.296351][717e] blur_distance_:0
[007:867] [2024-12-21 11:00:08 +0000.296384][717e] blur_direction_angle_:-90
[007:867] [2024-12-21 11:00:08 +0000.296401][717e] color_r_offset_:0
[007:867] [2024-12-21 11:00:08 +0000.296432][717e] color_g_offset:0
[007:867] [2024-12-21 11:00:08 +0000.296445][717e] play_speed_:1
[007:867] [2024-12-21 11:00:08 +0000.296661][717e] roll_value_:0
[007:867] [2024-12-21 11:00:08 +0000.296686][717e] need_extra_image_:0 need_image:
0
[007:867] [2024-12-21 11:00:08 +0000.296735][717e] ResetFramePtsadjust pts:
0current pts:10
[007:867] [2024-12-21 11:00:08 +0000.296763][717e]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[007:867] [2024-12-21 11:00:08 +0000.296804][717e]
GPUImageProcessing::SetOrientation orientation: 90
[007:867] [2024-12-21 11:00:08 +0000.296820][717e] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[007:867] [2024-12-21 11:00:08 +0000.297031][717f]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[007:867] [2024-12-21 11:00:08 +0000.297113][717e] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[007:868] [2024-12-21 11:00:08 +0000.297149][717e] GPUImageProcessing: input frame
width2160 X 3840
[007:867] [2024-12-21 11:00:08 +0000.296451][6f47] video render surface render a
frame
[007:886] [2024-12-21 11:00:08 +0000.315246][717e] drawYUV420 render
OpenGLRenderProgram:0x7a702e8898
[007:887] [2024-12-21 11:00:08 +0000.316768][717e] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[007:887] [2024-12-21 11:00:08 +0000.316883][717e] CropFilter::OnVideoFrame
outputtexture :12
[007:887] [2024-12-21 11:00:08 +0000.316900][717e] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[007:895] [2024-12-21 11:00:08 +0000.324204][717e] The read pixel from buffer take:
8 width:1920 height:1080 frameType:0
[007:899] [2024-12-21 11:00:08 +0000.328956][717e] drawYUV420 render
OpenGLRenderProgram:0x7a702e8898
[007:914] [2024-12-21 11:00:08 +0000.343547][717e] The convert RGB to YUV take 3
[007:914] [2024-12-21 11:00:08 +0000.343791][717e] FilterPipeline2::OnVideoFrame
pts 33 last_video_timestamp_ 33
[007:914] [2024-12-21 11:00:08 +0000.343905][717e]
MediaFilterCamera::OnOutputVideoFrame timestamp: 0
[007:914] [2024-12-21 11:00:08 +0000.344027][7198]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[007:914] [2024-12-21 11:00:08 +0000.344109][7198] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[007:915] [2024-12-21 11:00:08 +0000.344141][7198] push video frame to H264
encoder. (100 frame for one log)

[007:915] [2024-12-21 11:00:08 +0000.344171][7198] push video frame to H264


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

[007:915] [2024-12-21 11:00:08 +0000.344203][7198] H264Encode::push video frame to


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

[007:915] [2024-12-21 11:00:08 +0000.344229][7198] Push an pts:0 to dts queue.


[007:915] [2024-12-21 11:00:08 +0000.344295][7198] DTS queue for
Generator:0x7b3651deb8 0
[007:915] [2024-12-21 11:00:08 +0000.344317][7198] The input pts:0 fps:30
[007:917] [2024-12-21 11:00:08 +0000.346377][7198]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[007:920] [2024-12-21 11:00:08 +0000.349570][717f] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//bgm.mp3 sync_mode:
1 seek_pos: 0 delay: 0 this:0x7a702e8c00
[007:920] [2024-12-21 11:00:08 +0000.349790][717e] drawYUV420 render
OpenGLRenderProgram:0x7a702e8898
[007:985] [2024-12-21 11:00:08 +0000.415269][7195] FFMpeg=> [mp3 @ 0x7a74edc000]
Current FFmpeg version git-2021-06-16-97cea6f

[008:016] [2024-12-21 11:00:08 +0000.445572][717f] FilterPipeline2::OnAudioFrame


pts 0 last_audio_timestamp_ 0
[008:016] [2024-12-21 11:00:08 +0000.445666][717f]
MediaFilterCamera::OnOutputAudioFrame timestamp: 0.5 sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:27
[008:016] [2024-12-21 11:00:08 +0000.445693][717f] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[008:016] [2024-12-21 11:00:08 +0000.445769][7181] The audio playback speed:100
(1/100)
[008:016] [2024-12-21 11:00:08 +0000.445814][7181] lipsync_debug: The current
played audio timestamp is:0(1/50)
[008:016] [2024-12-21 11:00:08 +0000.445827][7181] First audio frame rendering
[008:021] [2024-12-21 11:00:08 +0000.450727][7198] h264 add frame header cdr flag
[008:023] [2024-12-21 11:00:08 +0000.452283][7198] h264 add frame header cdr flag
[008:023] [2024-12-21 11:00:08 +0000.453019][7198] SendFrame
encodedImage._timeStamp:0encodedImage->_length:284000
[008:023] [2024-12-21 11:00:08 +0000.453064][7198] Received key frame:0
[008:023] [2024-12-21 11:00:08 +0000.453087][7198] last dts:0 currentPts:0
ppsOrSPS:0 queue length:5
[008:023] [2024-12-21 11:00:08 +0000.453107][7198] H264Encode::H264SWEncoder get
callback, length:284000 type:0 nalType:7length:19
[008:023] [2024-12-21 11:00:08 +0000.453188][7198] H264Encode:: get a sps pps
header!headerSize:32
[008:024] [2024-12-21 11:00:08 +0000.453242][7198] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[008:024] [2024-12-21 11:00:08 +0000.453344][7199] get the H.264 SPS parameter
[008:024] [2024-12-21 11:00:08 +0000.453526][7199] add video track with id:1
[008:025] [2024-12-21 11:00:08 +0000.455130][7199] get the H.264 PPS parameter
[008:026] [2024-12-21 11:00:08 +0000.455297][7199] get the H.264 IDR frame
[008:026] [2024-12-21 11:00:08 +0000.455325][7199] resss:true
[008:026] [2024-12-21 11:00:08 +0000.455340][7199] video start ts:0
[008:026] [2024-12-21 11:00:08 +0000.455399][7199] the video frame has been written
into MP4 file
[008:030] [2024-12-21 11:00:08 +0000.460098][7197]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[008:032] [2024-12-21 11:00:08 +0000.461421][7199] add aac audio track with id:2
[008:041] [2024-12-21 11:00:08 +0000.470346][7199] audio start ts:0
[008:041] [2024-12-21 11:00:08 +0000.470440][7199] the audio frame has been written
into MP4 file
[008:338] [2024-12-21 11:00:08 +0000.767693][717e] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:383] [2024-12-21 11:00:08 +0000.813011][717e] The convert RGB to YUV take 13
[008:715] [2024-12-21 11:00:09 +0000.144767][7198] DTS queue for
Generator:0x7b3651deb8 800 833
[008:803] [2024-12-21 11:00:09 +0000.232734][717e] CameraSource::PushExtraFrame
pkt_dts: 966, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a58c9c380
[008:836] [2024-12-21 11:00:09 +0000.265301][6f47] video render surface render a
frame
[008:840] [2024-12-21 11:00:09 +0000.269931][717e] CropFilter::OnVideoFrame
outputtexture :12
[008:840] [2024-12-21 11:00:09 +0000.270133][717e] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:882] [2024-12-21 11:00:09 +0000.312138][717e] The convert RGB to YUV take 4
[008:889] [2024-12-21 11:00:09 +0000.318663][719f]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[009:215] [2024-12-21 11:00:09 +0000.644350][7198] Push an pts:1333 to dts queue.
[009:283] [2024-12-21 11:00:09 +0000.712396][7198] last dts:1300 currentPts:1333
ppsOrSPS:0 queue length:2
[009:335] [2024-12-21 11:00:09 +0000.765129][717e] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:385] [2024-12-21 11:00:09 +0000.815025][717e] The convert RGB to YUV take 5
[009:540] [2024-12-21 11:00:09 +0000.969658][7198] DTS queue for
Generator:0x7b3651deb8 1633 1667
[009:783] [2024-12-21 11:00:10 +0000.212612][717e] CameraSource::PushExtraFrame
pkt_dts: 1931, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a58c9c380
[009:836] [2024-12-21 11:00:10 +0000.265890][6f47] video render surface render a
frame
[009:838] [2024-12-21 11:00:10 +0000.268140][717e] CropFilter::OnVideoFrame
outputtexture :12
[009:843] [2024-12-21 11:00:10 +0000.272571][717e] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:848] [2024-12-21 11:00:10 +0000.277997][717e] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 984 diff: 17
[009:882] [2024-12-21 11:00:10 +0000.311320][717e] The convert RGB to YUV take 8
[009:922] [2024-12-21 11:00:10 +0000.351990][7198] h264 add frame header cdr flag
[009:923] [2024-12-21 11:00:10 +0000.352522][7198] Received key frame:2000
[009:929] [2024-12-21 11:00:10 +0000.358243][719f]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[009:997] [2024-12-21 11:00:10 +0000.426542][7199] get the H.264 IDR frame
[010:201] [2024-12-21 11:00:10 +0000.630971][717e] Current timestamp:2364 is
greater than duration_time: 2360
[010:280] [2024-12-21 11:00:10 +0000.709547][7181] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[010:280] [2024-12-21 11:00:10 +0000.709996][717e] OnNeedStopRecording:
[010:282] [2024-12-21 11:00:10 +0000.711954][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[010:283] [2024-12-21 11:00:10 +0000.712216][717e] operator(): Stop
[010:285] [2024-12-21 11:00:10 +0000.714508][717e] Stop:
[010:285] [2024-12-21 11:00:10 +0000.714949][7181] DeviceStop:
audioDevice_:0x7a8a930000
[010:285] [2024-12-21 11:00:10 +0000.715068][7181] OpenSlesOutput:Stop playout

[010:291] [2024-12-21 11:00:10 +0000.721028][7181] DeviceStop: Done


[010:292] [2024-12-21 11:00:10 +0000.721305][7181] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[010:294] [2024-12-21 11:00:10 +0000.724011][7198]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[010:299] [2024-12-21 11:00:10 +0000.728390][717d] stop recording
[010:299] [2024-12-21 11:00:10 +0000.728468][717d]
RecordingSessionInternalSimple:destroy media processers
[010:299] [2024-12-21 11:00:10 +0000.728493][717d] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[010:299] [2024-12-21 11:00:10 +0000.728513][717d] H264Encode::flushing hareware
Encoder
[010:299] [2024-12-21 11:00:10 +0000.728665][717d] Flush time:615972793 enter.

[010:299] [2024-12-21 11:00:10 +0000.728731][717d] H264Encoder encoder flush


[010:299] [2024-12-21 11:00:10 +0000.728761][717d] flush output queue
[010:625] [2024-12-21 11:00:11 +0000.54318][717d] Flush leave. expire time = 326
ms

[010:625] [2024-12-21 11:00:11 +0000.54754][717d] ~H264EncodeWrap:


[010:625] [2024-12-21 11:00:11 +0000.54839][717d] ~H264Encode:
[010:625] [2024-12-21 11:00:11 +0000.54887][717d] teardownCompressionSession:
H264Encode::destroying Encoder
[010:625] [2024-12-21 11:00:11 +0000.54937][717d] Release time:615973119 enter.

[010:626] [2024-12-21 11:00:11 +0000.55444][717d] Release:


MediaCodecVideoEncoder::Release _inited:1
[010:626] [2024-12-21 11:00:11 +0000.55545][717d] Destroy time:615973120 enter.

[010:626] [2024-12-21 11:00:11 +0000.55593][717d] H264Encoder encoderDestroy


[010:626] [2024-12-21 11:00:11 +0000.55641][717d]
AndroidMediaCodecVideoEncoder::release env: 0x7b436abf20
[010:626] [2024-12-21 11:00:11 +0000.55691][717d]
AndroidMediaCodecVideoEncoder::Destroy
[010:661] [2024-12-21 11:00:11 +0000.90924][717d] Destroy leave. expire time = 35
ms

[010:662] [2024-12-21 11:00:11 +0000.91155][717d] Release leave. expire time = 37


ms

[010:662] [2024-12-21 11:00:11 +0000.91206][717d] ~AndroidHwAvcEncoder


time:615973156 enter.

[010:662] [2024-12-21 11:00:11 +0000.91425][717d] Release time:615973156 enter.

[010:662] [2024-12-21 11:00:11 +0000.91491][717d] Release: MediaCodecVideoEncoder::


has been released before, just return
[010:662] [2024-12-21 11:00:11 +0000.91530][717d] Release leave. expire time = 0
ms

[010:662] [2024-12-21 11:00:11 +0000.91567][717d] ~AndroidMediaCodecVideoEncoder


[010:662] [2024-12-21 11:00:11 +0000.91635][717d] ~WrapAndroidMediaCodec
time:615973156 enter.

[010:662] [2024-12-21 11:00:11 +0000.91675][717d] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[010:662] [2024-12-21 11:00:11 +0000.91711][717d] video hevc hw codec


destructor:0x7acc086e10

[010:662] [2024-12-21 11:00:11 +0000.91772][717d] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[010:662] [2024-12-21 11:00:11 +0000.91834][717d] teardownCompressionSession:


H264Encode::destroyed Encoder
[010:662] [2024-12-21 11:00:11 +0000.92132][717d]
RecordingSessionInternalSimple:destroy aac encoder output!
[010:663] [2024-12-21 11:00:11 +0000.92184][717d] AACSWEncode destructor
[010:667] [2024-12-21 11:00:11 +0000.96391][7199] MP4 close file successfully
[010:667] [2024-12-21 11:00:11 +0000.96550][7199] Recording session Internal:
notify recording ok
[010:667] [2024-12-21 11:00:11 +0000.96589][7199] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778800079/
record_video_615969925.mp4
[010:669] [2024-12-21 11:00:11 +0000.99016][7199] OnRecordFinish:
[010:678] [2024-12-21 11:00:11 +0000.107684][717e] DestroyPipelineAndFilters
time:615973172 enter.

[010:678] [2024-12-21 11:00:11 +0000.108066][717e] UnbindInputFilter 0x7a58c9c4c0


this 0x7a702e8b80
[010:678] [2024-12-21 11:00:11 +0000.108126][717e] UnbindInputFilter 0x7a702e8b80
this 0x7a70364c58
[010:679] [2024-12-21 11:00:11 +0000.108150][717e] filter: filter pipeline destroy
this: 0x7a70364bc0
[010:679] [2024-12-21 11:00:11 +0000.108272][717e] ClearVideoOfSources: recodring
total frames:74
[010:679] [2024-12-21 11:00:11 +0000.108314][717e] ClearVideoOfSources:
[010:679] [2024-12-21 11:00:11 +0000.108357][717e] GPUImageProcessing destruct.
[010:679] [2024-12-21 11:00:11 +0000.108398][717e] destroy TrivalImageDrawer
0x7a59089c00
[010:679] [2024-12-21 11:00:11 +0000.108427][717e] The shader has been initialize,
clean up them.
[010:679] [2024-12-21 11:00:11 +0000.108979][717e] ~OpenGLFrameBuffer:
[010:679] [2024-12-21 11:00:11 +0000.109088][717e] ~OpenGLFrameBuffer:
[010:680] [2024-12-21 11:00:11 +0000.109160][717e] ~OpenGLFrameBuffer:
[010:680] [2024-12-21 11:00:11 +0000.109238][717e] ~OpenGLFrameBuffer:
[010:680] [2024-12-21 11:00:11 +0000.109311][717e] ~OpenGLFrameBuffer:
[010:680] [2024-12-21 11:00:11 +0000.109379][717e] ~OpenGLFrameBuffer:
[010:680] [2024-12-21 11:00:11 +0000.109690][717e] GPUImageProcessing destruct
finish.
[010:680] [2024-12-21 11:00:11 +0000.109745][717e] GPURGBAFrame destruct.
[010:680] [2024-12-21 11:00:11 +0000.109797][717e] destroy OpenGLRenderProgram
0x7a702e8898
[010:680] [2024-12-21 11:00:11 +0000.109849][717e] ~CameraSource time:615973174
enter.

[010:680] [2024-12-21 11:00:11 +0000.109877][717e] ~CameraSource leave. expire


time = 0 ms

[010:682] [2024-12-21 11:00:11 +0000.111265][717e] DestroyPipelineAndFilters


leave. expire time = 4 ms

[016:098] [2024-12-21 11:00:16 +0000.527789][6c09]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[016:098] [2024-12-21 11:00:16 +0000.528116][6c09] ~MediaFilterCamera
time:615978592 enter.

[016:100] [2024-12-21 11:00:16 +0000.530155][6c09] Stop:


[016:101] [2024-12-21 11:00:16 +0000.530728][7181] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[016:109] [2024-12-21 11:00:16 +0000.538724][717d] stop recording
[016:109] [2024-12-21 11:00:16 +0000.538884][717d] we have stopped recording before
[016:109] [2024-12-21 11:00:16 +0000.539081][6c09] Stop:
[016:110] [2024-12-21 11:00:16 +0000.539480][7181] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[016:111] [2024-12-21 11:00:16 +0000.540151][6c09] DeviceRelease:
audioDevice_:0x7a8a930000
[016:111] [2024-12-21 11:00:16 +0000.540245][6c09] OpenSlesOutput:Stop playout

[016:111] [2024-12-21 11:00:16 +0000.540320][6c09] DeviceRelease: Release the


webrtc device object.
[016:113] [2024-12-21 11:00:16 +0000.542349][6c09] OpenSlesOutput destruct.

[016:113] [2024-12-21 11:00:16 +0000.542633][6c09] DeviceRelease: Done


[016:125] [2024-12-21 11:00:16 +0000.554282][6c09] DestroyPipelineAndFilters
time:615978619 enter.

[016:125] [2024-12-21 11:00:16 +0000.554364][6c09] DestroyPipelineAndFilters


leave. expire time = 0 ms

[016:125] [2024-12-21 11:00:16 +0000.554386][6c09] ~MediaFilterCamera leave.


expire time = 27 ms

[016:125] [2024-12-21 11:00:16 +0000.554519][6c09] ~GLESContext:


[016:139] [2024-12-21 11:00:16 +0000.568975][6c09] GLESContext destruct finish.
[016:139] [2024-12-21 11:00:16 +0000.569076][6c09] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[016:142] [2024-12-21 11:00:16 +0000.571494][6c09] global uninited!
[016:143] [2024-12-21 11:00:16 +0000.572190][6c09] clear AppID 123
[016:143] [2024-12-21 11:00:16 +0000.572257][6c09] UnRegister JVM for Xplatform
util
[016:143] [2024-12-21 11:00:16 +0000.572291][6c09] Dispose::unregister webrtc video
engine
[016:143] [2024-12-21 11:00:16 +0000.572351][6c09] Init the android object with
jvm:0x0 env:0x0 context:0x0

[016:143] [2024-12-21 11:00:16 +0000.572381][6c09] SetAndroidMediaCodecObjects


time:615978637 enter.

[016:143] [2024-12-21 11:00:16 +0000.572407][6c09] ClearAndroidMediaCodecObjects


time:615978637 enter.

[016:143] [2024-12-21 11:00:16 +0000.572437][6c09] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[016:143] [2024-12-21 11:00:16 +0000.572461][6c09] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[016:143] [2024-12-21 11:00:16 +0000.572488][6c09] SetAndroidMediaCodecObjects


time:615978637 enter.

[016:143] [2024-12-21 11:00:16 +0000.572503][6c09] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[016:143] [2024-12-21 11:00:16 +0000.572530][6c09] ClearAndroidMediaCodecObjects
time:615978637 enter.

[016:143] [2024-12-21 11:00:16 +0000.572557][6c09] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[016:143] [2024-12-21 11:00:16 +0000.572584][6c09] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[016:143] [2024-12-21 11:00:16 +0000.572611][6c09] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[016:143] [2024-12-21 11:00:16 +0000.572637][6c09] Dispose::unregister webrtc voice


engine
[016:143] [2024-12-21 11:00:16 +0000.572655][6c09] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[016:143] [2024-12-21 11:00:16 +0000.572679][6c09] SystemUtil UnInit done


[020:131] [2024-12-21 11:00:20 +0000.560592][6c09] Register JVM for xplatform util
[020:135] [2024-12-21 11:00:20 +0000.564788][6c09] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-12-
21 11:00:20 +0000
[020:135] [2024-12-21 11:00:20 +0000.564842][6c09] dump file m_prefix:-07-27-
feaf968

[020:137] [2024-12-21 11:00:20 +0000.567081][6c09] dump filename:trace.txt dump


time:1734778800

[020:138] [2024-12-21 11:00:20 +0000.567266][6c09] set AppID=123 old AppID=-1


[020:138] [2024-12-21 11:00:20 +0000.567291][6c09] Init the android object with
jvm:0xb400007c15605540 env:0x7b3648e400 context:0x7ace5391b8

[020:138] [2024-12-21 11:00:20 +0000.567307][6c09] SetAndroidMediaCodecObjects


time:615982632 enter.

[020:138] [2024-12-21 11:00:20 +0000.567331][6c09] SetAndroidMediaCodecObjects


leave. expire time = 0 ms
[020:138] [2024-12-21 11:00:20 +0000.567357][6c09] SetAndroidMediaCodecObjects
time:615982632 enter.

[020:138] [2024-12-21 11:00:20 +0000.567367][6c09] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007c15605540
[020:138] [2024-12-21 11:00:20 +0000.567389][6c09] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007c15605540 address:0x7a32a7d050
[020:138] [2024-12-21 11:00:20 +0000.567401][6c09] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007c15605540
address:0x7a32a7d050
[020:138] [2024-12-21 11:00:20 +0000.567419][6c09] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[020:138] [2024-12-21 11:00:20 +0000.567430][6c09] Set the android objects with


jvm:0xb400007c15605540 env:0x7b3648e400 context:0x7ace5391b8

[020:138] [2024-12-21 11:00:20 +0000.567454][6c09] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b3648e400
[020:138] [2024-12-21 11:00:20 +0000.567468][6c09] SystemUtil Init done
[020:148] [2024-12-21 11:00:20 +0000.577600][6c09]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[020:148] [2024-12-21 11:00:20 +0000.577656][6c09]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[020:149] [2024-12-21 11:00:20 +0000.578164][6c09] machine model :poco
[020:149] [2024-12-21 11:00:20 +0000.578192][6c09] Support this machine model :poco
[020:149] [2024-12-21 11:00:20 +0000.578250][6c09] MediaFilterCamera
[020:149] [2024-12-21 11:00:20 +0000.578274][6c09] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[020:149] [2024-12-21 11:00:20 +0000.578479][6c09] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[020:149] [2024-12-21 11:00:20 +0000.578508][6c09] Recording session using default
bitrate support by app:31457280
[020:149] [2024-12-21 11:00:20 +0000.578681][71da] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7acc092540
[020:149] [2024-12-21 11:00:20 +0000.578756][71da] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[020:149] [2024-12-21 11:00:20 +0000.578821][6c09] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[020:150] [2024-12-21 11:00:20 +0000.579579][6c09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[020:150] [2024-12-21 11:00:20 +0000.579752][6c09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[020:150] [2024-12-21 11:00:20 +0000.579794][6c09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[020:150] [2024-12-21 11:00:20 +0000.579933][6c09] DeviceInit:
[020:150] [2024-12-21 11:00:20 +0000.580099][6c09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[020:151] [2024-12-21 11:00:20 +0000.580379][6c09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[020:151] [2024-12-21 11:00:20 +0000.580519][6c09] CreatePlatformSpecificObjects:
[020:151] [2024-12-21 11:00:20 +0000.580547][6c09] audio device use null audio
input and opensl output
[020:151] [2024-12-21 11:00:20 +0000.580576][6c09] Create OpenSLES output module
with java VM support.

[020:151] [2024-12-21 11:00:20 +0000.580643][6c09] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[020:151] [2024-12-21 11:00:20 +0000.580768][6c09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[020:151] [2024-12-21 11:00:20 +0000.580873][6c09] Create OpenSLES output module
with buffer num:2

[020:151] [2024-12-21 11:00:20 +0000.580906][6c09] Error(trace.cc:40): Init the


output and input for audio device template.
[020:151] [2024-12-21 11:00:20 +0000.580928][6c09] Init the output device.

[020:151] [2024-12-21 11:00:20 +0000.580940][6c09] Set the playout as stereo:1


[020:151] [2024-12-21 11:00:20 +0000.580963][6c09] Set the sample rate to be:44100

[020:152] [2024-12-21 11:00:20 +0000.581310][6c09] Low latency buffer size:144 low


sample rate:48000
[020:152] [2024-12-21 11:00:20 +0000.581335][6c09] DeviceInit: Done
[020:152] [2024-12-21 11:00:20 +0000.581629][6c09] global inited! current sdk
version: 07-27-feaf968
[020:463] [2024-12-21 11:00:20 +0000.893080][6f47]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[020:464] [2024-12-21 11:00:20 +0000.893264][6f47]
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
[020:464] [2024-12-21 11:00:20 +0000.893337][6f47]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[020:464] [2024-12-21 11:00:20 +0000.893474][71db] MediaFilterCamera, recording
file context:0x7b4bbbbc00 input texture:9
[020:464] [2024-12-21 11:00:20 +0000.893516][71db] GLESContext:
[020:464] [2024-12-21 11:00:20 +0000.893559][71db] The result of eglGetDisplay is:
0xb400007c15678080
[020:465] [2024-12-21 11:00:20 +0000.894283][71db] The result of creation:
0x7a8abdaf80
[020:465] [2024-12-21 11:00:20 +0000.894368][71db] The result of
eglCreatePbufferSurface is: 0x7a8a7f0080
[020:465] [2024-12-21 11:00:20 +0000.894464][6f47]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7b4bbbbc00 input_texture: 9
[022:054] [2024-12-21 11:00:22 +0000.483754][6bd1] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[022:054] [2024-12-21 11:00:22 +0000.483924][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[022:054] [2024-12-21 11:00:22 +0000.484111][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[022:055] [2024-12-21 11:00:22 +0000.484368][71db] MediaFilterCamera, recording
file context:0x7b4bbbbc00 input texture:9
[022:055] [2024-12-21 11:00:22 +0000.484474][71db] construct OpenGLRenderProgram
0x7acc29d098
[022:055] [2024-12-21 11:00:22 +0000.484556][71db] CropFilter::SetOrientation
orientation: 90
[022:055] [2024-12-21 11:00:22 +0000.484601][71db] filter: filter pipeline
construtc this: 0x7a59376880
[022:055] [2024-12-21 11:00:22 +0000.484643][71db] filter: filter pipeline2 update
pattern: 1
[022:055] [2024-12-21 11:00:22 +0000.484690][71db] CameraSource::source_id_:2
[022:057] [2024-12-21 11:00:22 +0000.486360][71db] SetPlayLoop: AudioSource
SetPlayLoop 0
[022:057] [2024-12-21 11:00:22 +0000.486476][71db]
Warning(media_filter_camera.cc:483): seekPos:0
[022:057] [2024-12-21 11:00:22 +0000.486547][71db] BindInputFilter 0x7a8a9404c0
this 0x7acc29d380
[022:057] [2024-12-21 11:00:22 +0000.486602][71db] BindInputFilter 0x7acc29d380
this 0x7a59376918
[022:057] [2024-12-21 11:00:22 +0000.486650][71db] SetParamForFilter time:615984551
enter.

[022:057] [2024-12-21 11:00:22 +0000.486700][71db] SetParamForFilter: Params video


index is: 0
[022:057] [2024-12-21 11:00:22 +0000.486753][71db] SetParamForFilter: Params seek
pos is: 0
[022:057] [2024-12-21 11:00:22 +0000.486803][71db] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.bruce/
movie_mode: 0
[022:057] [2024-12-21 11:00:22 +0000.486826][71db] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//config.json
[022:058] [2024-12-21 11:00:22 +0000.487178][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487311][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487369][71db]
exp_des.start:0exp_des.end:2360exp_des.expressionstr:0.5
[022:058] [2024-12-21 11:00:22 +0000.487424][71db]
exp_des.start:0exp_des.end:2360exp_des.expressionstr:0.5
[022:058] [2024-12-21 11:00:22 +0000.487467][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487507][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487527][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487547][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487585][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487629][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487673][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487715][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487758][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487782][71db]
Warning(parse_template_json.cc:95): json parament no found the parament
[022:058] [2024-12-21 11:00:22 +0000.487822][71db]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[022:058] [2024-12-21 11:00:22 +0000.487869][71db] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//filter.png
[022:058] [2024-12-21 11:00:22 +0000.487910][71db]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[022:058] [2024-12-21 11:00:22 +0000.487955][71db]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[022:059] [2024-12-21 11:00:22 +0000.488655][71db] SetParamForFilter leave. expire
time = 2 ms
[022:059] [2024-12-21 11:00:22 +0000.488889][71db] OnOutputSizeChanged width 1920
height 1080
[022:059] [2024-12-21 11:00:22 +0000.488960][71db] OpenGLFrameBuffer: width:1920
height:1080
[022:059] [2024-12-21 11:00:22 +0000.489003][71db] OpenGLFrameBuffer: width:1920
height:1080
[022:059] [2024-12-21 11:00:22 +0000.489042][71db] OpenGLFrameBuffer: width:1920
height:1080
[022:059] [2024-12-21 11:00:22 +0000.489083][71db] OpenGLFrameBuffer: width:1920
height:1080
[022:059] [2024-12-21 11:00:22 +0000.489124][71db] OpenGLFrameBuffer: width:1920
height:1080
[022:060] [2024-12-21 11:00:22 +0000.489165][71db] OpenGLFrameBuffer: width:1920
height:1080
[022:060] [2024-12-21 11:00:22 +0000.489206][71db] construct TrivalImageDrawer
0x7acc2c9200
[022:060] [2024-12-21 11:00:22 +0000.489249][71db] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7acc2c9200 context 0x7a4704ab80
[022:060] [2024-12-21 11:00:22 +0000.489291][71db] setupGLES:
[022:060] [2024-12-21 11:00:22 +0000.489791][71db] OpenGLRenderProgram::Initialize.
[022:060] [2024-12-21 11:00:22 +0000.489863][71db] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[022:060] [2024-12-21 11:00:22 +0000.489890][71db] 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
[022:060] [2024-12-21 11:00:22 +0000.490001][71db] Init open gl render:
0x7acc29d098
[022:060] [2024-12-21 11:00:22 +0000.490053][71db] Fragement shader path:
[022:060] [2024-12-21 11:00:22 +0000.490131][71db] Fragement shader path:
[022:061] [2024-12-21 11:00:22 +0000.490170][71db] create opengl program object.
[022:061] [2024-12-21 11:00:22 +0000.490211][71db] create shader: vertex
[022:061] [2024-12-21 11:00:22 +0000.490466][71db] create shader: fragment
[022:074] [2024-12-21 11:00:22 +0000.503738][71db] External image path is empty!
[022:074] [2024-12-21 11:00:22 +0000.503909][71db] Error(crop_filter.cc:464): Init
the image texture failed.
[022:074] [2024-12-21 11:00:22 +0000.503956][71db] OpenGLRenderProgram::Initialize
success.
[022:074] [2024-12-21 11:00:22 +0000.504042][71db] Setup the OpenGL result:1
[022:076] [2024-12-21 11:00:22 +0000.505825][71da] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778820379/
record_video_615984569.mp4
[022:076] [2024-12-21 11:00:22 +0000.506054][71da] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778820379/
record_video_615984569.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[022:076] [2024-12-21 11:00:22 +0000.506100][71ef] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b36343898
[022:077] [2024-12-21 11:00:22 +0000.506139][71da] 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
[022:077] [2024-12-21 11:00:22 +0000.506575][71da] 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.bruce_1734778820379/
record_video_615984569.mp4 fileFD: -1
[022:077] [2024-12-21 11:00:22 +0000.506969][71da] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778820379/
record_video_615984569.mp4 is opened successfully
[022:077] [2024-12-21 11:00:22 +0000.507042][71da] setupMediaProcessers:
[022:077] [2024-12-21 11:00:22 +0000.507079][71da]
RecordingSessionInternalSimple:setup media processers.
[022:077] [2024-12-21 11:00:22 +0000.507119][71da] construct AAC encoder
[022:078] [2024-12-21 11:00:22 +0000.507447][71da] H264Encoder creating:
superfast011818
[022:078] [2024-12-21 11:00:22 +0000.507502][71da] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[022:078] [2024-12-21 11:00:22 +0000.507926][71da] H264Encode::GetMachineModel is
M2102J20SI
[022:078] [2024-12-21 11:00:22 +0000.507982][71da] H264Encoder machine_mode
is:M2102J20SI
[022:078] [2024-12-21 11:00:22 +0000.508001][71da] setupCompressionSession:
[022:078] [2024-12-21 11:00:22 +0000.508033][71da] H264Encode::creating hareware
Encoder
[022:078] [2024-12-21 11:00:22 +0000.508069][71da] AndroidHwAvcEncoder
time:615984572 enter.

[022:079] [2024-12-21 11:00:22 +0000.508240][71da] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007c15605540 address:0x7a32a7d050
[022:079] [2024-12-21 11:00:22 +0000.508371][71da] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[022:079] [2024-12-21 11:00:22 +0000.508411][71da] The video avc hw codec address
is 0x7a8ab70538
[022:079] [2024-12-21 11:00:22 +0000.508485][71da] AndroidHwAvcEncoder leave.
expire time = 1 ms

[022:079] [2024-12-21 11:00:22 +0000.508522][71da] RegisterEncodeCompleteCallback


time:615984573 enter.

[022:079] [2024-12-21 11:00:22 +0000.508627][71da] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[022:079] [2024-12-21 11:00:22 +0000.508686][71da] InitEncode time:615984573


enter.

[022:079] [2024-12-21 11:00:22 +0000.508770][71da] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[022:079] [2024-12-21 11:00:22 +0000.508822][71da] Create time:615984573 enter.

[022:079] [2024-12-21 11:00:22 +0000.508855][71da] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[022:079] [2024-12-21 11:00:22 +0000.508890][71da]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7a8abf5440
[022:079] [2024-12-21 11:00:22 +0000.509026][71da] supported_type:video/avc
[022:079] [2024-12-21 11:00:22 +0000.509068][71da] name:OMX.qcom.video.encoder.avc
mime:video/avc
[022:079] [2024-12-21 11:00:22 +0000.509114][71da] hwCodecPrefix :OMX.qcom.
[022:080] [2024-12-21 11:00:22 +0000.509149][71da] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[022:080] [2024-12-21 11:00:22 +0000.509187][71da] mediacodec_createCodecByName
time:615984574 enter.

[022:080] [2024-12-21 11:00:22 +0000.509218][71da] WrapAndroidMediaCodec


time:615984574 enter.

[022:080] [2024-12-21 11:00:22 +0000.509324][71da] WrapAndroidMediaCodec leave.


expire time = 0 ms

[022:095] [2024-12-21 11:00:22 +0000.525012][71dc]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[022:096] [2024-12-21 11:00:22 +0000.525841][71da] mediacodec_createCodecByName
leave. expire time = 16 ms

[022:096] [2024-12-21 11:00:22 +0000.525930][71da] WrapAndroidMediaFromat


time:615984590 enter.

[022:096] [2024-12-21 11:00:22 +0000.526026][71da] WrapAndroidMediaFromat leave.


expire time = 0 ms

[022:148] [2024-12-21 11:00:22 +0000.577805][71da] Destroy time:615984642 enter.

[022:148] [2024-12-21 11:00:22 +0000.577959][71da] WrapAndroidMediaFromat::


Destroy
[022:148] [2024-12-21 11:00:22 +0000.577997][71da] Destroy leave. expire time = 0
ms

[022:148] [2024-12-21 11:00:22 +0000.578018][71da] ~WrapAndroidMediaFromat


time:615984642 enter.

[022:148] [2024-12-21 11:00:22 +0000.578037][71da] ~WrapAndroidMediaFromat leave.


expire time = 0 ms
[022:148] [2024-12-21 11:00:22 +0000.578061][71da] Create leave. expire time = 69
ms

[022:148] [2024-12-21 11:00:22 +0000.578083][71da] isSemiPlanarSupport


time:615984642 enter.

[022:149] [2024-12-21 11:00:22 +0000.578167][71da] H264Encoder isSemiPlanarSupport


[022:149] [2024-12-21 11:00:22 +0000.578216][71da] isSemiPlanarSupport leave.
expire time = 1 ms

[022:149] [2024-12-21 11:00:22 +0000.578242][71da] creat hw H264Encoder success,


isSemiPlanar:1
[022:149] [2024-12-21 11:00:22 +0000.578396][71da] InitEncode leave. expire time =
70 ms

[022:149] [2024-12-21 11:00:22 +0000.578465][71da] H264Encode::created Encoder


[022:149] [2024-12-21 11:00:22 +0000.578523][71da] H264Encode:: H264 encoder
created.
[022:149] [2024-12-21 11:00:22 +0000.578546][71da] H264 encoder created.
[022:149] [2024-12-21 11:00:22 +0000.578566][71da]
RecordingSessionInternalSimple:created avc encoder avc: 0x7a8ab6c1c0
[022:149] [2024-12-21 11:00:22 +0000.578588][71da] setOutput:
[022:149] [2024-12-21 11:00:22 +0000.578604][71da]
RecordingSessionInternalSimple:encoder set output to muxer!
[022:149] [2024-12-21 11:00:22 +0000.578618][71da] request a key frame
[022:149] [2024-12-21 11:00:22 +0000.578630][71da] H264Encode:: request a key frame
[022:149] [2024-12-21 11:00:22 +0000.578773][71db] Start:
[022:149] [2024-12-21 11:00:22 +0000.579140][71de] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[022:150] [2024-12-21 11:00:22 +0000.579554][71de] Reset: history total size: 98
[022:150] [2024-12-21 11:00:22 +0000.579613][71de] DeviceStart:
audioDevice_:0x7acc2af000
[022:150] [2024-12-21 11:00:22 +0000.579682][71de] DeviceStart: time profile
playout init before
[022:150] [2024-12-21 11:00:22 +0000.579761][71de] DeviceStart: time profile
playout init end
[022:150] [2024-12-21 11:00:22 +0000.579818][71de] OpenSlesOutput:Start playout

[022:152] [2024-12-21 11:00:22 +0000.581326][71de] Create the opensl output player.


streamtype before:0

[022:152] [2024-12-21 11:00:22 +0000.581502][71de] Create the opensl output player.


streamtype after:3

[022:166] [2024-12-21 11:00:22 +0000.595357][71dc]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[022:173] [2024-12-21 11:00:22 +0000.602486][71de] Enqueue opensl buffer size:1764
[022:203] [2024-12-21 11:00:22 +0000.632277][71de] DeviceStart: time profile
playout all end
[022:203] [2024-12-21 11:00:22 +0000.632431][71de] operator(): Audio playback
started.
[022:225] [2024-12-21 11:00:22 +0000.654469][71db] begine recode to first frame
spend time:170
[022:225] [2024-12-21 11:00:22 +0000.654549][71db] add frame because frame
interval.
[022:225] [2024-12-21 11:00:22 +0000.654577][71db]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[022:225] [2024-12-21 11:00:22 +0000.654593][71db]
GPUImageProcessing::SetOrientation orientation: 90
[022:226] [2024-12-21 11:00:22 +0000.655980][71db] drawYUV420 render
OpenGLRenderProgram:0x7acc29d098
[022:236] [2024-12-21 11:00:22 +0000.665697][71db] drawYUV420 render
OpenGLRenderProgram:0x7acc29d098
[022:239] [2024-12-21 11:00:22 +0000.668597][71db] The read pixel from buffer take:
2 width:1920 height:1080 frameType:0
[022:241] [2024-12-21 11:00:22 +0000.670690][71dc]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[022:249] [2024-12-21 11:00:22 +0000.678860][71ee]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[022:251] [2024-12-21 11:00:22 +0000.680895][71dc] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//bgm.mp3 sync_mode:
1 seek_pos: 0 delay: 0 this:0x7acc29d400
[022:263] [2024-12-21 11:00:22 +0000.692686][71db] drawYUV420 render
OpenGLRenderProgram:0x7acc29d098
[022:307] [2024-12-21 11:00:22 +0000.736947][71eb] FFMpeg=> [mp3 @ 0x7a587d2600]
Current FFmpeg version git-2021-06-16-97cea6f

[022:313] [2024-12-21 11:00:22 +0000.742475][71db] The convert RGB to YUV take 2


[022:318] [2024-12-21 11:00:22 +0000.747315][71ee] h264 add frame header cdr flag
[022:319] [2024-12-21 11:00:22 +0000.748746][71ee] h264 add frame header cdr flag
[022:320] [2024-12-21 11:00:22 +0000.749388][71ee] Received key frame:0
[022:320] [2024-12-21 11:00:22 +0000.749547][71ee] DTS queue for
Generator:0x7b364088b8 33 67
[022:320] [2024-12-21 11:00:22 +0000.749643][71ee] H264Encode:: get a sps pps
header!headerSize:32
[022:322] [2024-12-21 11:00:22 +0000.751940][71ef] get the H.264 SPS parameter
[022:323] [2024-12-21 11:00:22 +0000.752381][71ef] add video track with id:1
[022:332] [2024-12-21 11:00:22 +0000.761422][71ef] get the H.264 PPS parameter
[022:332] [2024-12-21 11:00:22 +0000.762101][71ef] get the H.264 IDR frame
[022:333] [2024-12-21 11:00:22 +0000.762243][71ef] resss:true
[022:333] [2024-12-21 11:00:22 +0000.762282][71ef] video start ts:0
[022:334] [2024-12-21 11:00:22 +0000.763317][71ef] the video frame has been written
into MP4 file
[022:337] [2024-12-21 11:00:22 +0000.767145][71dc] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[022:338] [2024-12-21 11:00:22 +0000.767802][71de] The audio playback speed:100
(1/100)
[022:338] [2024-12-21 11:00:22 +0000.767881][71de] lipsync_debug: The current
played audio timestamp is:0(1/50)
[022:338] [2024-12-21 11:00:22 +0000.767903][71de] First audio frame rendering
[022:357] [2024-12-21 11:00:22 +0000.786672][71ef] add aac audio track with id:2
[022:362] [2024-12-21 11:00:22 +0000.791151][71ef] audio start ts:0
[022:362] [2024-12-21 11:00:22 +0000.791219][71ef] the audio frame has been written
into MP4 file
[022:524] [2024-12-21 11:00:22 +0000.954012][71ee] Push an pts:267 to dts queue.
[022:550] [2024-12-21 11:00:22 +0000.979905][71ee] last dts:233 currentPts:267
ppsOrSPS:0 queue length:2
[022:641] [2024-12-21 11:00:23 +0000.70807][71db] CameraSource::PushExtraFrame
pkt_dts: 433, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a8a940380
[022:735] [2024-12-21 11:00:23 +0000.164799][6f47] video render surface render a
frame
[022:737] [2024-12-21 11:00:23 +0000.166163][71db] CropFilter::OnVideoFrame
outputtexture :16
[022:737] [2024-12-21 11:00:23 +0000.166385][71db] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:812] [2024-12-21 11:00:23 +0000.241857][71db] The convert RGB to YUV take 13
[022:817] [2024-12-21 11:00:23 +0000.246866][71f5]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[023:099] [2024-12-21 11:00:23 +0000.529151][71db] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[023:100] [2024-12-21 11:00:23 +0000.529367][71db] GPUImageProcessing: input frame
width2160 X 3840
[023:100] [2024-12-21 11:00:23 +0000.529814][71db] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[023:100] [2024-12-21 11:00:23 +0000.529994][71db] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[023:122] [2024-12-21 11:00:23 +0000.551811][71ee] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:833 pts:833
[023:158] [2024-12-21 11:00:23 +0000.587418][71ee] DTS queue for
Generator:0x7b364088b8 867 900
[023:213] [2024-12-21 11:00:23 +0000.642929][71ee] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:967
[023:213] [2024-12-21 11:00:23 +0000.643117][71ee] push video frame to H264
encoder. (100 frame for one log)

[023:214] [2024-12-21 11:00:23 +0000.643204][71ee] push video frame to H264


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

[023:214] [2024-12-21 11:00:23 +0000.643234][71ee] H264Encode::push video frame to


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

[023:214] [2024-12-21 11:00:23 +0000.643269][71ee] The input pts:967 fps:30


[023:221] [2024-12-21 11:00:23 +0000.650536][71ee] SendFrame
encodedImage._timeStamp:933encodedImage->_length:47904
[023:235] [2024-12-21 11:00:23 +0000.664537][71db] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[023:252] [2024-12-21 11:00:23 +0000.681824][71ee] H264Encode::H264SWEncoder get
callback, length:68368 type:1 nalType:1length:68364
[023:319] [2024-12-21 11:00:23 +0000.748684][71db] The convert RGB to YUV take 10
[023:602] [2024-12-21 11:00:24 +0000.31391][71db] CameraSource::PushExtraFrame
pkt_dts: 1398, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a8a940380
[023:731] [2024-12-21 11:00:24 +0000.160236][6f47] video render surface render a
frame
[023:734] [2024-12-21 11:00:24 +0000.164004][71db] CropFilter::OnVideoFrame
outputtexture :16
[023:735] [2024-12-21 11:00:24 +0000.164321][71db] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[023:818] [2024-12-21 11:00:24 +0000.247844][71db] The convert RGB to YUV take 12
[023:837] [2024-12-21 11:00:24 +0000.266508][71db] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1981 diff: 20
[023:842] [2024-12-21 11:00:24 +0000.271929][71ee] Push an pts:1600 to dts queue.
[023:851] [2024-12-21 11:00:24 +0000.281079][71f5]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[023:886] [2024-12-21 11:00:24 +0000.315415][71ee] last dts:1567 currentPts:1600
ppsOrSPS:0 queue length:2
[023:980] [2024-12-21 11:00:24 +0000.409284][71ee] DTS queue for
Generator:0x7b364088b8 1700 1733
[024:239] [2024-12-21 11:00:24 +0000.668714][71db] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:287] [2024-12-21 11:00:24 +0000.716921][71ee] h264 add frame header cdr flag
[024:288] [2024-12-21 11:00:24 +0000.717275][71ee] Received key frame:2000
[024:307] [2024-12-21 11:00:24 +0000.736474][71db] The convert RGB to YUV take 4
[024:354] [2024-12-21 11:00:24 +0000.783837][71ef] get the H.264 IDR frame
[024:574] [2024-12-21 11:00:25 +0000.3228][71db] CameraSource::PushExtraFrame
pkt_dts: 2364, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a8a940380
[024:646] [2024-12-21 11:00:25 +0000.75509][71de] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[024:646] [2024-12-21 11:00:25 +0000.75798][71db] OnNeedStopRecording:
[024:647] [2024-12-21 11:00:25 +0000.76712][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[024:648] [2024-12-21 11:00:25 +0000.78119][71db] operator(): Stop
[024:649] [2024-12-21 11:00:25 +0000.78411][71db] Stop:
[024:649] [2024-12-21 11:00:25 +0000.78558][71de] DeviceStop:
audioDevice_:0x7acc2af000
[024:649] [2024-12-21 11:00:25 +0000.78615][71de] OpenSlesOutput:Stop playout

[024:654] [2024-12-21 11:00:25 +0000.83707][71de] DeviceStop: Done


[024:654] [2024-12-21 11:00:25 +0000.83989][71de] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[024:658] [2024-12-21 11:00:25 +0000.87630][71ee]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[024:662] [2024-12-21 11:00:25 +0000.91621][71da] stop recording
[024:662] [2024-12-21 11:00:25 +0000.91787][71da]
RecordingSessionInternalSimple:destroy media processers
[024:662] [2024-12-21 11:00:25 +0000.91824][71da] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[024:662] [2024-12-21 11:00:25 +0000.91845][71da] H264Encode::flushing hareware
Encoder
[024:662] [2024-12-21 11:00:25 +0000.92045][71da] Flush time:615987156 enter.

[024:663] [2024-12-21 11:00:25 +0000.92148][71da] H264Encoder encoder flush


[024:663] [2024-12-21 11:00:25 +0000.92210][71da] flush output queue
[025:002] [2024-12-21 11:00:25 +0000.431304][71da] Flush leave. expire time = 340
ms

[025:002] [2024-12-21 11:00:25 +0000.431743][71da] ~H264EncodeWrap:


[025:002] [2024-12-21 11:00:25 +0000.431856][71da] ~H264Encode:
[025:002] [2024-12-21 11:00:25 +0000.431909][71da] teardownCompressionSession:
H264Encode::destroying Encoder
[025:002] [2024-12-21 11:00:25 +0000.431945][71da] Release time:615987496 enter.

[025:003] [2024-12-21 11:00:25 +0000.432194][71da] Release:


MediaCodecVideoEncoder::Release _inited:1
[025:003] [2024-12-21 11:00:25 +0000.432296][71da] Destroy time:615987497 enter.

[025:003] [2024-12-21 11:00:25 +0000.432329][71da] H264Encoder encoderDestroy


[025:003] [2024-12-21 11:00:25 +0000.432359][71da]
AndroidMediaCodecVideoEncoder::release env: 0x7acc1d8420
[025:003] [2024-12-21 11:00:25 +0000.432393][71da]
AndroidMediaCodecVideoEncoder::Destroy
[025:049] [2024-12-21 11:00:25 +0000.478440][71da] Destroy leave. expire time = 46
ms

[025:049] [2024-12-21 11:00:25 +0000.478598][71da] Release leave. expire time = 47


ms

[025:049] [2024-12-21 11:00:25 +0000.478666][71da] ~AndroidHwAvcEncoder


time:615987543 enter.

[025:049] [2024-12-21 11:00:25 +0000.478753][71da] Release time:615987543 enter.


[025:049] [2024-12-21 11:00:25 +0000.478827][71da] Release:
MediaCodecVideoEncoder:: has been released before, just return
[025:049] [2024-12-21 11:00:25 +0000.478846][71da] Release leave. expire time = 0
ms

[025:049] [2024-12-21 11:00:25 +0000.478859][71da] ~AndroidMediaCodecVideoEncoder


[025:049] [2024-12-21 11:00:25 +0000.478872][71da] ~WrapAndroidMediaCodec
time:615987543 enter.

[025:049] [2024-12-21 11:00:25 +0000.478886][71da] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[025:049] [2024-12-21 11:00:25 +0000.478926][71da] video hevc hw codec


destructor:0x7a8ab70538

[025:049] [2024-12-21 11:00:25 +0000.479070][71da] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[025:049] [2024-12-21 11:00:25 +0000.479116][71da] teardownCompressionSession:


H264Encode::destroyed Encoder
[025:050] [2024-12-21 11:00:25 +0000.479137][71da]
RecordingSessionInternalSimple:destroy aac encoder output!
[025:050] [2024-12-21 11:00:25 +0000.479150][71da] AACSWEncode destructor
[025:052] [2024-12-21 11:00:25 +0000.481364][71ef] MP4 close file successfully
[025:052] [2024-12-21 11:00:25 +0000.481469][71ef] Recording session Internal:
notify recording ok
[025:052] [2024-12-21 11:00:25 +0000.481528][71ef] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778820379/
record_video_615984569.mp4
[025:052] [2024-12-21 11:00:25 +0000.481555][71ef] OnRecordFinish:
[025:054] [2024-12-21 11:00:25 +0000.483546][71db] DestroyPipelineAndFilters
time:615987548 enter.

[025:055] [2024-12-21 11:00:25 +0000.484581][71db] UnbindInputFilter 0x7a8a9404c0


this 0x7acc29d380
[025:055] [2024-12-21 11:00:25 +0000.484634][71db] UnbindInputFilter 0x7acc29d380
this 0x7a59376918
[025:055] [2024-12-21 11:00:25 +0000.484734][71db] filter: filter pipeline destroy
this: 0x7a59376880
[025:055] [2024-12-21 11:00:25 +0000.484826][71db] ClearVideoOfSources: recodring
total frames:74
[025:055] [2024-12-21 11:00:25 +0000.484862][71db] ClearVideoOfSources:
[025:055] [2024-12-21 11:00:25 +0000.484885][71db] GPUImageProcessing destruct.
[025:055] [2024-12-21 11:00:25 +0000.484922][71db] destroy TrivalImageDrawer
0x7acc2c9200
[025:055] [2024-12-21 11:00:25 +0000.484940][71db] The shader has been initialize,
clean up them.

[025:056] [2024-12-21 11:00:25 +0000.485248][71db] ~OpenGLFrameBuffer:


[025:056] [2024-12-21 11:00:25 +0000.485352][71db] ~OpenGLFrameBuffer:
[025:056] [2024-12-21 11:00:25 +0000.485434][71db] ~OpenGLFrameBuffer:
[025:056] [2024-12-21 11:00:25 +0000.485498][71db] ~OpenGLFrameBuffer:
[025:056] [2024-12-21 11:00:25 +0000.485546][71db] ~OpenGLFrameBuffer:
[025:056] [2024-12-21 11:00:25 +0000.485604][71db] ~OpenGLFrameBuffer:
[025:056] [2024-12-21 11:00:25 +0000.485934][71db] GPUImageProcessing destruct
finish.
[025:056] [2024-12-21 11:00:25 +0000.485979][71db] GPURGBAFrame destruct.
[025:056] [2024-12-21 11:00:25 +0000.486023][71db] destroy OpenGLRenderProgram
0x7acc29d098
[025:056] [2024-12-21 11:00:25 +0000.486048][71db] ~CameraSource time:615987550
enter.

[025:056] [2024-12-21 11:00:25 +0000.486063][71db] ~CameraSource leave. expire


time = 0 ms

[025:064] [2024-12-21 11:00:25 +0000.493875][71db] DestroyPipelineAndFilters


leave. expire time = 10 ms

[027:210] [2024-12-21 11:00:27 +0000.639324][6bd1] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[027:210] [2024-12-21 11:00:27 +0000.639435][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[027:210] [2024-12-21 11:00:27 +0000.639575][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[027:210] [2024-12-21 11:00:27 +0000.639998][71db] MediaFilterCamera, recording
file context:0x7b4bbbbc00 input texture:9
[027:211] [2024-12-21 11:00:27 +0000.640152][71db] construct OpenGLRenderProgram
0x7acc29d498
[027:211] [2024-12-21 11:00:27 +0000.640197][71db] CropFilter::SetOrientation
orientation: 90
[027:211] [2024-12-21 11:00:27 +0000.640308][71db] filter: filter pipeline
construtc this: 0x7a59376940
[027:211] [2024-12-21 11:00:27 +0000.640356][71db] filter: filter pipeline2 update
pattern: 1
[027:211] [2024-12-21 11:00:27 +0000.640384][71db] CameraSource::source_id_:3
[027:211] [2024-12-21 11:00:27 +0000.640758][71db] SetPlayLoop: AudioSource
SetPlayLoop 0
[027:211] [2024-12-21 11:00:27 +0000.640949][71db]
Warning(media_filter_camera.cc:483): seekPos:2360
[027:211] [2024-12-21 11:00:27 +0000.641000][71db] BindInputFilter 0x7a8a9404c0
this 0x7acc29d780
[027:211] [2024-12-21 11:00:27 +0000.641041][71db] BindInputFilter 0x7acc29d780
this 0x7a593769d8
[027:211] [2024-12-21 11:00:27 +0000.641075][71db] SetParamForFilter time:615989705
enter.

[027:212] [2024-12-21 11:00:27 +0000.641155][71db] SetParamForFilter: Params video


index is: 1
[027:212] [2024-12-21 11:00:27 +0000.641320][71db] SetParamForFilter: Params seek
pos is: 1
[027:212] [2024-12-21 11:00:27 +0000.641350][71db] crop filter video index:1
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.bruce/
movie_mode: 0
[027:212] [2024-12-21 11:00:27 +0000.641381][71db] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//config.json
[027:212] [2024-12-21 11:00:27 +0000.641788][71db]
exp_des.start:0exp_des.end:2370exp_des.expressionstr:10.0 + 143.0*x /2370
[027:212] [2024-12-21 11:00:27 +0000.641940][71db]
exp_des.start:0exp_des.end:2370exp_des.expressionstr:
[027:212] [2024-12-21 11:00:27 +0000.642017][71db]
exp_des.start:0exp_des.end:2370exp_des.expressionstr:0.6
[027:212] [2024-12-21 11:00:27 +0000.642096][71db]
exp_des.start:0exp_des.end:2370exp_des.expressionstr:0.6
[027:212] [2024-12-21 11:00:27 +0000.642128][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642149][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642167][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642188][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642237][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642288][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642336][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642354][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642386][71db]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642428][71db]
Warning(parse_template_json.cc:95): json parament no found the parament
[027:213] [2024-12-21 11:00:27 +0000.642450][71db]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[027:213] [2024-12-21 11:00:27 +0000.642483][71db] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//filter.png
[027:213] [2024-12-21 11:00:27 +0000.642523][71db]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[027:213] [2024-12-21 11:00:27 +0000.642544][71db]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[027:224] [2024-12-21 11:00:27 +0000.653222][71db] SetParamForFilter leave. expire
time = 13 ms

[027:224] [2024-12-21 11:00:27 +0000.653434][71db] OnOutputSizeChanged width 1920


height 1080
[027:224] [2024-12-21 11:00:27 +0000.653515][71db] OpenGLFrameBuffer: width:1920
height:1080
[027:224] [2024-12-21 11:00:27 +0000.653548][71db] OpenGLFrameBuffer: width:1920
height:1080
[027:224] [2024-12-21 11:00:27 +0000.653571][71db] OpenGLFrameBuffer: width:1920
height:1080
[027:224] [2024-12-21 11:00:27 +0000.653648][71db] OpenGLFrameBuffer: width:1920
height:1080
[027:224] [2024-12-21 11:00:27 +0000.653718][71db] OpenGLFrameBuffer: width:1920
height:1080
[027:224] [2024-12-21 11:00:27 +0000.653769][71db] OpenGLFrameBuffer: width:1920
height:1080
[027:224] [2024-12-21 11:00:27 +0000.653786][71db] construct TrivalImageDrawer
0x7acc2c9200
[027:224] [2024-12-21 11:00:27 +0000.653828][71db] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7acc2c9200 context 0x7a4704ab80
[027:224] [2024-12-21 11:00:27 +0000.653873][71db] setupGLES:
[027:225] [2024-12-21 11:00:27 +0000.654327][71db] OpenGLRenderProgram::Initialize.
[027:225] [2024-12-21 11:00:27 +0000.654444][71db] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[027:225] [2024-12-21 11:00:27 +0000.654506][71db] 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
[027:225] [2024-12-21 11:00:27 +0000.654573][71db] Init open gl render:
0x7acc29d498
[027:225] [2024-12-21 11:00:27 +0000.654610][71db] Fragement shader path:
[027:225] [2024-12-21 11:00:27 +0000.654681][71db] Fragement shader path:
[027:225] [2024-12-21 11:00:27 +0000.654719][71db] create opengl program object.
[027:225] [2024-12-21 11:00:27 +0000.654762][71db] create shader: vertex
[027:225] [2024-12-21 11:00:27 +0000.655003][71db] create shader: fragment
[027:239] [2024-12-21 11:00:27 +0000.668888][71db] External image path is empty!
[027:239] [2024-12-21 11:00:27 +0000.669121][71db] Error(crop_filter.cc:464): Init
the image texture failed.
[027:240] [2024-12-21 11:00:27 +0000.669243][71db] OpenGLRenderProgram::Initialize
success.
[027:240] [2024-12-21 11:00:27 +0000.669370][71db] Setup the OpenGL result:1
[027:240] [2024-12-21 11:00:27 +0000.670077][71da] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778820379/
record_video_615989734.mp4
[027:241] [2024-12-21 11:00:27 +0000.670471][71da] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778820379/
record_video_615989734.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[027:241] [2024-12-21 11:00:27 +0000.670576][71da] 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
[027:241] [2024-12-21 11:00:27 +0000.670546][7200] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b36343898
[027:241] [2024-12-21 11:00:27 +0000.670620][71da] 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.bruce_1734778820379/
record_video_615989734.mp4 fileFD: -1
[027:242] [2024-12-21 11:00:27 +0000.671165][71da] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778820379/
record_video_615989734.mp4 is opened successfully
[027:242] [2024-12-21 11:00:27 +0000.671238][71da] setupMediaProcessers:
[027:242] [2024-12-21 11:00:27 +0000.671286][71da]
RecordingSessionInternalSimple:setup media processers.
[027:242] [2024-12-21 11:00:27 +0000.671315][71da] construct AAC encoder
[027:242] [2024-12-21 11:00:27 +0000.671638][71da] H264Encoder creating:
superfast011818
[027:242] [2024-12-21 11:00:27 +0000.671725][71da] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[027:243] [2024-12-21 11:00:27 +0000.672227][71da] H264Encode::GetMachineModel is
M2102J20SI
[027:243] [2024-12-21 11:00:27 +0000.672302][71da] H264Encoder machine_mode
is:M2102J20SI
[027:243] [2024-12-21 11:00:27 +0000.672336][71da] setupCompressionSession:
[027:243] [2024-12-21 11:00:27 +0000.672374][71da] H264Encode::creating hareware
Encoder
[027:243] [2024-12-21 11:00:27 +0000.672415][71da] AndroidHwAvcEncoder
time:615989737 enter.

[027:243] [2024-12-21 11:00:27 +0000.672586][71da] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007c15605540 address:0x7a32a7d050
[027:243] [2024-12-21 11:00:27 +0000.672744][71da] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[027:243] [2024-12-21 11:00:27 +0000.672803][71da] The video avc hw codec address
is 0x7a8ab704e8
[027:243] [2024-12-21 11:00:27 +0000.672885][71da] AndroidHwAvcEncoder leave.
expire time = 0 ms

[027:243] [2024-12-21 11:00:27 +0000.672932][71da] RegisterEncodeCompleteCallback


time:615989737 enter.

[027:243] [2024-12-21 11:00:27 +0000.673046][71da] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[027:243] [2024-12-21 11:00:27 +0000.673114][71da] InitEncode time:615989737


enter.

[027:244] [2024-12-21 11:00:27 +0000.673209][71da] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[027:244] [2024-12-21 11:00:27 +0000.673283][71da] Create time:615989738 enter.

[027:244] [2024-12-21 11:00:27 +0000.673327][71da] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[027:244] [2024-12-21 11:00:27 +0000.673370][71da]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7a8abf5800
[027:244] [2024-12-21 11:00:27 +0000.673539][71da] supported_type:video/avc
[027:244] [2024-12-21 11:00:27 +0000.673605][71da] name:OMX.qcom.video.encoder.avc
mime:video/avc
[027:244] [2024-12-21 11:00:27 +0000.673659][71da] hwCodecPrefix :OMX.qcom.
[027:244] [2024-12-21 11:00:27 +0000.673705][71da] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[027:244] [2024-12-21 11:00:27 +0000.673807][71da] mediacodec_createCodecByName
time:615989738 enter.

[027:244] [2024-12-21 11:00:27 +0000.673837][71da] WrapAndroidMediaCodec


time:615989738 enter.

[027:244] [2024-12-21 11:00:27 +0000.673947][71da] WrapAndroidMediaCodec leave.


expire time = 0 ms

[027:270] [2024-12-21 11:00:27 +0000.699703][71da] mediacodec_createCodecByName


leave. expire time = 26 ms

[027:270] [2024-12-21 11:00:27 +0000.699907][71da] WrapAndroidMediaFromat


time:615989764 enter.

[027:270] [2024-12-21 11:00:27 +0000.700048][71da] WrapAndroidMediaFromat leave.


expire time = 0 ms

[027:307] [2024-12-21 11:00:27 +0000.736165][71dc]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[027:335] [2024-12-21 11:00:27 +0000.764538][71da] Destroy time:615989829 enter.

[027:335] [2024-12-21 11:00:27 +0000.764729][71da] WrapAndroidMediaFromat::


Destroy
[027:335] [2024-12-21 11:00:27 +0000.764769][71da] Destroy leave. expire time = 0
ms

[027:335] [2024-12-21 11:00:27 +0000.764788][71da] ~WrapAndroidMediaFromat


time:615989829 enter.

[027:335] [2024-12-21 11:00:27 +0000.764805][71da] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[027:335] [2024-12-21 11:00:27 +0000.764824][71da] Create leave. expire time = 91


ms

[027:335] [2024-12-21 11:00:27 +0000.764843][71da] isSemiPlanarSupport


time:615989829 enter.

[027:335] [2024-12-21 11:00:27 +0000.764860][71da] H264Encoder isSemiPlanarSupport


[027:335] [2024-12-21 11:00:27 +0000.764883][71da] isSemiPlanarSupport leave.
expire time = 0 ms

[027:335] [2024-12-21 11:00:27 +0000.764902][71da] creat hw H264Encoder success,


isSemiPlanar:1
[027:335] [2024-12-21 11:00:27 +0000.765032][71da] InitEncode leave. expire time =
92 ms

[027:335] [2024-12-21 11:00:27 +0000.765085][71da] H264Encode::created Encoder


[027:335] [2024-12-21 11:00:27 +0000.765114][71da] H264Encode:: H264 encoder
created.
[027:335] [2024-12-21 11:00:27 +0000.765135][71da] H264 encoder created.
[027:336] [2024-12-21 11:00:27 +0000.765245][71da]
RecordingSessionInternalSimple:created avc encoder avc: 0x7a6349acc0
[027:336] [2024-12-21 11:00:27 +0000.765270][71da] setOutput:
[027:336] [2024-12-21 11:00:27 +0000.765288][71da]
RecordingSessionInternalSimple:encoder set output to muxer!
[027:336] [2024-12-21 11:00:27 +0000.765301][71da] request a key frame
[027:336] [2024-12-21 11:00:27 +0000.765313][71da] H264Encode:: request a key frame
[027:336] [2024-12-21 11:00:27 +0000.766018][71db] Start:
[027:337] [2024-12-21 11:00:27 +0000.766648][71de] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[027:337] [2024-12-21 11:00:27 +0000.766786][71de] Reset: history total size: 98
[027:337] [2024-12-21 11:00:27 +0000.766838][71de] DeviceStart:
audioDevice_:0x7acc2af000
[027:337] [2024-12-21 11:00:27 +0000.766962][71de] DeviceStart: time profile
playout init before
[027:337] [2024-12-21 11:00:27 +0000.766993][71de] DeviceStart: time profile
playout init end
[027:337] [2024-12-21 11:00:27 +0000.767012][71de] OpenSlesOutput:Start playout

[027:339] [2024-12-21 11:00:27 +0000.768837][71de] Create the opensl output player.


streamtype before:0

[027:339] [2024-12-21 11:00:27 +0000.768954][71de] Create the opensl output player.


streamtype after:3

[027:362] [2024-12-21 11:00:27 +0000.791481][71de] Enqueue opensl buffer size:1764


[027:381] [2024-12-21 11:00:27 +0000.810825][71dc]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[027:399] [2024-12-21 11:00:27 +0000.828893][71de] DeviceStart: time profile
playout all end
[027:399] [2024-12-21 11:00:27 +0000.829067][71de] operator(): Audio playback
started.
[027:400] [2024-12-21 11:00:27 +0000.829610][7206] NeedMorePlayData: Scale the
volume to zero now!
[027:427] [2024-12-21 11:00:27 +0000.856586][71db] begine recode to first frame
spend time:217
[027:427] [2024-12-21 11:00:27 +0000.856823][71db] add frame because frame
interval.
[027:427] [2024-12-21 11:00:27 +0000.856994][71db]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[027:427] [2024-12-21 11:00:27 +0000.857058][71db]
GPUImageProcessing::SetOrientation orientation: 90
[027:429] [2024-12-21 11:00:27 +0000.858687][71db] drawYUV420 render
OpenGLRenderProgram:0x7acc29d498
[027:445] [2024-12-21 11:00:27 +0000.874722][71db] drawYUV420 render
OpenGLRenderProgram:0x7acc29d498
[027:460] [2024-12-21 11:00:27 +0000.889169][71ff]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[027:460] [2024-12-21 11:00:27 +0000.889531][71dc] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.bruce//bgm.mp3 sync_mode:
1 seek_pos: 2360 delay: 0 this:0x7acc29d000
[027:465] [2024-12-21 11:00:27 +0000.894163][6f47] video render surface render a
frame
[027:467] [2024-12-21 11:00:27 +0000.896616][71db] drawYUV420 render
OpenGLRenderProgram:0x7acc29d498
[027:470] [2024-12-21 11:00:27 +0000.899951][71db] CropFilter::OnVideoFrame
outputtexture :14
[027:471] [2024-12-21 11:00:27 +0000.900180][71db] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[027:491] [2024-12-21 11:00:27 +0000.920387][71fc] FFMpeg=> [mp3 @ 0x7a8a83ac00]
Current FFmpeg version git-2021-06-16-97cea6f

[027:506] [2024-12-21 11:00:27 +0000.936136][71fd] success seekto


avformat_seek_file to: 2360000
[027:507] [2024-12-21 11:00:27 +0000.936280][71fd] Drop one audio frame for seekto,
pkt_dts 33191424 audio_seek_pos_: 2360000
[027:509] [2024-12-21 11:00:27 +0000.938587][71dc] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[027:509] [2024-12-21 11:00:27 +0000.938787][71de] The audio playback speed:100
(1/100)
[027:509] [2024-12-21 11:00:27 +0000.938820][71de] lipsync_debug: The current
played audio timestamp is:23(1/50)
[027:509] [2024-12-21 11:00:27 +0000.938834][71de] First audio frame rendering
[027:512] [2024-12-21 11:00:27 +0000.941333][7200] add aac audio track with id:1
[027:521] [2024-12-21 11:00:27 +0000.950736][7200] audio start ts:0
[027:521] [2024-12-21 11:00:27 +0000.950829][7200] the audio frame has been written
into MP4 file
[027:534] [2024-12-21 11:00:27 +0000.963470][7206]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[027:549] [2024-12-21 11:00:27 +0000.978513][71ff] h264 add frame header cdr flag
[027:557] [2024-12-21 11:00:27 +0000.986610][71ff] h264 add frame header cdr flag
[027:558] [2024-12-21 11:00:27 +0000.987397][71ff] Received key frame:0
[027:558] [2024-12-21 11:00:27 +0000.987562][71ff] H264Encode:: get a sps pps
header!headerSize:32
[027:559] [2024-12-21 11:00:27 +0000.988236][7200] get the H.264 SPS parameter
[027:560] [2024-12-21 11:00:27 +0000.989786][7200] add video track with id:2
[027:576] [2024-12-21 11:00:28 +0000.5390][7200] get the H.264 PPS parameter
[027:577] [2024-12-21 11:00:28 +0000.6376][7200] get the H.264 IDR frame
[027:577] [2024-12-21 11:00:28 +0000.6465][7200] resss:true
[027:577] [2024-12-21 11:00:28 +0000.6485][7200] video start ts:0
[027:577] [2024-12-21 11:00:28 +0000.6619][7200] the video frame has been written
into MP4 file
[027:582] [2024-12-21 11:00:28 +0000.11756][71db] The convert RGB to YUV take 3
[027:585] [2024-12-21 11:00:28 +0000.14596][71ff] DTS queue for
Generator:0x7b364088b8 100 133
[027:962] [2024-12-21 11:00:28 +0000.392125][71db] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:967] [2024-12-21 11:00:28 +0000.396677][71ff] Push an pts:533 to dts queue.
[028:014] [2024-12-21 11:00:28 +0000.443327][71ff] last dts:500 currentPts:533
ppsOrSPS:0 queue length:2
[028:080] [2024-12-21 11:00:28 +0000.509809][71db] The convert RGB to YUV take 10
[028:264] [2024-12-21 11:00:28 +0000.693750][71db] CameraSource::PushExtraFrame
pkt_dts: 866, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a8a940380
[028:414] [2024-12-21 11:00:28 +0000.843880][71ff] DTS queue for
Generator:0x7b364088b8 933 967
[028:463] [2024-12-21 11:00:28 +0000.892530][6f47] video render surface render a
frame
[028:465] [2024-12-21 11:00:28 +0000.894841][71db] CropFilter::OnVideoFrame
outputtexture :14
[028:465] [2024-12-21 11:00:28 +0000.895116][71db] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:577] [2024-12-21 11:00:29 +0000.6286][71db] The convert RGB to YUV take 14
[028:578] [2024-12-21 11:00:29 +0000.7459][7206]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[028:641] [2024-12-21 11:00:29 +0000.70613][71db] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2982 diff: 19
[028:968] [2024-12-21 11:00:29 +0000.397907][71db] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:071] [2024-12-21 11:00:29 +0000.501058][71db] The convert RGB to YUV take 10
[029:198] [2024-12-21 11:00:29 +0000.627999][71db] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[029:199] [2024-12-21 11:00:29 +0000.628159][71db] GPUImageProcessing: input frame
width2160 X 3840
[029:199] [2024-12-21 11:00:29 +0000.628702][71db] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[029:199] [2024-12-21 11:00:29 +0000.628878][71db] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[029:218] [2024-12-21 11:00:29 +0000.647811][71ff] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1733 pts:1733
[029:230] [2024-12-21 11:00:29 +0000.659485][71db] CameraSource::PushExtraFrame
pkt_dts: 1831, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a8a940380
[029:241] [2024-12-21 11:00:29 +0000.670318][71ff] DTS queue for
Generator:0x7b364088b8 1767 1800
[029:295] [2024-12-21 11:00:29 +0000.725187][71ff] Push an pts:1867 to dts queue.
[029:351] [2024-12-21 11:00:29 +0000.781151][71ff] SendFrame
encodedImage._timeStamp:1867encodedImage->_length:131408
[029:353] [2024-12-21 11:00:29 +0000.783037][71ff] last dts:1833 currentPts:1867
ppsOrSPS:0 queue length:2
[029:372] [2024-12-21 11:00:29 +0000.801463][71ff] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1933
[029:372] [2024-12-21 11:00:29 +0000.801528][71ff] push video frame to H264
encoder. (100 frame for one log)

[029:372] [2024-12-21 11:00:29 +0000.801546][71ff] push video frame to H264


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

[029:372] [2024-12-21 11:00:29 +0000.801560][71ff] H264Encode::push video frame to


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

[029:372] [2024-12-21 11:00:29 +0000.801580][71ff] The input pts:1933 fps:30


[029:417] [2024-12-21 11:00:29 +0000.846398][71ff] H264Encode::H264SWEncoder get
callback, length:130160 type:1 nalType:1length:130156
[029:457] [2024-12-21 11:00:29 +0000.887094][6f47] video render surface render a
frame
[029:462] [2024-12-21 11:00:29 +0000.891762][71db] CropFilter::OnVideoFrame
outputtexture :14
[029:462] [2024-12-21 11:00:29 +0000.892084][71db] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:512] [2024-12-21 11:00:29 +0000.941268][71ff] h264 add frame header cdr flag
[029:512] [2024-12-21 11:00:29 +0000.941857][71ff] Received key frame:2000
[029:539] [2024-12-21 11:00:29 +0000.968198][7206]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[029:542] [2024-12-21 11:00:29 +0000.971676][7200] get the H.264 IDR frame
[029:568] [2024-12-21 11:00:29 +0000.997670][71db] The convert RGB to YUV take 3
[029:828] [2024-12-21 11:00:30 +0000.257668][71de] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[029:828] [2024-12-21 11:00:30 +0000.258045][71db] OnNeedStopRecording:
[029:829] [2024-12-21 11:00:30 +0000.258500][6bd1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[029:829] [2024-12-21 11:00:30 +0000.258684][71db] operator(): Stop
[029:829] [2024-12-21 11:00:30 +0000.258807][71db] Stop:
[029:829] [2024-12-21 11:00:30 +0000.258887][71de] DeviceStop:
audioDevice_:0x7acc2af000
[029:829] [2024-12-21 11:00:30 +0000.258922][71de] OpenSlesOutput:Stop playout

[029:830] [2024-12-21 11:00:30 +0000.260102][71de] DeviceStop: Done


[029:831] [2024-12-21 11:00:30 +0000.260201][71de] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[029:834] [2024-12-21 11:00:30 +0000.263813][71ff]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[029:837] [2024-12-21 11:00:30 +0000.266251][71da] stop recording
[029:837] [2024-12-21 11:00:30 +0000.266359][71da]
RecordingSessionInternalSimple:destroy media processers
[029:837] [2024-12-21 11:00:30 +0000.266391][71da] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[029:837] [2024-12-21 11:00:30 +0000.266409][71da] H264Encode::flushing hareware
Encoder
[029:837] [2024-12-21 11:00:30 +0000.266587][71da] Flush time:615992331 enter.

[029:837] [2024-12-21 11:00:30 +0000.266664][71da] H264Encoder encoder flush


[029:837] [2024-12-21 11:00:30 +0000.266710][71da] flush output queue
[030:173] [2024-12-21 11:00:30 +0000.602176][71da] Flush leave. expire time = 336
ms

[030:173] [2024-12-21 11:00:30 +0000.602632][71da] ~H264EncodeWrap:


[030:173] [2024-12-21 11:00:30 +0000.602790][71da] ~H264Encode:
[030:173] [2024-12-21 11:00:30 +0000.602855][71da] teardownCompressionSession:
H264Encode::destroying Encoder
[030:173] [2024-12-21 11:00:30 +0000.603125][71da] Release time:615992667 enter.

[030:174] [2024-12-21 11:00:30 +0000.603311][71da] Release:


MediaCodecVideoEncoder::Release _inited:1
[030:174] [2024-12-21 11:00:30 +0000.603405][71da] Destroy time:615992668 enter.

[030:174] [2024-12-21 11:00:30 +0000.603437][71da] H264Encoder encoderDestroy


[030:174] [2024-12-21 11:00:30 +0000.603468][71da]
AndroidMediaCodecVideoEncoder::release env: 0x7acc1d8420
[030:174] [2024-12-21 11:00:30 +0000.603496][71da]
AndroidMediaCodecVideoEncoder::Destroy
[030:215] [2024-12-21 11:00:30 +0000.644970][71da] Destroy leave. expire time = 41
ms

[030:216] [2024-12-21 11:00:30 +0000.645345][71da] Release leave. expire time = 43


ms

[030:216] [2024-12-21 11:00:30 +0000.645447][71da] ~AndroidHwAvcEncoder


time:615992710 enter.

[030:216] [2024-12-21 11:00:30 +0000.645647][71da] Release time:615992710 enter.

[030:216] [2024-12-21 11:00:30 +0000.645818][71da] Release:


MediaCodecVideoEncoder:: has been released before, just return
[030:216] [2024-12-21 11:00:30 +0000.645911][71da] Release leave. expire time = 0
ms

[030:216] [2024-12-21 11:00:30 +0000.645981][71da] ~AndroidMediaCodecVideoEncoder


[030:216] [2024-12-21 11:00:30 +0000.646006][71da] ~WrapAndroidMediaCodec
time:615992710 enter.

[030:216] [2024-12-21 11:00:30 +0000.646029][71da] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[030:216] [2024-12-21 11:00:30 +0000.646055][71da] video hevc hw codec


destructor:0x7a8ab704e8

[030:217] [2024-12-21 11:00:30 +0000.646201][71da] ~AndroidHwAvcEncoder leave.


expire time = 1 ms
[030:217] [2024-12-21 11:00:30 +0000.646304][71da] teardownCompressionSession:
H264Encode::destroyed Encoder
[030:217] [2024-12-21 11:00:30 +0000.646380][71da]
RecordingSessionInternalSimple:destroy aac encoder output!
[030:217] [2024-12-21 11:00:30 +0000.646442][71da] AACSWEncode destructor
[030:220] [2024-12-21 11:00:30 +0000.649667][7200] MP4 close file successfully
[030:221] [2024-12-21 11:00:30 +0000.650202][7200] Recording session Internal:
notify recording ok
[030:221] [2024-12-21 11:00:30 +0000.650226][7200] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.bruce_1734778820379/
record_video_615989734.mp4
[030:221] [2024-12-21 11:00:30 +0000.650247][7200] OnRecordFinish:
[030:221] [2024-12-21 11:00:30 +0000.651142][71db] DestroyPipelineAndFilters
time:615992715 enter.

[030:222] [2024-12-21 11:00:30 +0000.651513][71db] UnbindInputFilter 0x7a8a9404c0


this 0x7acc29d780
[030:222] [2024-12-21 11:00:30 +0000.651547][71db] UnbindInputFilter 0x7acc29d780
this 0x7a593769d8
[030:222] [2024-12-21 11:00:30 +0000.651564][71db] filter: filter pipeline destroy
this: 0x7a59376940
[030:222] [2024-12-21 11:00:30 +0000.651634][71db] ClearVideoOfSources: recodring
total frames:74
[030:222] [2024-12-21 11:00:30 +0000.651683][71db] ClearVideoOfSources:
[030:222] [2024-12-21 11:00:30 +0000.651699][71db] GPUImageProcessing destruct.
[030:222] [2024-12-21 11:00:30 +0000.651724][71db] destroy TrivalImageDrawer
0x7acc2c9200
[030:222] [2024-12-21 11:00:30 +0000.651788][71db] The shader has been initialize,
clean up them.

[030:224] [2024-12-21 11:00:30 +0000.653970][71db] ~OpenGLFrameBuffer:


[030:224] [2024-12-21 11:00:30 +0000.654101][71db] ~OpenGLFrameBuffer:
[030:225] [2024-12-21 11:00:30 +0000.654148][71db] ~OpenGLFrameBuffer:
[030:225] [2024-12-21 11:00:30 +0000.654198][71db] ~OpenGLFrameBuffer:
[030:225] [2024-12-21 11:00:30 +0000.654268][71db] ~OpenGLFrameBuffer:
[030:225] [2024-12-21 11:00:30 +0000.654318][71db] ~OpenGLFrameBuffer:
[030:225] [2024-12-21 11:00:30 +0000.654904][71db] GPUImageProcessing destruct
finish.
[030:225] [2024-12-21 11:00:30 +0000.654978][71db] GPURGBAFrame destruct.
[030:225] [2024-12-21 11:00:30 +0000.655031][71db] destroy OpenGLRenderProgram
0x7acc29d498
[030:225] [2024-12-21 11:00:30 +0000.655058][71db] ~CameraSource time:615992719
enter.

[030:226] [2024-12-21 11:00:30 +0000.655238][71db] ~CameraSource leave. expire


time = 1 ms

[030:235] [2024-12-21 11:00:30 +0000.665094][71db] DestroyPipelineAndFilters


leave. expire time = 14 ms

[174:022] [2024-12-21 11:02:54 +0000.451983][6c09]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[174:023] [2024-12-21 11:02:54 +0000.452250][6c09] ~MediaFilterCamera
time:616136517 enter.

[174:023] [2024-12-21 11:02:54 +0000.452652][6c09] Stop:


[174:023] [2024-12-21 11:02:54 +0000.452927][71de] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[174:025] [2024-12-21 11:02:54 +0000.455127][71da] stop recording
[174:026] [2024-12-21 11:02:54 +0000.455461][71da] we have stopped recording before
[174:026] [2024-12-21 11:02:54 +0000.455614][6c09] Stop:
[174:026] [2024-12-21 11:02:54 +0000.456001][71de] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[174:031] [2024-12-21 11:02:54 +0000.461125][6c09] DeviceRelease:
audioDevice_:0x7acc2af000
[174:032] [2024-12-21 11:02:54 +0000.461283][6c09] OpenSlesOutput:Stop playout

[174:032] [2024-12-21 11:02:54 +0000.461362][6c09] DeviceRelease: Release the


webrtc device object.
[174:033] [2024-12-21 11:02:54 +0000.462488][6c09] OpenSlesOutput destruct.

[174:033] [2024-12-21 11:02:54 +0000.462704][6c09] DeviceRelease: Done


[174:038] [2024-12-21 11:02:54 +0000.467700][6c09] DestroyPipelineAndFilters
time:616136532 enter.

[174:039] [2024-12-21 11:02:54 +0000.468686][6c09] DestroyPipelineAndFilters


leave. expire time = 1 ms

[174:039] [2024-12-21 11:02:54 +0000.468858][6c09] ~MediaFilterCamera leave.


expire time = 16 ms

[174:040] [2024-12-21 11:02:54 +0000.469192][6c09] ~GLESContext:


[174:045] [2024-12-21 11:02:54 +0000.474944][6c09] GLESContext destruct finish.
[174:046] [2024-12-21 11:02:54 +0000.475768][6c09] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[174:049] [2024-12-21 11:02:54 +0000.479132][6c09] global uninited!
[174:050] [2024-12-21 11:02:54 +0000.479500][6c09] clear AppID 123
[174:050] [2024-12-21 11:02:54 +0000.479623][6c09] UnRegister JVM for Xplatform
util
[174:050] [2024-12-21 11:02:54 +0000.479670][6c09] Dispose::unregister webrtc video
engine
[174:050] [2024-12-21 11:02:54 +0000.479702][6c09] Init the android object with
jvm:0x0 env:0x0 context:0x0

[174:050] [2024-12-21 11:02:54 +0000.479747][6c09] SetAndroidMediaCodecObjects


time:616136544 enter.

[174:050] [2024-12-21 11:02:54 +0000.479872][6c09] ClearAndroidMediaCodecObjects


time:616136544 enter.

[174:050] [2024-12-21 11:02:54 +0000.479919][6c09] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[174:050] [2024-12-21 11:02:54 +0000.479958][6c09] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[174:050] [2024-12-21 11:02:54 +0000.479997][6c09] SetAndroidMediaCodecObjects


time:616136544 enter.

[174:050] [2024-12-21 11:02:54 +0000.480033][6c09] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[174:050] [2024-12-21 11:02:54 +0000.480069][6c09] ClearAndroidMediaCodecObjects
time:616

You might also like