You are on page 1of 102

[000:031] [2023-06-08 14:04:35 +0000.

732509][4499] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-06-
08 14:04:35 +0000
[000:031] [2023-06-08 14:04:35 +0000.732618][4499] dump file m_prefix:-07-27-
feaf968

[000:033] [2023-06-08 14:04:35 +0000.734880][4499] dump filename:trace.txt dump


time:1686233075

[000:033] [2023-06-08 14:04:35 +0000.735069][4499] set AppID=123 old AppID=-1


[000:033] [2023-06-08 14:04:35 +0000.735095][4499] Init the android object with
jvm:0xb4000075101160d0 env:0xb400007500129670 context:0x73b01c22e8

[000:033] [2023-06-08 14:04:35 +0000.735120][4499] SetAndroidMediaCodecObjects


time:183434254 enter.

[000:033] [2023-06-08 14:04:35 +0000.735145][4499] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:033] [2023-06-08 14:04:35 +0000.735167][4499] SetAndroidMediaCodecObjects


time:183434254 enter.

[000:033] [2023-06-08 14:04:35 +0000.735188][4499] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000075101160d0
[000:033] [2023-06-08 14:04:35 +0000.735212][4499] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000075101160d0 address:0x732427e050
[000:033] [2023-06-08 14:04:35 +0000.735237][4499] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000075101160d0
address:0x732427e050
[000:033] [2023-06-08 14:04:35 +0000.735260][4499] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:033] [2023-06-08 14:04:35 +0000.735296][4499] Set the android objects with


jvm:0xb4000075101160d0 env:0xb400007500129670 context:0x73b01c22e8

[000:036] [2023-06-08 14:04:35 +0000.737813][4499] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0xb400007500129670
[000:036] [2023-06-08 14:04:35 +0000.737849][4499] SystemUtil Init done
[000:057] [2023-06-08 14:04:35 +0000.758597][4499]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:057] [2023-06-08 14:04:35 +0000.759135][4499]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:058] [2023-06-08 14:04:35 +0000.759491][4499] machine model :blackshark
[000:058] [2023-06-08 14:04:35 +0000.759518][4499] Support this machine
model :blackshark
[000:061] [2023-06-08 14:04:35 +0000.762704][4499] MediaFilterCamera
[000:061] [2023-06-08 14:04:35 +0000.762787][4499] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:061] [2023-06-08 14:04:35 +0000.762916][4499] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:061] [2023-06-08 14:04:35 +0000.762947][4499] Recording session using default
bitrate support by app:31457280
[000:061] [2023-06-08 14:04:35 +0000.763307][5c31] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb400007530
[000:061] [2023-06-08 14:04:35 +0000.763360][5c31] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:062] [2023-06-08 14:04:35 +0000.764111][4499] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:063] [2023-06-08 14:04:35 +0000.765234][4499] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:064] [2023-06-08 14:04:35 +0000.765808][4499] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:064] [2023-06-08 14:04:35 +0000.766064][4499] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:064] [2023-06-08 14:04:35 +0000.766279][4499] DeviceInit:
[000:065] [2023-06-08 14:04:35 +0000.766511][4499] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:065] [2023-06-08 14:04:35 +0000.766871][4499] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:065] [2023-06-08 14:04:35 +0000.767260][4499] CreatePlatformSpecificObjects:
[000:065] [2023-06-08 14:04:35 +0000.767301][4499] audio device use null audio
input and opensl output
[000:065] [2023-06-08 14:04:35 +0000.767323][4499] Create OpenSLES output module
with java VM support.

[000:066] [2023-06-08 14:04:35 +0000.767434][4499] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:066] [2023-06-08 14:04:35 +0000.767604][4499] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:066] [2023-06-08 14:04:35 +0000.767761][4499] Create OpenSLES output module
with buffer num:2

[000:066] [2023-06-08 14:04:35 +0000.767867][4499] Error(trace.cc:40): Init the


output and input for audio device template.
[000:066] [2023-06-08 14:04:35 +0000.767891][4499] Init the output device.

[000:066] [2023-06-08 14:04:35 +0000.767912][4499] Set the playout as stereo:1


[000:066] [2023-06-08 14:04:35 +0000.767934][4499] Set the sample rate to be:44100

[000:068] [2023-06-08 14:04:35 +0000.769886][4499] Low latency buffer size:192 low


sample rate:48000
[000:068] [2023-06-08 14:04:35 +0000.769941][4499] DeviceInit: Done
[000:073] [2023-06-08 14:04:35 +0000.775426][4499] global inited! current sdk
version: 07-27-feaf968
[000:381] [2023-06-08 14:04:36 +0000.82907][58b9]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:381] [2023-06-08 14:04:36 +0000.82991][58b9]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
15, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices
len: 32, texture_vertices len: 32
[000:382] [2023-06-08 14:04:36 +0000.83470][58b9]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:382] [2023-06-08 14:04:36 +0000.83565][5c32] MediaFilterCamera, recording file
context:0xb4000074b013d660 input texture:15
[000:382] [2023-06-08 14:04:36 +0000.83598][5c32] GLESContext:
[000:382] [2023-06-08 14:04:36 +0000.83641][5c32] The result of eglGetDisplay is:
0xb400007500124d90
[000:382] [2023-06-08 14:04:36 +0000.84226][5c32] The result of creation:
0xb4000074b0169a90
[000:382] [2023-06-08 14:04:36 +0000.84310][5c32] The result of
eglCreatePbufferSurface is: 0xb4000074b017a6e0
[000:382] [2023-06-08 14:04:36 +0000.84393][58b9]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0xb4000074b013d660 input_texture: 15
[005:814] [2023-06-08 14:04:41 +0000.515821][4474] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[005:814] [2023-06-08 14:04:41 +0000.515880][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[005:816] [2023-06-08 14:04:41 +0000.517464][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[005:816] [2023-06-08 14:04:41 +0000.517724][5c32] MediaFilterCamera, recording
file context:0xb4000074b013d660 input texture:15
[005:816] [2023-06-08 14:04:41 +0000.517867][5c32] construct OpenGLRenderProgram
0xb40000754023f8f8
[005:816] [2023-06-08 14:04:41 +0000.517922][5c32] CropFilter::SetOrientation
orientation: 90
[005:816] [2023-06-08 14:04:41 +0000.517973][5c32] filter: filter pipeline
construtc this: 0xb4000074e019b990
[005:816] [2023-06-08 14:04:41 +0000.517999][5c32] filter: filter pipeline2 update
pattern: 1
[005:816] [2023-06-08 14:04:41 +0000.518076][5c32] CameraSource::source_id_:1
[005:816] [2023-06-08 14:04:41 +0000.518349][5c32] SetPlayLoop: AudioSource
SetPlayLoop 0
[005:820] [2023-06-08 14:04:41 +0000.521883][5c32]
Warning(media_filter_camera.cc:483): seekPos:0
[005:820] [2023-06-08 14:04:41 +0000.521987][5c32] BindInputFilter
0xb4000075101545d0 this 0xb40000754023fbe0
[005:820] [2023-06-08 14:04:41 +0000.522031][5c32] BindInputFilter
0xb40000754023fbe0 this 0xb4000074e019ba28
[005:820] [2023-06-08 14:04:41 +0000.522061][5c32] SetParamForFilter time:183440041
enter.

[005:820] [2023-06-08 14:04:41 +0000.522085][5c32] SetParamForFilter: Params video


index is: 0
[005:820] [2023-06-08 14:04:41 +0000.522109][5c32] SetParamForFilter: Params seek
pos is: 0
[005:820] [2023-06-08 14:04:41 +0000.522132][5c32] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness/
movie_mode: 0
[005:820] [2023-06-08 14:04:41 +0000.522158][5c32] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//config.json
[005:821] [2023-06-08 14:04:41 +0000.522830][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.522870][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.522904][5c32]
exp_des.start:0exp_des.end:2560exp_des.expressionstr:0.5
[005:821] [2023-06-08 14:04:41 +0000.522941][5c32]
exp_des.start:0exp_des.end:2560exp_des.expressionstr:0.5
[005:821] [2023-06-08 14:04:41 +0000.522970][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.522994][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523019][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523043][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523069][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523093][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523118][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523141][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523165][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523190][5c32]
Warning(parse_template_json.cc:95): json parament no found the parament
[005:821] [2023-06-08 14:04:41 +0000.523218][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[005:821] [2023-06-08 14:04:41 +0000.523243][5c32] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//filter.png
[005:821] [2023-06-08 14:04:41 +0000.523267][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[005:821] [2023-06-08 14:04:41 +0000.523292][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[005:832] [2023-06-08 14:04:41 +0000.533507][5c32] SetParamForFilter leave. expire
time = 12 ms

[005:832] [2023-06-08 14:04:41 +0000.533705][5c32] OnOutputSizeChanged width 1920


height 1080
[005:832] [2023-06-08 14:04:41 +0000.533741][5c32] OpenGLFrameBuffer: width:1920
height:1080
[005:832] [2023-06-08 14:04:41 +0000.533763][5c32] OpenGLFrameBuffer: width:1920
height:1080
[005:832] [2023-06-08 14:04:41 +0000.533783][5c32] OpenGLFrameBuffer: width:1920
height:1080
[005:832] [2023-06-08 14:04:41 +0000.533802][5c32] OpenGLFrameBuffer: width:1920
height:1080
[005:832] [2023-06-08 14:04:41 +0000.533820][5c32] OpenGLFrameBuffer: width:1920
height:1080
[005:832] [2023-06-08 14:04:41 +0000.533840][5c32] OpenGLFrameBuffer: width:1920
height:1080
[005:832] [2023-06-08 14:04:41 +0000.533860][5c32] construct TrivalImageDrawer
0xb4000074f01832b0
[005:832] [2023-06-08 14:04:41 +0000.533881][5c32] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb4000074f01832b0 context
0xb4000074801cccb0
[005:832] [2023-06-08 14:04:41 +0000.533903][5c32] setupGLES:
[005:832] [2023-06-08 14:04:41 +0000.534282][5c32] OpenGLRenderProgram::Initialize.
[005:832] [2023-06-08 14:04:41 +0000.534327][5c32] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[005:832] [2023-06-08 14:04:41 +0000.534348][5c32] 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
[005:833] [2023-06-08 14:04:41 +0000.534453][5c32] Init open gl render:
0xb40000754023f8f8
[005:833] [2023-06-08 14:04:41 +0000.534484][5c32] Fragement shader path:
[005:833] [2023-06-08 14:04:41 +0000.534506][5c32] Fragement shader path:
[005:833] [2023-06-08 14:04:41 +0000.534525][5c32] create opengl program object.
[005:833] [2023-06-08 14:04:41 +0000.534544][5c32] create shader: vertex
[005:834] [2023-06-08 14:04:41 +0000.536332][5c32] create shader: fragment
[005:887] [2023-06-08 14:04:41 +0000.589368][5c32] External image path is empty!
[005:888] [2023-06-08 14:04:41 +0000.589461][5c32] Error(crop_filter.cc:464): Init
the image texture failed.
[005:888] [2023-06-08 14:04:41 +0000.589483][5c32] OpenGLRenderProgram::Initialize
success.
[005:888] [2023-06-08 14:04:41 +0000.589539][5c32] Setup the OpenGL result:1
[005:888] [2023-06-08 14:04:41 +0000.589673][5c33] Pull audio failed.(wait video!)
[005:888] [2023-06-08 14:04:41 +0000.589765][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[005:888] [2023-06-08 14:04:41 +0000.589793][5c31] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183440109.mp4
[005:888] [2023-06-08 14:04:41 +0000.590032][5c31] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183440109.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[005:888] [2023-06-08 14:04:41 +0000.590125][5c4d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb400007520
[005:888] [2023-06-08 14:04:41 +0000.590161][5c31] 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
[005:888] [2023-06-08 14:04:41 +0000.590390][5c31] 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.hollowness_168623307
5456/record_video_183440109.mp4 fileFD: -1
[005:889] [2023-06-08 14:04:41 +0000.590863][5c31] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183440109.mp4 is opened successfully
[005:889] [2023-06-08 14:04:41 +0000.590904][5c31] setupMediaProcessers:
[005:889] [2023-06-08 14:04:41 +0000.590936][5c31]
RecordingSessionInternalSimple:setup media processers.
[005:889] [2023-06-08 14:04:41 +0000.590993][5c31] construct AAC encoder
[005:889] [2023-06-08 14:04:41 +0000.591306][5c31] H264Encoder creating:
superfast011818
[005:889] [2023-06-08 14:04:41 +0000.591352][5c31] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[005:890] [2023-06-08 14:04:41 +0000.592288][5c31] H264Encode::GetMachineModel is
SHARK PAR-H0
[005:890] [2023-06-08 14:04:41 +0000.592334][5c31] H264Encoder machine_mode
is:SHARK PAR-H0
[005:890] [2023-06-08 14:04:41 +0000.592367][5c31] setupCompressionSession:
[005:890] [2023-06-08 14:04:41 +0000.592400][5c31] H264Encode::creating hareware
Encoder
[005:890] [2023-06-08 14:04:41 +0000.592482][5c31] AndroidHwAvcEncoder
time:183440111 enter.

[005:891] [2023-06-08 14:04:41 +0000.592675][5c31] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000075101160d0 address:0x732427e050
[005:891] [2023-06-08 14:04:41 +0000.592827][5c31] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[005:891] [2023-06-08 14:04:41 +0000.592870][5c31] The video avc hw codec address
is 0xb40000745013fb90
[005:891] [2023-06-08 14:04:41 +0000.592950][5c31] AndroidHwAvcEncoder leave.
expire time = 1 ms

[005:891] [2023-06-08 14:04:41 +0000.592991][5c31] RegisterEncodeCompleteCallback


time:183440112 enter.

[005:891] [2023-06-08 14:04:41 +0000.593107][5c31] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[005:891] [2023-06-08 14:04:41 +0000.593155][5c31] InitEncode time:183440112


enter.

[005:891] [2023-06-08 14:04:41 +0000.593240][5c31] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[005:891] [2023-06-08 14:04:41 +0000.593290][5c31] Create time:183440112 enter.

[005:891] [2023-06-08 14:04:41 +0000.593328][5c31] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[005:891] [2023-06-08 14:04:41 +0000.593371][5c31]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb4000074d014a690
[005:917] [2023-06-08 14:04:41 +0000.619092][5c31]
supported_type:image/vnd.android.heic
[005:917] [2023-06-08 14:04:41 +0000.619198][5c31] supported_type:video/avc
[005:917] [2023-06-08 14:04:41 +0000.619233][5c31] name:OMX.qcom.video.encoder.avc
mime:video/avc
[005:917] [2023-06-08 14:04:41 +0000.619276][5c31] hwCodecPrefix :OMX.qcom.
[005:917] [2023-06-08 14:04:41 +0000.619311][5c31] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[005:917] [2023-06-08 14:04:41 +0000.619344][5c31] mediacodec_createCodecByName
time:183440138 enter.

[005:917] [2023-06-08 14:04:41 +0000.619377][5c31] WrapAndroidMediaCodec


time:183440138 enter.

[005:918] [2023-06-08 14:04:41 +0000.619535][5c31] WrapAndroidMediaCodec leave.


expire time = 1 ms

[005:959] [2023-06-08 14:04:41 +0000.661020][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:033] [2023-06-08 14:04:41 +0000.734907][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:071] [2023-06-08 14:04:41 +0000.772640][5c31] mediacodec_createCodecByName
leave. expire time = 154 ms

[006:071] [2023-06-08 14:04:41 +0000.772786][5c31] WrapAndroidMediaFromat


time:183440292 enter.

[006:071] [2023-06-08 14:04:41 +0000.772884][5c31] WrapAndroidMediaFromat leave.


expire time = 0 ms

[006:104] [2023-06-08 14:04:41 +0000.806401][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:177] [2023-06-08 14:04:41 +0000.878560][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:178] [2023-06-08 14:04:41 +0000.880124][5c31] Destroy time:183440399 enter.

[006:178] [2023-06-08 14:04:41 +0000.880204][5c31] WrapAndroidMediaFromat::


Destroy
[006:178] [2023-06-08 14:04:41 +0000.880246][5c31] Destroy leave. expire time = 0
ms

[006:178] [2023-06-08 14:04:41 +0000.880284][5c31] ~WrapAndroidMediaFromat


time:183440399 enter.

[006:178] [2023-06-08 14:04:41 +0000.880324][5c31] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[006:178] [2023-06-08 14:04:41 +0000.880361][5c31] Create leave. expire time = 287


ms

[006:178] [2023-06-08 14:04:41 +0000.880398][5c31] isSemiPlanarSupport


time:183440399 enter.

[006:178] [2023-06-08 14:04:41 +0000.880481][5c31] H264Encoder isSemiPlanarSupport


[006:179] [2023-06-08 14:04:41 +0000.880522][5c31] isSemiPlanarSupport leave.
expire time = 1 ms

[006:179] [2023-06-08 14:04:41 +0000.880557][5c31] creat hw H264Encoder success,


isSemiPlanar:1
[006:179] [2023-06-08 14:04:41 +0000.880704][5c31] InitEncode leave. expire time =
288 ms

[006:179] [2023-06-08 14:04:41 +0000.880748][5c31] H264Encode::created Encoder


[006:179] [2023-06-08 14:04:41 +0000.880784][5c31] H264Encode:: H264 encoder
created.
[006:179] [2023-06-08 14:04:41 +0000.880820][5c31] H264 encoder created.
[006:179] [2023-06-08 14:04:41 +0000.880856][5c31]
RecordingSessionInternalSimple:created avc encoder avc: 0xb4000075001721b0
[006:179] [2023-06-08 14:04:41 +0000.880894][5c31] setOutput:
[006:179] [2023-06-08 14:04:41 +0000.880929][5c31]
RecordingSessionInternalSimple:encoder set output to muxer!
[006:179] [2023-06-08 14:04:41 +0000.880964][5c31] request a key frame
[006:179] [2023-06-08 14:04:41 +0000.880998][5c31] H264Encode:: request a key frame
[006:179] [2023-06-08 14:04:41 +0000.881285][5c32] Start:
[006:180] [2023-06-08 14:04:41 +0000.881491][5c35] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[006:180] [2023-06-08 14:04:41 +0000.881559][5c35] Reset: history total size: 98
[006:180] [2023-06-08 14:04:41 +0000.881605][5c35] DeviceStart:
audioDevice_:0xb4000075c01d0d50
[006:180] [2023-06-08 14:04:41 +0000.881642][5c35] DeviceStart: time profile
playout init before
[006:180] [2023-06-08 14:04:41 +0000.881680][5c35] DeviceStart: time profile
playout init end
[006:180] [2023-06-08 14:04:41 +0000.881714][5c35] OpenSlesOutput:Start playout

[006:185] [2023-06-08 14:04:41 +0000.886582][5c35] The machine model:SHARK PAR-H0

[006:185] [2023-06-08 14:04:41 +0000.886707][5c35] Create the opensl output player.


streamtype before:0

[006:185] [2023-06-08 14:04:41 +0000.886762][5c35] Create the opensl output player.


streamtype after:3

[006:216] [2023-06-08 14:04:41 +0000.918405][5c35] Enqueue opensl buffer size:1764


[006:239] [2023-06-08 14:04:41 +0000.940896][5c35] DeviceStart: time profile
playout all end
[006:239] [2023-06-08 14:04:41 +0000.940963][5c35] operator(): Audio playback
started.
[006:241] [2023-06-08 14:04:41 +0000.942579][5c53]
PlayerSimpleBufferQueueCallbackHandler function
[006:241] [2023-06-08 14:04:41 +0000.942711][5c53] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[006:241] [2023-06-08 14:04:41 +0000.942739][5c53]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[006:249] [2023-06-08 14:04:41 +0000.950853][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:293] [2023-06-08 14:04:41 +0000.995337][5c32] begine recode to first frame
spend time:477
[006:294] [2023-06-08 14:04:41 +0000.995447][5c32] CameraSource::PushExtraFrame
pkt_dts: 0, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb400007510154490
[006:294] [2023-06-08 14:04:41 +0000.995498][5c32] add frame because frame
interval.
[006:294] [2023-06-08 14:04:41 +0000.995539][5c32] blur_distance_:0
[006:294] [2023-06-08 14:04:41 +0000.995627][5c32] blur_direction_angle_:-90
[006:294] [2023-06-08 14:04:41 +0000.995674][5c32] color_r_offset_:0
[006:294] [2023-06-08 14:04:41 +0000.995699][58b9] video render surface render a
frame
[006:294] [2023-06-08 14:04:41 +0000.995827][5c32] color_g_offset:0
[006:294] [2023-06-08 14:04:41 +0000.995872][5c32] play_speed_:1
[006:294] [2023-06-08 14:04:41 +0000.995914][5c32] roll_value_:0
[006:294] [2023-06-08 14:04:41 +0000.995951][5c32] need_extra_image_:0 need_image:
0
[006:294] [2023-06-08 14:04:41 +0000.995990][5c32] ResetFramePtsadjust pts:
0current pts:10
[006:294] [2023-06-08 14:04:41 +0000.996028][5c32]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[006:294] [2023-06-08 14:04:41 +0000.996101][5c32]
GPUImageProcessing::SetOrientation orientation: 90
[006:294] [2023-06-08 14:04:41 +0000.996142][5c32] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[006:294] [2023-06-08 14:04:41 +0000.996224][5c32] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[006:294] [2023-06-08 14:04:41 +0000.996272][5c32] GPUImageProcessing: input frame
width2160 X 3840
[006:297] [2023-06-08 14:04:41 +0000.999027][5c32] drawYUV420 render
OpenGLRenderProgram:0xb40000754023f8f8
[006:299] [2023-06-08 14:04:42 +0000.781][5c32] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[006:299] [2023-06-08 14:04:42 +0000.963][5c32] CropFilter::OnVideoFrame
outputtexture :18
[006:299] [2023-06-08 14:04:42 +0000.1007][5c32] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[006:301] [2023-06-08 14:04:42 +0000.3316][5c32] The read pixel from buffer take: 2
width:1920 height:1080 frameType:0
[006:320] [2023-06-08 14:04:42 +0000.21881][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[006:343] [2023-06-08 14:04:42 +0000.45243][5c32] drawYUV420 render
OpenGLRenderProgram:0xb40000754023f8f8
[006:347] [2023-06-08 14:04:42 +0000.49285][5c32] The convert RGB to YUV take 3
[006:348] [2023-06-08 14:04:42 +0000.49435][5c32] FilterPipeline2::OnVideoFrame pts
33 last_video_timestamp_ 33
[006:348] [2023-06-08 14:04:42 +0000.49471][5c32]
MediaFilterCamera::OnOutputVideoFrame timestamp: 0
[006:350] [2023-06-08 14:04:42 +0000.52164][5c4c]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[006:350] [2023-06-08 14:04:42 +0000.52222][5c4c] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[006:350] [2023-06-08 14:04:42 +0000.52248][5c4c] push video frame to H264 encoder.
(100 frame for one log)

[006:350] [2023-06-08 14:04:42 +0000.52272][5c4c] push video frame to H264 encoder.


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

[006:350] [2023-06-08 14:04:42 +0000.52293][5c4c] H264Encode::push video frame to


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

[006:350] [2023-06-08 14:04:42 +0000.52314][5c4c] Push an pts:0 to dts queue.


[006:350] [2023-06-08 14:04:42 +0000.52337][5c4c] DTS queue for
Generator:0xb40000752016d308 0
[006:350] [2023-06-08 14:04:42 +0000.52354][5c4c] The input pts:0 fps:30
[006:351] [2023-06-08 14:04:42 +0000.53016][5c33] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//bgm.mp3
sync_mode: 1 seek_pos: 0 delay: 0 this:0xb40000754022fe40
[006:354] [2023-06-08 14:04:42 +0000.55852][5c4c]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[006:371] [2023-06-08 14:04:42 +0000.73244][5c32] drawYUV420 render
OpenGLRenderProgram:0xb40000754023f8f8
[006:422] [2023-06-08 14:04:42 +0000.123936][5c48] FFMpeg=> [mp3 @
0xb400007550214b60] Current FFmpeg version git-2021-06-16-97cea6f

[006:436] [2023-06-08 14:04:42 +0000.138269][5c4c] h264 add frame header cdr flag
[006:437] [2023-06-08 14:04:42 +0000.138955][5c4c] h264 add frame header cdr flag
[006:438] [2023-06-08 14:04:42 +0000.140061][5c4c] SendFrame
encodedImage._timeStamp:0encodedImage->_length:690784
[006:438] [2023-06-08 14:04:42 +0000.140110][5c4c] Received key frame:0
[006:438] [2023-06-08 14:04:42 +0000.140156][5c4c] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[006:438] [2023-06-08 14:04:42 +0000.140182][5c4c] H264Encode::H264SWEncoder get
callback, length:690784 type:0 nalType:7length:19
[006:438] [2023-06-08 14:04:42 +0000.140236][5c4c] H264Encode:: get a sps pps
header!headerSize:32
[006:438] [2023-06-08 14:04:42 +0000.140258][5c4c] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[006:438] [2023-06-08 14:04:42 +0000.140326][5c4d] get the H.264 SPS parameter
[006:439] [2023-06-08 14:04:42 +0000.140528][5c4d] add video track with id:1
[006:442] [2023-06-08 14:04:42 +0000.143987][5c4d] get the H.264 PPS parameter
[006:446] [2023-06-08 14:04:42 +0000.147734][5c4d] get the H.264 IDR frame
[006:446] [2023-06-08 14:04:42 +0000.147804][5c4d] resss:true
[006:446] [2023-06-08 14:04:42 +0000.147824][5c4d] video start ts:0
[006:446] [2023-06-08 14:04:42 +0000.147925][5c4d] the video frame has been written
into MP4 file
[006:456] [2023-06-08 14:04:42 +0000.158398][5c33] FilterPipeline2::OnAudioFrame
pts 0 last_audio_timestamp_ 0
[006:457] [2023-06-08 14:04:42 +0000.158466][5c33]
MediaFilterCamera::OnOutputAudioFrame timestamp: 0.5 sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:27
[006:457] [2023-06-08 14:04:42 +0000.158494][5c33] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[006:457] [2023-06-08 14:04:42 +0000.158662][5c35] The audio playback speed:100
(1/100)
[006:457] [2023-06-08 14:04:42 +0000.158748][5c35] lipsync_debug: The current
played audio timestamp is:0(1/50)
[006:457] [2023-06-08 14:04:42 +0000.158764][5c35] First audio frame rendering
[006:469] [2023-06-08 14:04:42 +0000.171081][5c4b]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[006:469] [2023-06-08 14:04:42 +0000.171354][5c4d] add aac audio track with id:2
[006:480] [2023-06-08 14:04:42 +0000.181688][5c4d] audio start ts:0
[006:480] [2023-06-08 14:04:42 +0000.181769][5c4d] the audio frame has been written
into MP4 file
[006:798] [2023-06-08 14:04:42 +0000.499632][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:832] [2023-06-08 14:04:42 +0000.533866][5c32] The convert RGB to YUV take 4
[007:175] [2023-06-08 14:04:42 +0000.876714][5c4c] DTS queue for
Generator:0xb40000752016d308 800 833
[007:221] [2023-06-08 14:04:42 +0000.922685][5c53]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[007:267] [2023-06-08 14:04:42 +0000.969281][5c32] CameraSource::PushExtraFrame
pkt_dts: 1000, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb400007510154490
[007:300] [2023-06-08 14:04:43 +0000.1934][5c32] CropFilter::OnVideoFrame
outputtexture :18
[007:300] [2023-06-08 14:04:43 +0000.2094][5c32] The read pixel from buffer take: 0
width:1920 height:1080 frameType:0
[007:301] [2023-06-08 14:04:43 +0000.2992][58b9] video render surface render a
frame
[007:340] [2023-06-08 14:04:43 +0000.41475][5c32] The convert RGB to YUV take 5
[007:676] [2023-06-08 14:04:43 +0000.378303][5c4c] Push an pts:1333 to dts queue.
[007:713] [2023-06-08 14:04:43 +0000.414989][5c4c] last dts:1300 currentPts:1333
ppsOrSPS:0 queue length:2
[007:803] [2023-06-08 14:04:43 +0000.504611][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:839] [2023-06-08 14:04:43 +0000.540931][5c32] The convert RGB to YUV take 4
[008:010] [2023-06-08 14:04:43 +0000.711568][5c4c] DTS queue for
Generator:0xb40000752016d308 1633 1667
[008:240] [2023-06-08 14:04:43 +0000.941643][5c53]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[008:245] [2023-06-08 14:04:43 +0000.946842][5c32] CameraSource::PushExtraFrame
pkt_dts: 1967, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb400007510154490
[008:299] [2023-06-08 14:04:44 +0000.580][5c32] CropFilter::OnVideoFrame
outputtexture :18
[008:299] [2023-06-08 14:04:44 +0000.957][5c32] The read pixel from buffer take: 0
width:1920 height:1080 frameType:0
[008:300] [2023-06-08 14:04:44 +0000.1711][58b9] video render surface render a
frame
[008:357] [2023-06-08 14:04:44 +0000.58955][5c32] The convert RGB to YUV take 5
[008:369] [2023-06-08 14:04:44 +0000.70839][5c32] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[008:415] [2023-06-08 14:04:44 +0000.116882][5c4c] h264 add frame header cdr flag
[008:415] [2023-06-08 14:04:44 +0000.117197][5c4c] Received key frame:2000
[008:423] [2023-06-08 14:04:44 +0000.124570][5c4d] get the H.264 IDR frame
[008:681] [2023-06-08 14:04:44 +0000.382716][5c33] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[008:698] [2023-06-08 14:04:44 +0000.400065][5c35] The audio playback speed:100
(1/100)
[008:698] [2023-06-08 14:04:44 +0000.400125][5c35] lipsync_debug: The current
played audio timestamp is:2400(1/50)
[008:802] [2023-06-08 14:04:44 +0000.504338][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:811] [2023-06-08 14:04:44 +0000.512760][5c4c] DTS queue for
Generator:0xb40000752016d308 2467
[008:846] [2023-06-08 14:04:44 +0000.547713][5c32] Current timestamp:2567 is
greater than duration_time: 2560
[008:851] [2023-06-08 14:04:44 +0000.552671][5c32] The convert RGB to YUV take 4
[008:939] [2023-06-08 14:04:44 +0000.641012][5c35] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[008:939] [2023-06-08 14:04:44 +0000.641189][5c32] OnNeedStopRecording:
[008:942] [2023-06-08 14:04:44 +0000.643452][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[008:942] [2023-06-08 14:04:44 +0000.643640][5c32] operator(): Stop
[008:942] [2023-06-08 14:04:44 +0000.643828][5c32] Stop:
[008:942] [2023-06-08 14:04:44 +0000.643941][5c35] DeviceStop:
audioDevice_:0xb4000075c01d0d50
[008:942] [2023-06-08 14:04:44 +0000.644012][5c35] OpenSlesOutput:Stop playout

[008:946] [2023-06-08 14:04:44 +0000.647838][5c35] DeviceStop: Done


[008:946] [2023-06-08 14:04:44 +0000.647985][5c35] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[008:949] [2023-06-08 14:04:44 +0000.650584][5c4c]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[008:952] [2023-06-08 14:04:44 +0000.653822][5c31] stop recording
[008:952] [2023-06-08 14:04:44 +0000.653867][5c31]
RecordingSessionInternalSimple:destroy media processers
[008:952] [2023-06-08 14:04:44 +0000.653895][5c31] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[008:952] [2023-06-08 14:04:44 +0000.653921][5c31] H264Encode::flushing hareware
Encoder
[008:952] [2023-06-08 14:04:44 +0000.654068][5c31] Flush time:183443173 enter.

[008:952] [2023-06-08 14:04:44 +0000.654108][5c31] H264Encoder encoder flush


[008:952] [2023-06-08 14:04:44 +0000.654136][5c31] flush output queue
[009:282] [2023-06-08 14:04:44 +0000.983713][5c31] Flush leave. expire time = 330
ms
[009:282] [2023-06-08 14:04:44 +0000.983999][5c31] ~H264EncodeWrap:
[009:282] [2023-06-08 14:04:44 +0000.984078][5c31] ~H264Encode:
[009:282] [2023-06-08 14:04:44 +0000.984133][5c31] teardownCompressionSession:
H264Encode::destroying Encoder
[009:282] [2023-06-08 14:04:44 +0000.984189][5c31] Release time:183443503 enter.

[009:283] [2023-06-08 14:04:44 +0000.984597][5c31] Release:


MediaCodecVideoEncoder::Release _inited:1
[009:283] [2023-06-08 14:04:44 +0000.984751][5c31] Destroy time:183443504 enter.

[009:283] [2023-06-08 14:04:44 +0000.984821][5c31] H264Encoder encoderDestroy


[009:283] [2023-06-08 14:04:44 +0000.984891][5c31]
AndroidMediaCodecVideoEncoder::release env: 0xb40000750015eaf0
[009:283] [2023-06-08 14:04:44 +0000.984964][5c31]
AndroidMediaCodecVideoEncoder::Destroy
[009:344] [2023-06-08 14:04:45 +0000.46400][5c31] Destroy leave. expire time = 62
ms

[009:345] [2023-06-08 14:04:45 +0000.46650][5c31] Release leave. expire time = 63


ms

[009:345] [2023-06-08 14:04:45 +0000.46719][5c31] ~AndroidHwAvcEncoder


time:183443566 enter.

[009:345] [2023-06-08 14:04:45 +0000.46919][5c31] Release time:183443566 enter.

[009:345] [2023-06-08 14:04:45 +0000.46981][5c31] Release: MediaCodecVideoEncoder::


has been released before, just return
[009:345] [2023-06-08 14:04:45 +0000.47020][5c31] Release leave. expire time = 0
ms

[009:345] [2023-06-08 14:04:45 +0000.47058][5c31] ~AndroidMediaCodecVideoEncoder


[009:345] [2023-06-08 14:04:45 +0000.47191][5c31] ~WrapAndroidMediaCodec
time:183443566 enter.

[009:345] [2023-06-08 14:04:45 +0000.47233][5c31] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[009:345] [2023-06-08 14:04:45 +0000.47274][5c31] video hevc hw codec


destructor:0xb40000745013fb90

[009:345] [2023-06-08 14:04:45 +0000.47337][5c31] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[009:347] [2023-06-08 14:04:45 +0000.48886][5c31] teardownCompressionSession:


H264Encode::destroyed Encoder
[009:347] [2023-06-08 14:04:45 +0000.49029][5c31]
RecordingSessionInternalSimple:destroy aac encoder output!
[009:347] [2023-06-08 14:04:45 +0000.49109][5c31] AACSWEncode destructor
[009:356] [2023-06-08 14:04:45 +0000.57560][5c4d] MP4 close file successfully
[009:356] [2023-06-08 14:04:45 +0000.57666][5c4d] Recording session Internal:
notify recording ok
[009:356] [2023-06-08 14:04:45 +0000.57704][5c4d] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_1686233075456/
record_video_183440109.mp4
[009:356] [2023-06-08 14:04:45 +0000.57739][5c4d] OnRecordFinish:
[009:357] [2023-06-08 14:04:45 +0000.59177][5c32] DestroyPipelineAndFilters
time:183443578 enter.

[009:358] [2023-06-08 14:04:45 +0000.59613][5c32] UnbindInputFilter


0xb4000075101545d0 this 0xb40000754023fbe0
[009:358] [2023-06-08 14:04:45 +0000.59657][5c32] UnbindInputFilter
0xb40000754023fbe0 this 0xb4000074e019ba28
[009:358] [2023-06-08 14:04:45 +0000.59679][5c32] filter: filter pipeline destroy
this: 0xb4000074e019b990
[009:358] [2023-06-08 14:04:45 +0000.59789][5c32] ClearVideoOfSources: recodring
total frames:80
[009:358] [2023-06-08 14:04:45 +0000.59817][5c32] ClearVideoOfSources:
[009:358] [2023-06-08 14:04:45 +0000.59841][5c32] GPUImageProcessing destruct.
[009:358] [2023-06-08 14:04:45 +0000.59882][5c32] destroy TrivalImageDrawer
0xb4000074f01832b0
[009:358] [2023-06-08 14:04:45 +0000.59907][5c32] The shader has been initialize,
clean up them.

[009:358] [2023-06-08 14:04:45 +0000.60277][5c32] ~OpenGLFrameBuffer:


[009:358] [2023-06-08 14:04:45 +0000.60427][5c32] ~OpenGLFrameBuffer:
[009:359] [2023-06-08 14:04:45 +0000.60574][5c32] ~OpenGLFrameBuffer:
[009:359] [2023-06-08 14:04:45 +0000.60670][5c32] ~OpenGLFrameBuffer:
[009:359] [2023-06-08 14:04:45 +0000.60751][5c32] ~OpenGLFrameBuffer:
[009:359] [2023-06-08 14:04:45 +0000.60835][5c32] ~OpenGLFrameBuffer:
[009:359] [2023-06-08 14:04:45 +0000.61176][5c32] GPUImageProcessing destruct
finish.
[009:359] [2023-06-08 14:04:45 +0000.61222][5c32] GPURGBAFrame destruct.
[009:359] [2023-06-08 14:04:45 +0000.61266][5c32] destroy OpenGLRenderProgram
0xb40000754023f8f8
[009:359] [2023-06-08 14:04:45 +0000.61295][5c32] ~CameraSource time:183443580
enter.

[009:359] [2023-06-08 14:04:45 +0000.61320][5c32] ~CameraSource leave. expire time


= 0 ms

[009:361] [2023-06-08 14:04:45 +0000.62827][5c32] DestroyPipelineAndFilters leave.


expire time = 4 ms

[014:776] [2023-06-08 14:04:50 +0000.477661][4474] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[014:776] [2023-06-08 14:04:50 +0000.477842][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[014:776] [2023-06-08 14:04:50 +0000.477937][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[014:776] [2023-06-08 14:04:50 +0000.478221][5c32] MediaFilterCamera, recording
file context:0xb4000074b013d660 input texture:15
[014:776] [2023-06-08 14:04:50 +0000.478315][5c32] construct OpenGLRenderProgram
0xb4000075403d9c98
[014:776] [2023-06-08 14:04:50 +0000.478358][5c32] CropFilter::SetOrientation
orientation: 90
[014:776] [2023-06-08 14:04:50 +0000.478410][5c32] filter: filter pipeline
construtc this: 0xb4000074e0194ed0
[014:777] [2023-06-08 14:04:50 +0000.478450][5c32] filter: filter pipeline2 update
pattern: 1
[014:777] [2023-06-08 14:04:50 +0000.478496][5c32] CameraSource::source_id_:2
[014:778] [2023-06-08 14:04:50 +0000.479935][5c32] SetPlayLoop: AudioSource
SetPlayLoop 0
[014:778] [2023-06-08 14:04:50 +0000.480074][5c32]
Warning(media_filter_camera.cc:483): seekPos:2560
[014:778] [2023-06-08 14:04:50 +0000.480127][5c32] BindInputFilter
0xb4000075101a4190 this 0xb4000075403d9f80
[014:778] [2023-06-08 14:04:50 +0000.480188][5c32] BindInputFilter
0xb4000075403d9f80 this 0xb4000074e0194f68
[014:778] [2023-06-08 14:04:50 +0000.480227][5c32] SetParamForFilter time:183448999
enter.

[014:778] [2023-06-08 14:04:50 +0000.480262][5c32] SetParamForFilter: Params video


index is: 1
[014:778] [2023-06-08 14:04:50 +0000.480298][5c32] SetParamForFilter: Params seek
pos is: 1
[014:778] [2023-06-08 14:04:50 +0000.480336][5c32] crop filter video index:1
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness/
movie_mode: 0
[014:778] [2023-06-08 14:04:50 +0000.480375][5c32] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//config.json
[014:779] [2023-06-08 14:04:50 +0000.481118][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:779] [2023-06-08 14:04:50 +0000.481220][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:779] [2023-06-08 14:04:50 +0000.481256][5c32]
exp_des.start:0exp_des.end:2200exp_des.expressionstr:0.5
[014:779] [2023-06-08 14:04:50 +0000.481294][5c32]
exp_des.start:0exp_des.end:2200exp_des.expressionstr:0.5
[014:779] [2023-06-08 14:04:50 +0000.481319][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:779] [2023-06-08 14:04:50 +0000.481340][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:779] [2023-06-08 14:04:50 +0000.481360][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:779] [2023-06-08 14:04:50 +0000.481383][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:779] [2023-06-08 14:04:50 +0000.481405][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:779] [2023-06-08 14:04:50 +0000.481427][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:780] [2023-06-08 14:04:50 +0000.481449][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:780] [2023-06-08 14:04:50 +0000.481470][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:780] [2023-06-08 14:04:50 +0000.481491][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[014:780] [2023-06-08 14:04:50 +0000.481512][5c32]
Warning(parse_template_json.cc:95): json parament no found the parament
[014:780] [2023-06-08 14:04:50 +0000.481535][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[014:780] [2023-06-08 14:04:50 +0000.481557][5c32] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//filter.png
[014:780] [2023-06-08 14:04:50 +0000.481579][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[014:780] [2023-06-08 14:04:50 +0000.481602][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[014:781] [2023-06-08 14:04:50 +0000.482442][5c32] SetParamForFilter leave. expire
time = 3 ms
[014:781] [2023-06-08 14:04:50 +0000.482538][5c32] OnOutputSizeChanged width 1920
height 1080
[014:781] [2023-06-08 14:04:50 +0000.482569][5c32] OpenGLFrameBuffer: width:1920
height:1080
[014:781] [2023-06-08 14:04:50 +0000.482593][5c32] OpenGLFrameBuffer: width:1920
height:1080
[014:781] [2023-06-08 14:04:50 +0000.482615][5c32] OpenGLFrameBuffer: width:1920
height:1080
[014:781] [2023-06-08 14:04:50 +0000.482637][5c32] OpenGLFrameBuffer: width:1920
height:1080
[014:781] [2023-06-08 14:04:50 +0000.482659][5c32] OpenGLFrameBuffer: width:1920
height:1080
[014:781] [2023-06-08 14:04:50 +0000.482680][5c32] OpenGLFrameBuffer: width:1920
height:1080
[014:781] [2023-06-08 14:04:50 +0000.482702][5c32] construct TrivalImageDrawer
0xb4000074f0181450
[014:781] [2023-06-08 14:04:50 +0000.482786][5c32] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb4000074f0181450 context
0xb4000074801cccb0
[014:781] [2023-06-08 14:04:50 +0000.482813][5c32] setupGLES:
[014:781] [2023-06-08 14:04:50 +0000.483156][5c32] OpenGLRenderProgram::Initialize.
[014:781] [2023-06-08 14:04:50 +0000.483188][5c32] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[014:781] [2023-06-08 14:04:50 +0000.483213][5c32] 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
[014:781] [2023-06-08 14:04:50 +0000.483267][5c32] Init open gl render:
0xb4000075403d9c98
[014:781] [2023-06-08 14:04:50 +0000.483294][5c32] Fragement shader path:
[014:781] [2023-06-08 14:04:50 +0000.483319][5c32] Fragement shader path:
[014:781] [2023-06-08 14:04:50 +0000.483343][5c32] create opengl program object.
[014:781] [2023-06-08 14:04:50 +0000.483363][5c32] create shader: vertex
[014:782] [2023-06-08 14:04:50 +0000.483541][5c32] create shader: fragment
[014:793] [2023-06-08 14:04:50 +0000.494538][5c32] External image path is empty!
[014:793] [2023-06-08 14:04:50 +0000.494628][5c32] Error(crop_filter.cc:464): Init
the image texture failed.
[014:793] [2023-06-08 14:04:50 +0000.494654][5c32] OpenGLRenderProgram::Initialize
success.
[014:793] [2023-06-08 14:04:50 +0000.494709][5c32] Setup the OpenGL result:1
[014:793] [2023-06-08 14:04:50 +0000.495051][5c31] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183449014.mp4
[014:793] [2023-06-08 14:04:50 +0000.495209][5c31] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183449014.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[014:793] [2023-06-08 14:04:50 +0000.495241][5c31] 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
[014:793] [2023-06-08 14:04:50 +0000.495270][5c31] 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.hollowness_168623307
5456/record_video_183449014.mp4 fileFD: -1
[014:794] [2023-06-08 14:04:50 +0000.495488][5c6e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb400007520
[014:794] [2023-06-08 14:04:50 +0000.495586][5c31] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183449014.mp4 is opened successfully
[014:794] [2023-06-08 14:04:50 +0000.495618][5c31] setupMediaProcessers:
[014:794] [2023-06-08 14:04:50 +0000.495636][5c31]
RecordingSessionInternalSimple:setup media processers.
[014:794] [2023-06-08 14:04:50 +0000.495656][5c31] construct AAC encoder
[014:794] [2023-06-08 14:04:50 +0000.495834][5c31] H264Encoder creating:
superfast011818
[014:794] [2023-06-08 14:04:50 +0000.495863][5c31] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[014:794] [2023-06-08 14:04:50 +0000.496372][5c31] H264Encode::GetMachineModel is
SHARK PAR-H0
[014:794] [2023-06-08 14:04:50 +0000.496400][5c31] H264Encoder machine_mode
is:SHARK PAR-H0
[014:794] [2023-06-08 14:04:50 +0000.496418][5c31] setupCompressionSession:
[014:795] [2023-06-08 14:04:50 +0000.496462][5c31] H264Encode::creating hareware
Encoder
[014:795] [2023-06-08 14:04:50 +0000.496482][5c31] AndroidHwAvcEncoder
time:183449016 enter.

[014:795] [2023-06-08 14:04:50 +0000.496632][5c31] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000075101160d0 address:0x732427e050
[014:795] [2023-06-08 14:04:50 +0000.496724][5c31] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[014:795] [2023-06-08 14:04:50 +0000.496747][5c31] The video avc hw codec address
is 0xb400007450148ef0
[014:795] [2023-06-08 14:04:50 +0000.496794][5c31] AndroidHwAvcEncoder leave.
expire time = 0 ms

[014:795] [2023-06-08 14:04:50 +0000.496818][5c31] RegisterEncodeCompleteCallback


time:183449016 enter.

[014:795] [2023-06-08 14:04:50 +0000.496879][5c31] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[014:795] [2023-06-08 14:04:50 +0000.496910][5c31] InitEncode time:183449016


enter.

[014:795] [2023-06-08 14:04:50 +0000.496959][5c31] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[014:795] [2023-06-08 14:04:50 +0000.496988][5c31] Create time:183449016 enter.

[014:795] [2023-06-08 14:04:50 +0000.497007][5c31] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[014:795] [2023-06-08 14:04:50 +0000.497029][5c31]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb4000074d0170250
[014:795] [2023-06-08 14:04:50 +0000.497132][5c31]
supported_type:image/vnd.android.heic
[014:795] [2023-06-08 14:04:50 +0000.497168][5c31] supported_type:video/avc
[014:795] [2023-06-08 14:04:50 +0000.497193][5c31] name:OMX.qcom.video.encoder.avc
mime:video/avc
[014:795] [2023-06-08 14:04:50 +0000.497225][5c31] hwCodecPrefix :OMX.qcom.
[014:795] [2023-06-08 14:04:50 +0000.497248][5c31] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[014:795] [2023-06-08 14:04:50 +0000.497271][5c31] mediacodec_createCodecByName
time:183449016 enter.

[014:795] [2023-06-08 14:04:50 +0000.497292][5c31] WrapAndroidMediaCodec


time:183449016 enter.

[014:795] [2023-06-08 14:04:50 +0000.497393][5c31] WrapAndroidMediaCodec leave.


expire time = 0 ms

[014:815] [2023-06-08 14:04:50 +0000.517376][5c31] mediacodec_createCodecByName


leave. expire time = 20 ms

[014:816] [2023-06-08 14:04:50 +0000.517483][5c31] WrapAndroidMediaFromat


time:183449037 enter.

[014:816] [2023-06-08 14:04:50 +0000.517567][5c31] WrapAndroidMediaFromat leave.


expire time = 0 ms

[014:834] [2023-06-08 14:04:50 +0000.535803][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[014:849] [2023-06-08 14:04:50 +0000.550680][5c31] Destroy time:183449070 enter.

[014:849] [2023-06-08 14:04:50 +0000.550764][5c31] WrapAndroidMediaFromat::


Destroy
[014:849] [2023-06-08 14:04:50 +0000.550805][5c31] Destroy leave. expire time = 0
ms
[014:849] [2023-06-08 14:04:50 +0000.550843][5c31] ~WrapAndroidMediaFromat
time:183449070 enter.

[014:849] [2023-06-08 14:04:50 +0000.550879][5c31] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[014:849] [2023-06-08 14:04:50 +0000.550918][5c31] Create leave. expire time = 54


ms

[014:849] [2023-06-08 14:04:50 +0000.550955][5c31] isSemiPlanarSupport


time:183449070 enter.

[014:849] [2023-06-08 14:04:50 +0000.550992][5c31] H264Encoder isSemiPlanarSupport


[014:849] [2023-06-08 14:04:50 +0000.551032][5c31] isSemiPlanarSupport leave.
expire time = 0 ms

[014:849] [2023-06-08 14:04:50 +0000.551067][5c31] creat hw H264Encoder success,


isSemiPlanar:1
[014:849] [2023-06-08 14:04:50 +0000.551207][5c31] InitEncode leave. expire time =
54 ms

[014:849] [2023-06-08 14:04:50 +0000.551252][5c31] H264Encode::created Encoder


[014:849] [2023-06-08 14:04:50 +0000.551289][5c31] H264Encode:: H264 encoder
created.
[014:849] [2023-06-08 14:04:50 +0000.551323][5c31] H264 encoder created.
[014:849] [2023-06-08 14:04:50 +0000.551358][5c31]
RecordingSessionInternalSimple:created avc encoder avc: 0xb40000750017c810
[014:849] [2023-06-08 14:04:50 +0000.551395][5c31] setOutput:
[014:849] [2023-06-08 14:04:50 +0000.551431][5c31]
RecordingSessionInternalSimple:encoder set output to muxer!
[014:850] [2023-06-08 14:04:50 +0000.551466][5c31] request a key frame
[014:850] [2023-06-08 14:04:50 +0000.551585][5c31] H264Encode:: request a key frame
[014:850] [2023-06-08 14:04:50 +0000.551922][5c32] Start:
[014:850] [2023-06-08 14:04:50 +0000.552137][5c35] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[014:850] [2023-06-08 14:04:50 +0000.552202][5c35] Reset: history total size: 98
[014:850] [2023-06-08 14:04:50 +0000.552247][5c35] DeviceStart:
audioDevice_:0xb4000075c01d0d50
[014:850] [2023-06-08 14:04:50 +0000.552282][5c35] DeviceStart: time profile
playout init before
[014:850] [2023-06-08 14:04:50 +0000.552322][5c35] DeviceStart: time profile
playout init end
[014:850] [2023-06-08 14:04:50 +0000.552356][5c35] OpenSlesOutput:Start playout

[014:852] [2023-06-08 14:04:50 +0000.553798][5c35] Create the opensl output player.


streamtype before:0

[014:852] [2023-06-08 14:04:50 +0000.553862][5c35] Create the opensl output player.


streamtype after:3

[014:876] [2023-06-08 14:04:50 +0000.577607][5c35] Enqueue opensl buffer size:1764


[014:905] [2023-06-08 14:04:50 +0000.606566][5c35] DeviceStart: time profile
playout all end
[014:905] [2023-06-08 14:04:50 +0000.606650][5c35] operator(): Audio playback
started.
[014:905] [2023-06-08 14:04:50 +0000.607082][5c74] NeedMorePlayData: Scale the
volume to zero now!
[014:906] [2023-06-08 14:04:50 +0000.607886][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[014:922] [2023-06-08 14:04:50 +0000.624327][5c32] begine recode to first frame
spend time:146
[014:922] [2023-06-08 14:04:50 +0000.624374][5c32] add frame because frame
interval.
[014:922] [2023-06-08 14:04:50 +0000.624399][5c32]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[014:923] [2023-06-08 14:04:50 +0000.624478][5c32]
GPUImageProcessing::SetOrientation orientation: 90
[014:923] [2023-06-08 14:04:50 +0000.625020][5c32] drawYUV420 render
OpenGLRenderProgram:0xb4000075403d9c98
[014:938] [2023-06-08 14:04:50 +0000.639493][5c32] drawYUV420 render
OpenGLRenderProgram:0xb4000075403d9c98
[014:947] [2023-06-08 14:04:50 +0000.649156][5c33] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//bgm.mp3
sync_mode: 1 seek_pos: 2560 delay: 0 this:0xb4000075404465f0
[014:947] [2023-06-08 14:04:50 +0000.649395][5c6d]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[014:967] [2023-06-08 14:04:50 +0000.668855][5c32] drawYUV420 render
OpenGLRenderProgram:0xb4000075403d9c98
[014:970] [2023-06-08 14:04:50 +0000.671525][5c6a] FFMpeg=> [mp3 @
0xb40000755021b8d0] Current FFmpeg version git-2021-06-16-97cea6f

[014:986] [2023-06-08 14:04:50 +0000.687922][5c6b] success seekto


avformat_seek_file to: 2560000
[014:987] [2023-06-08 14:04:50 +0000.688499][5c6b] Drop one audio frame for seekto,
pkt_dts 35900928 audio_seek_pos_: 2560000
[014:989] [2023-06-08 14:04:50 +0000.690785][5c35] First audio frame rendering
[014:992] [2023-06-08 14:04:50 +0000.693997][5c6e] add aac audio track with id:1
[015:002] [2023-06-08 14:04:50 +0000.704381][5c6d] Push an pts:67 to dts queue.
[015:003] [2023-06-08 14:04:50 +0000.705261][5c6e] audio start ts:0
[015:003] [2023-06-08 14:04:50 +0000.705323][5c6e] the audio frame has been written
into MP4 file
[015:040] [2023-06-08 14:04:50 +0000.742386][5c6d] h264 add frame header cdr flag
[015:041] [2023-06-08 14:04:50 +0000.743304][5c6d] h264 add frame header cdr flag
[015:043] [2023-06-08 14:04:50 +0000.745373][5c6d] Received key frame:0
[015:044] [2023-06-08 14:04:50 +0000.745525][5c6d] H264Encode:: get a sps pps
header!headerSize:32
[015:044] [2023-06-08 14:04:50 +0000.745933][5c6e] get the H.264 SPS parameter
[015:044] [2023-06-08 14:04:50 +0000.746216][5c6e] add video track with id:2
[015:049] [2023-06-08 14:04:50 +0000.751149][5c6e] get the H.264 PPS parameter
[015:052] [2023-06-08 14:04:50 +0000.753596][5c6d] last dts:33 currentPts:67
ppsOrSPS:0 queue length:2
[015:052] [2023-06-08 14:04:50 +0000.753807][5c6e] get the H.264 IDR frame
[015:052] [2023-06-08 14:04:50 +0000.753885][5c6e] resss:true
[015:052] [2023-06-08 14:04:50 +0000.753919][5c6e] video start ts:0
[015:052] [2023-06-08 14:04:50 +0000.754038][5c6e] the video frame has been written
into MP4 file
[015:132] [2023-06-08 14:04:50 +0000.833962][5c32] CameraSource::PushExtraFrame
pkt_dts: 233, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb4000075101a4050
[015:150] [2023-06-08 14:04:50 +0000.851619][5c74]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[015:232] [2023-06-08 14:04:50 +0000.933986][58b9] video render surface render a
frame
[015:232] [2023-06-08 14:04:50 +0000.934323][5c32] CropFilter::OnVideoFrame
outputtexture :22
[015:232] [2023-06-08 14:04:50 +0000.934401][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:300] [2023-06-08 14:04:51 +0000.1838][5c32] The convert RGB to YUV take 3
[015:601] [2023-06-08 14:04:51 +0000.302594][5c32] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[015:601] [2023-06-08 14:04:51 +0000.302682][5c32] GPUImageProcessing: input frame
width2160 X 3840
[015:601] [2023-06-08 14:04:51 +0000.303095][5c32] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[015:601] [2023-06-08 14:04:51 +0000.303142][5c32] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[015:640] [2023-06-08 14:04:51 +0000.341757][5c6d] DTS queue for
Generator:0xb4000075201a6918 667 700
[015:640] [2023-06-08 14:04:51 +0000.341938][5c6d] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:633 pts:633
[015:709] [2023-06-08 14:04:51 +0000.410991][5c6d] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:767
[015:709] [2023-06-08 14:04:51 +0000.411131][5c6d] push video frame to H264
encoder. (100 frame for one log)

[015:709] [2023-06-08 14:04:51 +0000.411197][5c6d] push video frame to H264


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

[015:709] [2023-06-08 14:04:51 +0000.411287][5c6d] H264Encode::push video frame to


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

[015:709] [2023-06-08 14:04:51 +0000.411336][5c6d] The input pts:767 fps:30


[015:712] [2023-06-08 14:04:51 +0000.413753][5c6d] SendFrame
encodedImage._timeStamp:733encodedImage->_length:114544
[015:738] [2023-06-08 14:04:51 +0000.440256][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:748] [2023-06-08 14:04:51 +0000.449878][5c6d] H264Encode::H264SWEncoder get
callback, length:123664 type:1 nalType:1length:123660
[015:804] [2023-06-08 14:04:51 +0000.505987][5c32] The convert RGB to YUV take 4
[016:109] [2023-06-08 14:04:51 +0000.810622][5c32] CameraSource::PushExtraFrame
pkt_dts: 1200, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb4000075101a4050
[016:193] [2023-06-08 14:04:51 +0000.894813][5c74]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[016:233] [2023-06-08 14:04:51 +0000.934913][58b9] video render surface render a
frame
[016:234] [2023-06-08 14:04:51 +0000.935493][5c32] CropFilter::OnVideoFrame
outputtexture :22
[016:234] [2023-06-08 14:04:51 +0000.935569][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:301] [2023-06-08 14:04:52 +0000.2848][5c32] The convert RGB to YUV take 4
[016:337] [2023-06-08 14:04:52 +0000.39350][5c6d] Push an pts:1400 to dts queue.
[016:383] [2023-06-08 14:04:52 +0000.84818][5c32] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[016:386] [2023-06-08 14:04:52 +0000.88232][5c6d] last dts:1367 currentPts:1400
ppsOrSPS:0 queue length:2
[016:470] [2023-06-08 14:04:52 +0000.172380][5c6d] DTS queue for
Generator:0xb4000075201a6918 1500 1533
[016:734] [2023-06-08 14:04:52 +0000.436067][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:807] [2023-06-08 14:04:52 +0000.509102][5c32] The convert RGB to YUV take 5
[017:003] [2023-06-08 14:04:52 +0000.704886][5c6d] h264 add frame header cdr flag
[017:004] [2023-06-08 14:04:52 +0000.705665][5c6d] Received key frame:2000
[017:013] [2023-06-08 14:04:52 +0000.714476][5c6e] get the H.264 IDR frame
[017:064] [2023-06-08 14:04:52 +0000.765950][5c32] CameraSource::PushExtraFrame
pkt_dts: 2167, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb4000075101a4050
[017:161] [2023-06-08 14:04:52 +0000.862989][5c74]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[017:175] [2023-06-08 14:04:52 +0000.876764][5c35] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[017:176] [2023-06-08 14:04:52 +0000.877799][5c32] OnNeedStopRecording:
[017:176] [2023-06-08 14:04:52 +0000.878368][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[017:177] [2023-06-08 14:04:52 +0000.878563][5c32] operator(): Stop
[017:177] [2023-06-08 14:04:52 +0000.878974][5c32] Stop:
[017:177] [2023-06-08 14:04:52 +0000.879094][5c35] DeviceStop:
audioDevice_:0xb4000075c01d0d50
[017:177] [2023-06-08 14:04:52 +0000.879173][5c35] OpenSlesOutput:Stop playout

[017:181] [2023-06-08 14:04:52 +0000.882935][5c35] DeviceStop: Done


[017:182] [2023-06-08 14:04:52 +0000.883948][5c35] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[017:183] [2023-06-08 14:04:52 +0000.884839][5c6d]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[017:185] [2023-06-08 14:04:52 +0000.887083][5c31] stop recording
[017:185] [2023-06-08 14:04:52 +0000.887160][5c31]
RecordingSessionInternalSimple:destroy media processers
[017:185] [2023-06-08 14:04:52 +0000.887196][5c31] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[017:185] [2023-06-08 14:04:52 +0000.887229][5c31] H264Encode::flushing hareware
Encoder
[017:185] [2023-06-08 14:04:52 +0000.887431][5c31] Flush time:183451406 enter.

[017:186] [2023-06-08 14:04:52 +0000.887486][5c31] H264Encoder encoder flush


[017:186] [2023-06-08 14:04:52 +0000.887522][5c31] flush output queue
[017:507] [2023-06-08 14:04:53 +0000.209358][5c31] Flush leave. expire time = 322
ms

[017:508] [2023-06-08 14:04:53 +0000.209702][5c31] ~H264EncodeWrap:


[017:508] [2023-06-08 14:04:53 +0000.209786][5c31] ~H264Encode:
[017:508] [2023-06-08 14:04:53 +0000.209848][5c31] teardownCompressionSession:
H264Encode::destroying Encoder
[017:508] [2023-06-08 14:04:53 +0000.209912][5c31] Release time:183451729 enter.

[017:508] [2023-06-08 14:04:53 +0000.210209][5c31] Release:


MediaCodecVideoEncoder::Release _inited:1
[017:508] [2023-06-08 14:04:53 +0000.210309][5c31] Destroy time:183451729 enter.

[017:508] [2023-06-08 14:04:53 +0000.210375][5c31] H264Encoder encoderDestroy


[017:509] [2023-06-08 14:04:53 +0000.210450][5c31]
AndroidMediaCodecVideoEncoder::release env: 0xb4000075001afe50
[017:509] [2023-06-08 14:04:53 +0000.210527][5c31]
AndroidMediaCodecVideoEncoder::Destroy
[017:579] [2023-06-08 14:04:53 +0000.280659][5c31] Destroy leave. expire time = 71
ms

[017:579] [2023-06-08 14:04:53 +0000.280900][5c31] Release leave. expire time = 71


ms

[017:579] [2023-06-08 14:04:53 +0000.280950][5c31] ~AndroidHwAvcEncoder


time:183451800 enter.
[017:579] [2023-06-08 14:04:53 +0000.281158][5c31] Release time:183451800 enter.

[017:579] [2023-06-08 14:04:53 +0000.281225][5c31] Release:


MediaCodecVideoEncoder:: has been released before, just return
[017:579] [2023-06-08 14:04:53 +0000.281265][5c31] Release leave. expire time = 0
ms

[017:579] [2023-06-08 14:04:53 +0000.281304][5c31] ~AndroidMediaCodecVideoEncoder


[017:579] [2023-06-08 14:04:53 +0000.281342][5c31] ~WrapAndroidMediaCodec
time:183451800 enter.

[017:579] [2023-06-08 14:04:53 +0000.281380][5c31] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[017:579] [2023-06-08 14:04:53 +0000.281421][5c31] video hevc hw codec


destructor:0xb400007450148ef0

[017:580] [2023-06-08 14:04:53 +0000.281485][5c31] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[017:588] [2023-06-08 14:04:53 +0000.290087][5c31] teardownCompressionSession:


H264Encode::destroyed Encoder
[017:588] [2023-06-08 14:04:53 +0000.290385][5c31]
RecordingSessionInternalSimple:destroy aac encoder output!
[017:589] [2023-06-08 14:04:53 +0000.290450][5c31] AACSWEncode destructor
[017:596] [2023-06-08 14:04:53 +0000.297611][5c6e] MP4 close file successfully
[017:596] [2023-06-08 14:04:53 +0000.297796][5c6e] Recording session Internal:
notify recording ok
[017:596] [2023-06-08 14:04:53 +0000.297839][5c6e] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_1686233075456/
record_video_183449014.mp4
[017:596] [2023-06-08 14:04:53 +0000.297879][5c6e] OnRecordFinish:
[017:597] [2023-06-08 14:04:53 +0000.299040][5c32] DestroyPipelineAndFilters
time:183451818 enter.

[017:598] [2023-06-08 14:04:53 +0000.300373][5c32] UnbindInputFilter


0xb4000075101a4190 this 0xb4000075403d9f80
[017:599] [2023-06-08 14:04:53 +0000.300536][5c32] UnbindInputFilter
0xb4000075403d9f80 this 0xb4000074e0194f68
[017:599] [2023-06-08 14:04:53 +0000.300566][5c32] filter: filter pipeline destroy
this: 0xb4000074e0194ed0
[017:599] [2023-06-08 14:04:53 +0000.300665][5c32] ClearVideoOfSources: recodring
total frames:69
[017:599] [2023-06-08 14:04:53 +0000.300692][5c32] ClearVideoOfSources:
[017:599] [2023-06-08 14:04:53 +0000.300716][5c32] GPUImageProcessing destruct.
[017:599] [2023-06-08 14:04:53 +0000.300749][5c32] destroy TrivalImageDrawer
0xb4000074f0181450
[017:599] [2023-06-08 14:04:53 +0000.300775][5c32] The shader has been initialize,
clean up them.

[017:599] [2023-06-08 14:04:53 +0000.301172][5c32] ~OpenGLFrameBuffer:


[017:599] [2023-06-08 14:04:53 +0000.301322][5c32] ~OpenGLFrameBuffer:
[017:599] [2023-06-08 14:04:53 +0000.301401][5c32] ~OpenGLFrameBuffer:
[017:600] [2023-06-08 14:04:53 +0000.301470][5c32] ~OpenGLFrameBuffer:
[017:600] [2023-06-08 14:04:53 +0000.301547][5c32] ~OpenGLFrameBuffer:
[017:600] [2023-06-08 14:04:53 +0000.301627][5c32] ~OpenGLFrameBuffer:
[017:600] [2023-06-08 14:04:53 +0000.301941][5c32] GPUImageProcessing destruct
finish.
[017:600] [2023-06-08 14:04:53 +0000.301983][5c32] GPURGBAFrame destruct.
[017:600] [2023-06-08 14:04:53 +0000.302068][5c32] destroy OpenGLRenderProgram
0xb4000075403d9c98
[017:600] [2023-06-08 14:04:53 +0000.302097][5c32] ~CameraSource time:183451821
enter.

[017:600] [2023-06-08 14:04:53 +0000.302122][5c32] ~CameraSource leave. expire


time = 0 ms

[017:602] [2023-06-08 14:04:53 +0000.304112][5c32] DestroyPipelineAndFilters


leave. expire time = 5 ms

[021:618] [2023-06-08 14:04:57 +0000.320271][4474] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[021:619] [2023-06-08 14:04:57 +0000.320471][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[021:619] [2023-06-08 14:04:57 +0000.320575][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[021:619] [2023-06-08 14:04:57 +0000.320765][5c32] MediaFilterCamera, recording
file context:0xb4000074b013d660 input texture:15
[021:619] [2023-06-08 14:04:57 +0000.320842][5c32] construct OpenGLRenderProgram
0xb400007540444858
[021:619] [2023-06-08 14:04:57 +0000.320881][5c32] CropFilter::SetOrientation
orientation: 90
[021:619] [2023-06-08 14:04:57 +0000.320915][5c32] filter: filter pipeline
construtc this: 0xb4000074e0196d70
[021:619] [2023-06-08 14:04:57 +0000.320953][5c32] filter: filter pipeline2 update
pattern: 1
[021:619] [2023-06-08 14:04:57 +0000.320989][5c32] CameraSource::source_id_:3
[021:620] [2023-06-08 14:04:57 +0000.321537][5c32] SetPlayLoop: AudioSource
SetPlayLoop 0
[021:620] [2023-06-08 14:04:57 +0000.321593][5c32]
Warning(media_filter_camera.cc:483): seekPos:4760
[021:620] [2023-06-08 14:04:57 +0000.321638][5c32] BindInputFilter
0xb40000751019a790 this 0xb400007540444b40
[021:620] [2023-06-08 14:04:57 +0000.321696][5c32] BindInputFilter
0xb400007540444b40 this 0xb4000074e0196e08
[021:620] [2023-06-08 14:04:57 +0000.321731][5c32] SetParamForFilter time:183455841
enter.

[021:620] [2023-06-08 14:04:57 +0000.321763][5c32] SetParamForFilter: Params video


index is: 2
[021:620] [2023-06-08 14:04:57 +0000.321794][5c32] SetParamForFilter: Params seek
pos is: 2
[021:620] [2023-06-08 14:04:57 +0000.321826][5c32] crop filter video index:2
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness/
movie_mode: 0
[021:620] [2023-06-08 14:04:57 +0000.321865][5c32] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//config.json
[021:621] [2023-06-08 14:04:57 +0000.322755][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.322793][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.322833][5c32]
exp_des.start:0exp_des.end:2670exp_des.expressionstr:0.5
[021:621] [2023-06-08 14:04:57 +0000.322883][5c32]
exp_des.start:0exp_des.end:2670exp_des.expressionstr:0.5
[021:621] [2023-06-08 14:04:57 +0000.322920][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.322954][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.322986][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.323019][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.323051][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.323096][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.323132][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.323167][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.323204][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.323236][5c32]
Warning(parse_template_json.cc:95): json parament no found the parament
[021:621] [2023-06-08 14:04:57 +0000.323354][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[021:621] [2023-06-08 14:04:57 +0000.323420][5c32] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//filter.png
[021:622] [2023-06-08 14:04:57 +0000.323454][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[021:622] [2023-06-08 14:04:57 +0000.323488][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[021:622] [2023-06-08 14:04:57 +0000.324371][5c32] SetParamForFilter leave. expire
time = 2 ms

[021:623] [2023-06-08 14:04:57 +0000.324562][5c32] OnOutputSizeChanged width 1920


height 1080
[021:623] [2023-06-08 14:04:57 +0000.324604][5c32] OpenGLFrameBuffer: width:1920
height:1080
[021:623] [2023-06-08 14:04:57 +0000.324640][5c32] OpenGLFrameBuffer: width:1920
height:1080
[021:623] [2023-06-08 14:04:57 +0000.324671][5c32] OpenGLFrameBuffer: width:1920
height:1080
[021:623] [2023-06-08 14:04:57 +0000.324707][5c32] OpenGLFrameBuffer: width:1920
height:1080
[021:623] [2023-06-08 14:04:57 +0000.324739][5c32] OpenGLFrameBuffer: width:1920
height:1080
[021:623] [2023-06-08 14:04:57 +0000.324771][5c32] OpenGLFrameBuffer: width:1920
height:1080
[021:623] [2023-06-08 14:04:57 +0000.324802][5c32] construct TrivalImageDrawer
0xb4000074f0134110
[021:623] [2023-06-08 14:04:57 +0000.324841][5c32] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb4000074f0134110 context
0xb4000074801cccb0
[021:623] [2023-06-08 14:04:57 +0000.324876][5c32] setupGLES:
[021:624] [2023-06-08 14:04:57 +0000.325524][5c32] OpenGLRenderProgram::Initialize.
[021:624] [2023-06-08 14:04:57 +0000.325572][5c32] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[021:624] [2023-06-08 14:04:57 +0000.325607][5c32] 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
[021:624] [2023-06-08 14:04:57 +0000.325722][5c32] Init open gl render:
0xb400007540444858
[021:624] [2023-06-08 14:04:57 +0000.325766][5c32] Fragement shader path:
[021:624] [2023-06-08 14:04:57 +0000.325802][5c32] Fragement shader path:
[021:624] [2023-06-08 14:04:57 +0000.325831][5c32] create opengl program object.
[021:624] [2023-06-08 14:04:57 +0000.325861][5c32] create shader: vertex
[021:624] [2023-06-08 14:04:57 +0000.326099][5c32] create shader: fragment
[021:637] [2023-06-08 14:04:57 +0000.338460][5c32] External image path is empty!
[021:637] [2023-06-08 14:04:57 +0000.338546][5c32] Error(crop_filter.cc:464): Init
the image texture failed.
[021:637] [2023-06-08 14:04:57 +0000.338571][5c32] OpenGLRenderProgram::Initialize
success.
[021:637] [2023-06-08 14:04:57 +0000.338630][5c32] Setup the OpenGL result:1
[021:637] [2023-06-08 14:04:57 +0000.338829][5c31] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183455858.mp4
[021:637] [2023-06-08 14:04:57 +0000.338983][5c31] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183455858.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[021:637] [2023-06-08 14:04:57 +0000.339016][5c31] 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
[021:637] [2023-06-08 14:04:57 +0000.339048][5c31] 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.hollowness_168623307
5456/record_video_183455858.mp4 fileFD: -1
[021:637] [2023-06-08 14:04:57 +0000.339371][5c31] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183455858.mp4 is opened successfully
[021:637] [2023-06-08 14:04:57 +0000.339395][5c31] setupMediaProcessers:
[021:637] [2023-06-08 14:04:57 +0000.339413][5c31]
RecordingSessionInternalSimple:setup media processers.
[021:637] [2023-06-08 14:04:57 +0000.339432][5c31] construct AAC encoder
[021:638] [2023-06-08 14:04:57 +0000.339484][5c88] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb400007520
[021:638] [2023-06-08 14:04:57 +0000.339603][5c31] H264Encoder creating:
superfast011818
[021:638] [2023-06-08 14:04:57 +0000.339633][5c31] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[021:638] [2023-06-08 14:04:57 +0000.340236][5c31] H264Encode::GetMachineModel is
SHARK PAR-H0
[021:638] [2023-06-08 14:04:57 +0000.340265][5c31] H264Encoder machine_mode
is:SHARK PAR-H0
[021:638] [2023-06-08 14:04:57 +0000.340284][5c31] setupCompressionSession:
[021:638] [2023-06-08 14:04:57 +0000.340302][5c31] H264Encode::creating hareware
Encoder
[021:638] [2023-06-08 14:04:57 +0000.340321][5c31] AndroidHwAvcEncoder
time:183455859 enter.

[021:639] [2023-06-08 14:04:57 +0000.340493][5c31] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000075101160d0 address:0x732427e050
[021:639] [2023-06-08 14:04:57 +0000.340589][5c31] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[021:639] [2023-06-08 14:04:57 +0000.340615][5c31] The video avc hw codec address
is 0xb400007450162d90
[021:639] [2023-06-08 14:04:57 +0000.340667][5c31] AndroidHwAvcEncoder leave.
expire time = 1 ms

[021:639] [2023-06-08 14:04:57 +0000.340725][5c31] RegisterEncodeCompleteCallback


time:183455860 enter.

[021:639] [2023-06-08 14:04:57 +0000.340812][5c31] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[021:639] [2023-06-08 14:04:57 +0000.340846][5c31] InitEncode time:183455860


enter.

[021:639] [2023-06-08 14:04:57 +0000.340907][5c31] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[021:639] [2023-06-08 14:04:57 +0000.340934][5c31] Create time:183455860 enter.

[021:639] [2023-06-08 14:04:57 +0000.340955][5c31] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[021:639] [2023-06-08 14:04:57 +0000.340978][5c31]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb4000074d0170fd0
[021:639] [2023-06-08 14:04:57 +0000.341081][5c31]
supported_type:image/vnd.android.heic
[021:639] [2023-06-08 14:04:57 +0000.341116][5c31] supported_type:video/avc
[021:639] [2023-06-08 14:04:57 +0000.341140][5c31] name:OMX.qcom.video.encoder.avc
mime:video/avc
[021:639] [2023-06-08 14:04:57 +0000.341170][5c31] hwCodecPrefix :OMX.qcom.
[021:639] [2023-06-08 14:04:57 +0000.341195][5c31] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[021:639] [2023-06-08 14:04:57 +0000.341218][5c31] mediacodec_createCodecByName
time:183455860 enter.

[021:639] [2023-06-08 14:04:57 +0000.341240][5c31] WrapAndroidMediaCodec


time:183455860 enter.

[021:639] [2023-06-08 14:04:57 +0000.341315][5c31] WrapAndroidMediaCodec leave.


expire time = 0 ms

[021:667] [2023-06-08 14:04:57 +0000.369200][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[021:679] [2023-06-08 14:04:57 +0000.380982][5c31] mediacodec_createCodecByName
leave. expire time = 40 ms

[021:679] [2023-06-08 14:04:57 +0000.381104][5c31] WrapAndroidMediaFromat


time:183455900 enter.

[021:679] [2023-06-08 14:04:57 +0000.381183][5c31] WrapAndroidMediaFromat leave.


expire time = 0 ms

[021:718] [2023-06-08 14:04:57 +0000.420126][5c31] Destroy time:183455939 enter.

[021:718] [2023-06-08 14:04:57 +0000.420232][5c31] WrapAndroidMediaFromat::


Destroy
[021:718] [2023-06-08 14:04:57 +0000.420274][5c31] Destroy leave. expire time = 0
ms

[021:718] [2023-06-08 14:04:57 +0000.420311][5c31] ~WrapAndroidMediaFromat


time:183455939 enter.

[021:718] [2023-06-08 14:04:57 +0000.420345][5c31] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[021:718] [2023-06-08 14:04:57 +0000.420385][5c31] Create leave. expire time = 79


ms

[021:718] [2023-06-08 14:04:57 +0000.420421][5c31] isSemiPlanarSupport


time:183455939 enter.

[021:719] [2023-06-08 14:04:57 +0000.420491][5c31] H264Encoder isSemiPlanarSupport


[021:719] [2023-06-08 14:04:57 +0000.420529][5c31] isSemiPlanarSupport leave.
expire time = 1 ms

[021:719] [2023-06-08 14:04:57 +0000.420568][5c31] creat hw H264Encoder success,


isSemiPlanar:1
[021:719] [2023-06-08 14:04:57 +0000.420717][5c31] InitEncode leave. expire time =
80 ms

[021:719] [2023-06-08 14:04:57 +0000.420761][5c31] H264Encode::created Encoder


[021:719] [2023-06-08 14:04:57 +0000.420797][5c31] H264Encode:: H264 encoder
created.
[021:719] [2023-06-08 14:04:57 +0000.420831][5c31] H264 encoder created.
[021:719] [2023-06-08 14:04:57 +0000.420865][5c31]
RecordingSessionInternalSimple:created avc encoder avc: 0xb4000075001952b0
[021:719] [2023-06-08 14:04:57 +0000.420903][5c31] setOutput:
[021:719] [2023-06-08 14:04:57 +0000.420938][5c31]
RecordingSessionInternalSimple:encoder set output to muxer!
[021:719] [2023-06-08 14:04:57 +0000.420972][5c31] request a key frame
[021:719] [2023-06-08 14:04:57 +0000.421004][5c31] H264Encode:: request a key frame
[021:719] [2023-06-08 14:04:57 +0000.421114][5c32] Start:
[021:719] [2023-06-08 14:04:57 +0000.421303][5c35] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[021:719] [2023-06-08 14:04:57 +0000.421369][5c35] Reset: history total size: 98
[021:719] [2023-06-08 14:04:57 +0000.421414][5c35] DeviceStart:
audioDevice_:0xb4000075c01d0d50
[021:720] [2023-06-08 14:04:57 +0000.421500][5c35] DeviceStart: time profile
playout init before
[021:720] [2023-06-08 14:04:57 +0000.421543][5c35] DeviceStart: time profile
playout init end
[021:720] [2023-06-08 14:04:57 +0000.421575][5c35] OpenSlesOutput:Start playout

[021:722] [2023-06-08 14:04:57 +0000.423970][5c35] Create the opensl output player.


streamtype before:0

[021:722] [2023-06-08 14:04:57 +0000.424037][5c35] Create the opensl output player.


streamtype after:3

[021:739] [2023-06-08 14:04:57 +0000.440993][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[021:752] [2023-06-08 14:04:57 +0000.454211][5c35] Enqueue opensl buffer size:1764
[021:771] [2023-06-08 14:04:57 +0000.472776][5c35] DeviceStart: time profile
playout all end
[021:771] [2023-06-08 14:04:57 +0000.472861][5c35] operator(): Audio playback
started.
[021:771] [2023-06-08 14:04:57 +0000.473041][5c8e] NeedMorePlayData: Scale the
volume to zero now!
[021:808] [2023-06-08 14:04:57 +0000.510271][5c32] begine recode to first frame
spend time:189
[021:808] [2023-06-08 14:04:57 +0000.510426][5c32] add frame because frame
interval.
[021:809] [2023-06-08 14:04:57 +0000.510490][5c32]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[021:809] [2023-06-08 14:04:57 +0000.510535][5c32]
GPUImageProcessing::SetOrientation orientation: 90
[021:810] [2023-06-08 14:04:57 +0000.511683][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540444858
[021:812] [2023-06-08 14:04:57 +0000.514078][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[021:832] [2023-06-08 14:04:57 +0000.534002][58b9] video render surface render a
frame
[021:832] [2023-06-08 14:04:57 +0000.534243][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540444858
[021:833] [2023-06-08 14:04:57 +0000.535169][5c32] CropFilter::OnVideoFrame
outputtexture :19
[021:834] [2023-06-08 14:04:57 +0000.536229][5c32] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[021:843] [2023-06-08 14:04:57 +0000.545321][5c33] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//bgm.mp3
sync_mode: 1 seek_pos: 4760 delay: 0 this:0xb4000075404465f0
[021:845] [2023-06-08 14:04:57 +0000.547254][5c87]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[021:867] [2023-06-08 14:04:57 +0000.569171][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540444858
[021:874] [2023-06-08 14:04:57 +0000.575978][5c84] FFMpeg=> [mp3 @
0xb40000755019d9e0] Current FFmpeg version git-2021-06-16-97cea6f

[021:891] [2023-06-08 14:04:57 +0000.593080][5c85] success seekto


avformat_seek_file to: 4760000
[021:891] [2023-06-08 14:04:57 +0000.593219][5c85] Drop one audio frame for seekto,
pkt_dts 67060224 audio_seek_pos_: 4760000
[021:892] [2023-06-08 14:04:57 +0000.593791][5c33] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[021:892] [2023-06-08 14:04:57 +0000.593963][5c35] First audio frame rendering
[021:893] [2023-06-08 14:04:57 +0000.595152][5c88] add aac audio track with id:1
[021:903] [2023-06-08 14:04:57 +0000.604557][5c88] audio start ts:0
[021:903] [2023-06-08 14:04:57 +0000.604669][5c88] the audio frame has been written
into MP4 file
[021:903] [2023-06-08 14:04:57 +0000.605223][5c35] The audio playback speed:100
(1/100)
[021:903] [2023-06-08 14:04:57 +0000.605301][5c35] lipsync_debug: The current
played audio timestamp is:47(1/50)
[021:943] [2023-06-08 14:04:57 +0000.645159][5c32] The convert RGB to YUV take 2
[021:948] [2023-06-08 14:04:57 +0000.649888][5c87] h264 add frame header cdr flag
[021:949] [2023-06-08 14:04:57 +0000.650583][5c87] h264 add frame header cdr flag
[021:950] [2023-06-08 14:04:57 +0000.651652][5c87] Received key frame:0
[021:950] [2023-06-08 14:04:57 +0000.651703][5c87] H264Encode:: get a sps pps
header!headerSize:32
[021:950] [2023-06-08 14:04:57 +0000.651843][5c88] get the H.264 SPS parameter
[021:950] [2023-06-08 14:04:57 +0000.652012][5c88] add video track with id:2
[021:954] [2023-06-08 14:04:57 +0000.656254][5c88] get the H.264 PPS parameter
[021:955] [2023-06-08 14:04:57 +0000.657051][5c87] DTS queue for
Generator:0xb4000075201c6388 67 100
[021:959] [2023-06-08 14:04:57 +0000.660799][5c88] get the H.264 IDR frame
[021:959] [2023-06-08 14:04:57 +0000.660988][5c88] resss:true
[021:959] [2023-06-08 14:04:57 +0000.661059][5c88] video start ts:0
[021:959] [2023-06-08 14:04:57 +0000.661286][5c88] the video frame has been written
into MP4 file
[022:330] [2023-06-08 14:04:58 +0000.31876][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:336] [2023-06-08 14:04:58 +0000.37482][5c87] Push an pts:500 to dts queue.
[022:372] [2023-06-08 14:04:58 +0000.74174][5c87] last dts:467 currentPts:500
ppsOrSPS:0 queue length:2
[022:441] [2023-06-08 14:04:58 +0000.143279][5c32] The convert RGB to YUV take 4
[022:637] [2023-06-08 14:04:58 +0000.338676][5c32] CameraSource::PushExtraFrame
pkt_dts: 834, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000751019a650
[022:715] [2023-06-08 14:04:58 +0000.417331][5c8e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[022:774] [2023-06-08 14:04:58 +0000.476223][5c87] DTS queue for
Generator:0xb4000075201c6388 900 933
[022:836] [2023-06-08 14:04:58 +0000.538092][58b9] video render surface render a
frame
[022:837] [2023-06-08 14:04:58 +0000.539058][5c32] CropFilter::OnVideoFrame
outputtexture :19
[022:837] [2023-06-08 14:04:58 +0000.539174][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:942] [2023-06-08 14:04:58 +0000.643469][5c32] The convert RGB to YUV take 4
[023:076] [2023-06-08 14:04:58 +0000.777593][5c32] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[023:341] [2023-06-08 14:04:59 +0000.43435][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[023:444] [2023-06-08 14:04:59 +0000.145847][5c32] The convert RGB to YUV take 5
[023:565] [2023-06-08 14:04:59 +0000.266546][5c32] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[023:565] [2023-06-08 14:04:59 +0000.266661][5c32] GPUImageProcessing: input frame
width2160 X 3840
[023:565] [2023-06-08 14:04:59 +0000.267399][5c32] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[023:566] [2023-06-08 14:04:59 +0000.267499][5c32] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[023:602] [2023-06-08 14:04:59 +0000.303509][5c32] CameraSource::PushExtraFrame
pkt_dts: 1800, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000751019a650
[023:612] [2023-06-08 14:04:59 +0000.313615][5c87] DTS queue for
Generator:0xb4000075201c6388 1733 1767
[023:612] [2023-06-08 14:04:59 +0000.313727][5c87] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1700 pts:1700
[023:675] [2023-06-08 14:04:59 +0000.376872][5c87] Push an pts:1833 to dts queue.
[023:680] [2023-06-08 14:04:59 +0000.381881][5c8e]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[023:706] [2023-06-08 14:04:59 +0000.408347][5c87] SendFrame
encodedImage._timeStamp:1833encodedImage->_length:185424
[023:707] [2023-06-08 14:04:59 +0000.408603][5c87] last dts:1800 currentPts:1833
ppsOrSPS:0 queue length:2
[023:746] [2023-06-08 14:04:59 +0000.448402][5c87] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1900
[023:747] [2023-06-08 14:04:59 +0000.448576][5c87] push video frame to H264
encoder. (100 frame for one log)

[023:747] [2023-06-08 14:04:59 +0000.448614][5c87] push video frame to H264


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

[023:747] [2023-06-08 14:04:59 +0000.448650][5c87] H264Encode::push video frame to


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

[023:747] [2023-06-08 14:04:59 +0000.448698][5c87] The input pts:1900 fps:30


[023:777] [2023-06-08 14:04:59 +0000.479155][5c87] H264Encode::H264SWEncoder get
callback, length:74320 type:1 nalType:1length:74316
[023:833] [2023-06-08 14:04:59 +0000.534753][58b9] video render surface render a
frame
[023:833] [2023-06-08 14:04:59 +0000.535232][5c32] CropFilter::OnVideoFrame
outputtexture :19
[023:833] [2023-06-08 14:04:59 +0000.535339][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[023:875] [2023-06-08 14:04:59 +0000.577343][5c87] h264 add frame header cdr flag
[023:876] [2023-06-08 14:04:59 +0000.577825][5c87] Received key frame:2000
[023:914] [2023-06-08 14:04:59 +0000.615892][5c88] get the H.264 IDR frame
[023:939] [2023-06-08 14:04:59 +0000.641047][5c32] The convert RGB to YUV take 4
[024:114] [2023-06-08 14:04:59 +0000.816121][5c33] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[024:208] [2023-06-08 14:04:59 +0000.910304][5c35] The audio playback speed:100
(1/100)
[024:209] [2023-06-08 14:04:59 +0000.910497][5c35] lipsync_debug: The current
played audio timestamp is:2447(1/50)
[024:338] [2023-06-08 14:05:00 +0000.40301][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:409] [2023-06-08 14:05:00 +0000.111134][5c87] DTS queue for
Generator:0xb4000075201c6388 2567
[024:440] [2023-06-08 14:05:00 +0000.142256][5c32] The convert RGB to YUV take 4
[024:538] [2023-06-08 14:05:00 +0000.240043][5c35] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[024:538] [2023-06-08 14:05:00 +0000.240597][5c32] OnNeedStopRecording:
[024:539] [2023-06-08 14:05:00 +0000.241065][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[024:539] [2023-06-08 14:05:00 +0000.241243][5c32] operator(): Stop
[024:539] [2023-06-08 14:05:00 +0000.241401][5c32] Stop:
[024:540] [2023-06-08 14:05:00 +0000.241503][5c35] DeviceStop:
audioDevice_:0xb4000075c01d0d50
[024:540] [2023-06-08 14:05:00 +0000.241583][5c35] OpenSlesOutput:Stop playout

[024:545] [2023-06-08 14:05:00 +0000.247136][5c35] DeviceStop: Done


[024:545] [2023-06-08 14:05:00 +0000.247340][5c35] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[024:547] [2023-06-08 14:05:00 +0000.248954][5c87]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[024:548] [2023-06-08 14:05:00 +0000.250168][5c31] stop recording
[024:548] [2023-06-08 14:05:00 +0000.250242][5c31]
RecordingSessionInternalSimple:destroy media processers
[024:548] [2023-06-08 14:05:00 +0000.250283][5c31] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[024:548] [2023-06-08 14:05:00 +0000.250321][5c31] H264Encode::flushing hareware
Encoder
[024:549] [2023-06-08 14:05:00 +0000.250485][5c31] Flush time:183458770 enter.

[024:549] [2023-06-08 14:05:00 +0000.250542][5c31] H264Encoder encoder flush


[024:549] [2023-06-08 14:05:00 +0000.250581][5c31] flush output queue
[024:883] [2023-06-08 14:05:00 +0000.585169][5c31] Flush leave. expire time = 334
ms

[024:883] [2023-06-08 14:05:00 +0000.585385][5c31] ~H264EncodeWrap:


[024:884] [2023-06-08 14:05:00 +0000.585442][5c31] ~H264Encode:
[024:884] [2023-06-08 14:05:00 +0000.585478][5c31] teardownCompressionSession:
H264Encode::destroying Encoder
[024:884] [2023-06-08 14:05:00 +0000.585516][5c31] Release time:183459105 enter.

[024:884] [2023-06-08 14:05:00 +0000.585696][5c31] Release:


MediaCodecVideoEncoder::Release _inited:1
[024:884] [2023-06-08 14:05:00 +0000.585757][5c31] Destroy time:183459105 enter.

[024:884] [2023-06-08 14:05:00 +0000.585793][5c31] H264Encoder encoderDestroy


[024:884] [2023-06-08 14:05:00 +0000.585830][5c31]
AndroidMediaCodecVideoEncoder::release env: 0xb400007500183e50
[024:884] [2023-06-08 14:05:00 +0000.585869][5c31]
AndroidMediaCodecVideoEncoder::Destroy
[024:951] [2023-06-08 14:05:00 +0000.652482][5c31] Destroy leave. expire time = 67
ms

[024:951] [2023-06-08 14:05:00 +0000.652607][5c31] Release leave. expire time = 67


ms

[024:951] [2023-06-08 14:05:00 +0000.652632][5c31] ~AndroidHwAvcEncoder


time:183459172 enter.

[024:951] [2023-06-08 14:05:00 +0000.652724][5c31] Release time:183459172 enter.

[024:951] [2023-06-08 14:05:00 +0000.652758][5c31] Release:


MediaCodecVideoEncoder:: has been released before, just return
[024:951] [2023-06-08 14:05:00 +0000.652777][5c31] Release leave. expire time = 0
ms

[024:951] [2023-06-08 14:05:00 +0000.652844][5c31] ~AndroidMediaCodecVideoEncoder


[024:951] [2023-06-08 14:05:00 +0000.652865][5c31] ~WrapAndroidMediaCodec
time:183459172 enter.

[024:951] [2023-06-08 14:05:00 +0000.652884][5c31] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[024:951] [2023-06-08 14:05:00 +0000.652904][5c31] video hevc hw codec


destructor:0xb400007450162d90

[024:951] [2023-06-08 14:05:00 +0000.652936][5c31] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[024:952] [2023-06-08 14:05:00 +0000.653914][5c31] teardownCompressionSession:


H264Encode::destroyed Encoder
[024:952] [2023-06-08 14:05:00 +0000.653950][5c31]
RecordingSessionInternalSimple:destroy aac encoder output!
[024:952] [2023-06-08 14:05:00 +0000.653971][5c31] AACSWEncode destructor
[024:959] [2023-06-08 14:05:00 +0000.660712][5c88] MP4 close file successfully
[024:959] [2023-06-08 14:05:00 +0000.660930][5c88] Recording session Internal:
notify recording ok
[024:959] [2023-06-08 14:05:00 +0000.660996][5c88] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_1686233075456/
record_video_183455858.mp4
[024:959] [2023-06-08 14:05:00 +0000.661043][5c88] OnRecordFinish:
[024:962] [2023-06-08 14:05:00 +0000.663580][5c32] DestroyPipelineAndFilters
time:183459183 enter.

[024:962] [2023-06-08 14:05:00 +0000.664424][5c32] UnbindInputFilter


0xb40000751019a790 this 0xb400007540444b40
[024:963] [2023-06-08 14:05:00 +0000.664499][5c32] UnbindInputFilter
0xb400007540444b40 this 0xb4000074e0196e08
[024:963] [2023-06-08 14:05:00 +0000.664517][5c32] filter: filter pipeline destroy
this: 0xb4000074e0196d70
[024:963] [2023-06-08 14:05:00 +0000.664624][5c32] ClearVideoOfSources: recodring
total frames:83
[024:963] [2023-06-08 14:05:00 +0000.664650][5c32] ClearVideoOfSources:
[024:963] [2023-06-08 14:05:00 +0000.664667][5c32] GPUImageProcessing destruct.
[024:963] [2023-06-08 14:05:00 +0000.664689][5c32] destroy TrivalImageDrawer
0xb4000074f0134110
[024:963] [2023-06-08 14:05:00 +0000.664707][5c32] The shader has been initialize,
clean up them.

[024:963] [2023-06-08 14:05:00 +0000.665017][5c32] ~OpenGLFrameBuffer:


[024:963] [2023-06-08 14:05:00 +0000.665111][5c32] ~OpenGLFrameBuffer:
[024:963] [2023-06-08 14:05:00 +0000.665187][5c32] ~OpenGLFrameBuffer:
[024:963] [2023-06-08 14:05:00 +0000.665257][5c32] ~OpenGLFrameBuffer:
[024:963] [2023-06-08 14:05:00 +0000.665350][5c32] ~OpenGLFrameBuffer:
[024:963] [2023-06-08 14:05:00 +0000.665414][5c32] ~OpenGLFrameBuffer:
[024:964] [2023-06-08 14:05:00 +0000.665691][5c32] GPUImageProcessing destruct
finish.
[024:964] [2023-06-08 14:05:00 +0000.665723][5c32] GPURGBAFrame destruct.
[024:964] [2023-06-08 14:05:00 +0000.665758][5c32] destroy OpenGLRenderProgram
0xb400007540444858
[024:964] [2023-06-08 14:05:00 +0000.665781][5c32] ~CameraSource time:183459185
enter.

[024:964] [2023-06-08 14:05:00 +0000.665800][5c32] ~CameraSource leave. expire


time = 0 ms

[024:965] [2023-06-08 14:05:00 +0000.666696][5c32] DestroyPipelineAndFilters


leave. expire time = 3 ms

[027:795] [2023-06-08 14:05:03 +0000.497224][4474] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[027:795] [2023-06-08 14:05:03 +0000.497412][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[027:796] [2023-06-08 14:05:03 +0000.497505][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[027:796] [2023-06-08 14:05:03 +0000.498011][5c32] MediaFilterCamera, recording
file context:0xb4000074b013d660 input texture:15
[027:796] [2023-06-08 14:05:03 +0000.498109][5c32] construct OpenGLRenderProgram
0xb400007540378c18
[027:796] [2023-06-08 14:05:03 +0000.498147][5c32] CropFilter::SetOrientation
orientation: 90
[027:796] [2023-06-08 14:05:03 +0000.498181][5c32] filter: filter pipeline
construtc this: 0xb4000074e0171c30
[027:796] [2023-06-08 14:05:03 +0000.498220][5c32] filter: filter pipeline2 update
pattern: 1
[027:796] [2023-06-08 14:05:03 +0000.498258][5c32] CameraSource::source_id_:4
[027:797] [2023-06-08 14:05:03 +0000.498601][5c32] SetPlayLoop: AudioSource
SetPlayLoop 0
[027:797] [2023-06-08 14:05:03 +0000.498665][5c32]
Warning(media_filter_camera.cc:483): seekPos:7430
[027:797] [2023-06-08 14:05:03 +0000.498714][5c32] BindInputFilter
0xb40000751019a950 this 0xb400007540378f00
[027:797] [2023-06-08 14:05:03 +0000.498775][5c32] BindInputFilter
0xb400007540378f00 this 0xb4000074e0171cc8
[027:797] [2023-06-08 14:05:03 +0000.498814][5c32] SetParamForFilter time:183462018
enter.

[027:797] [2023-06-08 14:05:03 +0000.498849][5c32] SetParamForFilter: Params video


index is: 3
[027:797] [2023-06-08 14:05:03 +0000.498884][5c32] SetParamForFilter: Params seek
pos is: 3
[027:797] [2023-06-08 14:05:03 +0000.498920][5c32] crop filter video index:3
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness/
movie_mode: 0
[027:797] [2023-06-08 14:05:03 +0000.498965][5c32] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//config.json
[027:798] [2023-06-08 14:05:03 +0000.499469][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499514][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499559][5c32]
exp_des.start:0exp_des.end:2870exp_des.expressionstr:0.5
[027:798] [2023-06-08 14:05:03 +0000.499609][5c32]
exp_des.start:0exp_des.end:2870exp_des.expressionstr:0.5
[027:798] [2023-06-08 14:05:03 +0000.499647][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499688][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499724][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499763][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499800][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499837][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499872][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499908][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499945][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.499983][5c32]
Warning(parse_template_json.cc:95): json parament no found the parament
[027:798] [2023-06-08 14:05:03 +0000.500024][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[027:798] [2023-06-08 14:05:03 +0000.500061][5c32] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//filter.png
[027:798] [2023-06-08 14:05:03 +0000.500098][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[027:798] [2023-06-08 14:05:03 +0000.500135][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[027:799] [2023-06-08 14:05:03 +0000.501051][5c32] SetParamForFilter leave. expire
time = 2 ms

[027:799] [2023-06-08 14:05:03 +0000.501147][5c32] OnOutputSizeChanged width 1920


height 1080
[027:799] [2023-06-08 14:05:03 +0000.501178][5c32] OpenGLFrameBuffer: width:1920
height:1080
[027:799] [2023-06-08 14:05:03 +0000.501205][5c32] OpenGLFrameBuffer: width:1920
height:1080
[027:799] [2023-06-08 14:05:03 +0000.501229][5c32] OpenGLFrameBuffer: width:1920
height:1080
[027:799] [2023-06-08 14:05:03 +0000.501253][5c32] OpenGLFrameBuffer: width:1920
height:1080
[027:799] [2023-06-08 14:05:03 +0000.501277][5c32] OpenGLFrameBuffer: width:1920
height:1080
[027:799] [2023-06-08 14:05:03 +0000.501301][5c32] OpenGLFrameBuffer: width:1920
height:1080
[027:799] [2023-06-08 14:05:03 +0000.501378][5c32] construct TrivalImageDrawer
0xb4000074f013cff0
[027:799] [2023-06-08 14:05:03 +0000.501406][5c32] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb4000074f013cff0 context
0xb4000074801cccb0
[027:799] [2023-06-08 14:05:03 +0000.501432][5c32] setupGLES:
[027:800] [2023-06-08 14:05:03 +0000.501876][5c32] OpenGLRenderProgram::Initialize.
[027:800] [2023-06-08 14:05:03 +0000.501914][5c32] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[027:800] [2023-06-08 14:05:03 +0000.501941][5c32] 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:800] [2023-06-08 14:05:03 +0000.501991][5c32] Init open gl render:
0xb400007540378c18
[027:800] [2023-06-08 14:05:03 +0000.502020][5c32] Fragement shader path:
[027:800] [2023-06-08 14:05:03 +0000.502048][5c32] Fragement shader path:
[027:800] [2023-06-08 14:05:03 +0000.502073][5c32] create opengl program object.
[027:800] [2023-06-08 14:05:03 +0000.502096][5c32] create shader: vertex
[027:800] [2023-06-08 14:05:03 +0000.502269][5c32] create shader: fragment
[027:814] [2023-06-08 14:05:03 +0000.515850][5c32] External image path is empty!
[027:814] [2023-06-08 14:05:03 +0000.515942][5c32] Error(crop_filter.cc:464): Init
the image texture failed.
[027:814] [2023-06-08 14:05:03 +0000.515971][5c32] OpenGLRenderProgram::Initialize
success.
[027:814] [2023-06-08 14:05:03 +0000.516088][5c32] Setup the OpenGL result:1
[027:815] [2023-06-08 14:05:03 +0000.516691][5c31] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183462035.mp4
[027:815] [2023-06-08 14:05:03 +0000.516851][5c31] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183462035.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[027:815] [2023-06-08 14:05:03 +0000.516889][5c31] 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:815] [2023-06-08 14:05:03 +0000.516974][5c31] 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.hollowness_168623307
5456/record_video_183462035.mp4 fileFD: -1
[027:815] [2023-06-08 14:05:03 +0000.517324][5c31] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183462035.mp4 is opened successfully
[027:815] [2023-06-08 14:05:03 +0000.517351][5c31] setupMediaProcessers:
[027:815] [2023-06-08 14:05:03 +0000.517373][5c31]
RecordingSessionInternalSimple:setup media processers.
[027:815] [2023-06-08 14:05:03 +0000.517393][5c31] construct AAC encoder
[027:816] [2023-06-08 14:05:03 +0000.517598][5c31] H264Encoder creating:
superfast011818
[027:816] [2023-06-08 14:05:03 +0000.517631][5c31] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[027:816] [2023-06-08 14:05:03 +0000.518357][5c31] H264Encode::GetMachineModel is
SHARK PAR-H0
[027:816] [2023-06-08 14:05:03 +0000.518389][5c31] H264Encoder machine_mode
is:SHARK PAR-H0
[027:816] [2023-06-08 14:05:03 +0000.518409][5c31] setupCompressionSession:
[027:816] [2023-06-08 14:05:03 +0000.518431][5c31] H264Encode::creating hareware
Encoder
[027:817] [2023-06-08 14:05:03 +0000.518451][5c31] AndroidHwAvcEncoder
time:183462038 enter.

[027:817] [2023-06-08 14:05:03 +0000.518618][5c31] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000075101160d0 address:0x732427e050
[027:817] [2023-06-08 14:05:03 +0000.518733][5c31] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[027:817] [2023-06-08 14:05:03 +0000.518761][5c31] The video avc hw codec address
is 0xb40000745015e3f0
[027:817] [2023-06-08 14:05:03 +0000.518822][5c31] AndroidHwAvcEncoder leave.
expire time = 0 ms

[027:817] [2023-06-08 14:05:03 +0000.518847][5c31] RegisterEncodeCompleteCallback


time:183462038 enter.

[027:817] [2023-06-08 14:05:03 +0000.518921][5c31] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[027:817] [2023-06-08 14:05:03 +0000.518953][5c31] InitEncode time:183462038


enter.

[027:817] [2023-06-08 14:05:03 +0000.519003][5c31] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[027:817] [2023-06-08 14:05:03 +0000.519033][5c31] Create time:183462038 enter.

[027:817] [2023-06-08 14:05:03 +0000.519056][5c31] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[027:817] [2023-06-08 14:05:03 +0000.519082][5c31]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb4000074d015b9d0
[027:817] [2023-06-08 14:05:03 +0000.519230][5c31]
supported_type:image/vnd.android.heic
[027:817] [2023-06-08 14:05:03 +0000.519270][5c31] supported_type:video/avc
[027:817] [2023-06-08 14:05:03 +0000.519295][5c31] name:OMX.qcom.video.encoder.avc
mime:video/avc
[027:817] [2023-06-08 14:05:03 +0000.519330][5c31] hwCodecPrefix :OMX.qcom.
[027:817] [2023-06-08 14:05:03 +0000.519354][5c31] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[027:817] [2023-06-08 14:05:03 +0000.519380][5c31] mediacodec_createCodecByName
time:183462038 enter.

[027:817] [2023-06-08 14:05:03 +0000.519404][5c31] WrapAndroidMediaCodec


time:183462038 enter.

[027:818] [2023-06-08 14:05:03 +0000.519533][5c31] WrapAndroidMediaCodec leave.


expire time = 1 ms

[027:815] [2023-06-08 14:05:03 +0000.516879][5c9e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0xb400007520
[027:840] [2023-06-08 14:05:03 +0000.542082][5c31] mediacodec_createCodecByName
leave. expire time = 23 ms

[027:840] [2023-06-08 14:05:03 +0000.542148][5c31] WrapAndroidMediaFromat


time:183462061 enter.

[027:840] [2023-06-08 14:05:03 +0000.542201][5c31] WrapAndroidMediaFromat leave.


expire time = 0 ms

[027:854] [2023-06-08 14:05:03 +0000.555963][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[027:866] [2023-06-08 14:05:03 +0000.567729][5c31] Destroy time:183462087 enter.

[027:866] [2023-06-08 14:05:03 +0000.567799][5c31] WrapAndroidMediaFromat::


Destroy
[027:866] [2023-06-08 14:05:03 +0000.567827][5c31] Destroy leave. expire time = 0
ms

[027:866] [2023-06-08 14:05:03 +0000.567848][5c31] ~WrapAndroidMediaFromat


time:183462087 enter.

[027:866] [2023-06-08 14:05:03 +0000.567869][5c31] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[027:866] [2023-06-08 14:05:03 +0000.567893][5c31] Create leave. expire time = 49


ms

[027:866] [2023-06-08 14:05:03 +0000.567915][5c31] isSemiPlanarSupport


time:183462087 enter.

[027:866] [2023-06-08 14:05:03 +0000.567936][5c31] H264Encoder isSemiPlanarSupport


[027:866] [2023-06-08 14:05:03 +0000.567960][5c31] isSemiPlanarSupport leave.
expire time = 0 ms

[027:866] [2023-06-08 14:05:03 +0000.567981][5c31] creat hw H264Encoder success,


isSemiPlanar:1
[027:866] [2023-06-08 14:05:03 +0000.568098][5c31] InitEncode leave. expire time =
49 ms

[027:866] [2023-06-08 14:05:03 +0000.568128][5c31] H264Encode::created Encoder


[027:866] [2023-06-08 14:05:03 +0000.568149][5c31] H264Encode:: H264 encoder
created.
[027:866] [2023-06-08 14:05:03 +0000.568170][5c31] H264 encoder created.
[027:866] [2023-06-08 14:05:03 +0000.568191][5c31]
RecordingSessionInternalSimple:created avc encoder avc: 0xb4000075001952b0
[027:866] [2023-06-08 14:05:03 +0000.568214][5c31] setOutput:
[027:866] [2023-06-08 14:05:03 +0000.568235][5c31]
RecordingSessionInternalSimple:encoder set output to muxer!
[027:866] [2023-06-08 14:05:03 +0000.568257][5c31] request a key frame
[027:866] [2023-06-08 14:05:03 +0000.568278][5c31] H264Encode:: request a key frame
[027:867] [2023-06-08 14:05:03 +0000.568572][5c32] Start:
[027:867] [2023-06-08 14:05:03 +0000.568730][5c35] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[027:867] [2023-06-08 14:05:03 +0000.568778][5c35] Reset: history total size: 98
[027:867] [2023-06-08 14:05:03 +0000.568804][5c35] DeviceStart:
audioDevice_:0xb4000075c01d0d50
[027:867] [2023-06-08 14:05:03 +0000.568826][5c35] DeviceStart: time profile
playout init before
[027:867] [2023-06-08 14:05:03 +0000.568850][5c35] DeviceStart: time profile
playout init end
[027:867] [2023-06-08 14:05:03 +0000.568868][5c35] OpenSlesOutput:Start playout

[027:868] [2023-06-08 14:05:03 +0000.569569][5c35] Create the opensl output player.


streamtype before:0

[027:868] [2023-06-08 14:05:03 +0000.569608][5c35] Create the opensl output player.


streamtype after:3

[027:897] [2023-06-08 14:05:03 +0000.599083][5c35] Enqueue opensl buffer size:1764


[027:921] [2023-06-08 14:05:03 +0000.622871][5c35] DeviceStart: time profile
playout all end
[027:921] [2023-06-08 14:05:03 +0000.622960][5c35] operator(): Audio playback
started.
[027:923] [2023-06-08 14:05:03 +0000.624781][5ca4] NeedMorePlayData: Scale the
volume to zero now!
[027:925] [2023-06-08 14:05:03 +0000.626801][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[027:940] [2023-06-08 14:05:03 +0000.641478][5c32] begine recode to first frame
spend time:144
[027:940] [2023-06-08 14:05:03 +0000.641528][5c32] CameraSource::PushExtraFrame
pkt_dts: 0, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000751019a810
[027:940] [2023-06-08 14:05:03 +0000.641552][5c32] add frame because frame
interval.
[027:940] [2023-06-08 14:05:03 +0000.641576][5c32]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[027:940] [2023-06-08 14:05:03 +0000.641632][5c32]
GPUImageProcessing::SetOrientation orientation: 90
[027:940] [2023-06-08 14:05:03 +0000.642201][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540378c18
[027:970] [2023-06-08 14:05:03 +0000.672171][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540378c18
[027:976] [2023-06-08 14:05:03 +0000.678184][5c33] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//bgm.mp3
sync_mode: 1 seek_pos: 7430 delay: 0 this:0xb4000075404447c0
[027:979] [2023-06-08 14:05:03 +0000.680805][5c9d]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[028:000] [2023-06-08 14:05:03 +0000.702131][5c9a] FFMpeg=> [mp3 @
0xb4000075502124c0] Current FFmpeg version git-2021-06-16-97cea6f

[028:003] [2023-06-08 14:05:03 +0000.704653][5c32] drawYUV420 render


OpenGLRenderProgram:0xb400007540378c18
[028:016] [2023-06-08 14:05:03 +0000.718414][5c9b] success seekto
avformat_seek_file to: 7430000
[028:017] [2023-06-08 14:05:03 +0000.718547][5c9b] Drop one audio frame for seekto,
pkt_dts 104654592 audio_seek_pos_: 7430000
[028:019] [2023-06-08 14:05:03 +0000.720805][5c35] First audio frame rendering
[028:022] [2023-06-08 14:05:03 +0000.723885][5c9e] add aac audio track with id:1
[028:032] [2023-06-08 14:05:03 +0000.733742][5c9e] audio start ts:0
[028:032] [2023-06-08 14:05:03 +0000.733822][5c9e] the audio frame has been written
into MP4 file
[028:079] [2023-06-08 14:05:03 +0000.781040][5c9d] h264 add frame header cdr flag
[028:080] [2023-06-08 14:05:03 +0000.781790][5c9d] h264 add frame header cdr flag
[028:081] [2023-06-08 14:05:03 +0000.782740][5c9d] Received key frame:0
[028:081] [2023-06-08 14:05:03 +0000.782787][5c9d] H264Encode:: get a sps pps
header!headerSize:32
[028:081] [2023-06-08 14:05:03 +0000.783149][5c9e] get the H.264 SPS parameter
[028:081] [2023-06-08 14:05:03 +0000.783359][5c9e] add video track with id:2
[028:086] [2023-06-08 14:05:03 +0000.787548][5c9e] get the H.264 PPS parameter
[028:088] [2023-06-08 14:05:03 +0000.790107][5c9e] get the H.264 IDR frame
[028:088] [2023-06-08 14:05:03 +0000.790186][5c9e] resss:true
[028:088] [2023-06-08 14:05:03 +0000.790210][5c9e] video start ts:0
[028:088] [2023-06-08 14:05:03 +0000.790315][5c9e] the video frame has been written
into MP4 file
[028:096] [2023-06-08 14:05:03 +0000.798172][5ca4]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[028:202] [2023-06-08 14:05:03 +0000.903854][58b9] video render surface render a
frame
[028:202] [2023-06-08 14:05:03 +0000.904385][5c32] CropFilter::OnVideoFrame
outputtexture :20
[028:203] [2023-06-08 14:05:03 +0000.904534][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:340] [2023-06-08 14:05:04 +0000.41866][5c32] The convert RGB to YUV take 4
[028:436] [2023-06-08 14:05:04 +0000.137764][5c9d] Push an pts:467 to dts queue.
[028:488] [2023-06-08 14:05:04 +0000.189720][5c9d] last dts:433 currentPts:467
ppsOrSPS:0 queue length:2
[028:512] [2023-06-08 14:05:04 +0000.213571][5c32] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[028:681] [2023-06-08 14:05:04 +0000.382829][5c9d] DTS queue for
Generator:0xb4000075201c8f78 667 700
[028:703] [2023-06-08 14:05:04 +0000.404702][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:841] [2023-06-08 14:05:04 +0000.542802][5c32] The convert RGB to YUV take 4
[028:902] [2023-06-08 14:05:04 +0000.603562][5c32] CameraSource::PushExtraFrame
pkt_dts: 967, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000751019a810
[029:135] [2023-06-08 14:05:04 +0000.836760][5ca4]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[029:205] [2023-06-08 14:05:04 +0000.906783][58b9] video render surface render a
frame
[029:206] [2023-06-08 14:05:04 +0000.907811][5c32] CropFilter::OnVideoFrame
outputtexture :20
[029:206] [2023-06-08 14:05:04 +0000.907946][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:342] [2023-06-08 14:05:05 +0000.44326][5c32] The convert RGB to YUV take 4
[029:514] [2023-06-08 14:05:05 +0000.215764][5c9d] DTS queue for
Generator:0xb4000075201c8f78 1500 1533
[029:704] [2023-06-08 14:05:05 +0000.405612][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:788] [2023-06-08 14:05:05 +0000.489482][5c9d] Push an pts:1800 to dts queue.
[029:840] [2023-06-08 14:05:05 +0000.542226][5c32] The convert RGB to YUV take 4
[029:843] [2023-06-08 14:05:05 +0000.545397][5c9d] last dts:1767 currentPts:1800
ppsOrSPS:0 queue length:3
[029:868] [2023-06-08 14:05:05 +0000.570063][5c32] CameraSource::PushExtraFrame
pkt_dts: 1933, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000751019a810
[029:968] [2023-06-08 14:05:05 +0000.669766][5c33] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[030:015] [2023-06-08 14:05:05 +0000.716734][5c9d] h264 add frame header cdr flag
[030:015] [2023-06-08 14:05:05 +0000.717413][5c9d] Received key frame:2000
[030:049] [2023-06-08 14:05:05 +0000.751226][5c9e] get the H.264 IDR frame
[030:100] [2023-06-08 14:05:05 +0000.801568][5ca4]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[030:116] [2023-06-08 14:05:05 +0000.817504][5c35] The audio playback speed:100
(1/100)
[030:116] [2023-06-08 14:05:05 +0000.817644][5c35] lipsync_debug: The current
played audio timestamp is:2159(1/50)
[030:202] [2023-06-08 14:05:05 +0000.903449][5c32] CropFilter::OnVideoFrame
outputtexture :20
[030:202] [2023-06-08 14:05:05 +0000.903590][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:204] [2023-06-08 14:05:05 +0000.905616][58b9] video render surface render a
frame
[030:300] [2023-06-08 14:05:06 +0000.2324][5c32] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[030:301] [2023-06-08 14:05:06 +0000.2507][5c32] GPUImageProcessing: input frame
width2160 X 3840
[030:301] [2023-06-08 14:05:06 +0000.3100][5c32] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[030:301] [2023-06-08 14:05:06 +0000.3190][5c32] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[030:311] [2023-06-08 14:05:06 +0000.12905][5c9d] DTS queue for
Generator:0xb4000075201c8f78 2333
[030:311] [2023-06-08 14:05:06 +0000.13360][5c9d] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2300 pts:2300
[030:337] [2023-06-08 14:05:06 +0000.39143][5c32] The convert RGB to YUV take 4
[030:475] [2023-06-08 14:05:06 +0000.177003][5c9d] SendFrame
encodedImage._timeStamp:2467encodedImage->_length:125776
[030:544] [2023-06-08 14:05:06 +0000.246349][5c9d] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2567
[030:545] [2023-06-08 14:05:06 +0000.246515][5c9d] push video frame to H264
encoder. (100 frame for one log)

[030:545] [2023-06-08 14:05:06 +0000.246585][5c9d] push video frame to H264


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

[030:545] [2023-06-08 14:05:06 +0000.246625][5c9d] H264Encode::push video frame to


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

[030:545] [2023-06-08 14:05:06 +0000.246673][5c9d] The input pts:2567 fps:30


[030:581] [2023-06-08 14:05:06 +0000.283401][5c9d] H264Encode::H264SWEncoder get
callback, length:122768 type:1 nalType:1length:122764
[030:605] [2023-06-08 14:05:06 +0000.307169][5c32] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[030:705] [2023-06-08 14:05:06 +0000.406846][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:834] [2023-06-08 14:05:06 +0000.536176][5c32] CameraSource::PushExtraFrame
pkt_dts: 2900, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000751019a810
[030:839] [2023-06-08 14:05:06 +0000.540481][5c32] The convert RGB to YUV take 4
[030:870] [2023-06-08 14:05:06 +0000.572239][5c35] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[030:871] [2023-06-08 14:05:06 +0000.572752][5c32] OnNeedStopRecording:
[030:872] [2023-06-08 14:05:06 +0000.574124][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[030:872] [2023-06-08 14:05:06 +0000.574308][5c32] operator(): Stop
[030:873] [2023-06-08 14:05:06 +0000.574539][5c32] Stop:
[030:873] [2023-06-08 14:05:06 +0000.574655][5c35] DeviceStop:
audioDevice_:0xb4000075c01d0d50
[030:873] [2023-06-08 14:05:06 +0000.574760][5c35] OpenSlesOutput:Stop playout

[030:876] [2023-06-08 14:05:06 +0000.577750][5c35] DeviceStop: Done


[030:876] [2023-06-08 14:05:06 +0000.577921][5c35] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[030:877] [2023-06-08 14:05:06 +0000.578829][5c9d]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[030:879] [2023-06-08 14:05:06 +0000.580643][5c31] stop recording
[030:879] [2023-06-08 14:05:06 +0000.580741][5c31]
RecordingSessionInternalSimple:destroy media processers
[030:879] [2023-06-08 14:05:06 +0000.580781][5c31] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[030:879] [2023-06-08 14:05:06 +0000.580816][5c31] H264Encode::flushing hareware
Encoder
[030:879] [2023-06-08 14:05:06 +0000.580977][5c31] Flush time:183465100 enter.

[030:879] [2023-06-08 14:05:06 +0000.581036][5c31] H264Encoder encoder flush


[030:879] [2023-06-08 14:05:06 +0000.581075][5c31] flush output queue
[031:211] [2023-06-08 14:05:06 +0000.913337][5c31] Flush leave. expire time = 332
ms

[031:212] [2023-06-08 14:05:06 +0000.913549][5c31] ~H264EncodeWrap:


[031:212] [2023-06-08 14:05:06 +0000.913607][5c31] ~H264Encode:
[031:212] [2023-06-08 14:05:06 +0000.913643][5c31] teardownCompressionSession:
H264Encode::destroying Encoder
[031:212] [2023-06-08 14:05:06 +0000.913680][5c31] Release time:183465433 enter.

[031:212] [2023-06-08 14:05:06 +0000.913827][5c31] Release:


MediaCodecVideoEncoder::Release _inited:1
[031:212] [2023-06-08 14:05:06 +0000.913883][5c31] Destroy time:183465433 enter.

[031:212] [2023-06-08 14:05:06 +0000.913919][5c31] H264Encoder encoderDestroy


[031:212] [2023-06-08 14:05:06 +0000.913953][5c31]
AndroidMediaCodecVideoEncoder::release env: 0xb400007500183e50
[031:212] [2023-06-08 14:05:06 +0000.913991][5c31]
AndroidMediaCodecVideoEncoder::Destroy
[031:252] [2023-06-08 14:05:06 +0000.953810][5c31] Destroy leave. expire time = 40
ms

[031:252] [2023-06-08 14:05:06 +0000.953933][5c31] Release leave. expire time = 40


ms

[031:252] [2023-06-08 14:05:06 +0000.953968][5c31] ~AndroidHwAvcEncoder


time:183465473 enter.

[031:252] [2023-06-08 14:05:06 +0000.954054][5c31] Release time:183465473 enter.

[031:252] [2023-06-08 14:05:06 +0000.954087][5c31] Release:


MediaCodecVideoEncoder:: has been released before, just return
[031:252] [2023-06-08 14:05:06 +0000.954107][5c31] Release leave. expire time = 0
ms
[031:252] [2023-06-08 14:05:06 +0000.954125][5c31] ~AndroidMediaCodecVideoEncoder
[031:252] [2023-06-08 14:05:06 +0000.954142][5c31] ~WrapAndroidMediaCodec
time:183465473 enter.

[031:252] [2023-06-08 14:05:06 +0000.954160][5c31] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[031:252] [2023-06-08 14:05:06 +0000.954180][5c31] video hevc hw codec


destructor:0xb40000745015e3f0

[031:252] [2023-06-08 14:05:06 +0000.954221][5c31] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[031:254] [2023-06-08 14:05:06 +0000.956186][5c31] teardownCompressionSession:


H264Encode::destroyed Encoder
[031:254] [2023-06-08 14:05:06 +0000.956245][5c31]
RecordingSessionInternalSimple:destroy aac encoder output!
[031:254] [2023-06-08 14:05:06 +0000.956266][5c31] AACSWEncode destructor
[031:269] [2023-06-08 14:05:06 +0000.970888][5c9e] MP4 close file successfully
[031:269] [2023-06-08 14:05:06 +0000.971004][5c9e] Recording session Internal:
notify recording ok
[031:269] [2023-06-08 14:05:06 +0000.971070][5c9e] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_1686233075456/
record_video_183462035.mp4
[031:269] [2023-06-08 14:05:06 +0000.971129][5c9e] OnRecordFinish:
[031:270] [2023-06-08 14:05:06 +0000.972192][5c32] DestroyPipelineAndFilters
time:183465491 enter.

[031:272] [2023-06-08 14:05:06 +0000.973466][5c32] UnbindInputFilter


0xb40000751019a950 this 0xb400007540378f00
[031:272] [2023-06-08 14:05:06 +0000.973524][5c32] UnbindInputFilter
0xb400007540378f00 this 0xb4000074e0171cc8
[031:272] [2023-06-08 14:05:06 +0000.973547][5c32] filter: filter pipeline destroy
this: 0xb4000074e0171c30
[031:272] [2023-06-08 14:05:06 +0000.973635][5c32] ClearVideoOfSources: recodring
total frames:89
[031:272] [2023-06-08 14:05:06 +0000.973664][5c32] ClearVideoOfSources:
[031:272] [2023-06-08 14:05:06 +0000.973687][5c32] GPUImageProcessing destruct.
[031:272] [2023-06-08 14:05:06 +0000.973720][5c32] destroy TrivalImageDrawer
0xb4000074f013cff0
[031:272] [2023-06-08 14:05:06 +0000.973744][5c32] The shader has been initialize,
clean up them.

[031:272] [2023-06-08 14:05:06 +0000.974089][5c32] ~OpenGLFrameBuffer:


[031:272] [2023-06-08 14:05:06 +0000.974230][5c32] ~OpenGLFrameBuffer:
[031:272] [2023-06-08 14:05:06 +0000.974395][5c32] ~OpenGLFrameBuffer:
[031:273] [2023-06-08 14:05:06 +0000.974493][5c32] ~OpenGLFrameBuffer:
[031:273] [2023-06-08 14:05:06 +0000.974599][5c32] ~OpenGLFrameBuffer:
[031:273] [2023-06-08 14:05:06 +0000.974675][5c32] ~OpenGLFrameBuffer:
[031:273] [2023-06-08 14:05:06 +0000.975013][5c32] GPUImageProcessing destruct
finish.
[031:273] [2023-06-08 14:05:06 +0000.975056][5c32] GPURGBAFrame destruct.
[031:273] [2023-06-08 14:05:06 +0000.975102][5c32] destroy OpenGLRenderProgram
0xb400007540378c18
[031:273] [2023-06-08 14:05:06 +0000.975132][5c32] ~CameraSource time:183465494
enter.
[031:273] [2023-06-08 14:05:06 +0000.975155][5c32] ~CameraSource leave. expire
time = 0 ms

[031:274] [2023-06-08 14:05:06 +0000.976188][5c32] DestroyPipelineAndFilters


leave. expire time = 4 ms

[034:518] [2023-06-08 14:05:10 +0000.220018][4474] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[034:518] [2023-06-08 14:05:10 +0000.220085][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[034:518] [2023-06-08 14:05:10 +0000.220164][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[034:518] [2023-06-08 14:05:10 +0000.220335][5c32] MediaFilterCamera, recording
file context:0xb4000074b013d660 input texture:15
[034:518] [2023-06-08 14:05:10 +0000.220523][5c32] construct OpenGLRenderProgram
0xb400007540444858
[034:519] [2023-06-08 14:05:10 +0000.220565][5c32] CropFilter::SetOrientation
orientation: 90
[034:519] [2023-06-08 14:05:10 +0000.220593][5c32] filter: filter pipeline
construtc this: 0xb4000074e019a650
[034:519] [2023-06-08 14:05:10 +0000.220634][5c32] filter: filter pipeline2 update
pattern: 1
[034:519] [2023-06-08 14:05:10 +0000.220677][5c32] CameraSource::source_id_:5
[034:519] [2023-06-08 14:05:10 +0000.221376][5c32] SetPlayLoop: AudioSource
SetPlayLoop 0
[034:520] [2023-06-08 14:05:10 +0000.221466][5c32]
Warning(media_filter_camera.cc:483): seekPos:10300
[034:520] [2023-06-08 14:05:10 +0000.221514][5c32] BindInputFilter
0xb400007510181890 this 0xb400007540444b40
[034:520] [2023-06-08 14:05:10 +0000.221568][5c32] BindInputFilter
0xb400007540444b40 this 0xb4000074e019a6e8
[034:520] [2023-06-08 14:05:10 +0000.221604][5c32] SetParamForFilter time:183468741
enter.

[034:520] [2023-06-08 14:05:10 +0000.221634][5c32] SetParamForFilter: Params video


index is: 4
[034:520] [2023-06-08 14:05:10 +0000.221664][5c32] SetParamForFilter: Params seek
pos is: 4
[034:520] [2023-06-08 14:05:10 +0000.221694][5c32] crop filter video index:4
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness/
movie_mode: 0
[034:520] [2023-06-08 14:05:10 +0000.221727][5c32] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//config.json
[034:520] [2023-06-08 14:05:10 +0000.222128][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:520] [2023-06-08 14:05:10 +0000.222167][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:520] [2023-06-08 14:05:10 +0000.222265][5c32]
exp_des.start:0exp_des.end:1630exp_des.expressionstr:0.5
[034:520] [2023-06-08 14:05:10 +0000.222321][5c32]
exp_des.start:0exp_des.end:1630exp_des.expressionstr:0.5
[034:520] [2023-06-08 14:05:10 +0000.222358][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:520] [2023-06-08 14:05:10 +0000.222391][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:520] [2023-06-08 14:05:10 +0000.222424][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:521] [2023-06-08 14:05:10 +0000.222456][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:521] [2023-06-08 14:05:10 +0000.222489][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:521] [2023-06-08 14:05:10 +0000.222520][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:521] [2023-06-08 14:05:10 +0000.222552][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:521] [2023-06-08 14:05:10 +0000.222583][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:521] [2023-06-08 14:05:10 +0000.222617][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[034:521] [2023-06-08 14:05:10 +0000.222685][5c32]
Warning(parse_template_json.cc:95): json parament no found the parament
[034:521] [2023-06-08 14:05:10 +0000.222721][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[034:521] [2023-06-08 14:05:10 +0000.222752][5c32] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//filter.png
[034:521] [2023-06-08 14:05:10 +0000.222782][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[034:521] [2023-06-08 14:05:10 +0000.222812][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[034:522] [2023-06-08 14:05:10 +0000.223477][5c32] SetParamForFilter leave. expire
time = 2 ms

[034:522] [2023-06-08 14:05:10 +0000.223580][5c32] OnOutputSizeChanged width 1920


height 1080
[034:522] [2023-06-08 14:05:10 +0000.223614][5c32] OpenGLFrameBuffer: width:1920
height:1080
[034:522] [2023-06-08 14:05:10 +0000.223645][5c32] OpenGLFrameBuffer: width:1920
height:1080
[034:522] [2023-06-08 14:05:10 +0000.223677][5c32] OpenGLFrameBuffer: width:1920
height:1080
[034:522] [2023-06-08 14:05:10 +0000.223707][5c32] OpenGLFrameBuffer: width:1920
height:1080
[034:522] [2023-06-08 14:05:10 +0000.223733][5c32] OpenGLFrameBuffer: width:1920
height:1080
[034:522] [2023-06-08 14:05:10 +0000.223762][5c32] OpenGLFrameBuffer: width:1920
height:1080
[034:522] [2023-06-08 14:05:10 +0000.223792][5c32] construct TrivalImageDrawer
0xb4000074f013cff0
[034:522] [2023-06-08 14:05:10 +0000.223823][5c32] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb4000074f013cff0 context
0xb4000074801cccb0
[034:522] [2023-06-08 14:05:10 +0000.223857][5c32] setupGLES:
[034:522] [2023-06-08 14:05:10 +0000.224337][5c32] OpenGLRenderProgram::Initialize.
[034:522] [2023-06-08 14:05:10 +0000.224381][5c32] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[034:522] [2023-06-08 14:05:10 +0000.224412][5c32] 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
[034:523] [2023-06-08 14:05:10 +0000.224583][5c32] Init open gl render:
0xb400007540444858
[034:523] [2023-06-08 14:05:10 +0000.224620][5c32] Fragement shader path:
[034:523] [2023-06-08 14:05:10 +0000.224663][5c32] Fragement shader path:
[034:523] [2023-06-08 14:05:10 +0000.224692][5c32] create opengl program object.
[034:523] [2023-06-08 14:05:10 +0000.224722][5c32] create shader: vertex
[034:523] [2023-06-08 14:05:10 +0000.224880][5c32] create shader: fragment
[034:537] [2023-06-08 14:05:10 +0000.238601][5c32] External image path is empty!
[034:537] [2023-06-08 14:05:10 +0000.238746][5c32] Error(crop_filter.cc:464): Init
the image texture failed.
[034:537] [2023-06-08 14:05:10 +0000.238780][5c32] OpenGLRenderProgram::Initialize
success.
[034:537] [2023-06-08 14:05:10 +0000.238852][5c32] Setup the OpenGL result:1
[034:537] [2023-06-08 14:05:10 +0000.239185][5c31] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183468758.mp4
[034:537] [2023-06-08 14:05:10 +0000.239343][5c31] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183468758.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[034:537] [2023-06-08 14:05:10 +0000.239378][5cb6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb400007520
[034:537] [2023-06-08 14:05:10 +0000.239391][5c31] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[034:538] [2023-06-08 14:05:10 +0000.239963][5c31] 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.hollowness_168623307
5456/record_video_183468758.mp4 fileFD: -1
[034:538] [2023-06-08 14:05:10 +0000.240346][5c31] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183468758.mp4 is opened successfully
[034:539] [2023-06-08 14:05:10 +0000.240493][5c31] setupMediaProcessers:
[034:539] [2023-06-08 14:05:10 +0000.240525][5c31]
RecordingSessionInternalSimple:setup media processers.
[034:539] [2023-06-08 14:05:10 +0000.240548][5c31] construct AAC encoder
[034:539] [2023-06-08 14:05:10 +0000.240741][5c31] H264Encoder creating:
superfast011818
[034:539] [2023-06-08 14:05:10 +0000.240779][5c31] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[034:540] [2023-06-08 14:05:10 +0000.241554][5c31] H264Encode::GetMachineModel is
SHARK PAR-H0
[034:540] [2023-06-08 14:05:10 +0000.241587][5c31] H264Encoder machine_mode
is:SHARK PAR-H0
[034:540] [2023-06-08 14:05:10 +0000.241608][5c31] setupCompressionSession:
[034:540] [2023-06-08 14:05:10 +0000.241628][5c31] H264Encode::creating hareware
Encoder
[034:540] [2023-06-08 14:05:10 +0000.241649][5c31] AndroidHwAvcEncoder
time:183468761 enter.

[034:540] [2023-06-08 14:05:10 +0000.241787][5c31] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000075101160d0 address:0x732427e050
[034:540] [2023-06-08 14:05:10 +0000.241874][5c31] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[034:540] [2023-06-08 14:05:10 +0000.241902][5c31] The video avc hw codec address
is 0xb40000745015f6f0
[034:540] [2023-06-08 14:05:10 +0000.241958][5c31] AndroidHwAvcEncoder leave.
expire time = 0 ms

[034:540] [2023-06-08 14:05:10 +0000.241986][5c31] RegisterEncodeCompleteCallback


time:183468761 enter.

[034:540] [2023-06-08 14:05:10 +0000.242063][5c31] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[034:540] [2023-06-08 14:05:10 +0000.242096][5c31] InitEncode time:183468761


enter.

[034:540] [2023-06-08 14:05:10 +0000.242154][5c31] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[034:540] [2023-06-08 14:05:10 +0000.242185][5c31] Create time:183468761 enter.

[034:540] [2023-06-08 14:05:10 +0000.242207][5c31] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[034:540] [2023-06-08 14:05:10 +0000.242232][5c31]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb4000074d015b9d0
[034:540] [2023-06-08 14:05:10 +0000.242335][5c31]
supported_type:image/vnd.android.heic
[034:540] [2023-06-08 14:05:10 +0000.242377][5c31] supported_type:video/avc
[034:540] [2023-06-08 14:05:10 +0000.242403][5c31] name:OMX.qcom.video.encoder.avc
mime:video/avc
[034:541] [2023-06-08 14:05:10 +0000.242434][5c31] hwCodecPrefix :OMX.qcom.
[034:541] [2023-06-08 14:05:10 +0000.242458][5c31] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[034:541] [2023-06-08 14:05:10 +0000.242484][5c31] mediacodec_createCodecByName
time:183468762 enter.

[034:541] [2023-06-08 14:05:10 +0000.242508][5c31] WrapAndroidMediaCodec


time:183468762 enter.

[034:541] [2023-06-08 14:05:10 +0000.242590][5c31] WrapAndroidMediaCodec leave.


expire time = 0 ms

[034:558] [2023-06-08 14:05:10 +0000.259641][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[034:576] [2023-06-08 14:05:10 +0000.277758][5c31] mediacodec_createCodecByName
leave. expire time = 35 ms

[034:576] [2023-06-08 14:05:10 +0000.277881][5c31] WrapAndroidMediaFromat


time:183468797 enter.

[034:576] [2023-06-08 14:05:10 +0000.277964][5c31] WrapAndroidMediaFromat leave.


expire time = 0 ms

[034:618] [2023-06-08 14:05:10 +0000.319713][5c31] Destroy time:183468839 enter.

[034:618] [2023-06-08 14:05:10 +0000.319855][5c31] WrapAndroidMediaFromat::


Destroy
[034:618] [2023-06-08 14:05:10 +0000.319901][5c31] Destroy leave. expire time = 0
ms

[034:618] [2023-06-08 14:05:10 +0000.319940][5c31] ~WrapAndroidMediaFromat


time:183468839 enter.

[034:618] [2023-06-08 14:05:10 +0000.319979][5c31] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[034:618] [2023-06-08 14:05:10 +0000.320017][5c31] Create leave. expire time = 78


ms

[034:618] [2023-06-08 14:05:10 +0000.320053][5c31] isSemiPlanarSupport


time:183468839 enter.

[034:618] [2023-06-08 14:05:10 +0000.320135][5c31] H264Encoder isSemiPlanarSupport


[034:618] [2023-06-08 14:05:10 +0000.320172][5c31] isSemiPlanarSupport leave.
expire time = 0 ms

[034:618] [2023-06-08 14:05:10 +0000.320209][5c31] creat hw H264Encoder success,


isSemiPlanar:1
[034:618] [2023-06-08 14:05:10 +0000.320373][5c31] InitEncode leave. expire time =
78 ms

[034:618] [2023-06-08 14:05:10 +0000.320417][5c31] H264Encode::created Encoder


[034:619] [2023-06-08 14:05:10 +0000.320481][5c31] H264Encode:: H264 encoder
created.
[034:619] [2023-06-08 14:05:10 +0000.320520][5c31] H264 encoder created.
[034:619] [2023-06-08 14:05:10 +0000.320552][5c31]
RecordingSessionInternalSimple:created avc encoder avc: 0xb4000075001b2630
[034:619] [2023-06-08 14:05:10 +0000.320587][5c31] setOutput:
[034:619] [2023-06-08 14:05:10 +0000.320621][5c31]
RecordingSessionInternalSimple:encoder set output to muxer!
[034:619] [2023-06-08 14:05:10 +0000.320657][5c31] request a key frame
[034:619] [2023-06-08 14:05:10 +0000.320692][5c31] H264Encode:: request a key frame
[034:619] [2023-06-08 14:05:10 +0000.320809][5c32] Start:
[034:619] [2023-06-08 14:05:10 +0000.321057][5c35] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[034:619] [2023-06-08 14:05:10 +0000.321129][5c35] Reset: history total size: 98
[034:619] [2023-06-08 14:05:10 +0000.321173][5c35] DeviceStart:
audioDevice_:0xb4000075c01d0d50
[034:619] [2023-06-08 14:05:10 +0000.321212][5c35] DeviceStart: time profile
playout init before
[034:619] [2023-06-08 14:05:10 +0000.321252][5c35] DeviceStart: time profile
playout init end
[034:619] [2023-06-08 14:05:10 +0000.321286][5c35] OpenSlesOutput:Start playout

[034:620] [2023-06-08 14:05:10 +0000.322279][5c35] Create the opensl output player.


streamtype before:0

[034:620] [2023-06-08 14:05:10 +0000.322348][5c35] Create the opensl output player.


streamtype after:3

[034:628] [2023-06-08 14:05:10 +0000.330328][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[034:647] [2023-06-08 14:05:10 +0000.349021][5c35] Enqueue opensl buffer size:1764
[034:668] [2023-06-08 14:05:10 +0000.369545][5c35] DeviceStart: time profile
playout all end
[034:668] [2023-06-08 14:05:10 +0000.369637][5c35] operator(): Audio playback
started.
[034:668] [2023-06-08 14:05:10 +0000.369943][5cbd] NeedMorePlayData: Scale the
volume to zero now!
[034:695] [2023-06-08 14:05:10 +0000.397131][5c32] begine recode to first frame
spend time:177
[034:695] [2023-06-08 14:05:10 +0000.397175][5c32] add frame because frame
interval.
[034:695] [2023-06-08 14:05:10 +0000.397204][5c32]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[034:695] [2023-06-08 14:05:10 +0000.397225][5c32]
GPUImageProcessing::SetOrientation orientation: 90
[034:696] [2023-06-08 14:05:10 +0000.397747][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540444858
[034:700] [2023-06-08 14:05:10 +0000.402032][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[034:706] [2023-06-08 14:05:10 +0000.407779][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540444858
[034:717] [2023-06-08 14:05:10 +0000.418575][5cb4]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[034:721] [2023-06-08 14:05:10 +0000.422526][5c33] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//bgm.mp3
sync_mode: 1 seek_pos: 10300 delay: 0 this:0xb400007540378fd0
[034:737] [2023-06-08 14:05:10 +0000.438822][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540444858
[034:750] [2023-06-08 14:05:10 +0000.452099][5cb1] FFMpeg=> [mp3 @
0xb4000075501d5f20] Current FFmpeg version git-2021-06-16-97cea6f

[034:767] [2023-06-08 14:05:10 +0000.469441][5cb2] success seekto


avformat_seek_file to: 10300000
[034:768] [2023-06-08 14:05:10 +0000.469555][5cb2] Drop one audio frame for seekto,
pkt_dts 145297152 audio_seek_pos_: 10300000
[034:770] [2023-06-08 14:05:10 +0000.472218][5c35] First audio frame rendering
[034:773] [2023-06-08 14:05:10 +0000.475405][5cb6] add aac audio track with id:1
[034:783] [2023-06-08 14:05:10 +0000.485318][5cb6] audio start ts:0
[034:783] [2023-06-08 14:05:10 +0000.485416][5cb6] the audio frame has been written
into MP4 file
[034:811] [2023-06-08 14:05:10 +0000.512539][5cb4] h264 add frame header cdr flag
[034:811] [2023-06-08 14:05:10 +0000.513078][5cb4] h264 add frame header cdr flag
[034:812] [2023-06-08 14:05:10 +0000.514132][5cb4] Received key frame:0
[034:812] [2023-06-08 14:05:10 +0000.514194][5cb4] H264Encode:: get a sps pps
header!headerSize:32
[034:814] [2023-06-08 14:05:10 +0000.515508][5cb6] get the H.264 SPS parameter
[034:814] [2023-06-08 14:05:10 +0000.515737][5cb6] add video track with id:2
[034:816] [2023-06-08 14:05:10 +0000.517630][5cb6] get the H.264 PPS parameter
[034:816] [2023-06-08 14:05:10 +0000.518354][5cb6] get the H.264 IDR frame
[034:816] [2023-06-08 14:05:10 +0000.518399][5cb6] resss:true
[034:816] [2023-06-08 14:05:10 +0000.518424][5cb6] video start ts:0
[034:817] [2023-06-08 14:05:10 +0000.518507][5cb6] the video frame has been written
into MP4 file
[034:903] [2023-06-08 14:05:10 +0000.605363][5cbd]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[034:940] [2023-06-08 14:05:10 +0000.641930][5cb4] Push an pts:233 to dts queue.
[034:966] [2023-06-08 14:05:10 +0000.668348][58b9] video render surface render a
frame
[034:967] [2023-06-08 14:05:10 +0000.668847][5c32] CropFilter::OnVideoFrame
outputtexture :21
[034:967] [2023-06-08 14:05:10 +0000.668950][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:972] [2023-06-08 14:05:10 +0000.674230][5cb4] DTS queue for
Generator:0xb40000752013a9a8 233 267
[034:975] [2023-06-08 14:05:10 +0000.676684][5cb4] last dts:200 currentPts:233
ppsOrSPS:0 queue length:2
[035:136] [2023-06-08 14:05:10 +0000.837484][5c32] The convert RGB to YUV take 4
[035:167] [2023-06-08 14:05:10 +0000.868560][5c32] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[035:475] [2023-06-08 14:05:11 +0000.176504][5c32] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[035:567] [2023-06-08 14:05:11 +0000.269386][5c32] CameraSource::PushExtraFrame
pkt_dts: 900, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb400007510181750
[035:640] [2023-06-08 14:05:11 +0000.341555][5c32] The convert RGB to YUV take 6
[035:807] [2023-06-08 14:05:11 +0000.508667][5cb4] DTS queue for
Generator:0xb40000752013a9a8 1067 1100
[035:871] [2023-06-08 14:05:11 +0000.572769][5cbd]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[035:977] [2023-06-08 14:05:11 +0000.679212][58b9] video render surface render a
frame
[035:978] [2023-06-08 14:05:11 +0000.679711][5c32] CropFilter::OnVideoFrame
outputtexture :21
[035:978] [2023-06-08 14:05:11 +0000.679818][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[036:143] [2023-06-08 14:05:11 +0000.845421][5c32] The convert RGB to YUV take 4
[036:202] [2023-06-08 14:05:11 +0000.903768][5c33] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[036:275] [2023-06-08 14:05:11 +0000.976461][5cb4] Push an pts:1567 to dts queue.
[036:311] [2023-06-08 14:05:12 +0000.12878][5cb4] last dts:1533 currentPts:1567
ppsOrSPS:0 queue length:2
[036:376] [2023-06-08 14:05:12 +0000.77938][5c35] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[036:376] [2023-06-08 14:05:12 +0000.78217][5c32] OnNeedStopRecording:
[036:377] [2023-06-08 14:05:12 +0000.79384][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[036:378] [2023-06-08 14:05:12 +0000.79669][5c32] operator(): Stop
[036:378] [2023-06-08 14:05:12 +0000.79863][5c32] Stop:
[036:378] [2023-06-08 14:05:12 +0000.79971][5c35] DeviceStop:
audioDevice_:0xb4000075c01d0d50
[036:378] [2023-06-08 14:05:12 +0000.80061][5c35] OpenSlesOutput:Stop playout

[036:383] [2023-06-08 14:05:12 +0000.84687][5c35] DeviceStop: Done


[036:383] [2023-06-08 14:05:12 +0000.84930][5c35] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[036:384] [2023-06-08 14:05:12 +0000.85976][5cb4]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[036:387] [2023-06-08 14:05:12 +0000.89380][5c31] stop recording
[036:388] [2023-06-08 14:05:12 +0000.89449][5c31]
RecordingSessionInternalSimple:destroy media processers
[036:388] [2023-06-08 14:05:12 +0000.89489][5c31] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[036:388] [2023-06-08 14:05:12 +0000.89523][5c31] H264Encode::flushing hareware
Encoder
[036:388] [2023-06-08 14:05:12 +0000.89698][5c31] Flush time:183470609 enter.

[036:388] [2023-06-08 14:05:12 +0000.89774][5c31] H264Encoder encoder flush


[036:388] [2023-06-08 14:05:12 +0000.89814][5c31] flush output queue
[036:713] [2023-06-08 14:05:12 +0000.415237][5c31] Flush leave. expire time = 325
ms

[036:714] [2023-06-08 14:05:12 +0000.415628][5c31] ~H264EncodeWrap:


[036:714] [2023-06-08 14:05:12 +0000.415695][5c31] ~H264Encode:
[036:714] [2023-06-08 14:05:12 +0000.415738][5c31] teardownCompressionSession:
H264Encode::destroying Encoder
[036:714] [2023-06-08 14:05:12 +0000.415782][5c31] Release time:183470935 enter.

[036:714] [2023-06-08 14:05:12 +0000.416036][5c31] Release:


MediaCodecVideoEncoder::Release _inited:1
[036:714] [2023-06-08 14:05:12 +0000.416117][5c31] Destroy time:183470935 enter.

[036:714] [2023-06-08 14:05:12 +0000.416161][5c31] H264Encoder encoderDestroy


[036:714] [2023-06-08 14:05:12 +0000.416204][5c31]
AndroidMediaCodecVideoEncoder::release env: 0xb4000075001b2e70
[036:714] [2023-06-08 14:05:12 +0000.416249][5c31]
AndroidMediaCodecVideoEncoder::Destroy
[036:765] [2023-06-08 14:05:12 +0000.467190][5c31] Destroy leave. expire time = 51
ms

[036:765] [2023-06-08 14:05:12 +0000.467372][5c31] Release leave. expire time = 51


ms

[036:766] [2023-06-08 14:05:12 +0000.467458][5c31] ~AndroidHwAvcEncoder


time:183470987 enter.

[036:766] [2023-06-08 14:05:12 +0000.467593][5c31] Release time:183470987 enter.

[036:766] [2023-06-08 14:05:12 +0000.467660][5c31] Release:


MediaCodecVideoEncoder:: has been released before, just return
[036:766] [2023-06-08 14:05:12 +0000.467696][5c31] Release leave. expire time = 0
ms

[036:766] [2023-06-08 14:05:12 +0000.467730][5c31] ~AndroidMediaCodecVideoEncoder


[036:766] [2023-06-08 14:05:12 +0000.467762][5c31] ~WrapAndroidMediaCodec
time:183470987 enter.
[036:766] [2023-06-08 14:05:12 +0000.467796][5c31] ~WrapAndroidMediaCodec leave.
expire time = 0 ms

[036:766] [2023-06-08 14:05:12 +0000.467832][5c31] video hevc hw codec


destructor:0xb40000745015f6f0

[036:766] [2023-06-08 14:05:12 +0000.467886][5c31] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[036:767] [2023-06-08 14:05:12 +0000.468984][5c31] teardownCompressionSession:


H264Encode::destroyed Encoder
[036:767] [2023-06-08 14:05:12 +0000.469029][5c31]
RecordingSessionInternalSimple:destroy aac encoder output!
[036:767] [2023-06-08 14:05:12 +0000.469059][5c31] AACSWEncode destructor
[036:776] [2023-06-08 14:05:12 +0000.477582][5cb6] MP4 close file successfully
[036:776] [2023-06-08 14:05:12 +0000.477713][5cb6] Recording session Internal:
notify recording ok
[036:776] [2023-06-08 14:05:12 +0000.477754][5cb6] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_1686233075456/
record_video_183468758.mp4
[036:776] [2023-06-08 14:05:12 +0000.477794][5cb6] OnRecordFinish:
[036:777] [2023-06-08 14:05:12 +0000.478674][5c32] DestroyPipelineAndFilters
time:183470998 enter.

[036:782] [2023-06-08 14:05:12 +0000.484304][5c32] UnbindInputFilter


0xb400007510181890 this 0xb400007540444b40
[036:782] [2023-06-08 14:05:12 +0000.484389][5c32] UnbindInputFilter
0xb400007540444b40 this 0xb4000074e019a6e8
[036:782] [2023-06-08 14:05:12 +0000.484421][5c32] filter: filter pipeline destroy
this: 0xb4000074e019a650
[036:783] [2023-06-08 14:05:12 +0000.484637][5c32] ClearVideoOfSources: recodring
total frames:52
[036:783] [2023-06-08 14:05:12 +0000.484686][5c32] ClearVideoOfSources:
[036:783] [2023-06-08 14:05:12 +0000.484719][5c32] GPUImageProcessing destruct.
[036:783] [2023-06-08 14:05:12 +0000.484760][5c32] destroy TrivalImageDrawer
0xb4000074f013cff0
[036:783] [2023-06-08 14:05:12 +0000.484845][5c32] The shader has been initialize,
clean up them.

[036:783] [2023-06-08 14:05:12 +0000.485286][5c32] ~OpenGLFrameBuffer:


[036:784] [2023-06-08 14:05:12 +0000.485463][5c32] ~OpenGLFrameBuffer:
[036:784] [2023-06-08 14:05:12 +0000.485601][5c32] ~OpenGLFrameBuffer:
[036:784] [2023-06-08 14:05:12 +0000.485705][5c32] ~OpenGLFrameBuffer:
[036:784] [2023-06-08 14:05:12 +0000.485801][5c32] ~OpenGLFrameBuffer:
[036:784] [2023-06-08 14:05:12 +0000.485907][5c32] ~OpenGLFrameBuffer:
[036:784] [2023-06-08 14:05:12 +0000.486302][5c32] GPUImageProcessing destruct
finish.
[036:784] [2023-06-08 14:05:12 +0000.486363][5c32] GPURGBAFrame destruct.
[036:784] [2023-06-08 14:05:12 +0000.486426][5c32] destroy OpenGLRenderProgram
0xb400007540444858
[036:785] [2023-06-08 14:05:12 +0000.486470][5c32] ~CameraSource time:183471006
enter.

[036:785] [2023-06-08 14:05:12 +0000.486508][5c32] ~CameraSource leave. expire


time = 0 ms

[036:787] [2023-06-08 14:05:12 +0000.489253][5c32] DestroyPipelineAndFilters


leave. expire time = 10 ms
[038:468] [2023-06-08 14:05:14 +0000.169844][4474] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[038:468] [2023-06-08 14:05:14 +0000.169996][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[038:468] [2023-06-08 14:05:14 +0000.170105][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[038:469] [2023-06-08 14:05:14 +0000.170493][5c32] MediaFilterCamera, recording
file context:0xb4000074b013d660 input texture:15
[038:469] [2023-06-08 14:05:14 +0000.170602][5c32] construct OpenGLRenderProgram
0xb400007540444858
[038:469] [2023-06-08 14:05:14 +0000.170643][5c32] CropFilter::SetOrientation
orientation: 90
[038:469] [2023-06-08 14:05:14 +0000.170678][5c32] filter: filter pipeline
construtc this: 0xb4000074e017f8b0
[038:469] [2023-06-08 14:05:14 +0000.170713][5c32] filter: filter pipeline2 update
pattern: 1
[038:469] [2023-06-08 14:05:14 +0000.170750][5c32] CameraSource::source_id_:6
[038:469] [2023-06-08 14:05:14 +0000.171021][5c32] SetPlayLoop: AudioSource
SetPlayLoop 0
[038:469] [2023-06-08 14:05:14 +0000.171106][5c32]
Warning(media_filter_camera.cc:483): seekPos:11930
[038:469] [2023-06-08 14:05:14 +0000.171159][5c32] BindInputFilter
0xb400007510178590 this 0xb400007540444b40
[038:469] [2023-06-08 14:05:14 +0000.171217][5c32] BindInputFilter
0xb400007540444b40 this 0xb4000074e017f948
[038:469] [2023-06-08 14:05:14 +0000.171253][5c32] SetParamForFilter time:183472690
enter.

[038:469] [2023-06-08 14:05:14 +0000.171288][5c32] SetParamForFilter: Params video


index is: 5
[038:469] [2023-06-08 14:05:14 +0000.171322][5c32] SetParamForFilter: Params seek
pos is: 5
[038:469] [2023-06-08 14:05:14 +0000.171356][5c32] crop filter video index:5
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness/
movie_mode: 0
[038:469] [2023-06-08 14:05:14 +0000.171391][5c32] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//config.json
[038:470] [2023-06-08 14:05:14 +0000.171806][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.171853][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.171899][5c32]
exp_des.start:0exp_des.end:540exp_des.expressionstr:0.5
[038:470] [2023-06-08 14:05:14 +0000.171948][5c32]
exp_des.start:0exp_des.end:540exp_des.expressionstr:0.5
[038:470] [2023-06-08 14:05:14 +0000.171986][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172022][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172056][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172091][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172170][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172210][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172247][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172283][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172318][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172355][5c32]
Warning(parse_template_json.cc:95): json parament no found the parament
[038:470] [2023-06-08 14:05:14 +0000.172391][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[038:470] [2023-06-08 14:05:14 +0000.172427][5c32] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//filter.png
[038:471] [2023-06-08 14:05:14 +0000.172496][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[038:471] [2023-06-08 14:05:14 +0000.172532][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[038:471] [2023-06-08 14:05:14 +0000.173296][5c32] SetParamForFilter leave. expire
time = 2 ms

[038:471] [2023-06-08 14:05:14 +0000.173390][5c32] OnOutputSizeChanged width 1920


height 1080
[038:471] [2023-06-08 14:05:14 +0000.173434][5c32] OpenGLFrameBuffer: width:1920
height:1080
[038:472] [2023-06-08 14:05:14 +0000.173472][5c32] OpenGLFrameBuffer: width:1920
height:1080
[038:472] [2023-06-08 14:05:14 +0000.173507][5c32] OpenGLFrameBuffer: width:1920
height:1080
[038:472] [2023-06-08 14:05:14 +0000.173545][5c32] OpenGLFrameBuffer: width:1920
height:1080
[038:472] [2023-06-08 14:05:14 +0000.173579][5c32] OpenGLFrameBuffer: width:1920
height:1080
[038:472] [2023-06-08 14:05:14 +0000.173614][5c32] OpenGLFrameBuffer: width:1920
height:1080
[038:472] [2023-06-08 14:05:14 +0000.173649][5c32] construct TrivalImageDrawer
0xb4000074f0153370
[038:472] [2023-06-08 14:05:14 +0000.173686][5c32] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb4000074f0153370 context
0xb4000074801cccb0
[038:472] [2023-06-08 14:05:14 +0000.173722][5c32] setupGLES:
[038:472] [2023-06-08 14:05:14 +0000.174106][5c32] OpenGLRenderProgram::Initialize.
[038:472] [2023-06-08 14:05:14 +0000.174150][5c32] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[038:472] [2023-06-08 14:05:14 +0000.174185][5c32] 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
[038:472] [2023-06-08 14:05:14 +0000.174303][5c32] Init open gl render:
0xb400007540444858
[038:472] [2023-06-08 14:05:14 +0000.174346][5c32] Fragement shader path:
[038:472] [2023-06-08 14:05:14 +0000.174387][5c32] Fragement shader path:
[038:472] [2023-06-08 14:05:14 +0000.174423][5c32] create opengl program object.
[038:473] [2023-06-08 14:05:14 +0000.174456][5c32] create shader: vertex
[038:473] [2023-06-08 14:05:14 +0000.174690][5c32] create shader: fragment
[038:486] [2023-06-08 14:05:14 +0000.188137][5c32] External image path is empty!
[038:486] [2023-06-08 14:05:14 +0000.188225][5c32] Error(crop_filter.cc:464): Init
the image texture failed.
[038:486] [2023-06-08 14:05:14 +0000.188255][5c32] OpenGLRenderProgram::Initialize
success.
[038:486] [2023-06-08 14:05:14 +0000.188314][5c32] Setup the OpenGL result:1
[038:487] [2023-06-08 14:05:14 +0000.188590][5c31] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183472707.mp4
[038:487] [2023-06-08 14:05:14 +0000.188744][5c31] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183472707.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[038:487] [2023-06-08 14:05:14 +0000.188774][5ccb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb400007520
[038:487] [2023-06-08 14:05:14 +0000.188802][5c31] 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
[038:487] [2023-06-08 14:05:14 +0000.188844][5c31] 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.hollowness_168623307
5456/record_video_183472707.mp4 fileFD: -1
[038:487] [2023-06-08 14:05:14 +0000.189261][5c31] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183472707.mp4 is opened successfully
[038:487] [2023-06-08 14:05:14 +0000.189291][5c31] setupMediaProcessers:
[038:487] [2023-06-08 14:05:14 +0000.189316][5c31]
RecordingSessionInternalSimple:setup media processers.
[038:487] [2023-06-08 14:05:14 +0000.189340][5c31] construct AAC encoder
[038:488] [2023-06-08 14:05:14 +0000.189557][5c31] H264Encoder creating:
superfast011818
[038:488] [2023-06-08 14:05:14 +0000.189598][5c31] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[038:488] [2023-06-08 14:05:14 +0000.190321][5c31] H264Encode::GetMachineModel is
SHARK PAR-H0
[038:488] [2023-06-08 14:05:14 +0000.190358][5c31] H264Encoder machine_mode
is:SHARK PAR-H0
[038:488] [2023-06-08 14:05:14 +0000.190430][5c31] setupCompressionSession:
[038:489] [2023-06-08 14:05:14 +0000.190455][5c31] H264Encode::creating hareware
Encoder
[038:489] [2023-06-08 14:05:14 +0000.190479][5c31] AndroidHwAvcEncoder
time:183472710 enter.

[038:489] [2023-06-08 14:05:14 +0000.190637][5c31] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000075101160d0 address:0x732427e050
[038:489] [2023-06-08 14:05:14 +0000.190740][5c31] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[038:489] [2023-06-08 14:05:14 +0000.190769][5c31] The video avc hw codec address
is 0xb40000745015ed90
[038:489] [2023-06-08 14:05:14 +0000.190827][5c31] AndroidHwAvcEncoder leave.
expire time = 0 ms

[038:489] [2023-06-08 14:05:14 +0000.190859][5c31] RegisterEncodeCompleteCallback


time:183472710 enter.

[038:489] [2023-06-08 14:05:14 +0000.190947][5c31] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[038:489] [2023-06-08 14:05:14 +0000.190985][5c31] InitEncode time:183472710


enter.

[038:489] [2023-06-08 14:05:14 +0000.191052][5c31] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[038:489] [2023-06-08 14:05:14 +0000.191087][5c31] Create time:183472710 enter.

[038:489] [2023-06-08 14:05:14 +0000.191112][5c31] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[038:489] [2023-06-08 14:05:14 +0000.191140][5c31]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb4000074d017fc10
[038:489] [2023-06-08 14:05:14 +0000.191274][5c31]
supported_type:image/vnd.android.heic
[038:489] [2023-06-08 14:05:14 +0000.191324][5c31] supported_type:video/avc
[038:489] [2023-06-08 14:05:14 +0000.191354][5c31] name:OMX.qcom.video.encoder.avc
mime:video/avc
[038:489] [2023-06-08 14:05:14 +0000.191391][5c31] hwCodecPrefix :OMX.qcom.
[038:489] [2023-06-08 14:05:14 +0000.191419][5c31] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[038:490] [2023-06-08 14:05:14 +0000.191448][5c31] mediacodec_createCodecByName
time:183472711 enter.

[038:490] [2023-06-08 14:05:14 +0000.191475][5c31] WrapAndroidMediaCodec


time:183472711 enter.

[038:490] [2023-06-08 14:05:14 +0000.191575][5c31] WrapAndroidMediaCodec leave.


expire time = 0 ms

[038:509] [2023-06-08 14:05:14 +0000.210642][5c31] mediacodec_createCodecByName


leave. expire time = 19 ms

[038:509] [2023-06-08 14:05:14 +0000.210796][5c31] WrapAndroidMediaFromat


time:183472730 enter.

[038:509] [2023-06-08 14:05:14 +0000.210869][5c31] WrapAndroidMediaFromat leave.


expire time = 0 ms

[038:537] [2023-06-08 14:05:14 +0000.238539][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[038:543] [2023-06-08 14:05:14 +0000.244776][5c31] Destroy time:183472764 enter.

[038:543] [2023-06-08 14:05:14 +0000.244858][5c31] WrapAndroidMediaFromat::


Destroy
[038:543] [2023-06-08 14:05:14 +0000.244885][5c31] Destroy leave. expire time = 0
ms

[038:543] [2023-06-08 14:05:14 +0000.244907][5c31] ~WrapAndroidMediaFromat


time:183472764 enter.

[038:543] [2023-06-08 14:05:14 +0000.244930][5c31] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[038:543] [2023-06-08 14:05:14 +0000.244955][5c31] Create leave. expire time = 54


ms

[038:543] [2023-06-08 14:05:14 +0000.244979][5c31] isSemiPlanarSupport


time:183472764 enter.

[038:543] [2023-06-08 14:05:14 +0000.245001][5c31] H264Encoder isSemiPlanarSupport


[038:543] [2023-06-08 14:05:14 +0000.245023][5c31] isSemiPlanarSupport leave.
expire time = 0 ms

[038:543] [2023-06-08 14:05:14 +0000.245045][5c31] creat hw H264Encoder success,


isSemiPlanar:1
[038:543] [2023-06-08 14:05:14 +0000.245170][5c31] InitEncode leave. expire time =
54 ms

[038:543] [2023-06-08 14:05:14 +0000.245199][5c31] H264Encode::created Encoder


[038:543] [2023-06-08 14:05:14 +0000.245223][5c31] H264Encode:: H264 encoder
created.
[038:543] [2023-06-08 14:05:14 +0000.245243][5c31] H264 encoder created.
[038:543] [2023-06-08 14:05:14 +0000.245265][5c31]
RecordingSessionInternalSimple:created avc encoder avc: 0xb40000750013d830
[038:543] [2023-06-08 14:05:14 +0000.245335][5c31] setOutput:
[038:543] [2023-06-08 14:05:14 +0000.245359][5c31]
RecordingSessionInternalSimple:encoder set output to muxer!
[038:543] [2023-06-08 14:05:14 +0000.245381][5c31] request a key frame
[038:543] [2023-06-08 14:05:14 +0000.245402][5c31] H264Encode:: request a key frame
[038:544] [2023-06-08 14:05:14 +0000.245493][5c32] Start:
[038:544] [2023-06-08 14:05:14 +0000.245632][5c35] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[038:544] [2023-06-08 14:05:14 +0000.245682][5c35] Reset: history total size: 98
[038:544] [2023-06-08 14:05:14 +0000.245728][5c35] DeviceStart:
audioDevice_:0xb4000075c01d0d50
[038:544] [2023-06-08 14:05:14 +0000.245752][5c35] DeviceStart: time profile
playout init before
[038:544] [2023-06-08 14:05:14 +0000.245779][5c35] DeviceStart: time profile
playout init end
[038:544] [2023-06-08 14:05:14 +0000.245800][5c35] OpenSlesOutput:Start playout

[038:545] [2023-06-08 14:05:14 +0000.246812][5c35] Create the opensl output player.


streamtype before:0

[038:545] [2023-06-08 14:05:14 +0000.246854][5c35] Create the opensl output player.


streamtype after:3

[038:570] [2023-06-08 14:05:14 +0000.271972][5c35] Enqueue opensl buffer size:1764


[038:599] [2023-06-08 14:05:14 +0000.301326][5c35] DeviceStart: time profile
playout all end
[038:599] [2023-06-08 14:05:14 +0000.301413][5c35] operator(): Audio playback
started.
[038:600] [2023-06-08 14:05:14 +0000.301549][5cd1] NeedMorePlayData: Scale the
volume to zero now!
[038:613] [2023-06-08 14:05:14 +0000.314826][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[038:626] [2023-06-08 14:05:14 +0000.328011][5c32] begine recode to first frame
spend time:157
[038:626] [2023-06-08 14:05:14 +0000.328080][5c32] add frame because frame
interval.
[038:626] [2023-06-08 14:05:14 +0000.328117][5c32]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[038:626] [2023-06-08 14:05:14 +0000.328144][5c32]
GPUImageProcessing::SetOrientation orientation: 90
[038:627] [2023-06-08 14:05:14 +0000.328461][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540444858
[038:638] [2023-06-08 14:05:14 +0000.340044][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540444858
[038:641] [2023-06-08 14:05:14 +0000.343397][5c32] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[038:644] [2023-06-08 14:05:14 +0000.345995][5c33] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//bgm.mp3
sync_mode: 1 seek_pos: 11930 delay: 0 this:0xb400007540432280
[038:647] [2023-06-08 14:05:14 +0000.348844][5cca]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[038:668] [2023-06-08 14:05:14 +0000.369682][5cc7] FFMpeg=> [mp3 @
0xb4000075501cf1b0] Current FFmpeg version git-2021-06-16-97cea6f

[038:669] [2023-06-08 14:05:14 +0000.370811][5c32] drawYUV420 render


OpenGLRenderProgram:0xb400007540444858
[038:669] [2023-06-08 14:05:14 +0000.371399][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[038:687] [2023-06-08 14:05:14 +0000.389083][5cc8] success seekto
avformat_seek_file to: 11930000
[038:687] [2023-06-08 14:05:14 +0000.389197][5cc8] Drop one audio frame for seekto,
pkt_dts 168327936 audio_seek_pos_: 11930000
[038:688] [2023-06-08 14:05:14 +0000.389992][5c35] The audio playback speed:100
(1/100)
[038:689] [2023-06-08 14:05:14 +0000.390512][5c35] lipsync_debug: The current
played audio timestamp is:23(1/50)
[038:689] [2023-06-08 14:05:14 +0000.390542][5c35] First audio frame rendering
[038:689] [2023-06-08 14:05:14 +0000.391027][5ccb] add aac audio track with id:1
[038:699] [2023-06-08 14:05:14 +0000.400481][5ccb] audio start ts:0
[038:699] [2023-06-08 14:05:14 +0000.400559][5ccb] the audio frame has been written
into MP4 file
[038:708] [2023-06-08 14:05:14 +0000.409666][5cd1] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[038:731] [2023-06-08 14:05:14 +0000.433260][5c32] CameraSource::PushExtraFrame
pkt_dts: 133, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb400007510178450
[038:778] [2023-06-08 14:05:14 +0000.479999][5cca] h264 add frame header cdr flag
[038:779] [2023-06-08 14:05:14 +0000.480670][5cca] h264 add frame header cdr flag
[038:780] [2023-06-08 14:05:14 +0000.482318][5cca] Received key frame:0
[038:781] [2023-06-08 14:05:14 +0000.482443][5cca] H264Encode:: get a sps pps
header!headerSize:32
[038:781] [2023-06-08 14:05:14 +0000.482555][5ccb] get the H.264 SPS parameter
[038:781] [2023-06-08 14:05:14 +0000.482817][5ccb] add video track with id:2
[038:786] [2023-06-08 14:05:14 +0000.487667][5ccb] get the H.264 PPS parameter
[038:794] [2023-06-08 14:05:14 +0000.495454][5ccb] get the H.264 IDR frame
[038:794] [2023-06-08 14:05:14 +0000.495614][5ccb] resss:true
[038:794] [2023-06-08 14:05:14 +0000.495677][5ccb] video start ts:0
[038:794] [2023-06-08 14:05:14 +0000.495878][5ccb] the video frame has been written
into MP4 file
[038:865] [2023-06-08 14:05:14 +0000.567084][5c32] The convert RGB to YUV take 2
[038:870] [2023-06-08 14:05:14 +0000.571623][5cca] DTS queue for
Generator:0xb40000752019ce28 233
[039:027] [2023-06-08 14:05:14 +0000.729291][5cd1]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[039:168] [2023-06-08 14:05:14 +0000.869907][58b9] video render surface render a
frame
[039:168] [2023-06-08 14:05:14 +0000.870329][5c32] CropFilter::OnVideoFrame
outputtexture :17
[039:168] [2023-06-08 14:05:14 +0000.870426][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[039:213] [2023-06-08 14:05:14 +0000.915205][5c35] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[039:213] [2023-06-08 14:05:14 +0000.915413][5c32] OnNeedStopRecording:
[039:214] [2023-06-08 14:05:14 +0000.915804][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[039:214] [2023-06-08 14:05:14 +0000.915991][5c32] operator(): Stop
[039:214] [2023-06-08 14:05:14 +0000.916140][5c32] Stop:
[039:214] [2023-06-08 14:05:14 +0000.916252][5c35] DeviceStop:
audioDevice_:0xb4000075c01d0d50
[039:214] [2023-06-08 14:05:14 +0000.916326][5c35] OpenSlesOutput:Stop playout

[039:219] [2023-06-08 14:05:14 +0000.921363][5c35] DeviceStop: Done


[039:220] [2023-06-08 14:05:14 +0000.921608][5c35] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[039:222] [2023-06-08 14:05:14 +0000.923460][5cca]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[039:223] [2023-06-08 14:05:14 +0000.925332][5c31] stop recording
[039:223] [2023-06-08 14:05:14 +0000.925381][5c31]
RecordingSessionInternalSimple:destroy media processers
[039:223] [2023-06-08 14:05:14 +0000.925404][5c31] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[039:224] [2023-06-08 14:05:14 +0000.925512][5c31] H264Encode::flushing hareware
Encoder
[039:224] [2023-06-08 14:05:14 +0000.925720][5c31] Flush time:183473445 enter.

[039:224] [2023-06-08 14:05:14 +0000.925776][5c31] H264Encoder encoder flush


[039:224] [2023-06-08 14:05:14 +0000.925807][5c31] flush output queue
[039:552] [2023-06-08 14:05:15 +0000.254304][5c31] Flush leave. expire time = 328
ms

[039:553] [2023-06-08 14:05:15 +0000.254607][5c31] ~H264EncodeWrap:


[039:553] [2023-06-08 14:05:15 +0000.254669][5c31] ~H264Encode:
[039:553] [2023-06-08 14:05:15 +0000.254711][5c31] teardownCompressionSession:
H264Encode::destroying Encoder
[039:553] [2023-06-08 14:05:15 +0000.254755][5c31] Release time:183473774 enter.

[039:553] [2023-06-08 14:05:15 +0000.254981][5c31] Release:


MediaCodecVideoEncoder::Release _inited:1
[039:553] [2023-06-08 14:05:15 +0000.255054][5c31] Destroy time:183473774 enter.

[039:553] [2023-06-08 14:05:15 +0000.255100][5c31] H264Encoder encoderDestroy


[039:553] [2023-06-08 14:05:15 +0000.255146][5c31]
AndroidMediaCodecVideoEncoder::release env: 0xb400007500168a70
[039:553] [2023-06-08 14:05:15 +0000.255193][5c31]
AndroidMediaCodecVideoEncoder::Destroy
[039:597] [2023-06-08 14:05:15 +0000.298648][5c31] Destroy leave. expire time = 44
ms

[039:597] [2023-06-08 14:05:15 +0000.298903][5c31] Release leave. expire time = 44


ms

[039:597] [2023-06-08 14:05:15 +0000.299018][5c31] ~AndroidHwAvcEncoder


time:183473818 enter.

[039:597] [2023-06-08 14:05:15 +0000.299172][5c31] Release time:183473818 enter.

[039:597] [2023-06-08 14:05:15 +0000.299224][5c31] Release:


MediaCodecVideoEncoder:: has been released before, just return
[039:597] [2023-06-08 14:05:15 +0000.299261][5c31] Release leave. expire time = 0
ms

[039:597] [2023-06-08 14:05:15 +0000.299295][5c31] ~AndroidMediaCodecVideoEncoder


[039:597] [2023-06-08 14:05:15 +0000.299328][5c31] ~WrapAndroidMediaCodec
time:183473818 enter.

[039:597] [2023-06-08 14:05:15 +0000.299363][5c31] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[039:597] [2023-06-08 14:05:15 +0000.299397][5c31] video hevc hw codec


destructor:0xb40000745015ed90

[039:598] [2023-06-08 14:05:15 +0000.299448][5c31] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[039:598] [2023-06-08 14:05:15 +0000.300328][5c31] teardownCompressionSession:


H264Encode::destroyed Encoder
[039:599] [2023-06-08 14:05:15 +0000.300472][5c31]
RecordingSessionInternalSimple:destroy aac encoder output!
[039:599] [2023-06-08 14:05:15 +0000.300516][5c31] AACSWEncode destructor
[039:614] [2023-06-08 14:05:15 +0000.315886][5ccb] MP4 close file successfully
[039:614] [2023-06-08 14:05:15 +0000.316018][5ccb] Recording session Internal:
notify recording ok
[039:614] [2023-06-08 14:05:15 +0000.316064][5ccb] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_1686233075456/
record_video_183472707.mp4
[039:614] [2023-06-08 14:05:15 +0000.316109][5ccb] OnRecordFinish:
[039:615] [2023-06-08 14:05:15 +0000.317023][5c32] DestroyPipelineAndFilters
time:183473836 enter.

[039:616] [2023-06-08 14:05:15 +0000.318413][5c32] UnbindInputFilter


0xb400007510178590 this 0xb400007540444b40
[039:617] [2023-06-08 14:05:15 +0000.318515][5c32] UnbindInputFilter
0xb400007540444b40 this 0xb4000074e017f948
[039:617] [2023-06-08 14:05:15 +0000.318553][5c32] filter: filter pipeline destroy
this: 0xb4000074e017f8b0
[039:617] [2023-06-08 14:05:15 +0000.318661][5c32] ClearVideoOfSources: recodring
total frames:19
[039:617] [2023-06-08 14:05:15 +0000.318708][5c32] ClearVideoOfSources:
[039:617] [2023-06-08 14:05:15 +0000.318744][5c32] GPUImageProcessing destruct.
[039:617] [2023-06-08 14:05:15 +0000.318791][5c32] destroy TrivalImageDrawer
0xb4000074f0153370
[039:617] [2023-06-08 14:05:15 +0000.318828][5c32] The shader has been initialize,
clean up them.

[039:617] [2023-06-08 14:05:15 +0000.319267][5c32] ~OpenGLFrameBuffer:


[039:617] [2023-06-08 14:05:15 +0000.319387][5c32] ~OpenGLFrameBuffer:
[039:618] [2023-06-08 14:05:15 +0000.319522][5c32] ~OpenGLFrameBuffer:
[039:618] [2023-06-08 14:05:15 +0000.319629][5c32] ~OpenGLFrameBuffer:
[039:618] [2023-06-08 14:05:15 +0000.319735][5c32] ~OpenGLFrameBuffer:
[039:618] [2023-06-08 14:05:15 +0000.319863][5c32] ~OpenGLFrameBuffer:
[039:619] [2023-06-08 14:05:15 +0000.320550][5c32] GPUImageProcessing destruct
finish.
[039:619] [2023-06-08 14:05:15 +0000.320615][5c32] GPURGBAFrame destruct.
[039:619] [2023-06-08 14:05:15 +0000.320680][5c32] destroy OpenGLRenderProgram
0xb400007540444858
[039:619] [2023-06-08 14:05:15 +0000.320721][5c32] ~CameraSource time:183473840
enter.

[039:619] [2023-06-08 14:05:15 +0000.320757][5c32] ~CameraSource leave. expire


time = 0 ms

[039:620] [2023-06-08 14:05:15 +0000.322392][5c32] DestroyPipelineAndFilters


leave. expire time = 5 ms

[040:102] [2023-06-08 14:05:15 +0000.804253][4474] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[040:102] [2023-06-08 14:05:15 +0000.804317][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[040:102] [2023-06-08 14:05:15 +0000.804402][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[040:103] [2023-06-08 14:05:15 +0000.804833][5c32] MediaFilterCamera, recording
file context:0xb4000074b013d660 input texture:15
[040:103] [2023-06-08 14:05:15 +0000.804929][5c32] construct OpenGLRenderProgram
0xb400007540447c18
[040:103] [2023-06-08 14:05:15 +0000.805014][5c32] CropFilter::SetOrientation
orientation: 90
[040:103] [2023-06-08 14:05:15 +0000.805053][5c32] filter: filter pipeline
construtc this: 0xb4000074e019e0f0
[040:103] [2023-06-08 14:05:15 +0000.805087][5c32] filter: filter pipeline2 update
pattern: 1
[040:103] [2023-06-08 14:05:15 +0000.805123][5c32] CameraSource::source_id_:7
[040:103] [2023-06-08 14:05:15 +0000.805329][5c32] SetPlayLoop: AudioSource
SetPlayLoop 0
[040:103] [2023-06-08 14:05:15 +0000.805392][5c32]
Warning(media_filter_camera.cc:483): seekPos:12470
[040:104] [2023-06-08 14:05:15 +0000.805437][5c32] BindInputFilter
0xb4000075101b0910 this 0xb400007540447f00
[040:104] [2023-06-08 14:05:15 +0000.805493][5c32] BindInputFilter
0xb400007540447f00 this 0xb4000074e019e188
[040:104] [2023-06-08 14:05:15 +0000.805533][5c32] SetParamForFilter time:183474325
enter.

[040:104] [2023-06-08 14:05:15 +0000.805566][5c32] SetParamForFilter: Params video


index is: 6
[040:104] [2023-06-08 14:05:15 +0000.805600][5c32] SetParamForFilter: Params seek
pos is: 6
[040:104] [2023-06-08 14:05:15 +0000.805636][5c32] crop filter video index:6
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness/
movie_mode: 0
[040:104] [2023-06-08 14:05:15 +0000.805672][5c32] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//config.json
[040:104] [2023-06-08 14:05:15 +0000.806007][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806049][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806093][5c32]
exp_des.start:0exp_des.end:2900exp_des.expressionstr:0.5
[040:104] [2023-06-08 14:05:15 +0000.806140][5c32]
exp_des.start:0exp_des.end:2900exp_des.expressionstr:0.5
[040:104] [2023-06-08 14:05:15 +0000.806178][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806214][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806251][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806286][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806321][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806355][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806392][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:104] [2023-06-08 14:05:15 +0000.806429][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:105] [2023-06-08 14:05:15 +0000.806465][5c32]
Warning(parse_template_json.cc:45): json parament no found the parament
[040:105] [2023-06-08 14:05:15 +0000.806498][5c32]
Warning(parse_template_json.cc:95): json parament no found the parament
[040:105] [2023-06-08 14:05:15 +0000.806536][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[040:105] [2023-06-08 14:05:15 +0000.806571][5c32] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//filter.png
[040:105] [2023-06-08 14:05:15 +0000.806606][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[040:105] [2023-06-08 14:05:15 +0000.806641][5c32]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[040:105] [2023-06-08 14:05:15 +0000.807286][5c32] SetParamForFilter leave. expire
time = 1 ms

[040:105] [2023-06-08 14:05:15 +0000.807375][5c32] OnOutputSizeChanged width 1920


height 1080
[040:106] [2023-06-08 14:05:15 +0000.807528][5c32] OpenGLFrameBuffer: width:1920
height:1080
[040:106] [2023-06-08 14:05:15 +0000.807569][5c32] OpenGLFrameBuffer: width:1920
height:1080
[040:106] [2023-06-08 14:05:15 +0000.807642][5c32] OpenGLFrameBuffer: width:1920
height:1080
[040:106] [2023-06-08 14:05:15 +0000.807680][5c32] OpenGLFrameBuffer: width:1920
height:1080
[040:106] [2023-06-08 14:05:15 +0000.807713][5c32] OpenGLFrameBuffer: width:1920
height:1080
[040:106] [2023-06-08 14:05:15 +0000.807751][5c32] OpenGLFrameBuffer: width:1920
height:1080
[040:106] [2023-06-08 14:05:15 +0000.807790][5c32] construct TrivalImageDrawer
0xb4000074f0188290
[040:106] [2023-06-08 14:05:15 +0000.807829][5c32] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb4000074f0188290 context
0xb4000074801cccb0
[040:106] [2023-06-08 14:05:15 +0000.807866][5c32] setupGLES:
[040:106] [2023-06-08 14:05:15 +0000.808199][5c32] OpenGLRenderProgram::Initialize.
[040:106] [2023-06-08 14:05:15 +0000.808251][5c32] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[040:106] [2023-06-08 14:05:15 +0000.808287][5c32] 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
[040:106] [2023-06-08 14:05:15 +0000.808351][5c32] Init open gl render:
0xb400007540447c18
[040:106] [2023-06-08 14:05:15 +0000.808393][5c32] Fragement shader path:
[040:106] [2023-06-08 14:05:15 +0000.808478][5c32] Fragement shader path:
[040:107] [2023-06-08 14:05:15 +0000.808517][5c32] create opengl program object.
[040:107] [2023-06-08 14:05:15 +0000.808562][5c32] create shader: vertex
[040:107] [2023-06-08 14:05:15 +0000.808833][5c32] create shader: fragment
[040:122] [2023-06-08 14:05:15 +0000.824426][5c32] External image path is empty!
[040:123] [2023-06-08 14:05:15 +0000.824567][5c32] Error(crop_filter.cc:464): Init
the image texture failed.
[040:123] [2023-06-08 14:05:15 +0000.824610][5c32] OpenGLRenderProgram::Initialize
success.
[040:123] [2023-06-08 14:05:15 +0000.824687][5c32] Setup the OpenGL result:1
[040:123] [2023-06-08 14:05:15 +0000.824934][5c31] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183474344.mp4
[040:123] [2023-06-08 14:05:15 +0000.825101][5c31] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183474344.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[040:123] [2023-06-08 14:05:15 +0000.825145][5c31] 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
[040:123] [2023-06-08 14:05:15 +0000.825181][5c31] 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.hollowness_168623307
5456/record_video_183474344.mp4 fileFD: -1
[040:123] [2023-06-08 14:05:15 +0000.825373][5cdf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb400007520
[040:124] [2023-06-08 14:05:15 +0000.825515][5c31] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_168623307
5456/record_video_183474344.mp4 is opened successfully
[040:124] [2023-06-08 14:05:15 +0000.825547][5c31] setupMediaProcessers:
[040:124] [2023-06-08 14:05:15 +0000.825571][5c31]
RecordingSessionInternalSimple:setup media processers.
[040:124] [2023-06-08 14:05:15 +0000.825595][5c31] construct AAC encoder
[040:124] [2023-06-08 14:05:15 +0000.825768][5c31] H264Encoder creating:
superfast011818
[040:124] [2023-06-08 14:05:15 +0000.825804][5c31] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[040:125] [2023-06-08 14:05:15 +0000.826440][5c31] H264Encode::GetMachineModel is
SHARK PAR-H0
[040:125] [2023-06-08 14:05:15 +0000.826477][5c31] H264Encoder machine_mode
is:SHARK PAR-H0
[040:125] [2023-06-08 14:05:15 +0000.826500][5c31] setupCompressionSession:
[040:125] [2023-06-08 14:05:15 +0000.826523][5c31] H264Encode::creating hareware
Encoder
[040:125] [2023-06-08 14:05:15 +0000.826547][5c31] AndroidHwAvcEncoder
time:183474346 enter.

[040:125] [2023-06-08 14:05:15 +0000.826672][5c31] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000075101160d0 address:0x732427e050
[040:125] [2023-06-08 14:05:15 +0000.826760][5c31] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[040:125] [2023-06-08 14:05:15 +0000.826791][5c31] The video avc hw codec address
is 0xb400007450148b10
[040:125] [2023-06-08 14:05:15 +0000.826844][5c31] AndroidHwAvcEncoder leave.
expire time = 0 ms

[040:125] [2023-06-08 14:05:15 +0000.826875][5c31] RegisterEncodeCompleteCallback


time:183474346 enter.

[040:125] [2023-06-08 14:05:15 +0000.826949][5c31] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[040:125] [2023-06-08 14:05:15 +0000.826986][5c31] InitEncode time:183474346


enter.

[040:125] [2023-06-08 14:05:15 +0000.827050][5c31] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[040:125] [2023-06-08 14:05:15 +0000.827086][5c31] Create time:183474346 enter.

[040:125] [2023-06-08 14:05:15 +0000.827111][5c31] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[040:125] [2023-06-08 14:05:15 +0000.827140][5c31]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb4000074d017fcd0
[040:125] [2023-06-08 14:05:15 +0000.827244][5c31]
supported_type:image/vnd.android.heic
[040:125] [2023-06-08 14:05:15 +0000.827288][5c31] supported_type:video/avc
[040:125] [2023-06-08 14:05:15 +0000.827317][5c31] name:OMX.qcom.video.encoder.avc
mime:video/avc
[040:125] [2023-06-08 14:05:15 +0000.827389][5c31] hwCodecPrefix :OMX.qcom.
[040:125] [2023-06-08 14:05:15 +0000.827419][5c31] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[040:126] [2023-06-08 14:05:15 +0000.827448][5c31] mediacodec_createCodecByName
time:183474347 enter.

[040:126] [2023-06-08 14:05:15 +0000.827473][5c31] WrapAndroidMediaCodec


time:183474347 enter.

[040:126] [2023-06-08 14:05:15 +0000.827558][5c31] WrapAndroidMediaCodec leave.


expire time = 0 ms

[040:155] [2023-06-08 14:05:15 +0000.857330][5c31] mediacodec_createCodecByName


leave. expire time = 29 ms

[040:156] [2023-06-08 14:05:15 +0000.857517][5c31] WrapAndroidMediaFromat


time:183474377 enter.

[040:156] [2023-06-08 14:05:15 +0000.857636][5c31] WrapAndroidMediaFromat leave.


expire time = 0 ms

[040:164] [2023-06-08 14:05:15 +0000.865473][5c33]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[040:203] [2023-06-08 14:05:15 +0000.905290][5c31] Destroy time:183474424 enter.

[040:203] [2023-06-08 14:05:15 +0000.905422][5c31] WrapAndroidMediaFromat::


Destroy
[040:204] [2023-06-08 14:05:15 +0000.905467][5c31] Destroy leave. expire time = 1
ms

[040:204] [2023-06-08 14:05:15 +0000.905504][5c31] ~WrapAndroidMediaFromat


time:183474425 enter.

[040:204] [2023-06-08 14:05:15 +0000.905542][5c31] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[040:204] [2023-06-08 14:05:15 +0000.905581][5c31] Create leave. expire time = 79


ms

[040:204] [2023-06-08 14:05:15 +0000.905617][5c31] isSemiPlanarSupport


time:183474425 enter.

[040:204] [2023-06-08 14:05:15 +0000.905652][5c31] H264Encoder isSemiPlanarSupport


[040:204] [2023-06-08 14:05:15 +0000.905687][5c31] isSemiPlanarSupport leave.
expire time = 0 ms

[040:204] [2023-06-08 14:05:15 +0000.905722][5c31] creat hw H264Encoder success,


isSemiPlanar:1
[040:204] [2023-06-08 14:05:15 +0000.905873][5c31] InitEncode leave. expire time =
79 ms

[040:204] [2023-06-08 14:05:15 +0000.905917][5c31] H264Encode::created Encoder


[040:204] [2023-06-08 14:05:15 +0000.905949][5c31] H264Encode:: H264 encoder
created.
[040:204] [2023-06-08 14:05:15 +0000.905980][5c31] H264 encoder created.
[040:204] [2023-06-08 14:05:15 +0000.906013][5c31]
RecordingSessionInternalSimple:created avc encoder avc: 0xb4000075001621f0
[040:204] [2023-06-08 14:05:15 +0000.906050][5c31] setOutput:
[040:204] [2023-06-08 14:05:15 +0000.906086][5c31]
RecordingSessionInternalSimple:encoder set output to muxer!
[040:204] [2023-06-08 14:05:15 +0000.906121][5c31] request a key frame
[040:204] [2023-06-08 14:05:15 +0000.906154][5c31] H264Encode:: request a key frame
[040:205] [2023-06-08 14:05:15 +0000.906486][5c32] Start:
[040:205] [2023-06-08 14:05:15 +0000.906692][5c35] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[040:205] [2023-06-08 14:05:15 +0000.906767][5c35] Reset: history total size: 98
[040:205] [2023-06-08 14:05:15 +0000.906812][5c35] DeviceStart:
audioDevice_:0xb4000075c01d0d50
[040:205] [2023-06-08 14:05:15 +0000.906849][5c35] DeviceStart: time profile
playout init before
[040:205] [2023-06-08 14:05:15 +0000.906889][5c35] DeviceStart: time profile
playout init end
[040:205] [2023-06-08 14:05:15 +0000.906923][5c35] OpenSlesOutput:Start playout

[040:208] [2023-06-08 14:05:15 +0000.909957][5c35] Create the opensl output player.


streamtype before:0

[040:208] [2023-06-08 14:05:15 +0000.910030][5c35] Create the opensl output player.


streamtype after:3

[040:235] [2023-06-08 14:05:15 +0000.937251][5c35] Enqueue opensl buffer size:1764


[040:237] [2023-06-08 14:05:15 +0000.938915][5c33]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[040:277] [2023-06-08 14:05:15 +0000.979023][5c35] DeviceStart: time profile
playout all end
[040:277] [2023-06-08 14:05:15 +0000.979381][5c35] operator(): Audio playback
started.
[040:279] [2023-06-08 14:05:15 +0000.980526][5ce6] NeedMorePlayData: Scale the
volume to zero now!
[040:291] [2023-06-08 14:05:15 +0000.992991][5c32] begine recode to first frame
spend time:188
[040:291] [2023-06-08 14:05:15 +0000.993121][5c32] add frame because frame
interval.
[040:291] [2023-06-08 14:05:15 +0000.993154][5c32]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[040:291] [2023-06-08 14:05:15 +0000.993175][5c32]
GPUImageProcessing::SetOrientation orientation: 90
[040:292] [2023-06-08 14:05:15 +0000.993745][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540447c18
[040:303] [2023-06-08 14:05:16 +0000.5056][5c32] drawYUV420 render
OpenGLRenderProgram:0xb400007540447c18
[040:309] [2023-06-08 14:05:16 +0000.10981][5c33] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.hollowness//bgm.mp3
sync_mode: 1 seek_pos: 12470 delay: 0 this:0xb400007540432280
[040:316] [2023-06-08 14:05:16 +0000.17805][5cde]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[040:335] [2023-06-08 14:05:16 +0000.37257][5cda] FFMpeg=> [mp3 @
0xb4000075501d3880] Current FFmpeg version git-2021-06-16-97cea6f

[040:336] [2023-06-08 14:05:16 +0000.38234][5c32] drawYUV420 render


OpenGLRenderProgram:0xb400007540447c18
[040:359] [2023-06-08 14:05:16 +0000.61136][5cdb] success seekto avformat_seek_file
to: 12470000
[040:359] [2023-06-08 14:05:16 +0000.61276][5cdb] Drop one audio frame for seekto,
pkt_dts 175779072 audio_seek_pos_: 12470000
[040:362] [2023-06-08 14:05:16 +0000.63542][5c35] First audio frame rendering
[040:364] [2023-06-08 14:05:16 +0000.66252][5cdf] add aac audio track with id:1
[040:372] [2023-06-08 14:05:16 +0000.74423][5cdf] audio start ts:0
[040:373] [2023-06-08 14:05:16 +0000.74535][5cdf] the audio frame has been written
into MP4 file
[040:409] [2023-06-08 14:05:16 +0000.110597][5cde] h264 add frame header cdr flag
[040:410] [2023-06-08 14:05:16 +0000.112050][5cde] h264 add frame header cdr flag
[040:412] [2023-06-08 14:05:16 +0000.113618][5cde] Received key frame:0
[040:412] [2023-06-08 14:05:16 +0000.113678][5cde] H264Encode:: get a sps pps
header!headerSize:32
[040:412] [2023-06-08 14:05:16 +0000.113869][5cdf] get the H.264 SPS parameter
[040:412] [2023-06-08 14:05:16 +0000.114080][5cdf] add video track with id:2
[040:415] [2023-06-08 14:05:16 +0000.117120][5cdf] get the H.264 PPS parameter
[040:417] [2023-06-08 14:05:16 +0000.119025][5cdf] get the H.264 IDR frame
[040:417] [2023-06-08 14:05:16 +0000.119152][5cdf] resss:true
[040:417] [2023-06-08 14:05:16 +0000.119184][5cdf] video start ts:0
[040:417] [2023-06-08 14:05:16 +0000.119298][5cdf] the video frame has been written
into MP4 file
[040:436] [2023-06-08 14:05:16 +0000.137796][5c32] The convert RGB to YUV take 4
[040:674] [2023-06-08 14:05:16 +0000.375454][5c32] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[040:674] [2023-06-08 14:05:16 +0000.375540][5c32] GPUImageProcessing: input frame
width2160 X 3840
[040:674] [2023-06-08 14:05:16 +0000.375930][5c32] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[040:674] [2023-06-08 14:05:16 +0000.376008][5c32] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[040:681] [2023-06-08 14:05:16 +0000.383038][5cde] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:333 pts:333
[040:698] [2023-06-08 14:05:16 +0000.399889][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[040:733] [2023-06-08 14:05:16 +0000.435183][5c32] CameraSource::PushExtraFrame
pkt_dts: 467, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb4000075101b07d0
[040:804] [2023-06-08 14:05:16 +0000.505823][5cde] DTS queue for
Generator:0xb4000075201a8288 467 500
[040:942] [2023-06-08 14:05:16 +0000.643648][5c32] The convert RGB to YUV take 5
[040:975] [2023-06-08 14:05:16 +0000.677024][5cde] Push an pts:667 to dts queue.
[040:989] [2023-06-08 14:05:16 +0000.690620][5ce6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[041:012] [2023-06-08 14:05:16 +0000.713844][5cde] SendFrame
encodedImage._timeStamp:667encodedImage->_length:132224
[041:012] [2023-06-08 14:05:16 +0000.714001][5cde] last dts:633 currentPts:667
ppsOrSPS:0 queue length:2
[041:110] [2023-06-08 14:05:16 +0000.812326][5cde] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:800
[041:111] [2023-06-08 14:05:16 +0000.812501][5cde] push video frame to H264
encoder. (100 frame for one log)

[041:111] [2023-06-08 14:05:16 +0000.812566][5cde] push video frame to H264


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

[041:111] [2023-06-08 14:05:16 +0000.812605][5cde] H264Encode::push video frame to


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

[041:111] [2023-06-08 14:05:16 +0000.812655][5cde] The input pts:800 fps:30


[041:149] [2023-06-08 14:05:16 +0000.851212][5cde] H264Encode::H264SWEncoder get
callback, length:124304 type:1 nalType:1length:124300
[041:202] [2023-06-08 14:05:16 +0000.904017][5c32] CropFilter::OnVideoFrame
outputtexture :22
[041:202] [2023-06-08 14:05:16 +0000.904165][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[041:201] [2023-06-08 14:05:16 +0000.904253][58b9] video render surface render a
frame
[041:438] [2023-06-08 14:05:17 +0000.140480][5c32] The convert RGB to YUV take 4
[041:648] [2023-06-08 14:05:17 +0000.349786][5cde] DTS queue for
Generator:0xb4000075201a8288 1300 1333
[041:703] [2023-06-08 14:05:17 +0000.404862][5c32] CameraSource::PushExtraFrame
pkt_dts: 1433, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb4000075101b07d0
[041:704] [2023-06-08 14:05:17 +0000.405619][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[041:770] [2023-06-08 14:05:17 +0000.471699][5c32] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6980 diff: 21
[041:942] [2023-06-08 14:05:17 +0000.643804][5c32] The convert RGB to YUV take 5
[042:026] [2023-06-08 14:05:17 +0000.728095][5ce6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[042:034] [2023-06-08 14:05:17 +0000.736011][5c33] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[042:050] [2023-06-08 14:05:17 +0000.751901][5c35] The audio playback speed:100
(1/100)
[042:050] [2023-06-08 14:05:17 +0000.752013][5c35] lipsync_debug: The current
played audio timestamp is:1871(1/50)
[042:207] [2023-06-08 14:05:17 +0000.909230][58b9] video render surface render a
frame
[042:208] [2023-06-08 14:05:17 +0000.909779][5c32] CropFilter::OnVideoFrame
outputtexture :22
[042:208] [2023-06-08 14:05:17 +0000.909857][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[042:304] [2023-06-08 14:05:18 +0000.6009][5cdb] av_read_frame AVERROR_EOF
[042:305] [2023-06-08 14:05:18 +0000.6731][5cde] Push an pts:2000 to dts queue.
[042:305] [2023-06-08 14:05:18 +0000.6744][5cdb] OnReceiveEOF:
[042:305] [2023-06-08 14:05:18 +0000.6890][5cdb] OnDecoderFinished:
[042:344] [2023-06-08 14:05:18 +0000.46353][5cde] h264 add frame header cdr flag
[042:345] [2023-06-08 14:05:18 +0000.46903][5cde] Received key frame:2000
[042:345] [2023-06-08 14:05:18 +0000.46990][5cde] last dts:1967 currentPts:2000
ppsOrSPS:0 queue length:2
[042:381] [2023-06-08 14:05:18 +0000.83406][5cdf] get the H.264 IDR frame
[042:436] [2023-06-08 14:05:18 +0000.137571][5c32] The convert RGB to YUV take 3
[042:440] [2023-06-08 14:05:18 +0000.141605][5cde] DTS queue for
Generator:0xb4000075201a8288 2133
[042:666] [2023-06-08 14:05:18 +0000.367455][5c32] CameraSource::PushExtraFrame
pkt_dts: 2400, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb4000075101b07d0
[042:702] [2023-06-08 14:05:18 +0000.403611][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[042:866] [2023-06-08 14:05:18 +0000.568368][5c33] PullAudioFrame: PullFrame audio
finished.
[042:867] [2023-06-08 14:05:18 +0000.568618][5c33]
Warning(media_filter_camera.cc:428): media pull audio frame EOF, so need stop
Timer!
[042:938] [2023-06-08 14:05:18 +0000.639475][5c32] The convert RGB to YUV take 4
[042:993] [2023-06-08 14:05:18 +0000.694916][5ce6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[043:205] [2023-06-08 14:05:18 +0000.906594][58b9] video render surface render a
frame
[043:205] [2023-06-08 14:05:18 +0000.907151][5c32] CropFilter::OnVideoFrame
outputtexture :22
[043:205] [2023-06-08 14:05:18 +0000.907270][5c32] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[043:244] [2023-06-08 14:05:18 +0000.945481][5c35] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[043:244] [2023-06-08 14:05:18 +0000.945659][5c32] OnNeedStopRecording:
[043:244] [2023-06-08 14:05:18 +0000.946268][4474]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[043:246] [2023-06-08 14:05:18 +0000.948011][5c32] operator(): Stop
[043:246] [2023-06-08 14:05:18 +0000.948287][5c32] Stop:
[043:246] [2023-06-08 14:05:18 +0000.948373][5c35] DeviceStop:
audioDevice_:0xb4000075c01d0d50
[043:246] [2023-06-08 14:05:18 +0000.948402][5c35] OpenSlesOutput:Stop playout

[043:249] [2023-06-08 14:05:18 +0000.950486][5c35] DeviceStop: Done


[043:249] [2023-06-08 14:05:18 +0000.950581][5c35] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[043:253] [2023-06-08 14:05:18 +0000.955404][5cde]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[043:257] [2023-06-08 14:05:18 +0000.958771][5c31] stop recording
[043:257] [2023-06-08 14:05:18 +0000.958836][5c31]
RecordingSessionInternalSimple:destroy media processers
[043:257] [2023-06-08 14:05:18 +0000.958860][5c31] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[043:257] [2023-06-08 14:05:18 +0000.958880][5c31] H264Encode::flushing hareware
Encoder
[043:257] [2023-06-08 14:05:18 +0000.959006][5c31] Flush time:183477478 enter.

[043:257] [2023-06-08 14:05:18 +0000.959050][5c31] H264Encoder encoder flush


[043:257] [2023-06-08 14:05:18 +0000.959073][5c31] flush output queue
[043:574] [2023-06-08 14:05:19 +0000.275710][5c31] Flush leave. expire time = 317
ms

[043:574] [2023-06-08 14:05:19 +0000.275947][5c31] ~H264EncodeWrap:


[043:574] [2023-06-08 14:05:19 +0000.276000][5c31] ~H264Encode:
[043:574] [2023-06-08 14:05:19 +0000.276037][5c31] teardownCompressionSession:
H264Encode::destroying Encoder
[043:574] [2023-06-08 14:05:19 +0000.276077][5c31] Release time:183477795 enter.

[043:574] [2023-06-08 14:05:19 +0000.276269][5c31] Release:


MediaCodecVideoEncoder::Release _inited:1
[043:574] [2023-06-08 14:05:19 +0000.276331][5c31] Destroy time:183477795 enter.

[043:574] [2023-06-08 14:05:19 +0000.276371][5c31] H264Encoder encoderDestroy


[043:574] [2023-06-08 14:05:19 +0000.276410][5c31]
AndroidMediaCodecVideoEncoder::release env: 0xb4000075001b2210
[043:575] [2023-06-08 14:05:19 +0000.276484][5c31]
AndroidMediaCodecVideoEncoder::Destroy
[043:611] [2023-06-08 14:05:19 +0000.312841][5c31] Destroy leave. expire time = 37
ms

[043:611] [2023-06-08 14:05:19 +0000.313070][5c31] Release leave. expire time = 37


ms

[043:611] [2023-06-08 14:05:19 +0000.313118][5c31] ~AndroidHwAvcEncoder


time:183477832 enter.

[043:611] [2023-06-08 14:05:19 +0000.313303][5c31] Release time:183477832 enter.

[043:611] [2023-06-08 14:05:19 +0000.313387][5c31] Release:


MediaCodecVideoEncoder:: has been released before, just return
[043:611] [2023-06-08 14:05:19 +0000.313427][5c31] Release leave. expire time = 1
ms

[043:612] [2023-06-08 14:05:19 +0000.313464][5c31] ~AndroidMediaCodecVideoEncoder


[043:612] [2023-06-08 14:05:19 +0000.313499][5c31] ~WrapAndroidMediaCodec
time:183477833 enter.

[043:612] [2023-06-08 14:05:19 +0000.313540][5c31] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[043:612] [2023-06-08 14:05:19 +0000.313577][5c31] video hevc hw codec


destructor:0xb400007450148b10

[043:612] [2023-06-08 14:05:19 +0000.313633][5c31] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[043:613] [2023-06-08 14:05:19 +0000.314834][5c31] teardownCompressionSession:


H264Encode::destroyed Encoder
[043:613] [2023-06-08 14:05:19 +0000.315152][5c31]
RecordingSessionInternalSimple:destroy aac encoder output!
[043:613] [2023-06-08 14:05:19 +0000.315283][5c31] AACSWEncode destructor
[043:623] [2023-06-08 14:05:19 +0000.325045][5cdf] MP4 close file successfully
[043:623] [2023-06-08 14:05:19 +0000.325217][5cdf] Recording session Internal:
notify recording ok
[043:623] [2023-06-08 14:05:19 +0000.325261][5cdf] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.hollowness_1686233075456/
record_video_183474344.mp4
[043:623] [2023-06-08 14:05:19 +0000.325303][5cdf] OnRecordFinish:
[043:624] [2023-06-08 14:05:19 +0000.326421][5c32] DestroyPipelineAndFilters
time:183477845 enter.

[043:625] [2023-06-08 14:05:19 +0000.326951][5c32] UnbindInputFilter


0xb4000075101b0910 this 0xb400007540447f00
[043:625] [2023-06-08 14:05:19 +0000.327014][5c32] UnbindInputFilter
0xb400007540447f00 this 0xb4000074e019e188
[043:625] [2023-06-08 14:05:19 +0000.327046][5c32] filter: filter pipeline destroy
this: 0xb4000074e019e0f0
[043:625] [2023-06-08 14:05:19 +0000.327186][5c32] ClearVideoOfSources: recodring
total frames:90
[043:625] [2023-06-08 14:05:19 +0000.327230][5c32] ClearVideoOfSources:
[043:625] [2023-06-08 14:05:19 +0000.327260][5c32] GPUImageProcessing destruct.
[043:625] [2023-06-08 14:05:19 +0000.327303][5c32] destroy TrivalImageDrawer
0xb4000074f0188290
[043:625] [2023-06-08 14:05:19 +0000.327343][5c32] The shader has been initialize,
clean up them.

[043:626] [2023-06-08 14:05:19 +0000.327792][5c32] ~OpenGLFrameBuffer:


[043:626] [2023-06-08 14:05:19 +0000.327932][5c32] ~OpenGLFrameBuffer:
[043:626] [2023-06-08 14:05:19 +0000.328041][5c32] ~OpenGLFrameBuffer:
[043:626] [2023-06-08 14:05:19 +0000.328163][5c32] ~OpenGLFrameBuffer:
[043:626] [2023-06-08 14:05:19 +0000.328272][5c32] ~OpenGLFrameBuffer:
[043:627] [2023-06-08 14:05:19 +0000.328719][5c32] ~OpenGLFrameBuffer:
[043:627] [2023-06-08 14:05:19 +0000.328946][5c32] GPUImageProcessing destruct
finish.
[043:627] [2023-06-08 14:05:19 +0000.328994][5c32] GPURGBAFrame destruct.
[043:627] [2023-06-08 14:05:19 +0000.329050][5c32] destroy OpenGLRenderProgram
0xb400007540447c18
[043:627] [2023-06-08 14:05:19 +0000.329084][5c32] ~CameraSource time:183477848
enter.

[043:627] [2023-06-08 14:05:19 +0000.329111][5c32] ~CameraSource leave. expire


time = 0 ms

[043:628] [2023-06-08 14:05:19 +0000.330336][5c32] DestroyPipelineAndFilters


leave. expire time = 4 ms

[052:625] [2023-06-08 14:05:28 +0000.327216][4499]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[052:626] [2023-06-08 14:05:28 +0000.327458][4499] ~MediaFilterCamera
time:183486847 enter.

[052:626] [2023-06-08 14:05:28 +0000.327658][4499] Stop:


[052:626] [2023-06-08 14:05:28 +0000.327763][5c35] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[052:626] [2023-06-08 14:05:28 +0000.328129][5c31] stop recording
[052:626] [2023-06-08 14:05:28 +0000.328164][5c31] we have stopped recording before
[052:626] [2023-06-08 14:05:28 +0000.328217][4499] Stop:
[052:626] [2023-06-08 14:05:28 +0000.328292][5c35] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[052:626] [2023-06-08 14:05:28 +0000.328413][4499] DeviceRelease:
audioDevice_:0xb4000075c01d0d50
[052:627] [2023-06-08 14:05:28 +0000.328518][4499] OpenSlesOutput:Stop playout

[052:627] [2023-06-08 14:05:28 +0000.328568][4499] DeviceRelease: Release the


webrtc device object.
[052:627] [2023-06-08 14:05:28 +0000.328792][4499] OpenSlesOutput destruct.
[052:627] [2023-06-08 14:05:28 +0000.328850][4499] DeviceRelease: Done
[052:629] [2023-06-08 14:05:28 +0000.330916][4499] DestroyPipelineAndFilters
time:183486850 enter.

[052:629] [2023-06-08 14:05:28 +0000.330998][4499] DestroyPipelineAndFilters


leave. expire time = 0 ms

[052:629] [2023-06-08 14:05:28 +0000.331018][4499] ~MediaFilterCamera leave.


expire time = 3 ms

[052:629] [2023-06-08 14:05:28 +0000.331132][4499] ~GLESContext:


[052:631] [2023-06-08 14:05:28 +0000.333278][4499] GLESContext destruct finish.
[052:631] [2023-06-08 14:05:28 +0000.333381][4499] ~RecordingSessionInternalSimple:
R[000:042] [2023-07-13 09:16:22 +0000.16015][7c00] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-07-
13 09:16:22 +0000
[000:042] [2023-07-13 09:16:22 +0000.16083][7c00] dump file m_prefix:-07-27-feaf968

[000:044] [2023-07-13 09:16:22 +0000.17447][7c00] dump filename:trace.txt dump


time:1686233128

[000:044] [2023-07-13 09:16:22 +0000.17586][7c00] set AppID=123 old AppID=-1


[000:044] [2023-07-13 09:16:22 +0000.17614][7c00] Init the android object with
jvm:0xb40000725fab9110 env:0xb40000724faf5c50 context:0x7102a8a2e8

[000:044] [2023-07-13 09:16:22 +0000.17641][7c00] SetAndroidMediaCodecObjects


time:12369236 enter.

[000:044] [2023-07-13 09:16:22 +0000.17664][7c00] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:044] [2023-07-13 09:16:22 +0000.17688][7c00] SetAndroidMediaCodecObjects


time:12369236 enter.

[000:044] [2023-07-13 09:16:22 +0000.17710][7c00] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000725fab9110
[000:044] [2023-07-13 09:16:22 +0000.17735][7c00] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000725fab9110 address:0x70706af050
[000:044] [2023-07-13 09:16:22 +0000.17759][7c00] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000725fab9110
address:0x70706af050
[000:044] [2023-07-13 09:16:22 +0000.17781][7c00] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:044] [2023-07-13 09:16:22 +0000.17815][7c00] Set the android objects with


jvm:0xb40000725fab9110 env:0xb40000724faf5c50 context:0x7102a8a2e8

[000:046] [2023-07-13 09:16:22 +0000.20261][7c00] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0xb40000724faf5c50
[000:046] [2023-07-13 09:16:22 +0000.20325][7c00] SystemUtil Init done
[000:069] [2023-07-13 09:16:22 +0000.42615][7c00]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:069] [2023-07-13 09:16:22 +0000.43110][7c00]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:070] [2023-07-13 09:16:22 +0000.43466][7c00] machine model :blackshark
[000:070] [2023-07-13 09:16:22 +0000.43514][7c00] Support this machine
model :blackshark
[000:073] [2023-07-13 09:16:22 +0000.46528][7c00] MediaFilterCamera
[000:073] [2023-07-13 09:16:22 +0000.46585][7c00] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:073] [2023-07-13 09:16:22 +0000.46676][7c00] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:073] [2023-07-13 09:16:22 +0000.46707][7c00] Recording session using default
bitrate support by app:31457280
[000:073] [2023-07-13 09:16:22 +0000.46718][2994] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb40000727f
[000:073] [2023-07-13 09:16:22 +0000.46954][2994] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:073] [2023-07-13 09:16:22 +0000.47027][7c00] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:074] [2023-07-13 09:16:22 +0000.47881][7c00] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:074] [2023-07-13 09:16:22 +0000.48065][7c00] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:074] [2023-07-13 09:16:22 +0000.48129][7c00] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:074] [2023-07-13 09:16:22 +0000.48232][7c00] DeviceInit:
[000:076] [2023-07-13 09:16:22 +0000.49409][7c00] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:076] [2023-07-13 09:16:22 +0000.49679][7c00] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:076] [2023-07-13 09:16:22 +0000.50104][7c00] CreatePlatformSpecificObjects:
[000:076] [2023-07-13 09:16:22 +0000.50189][7c00] audio device use null audio
input and opensl output
[000:076] [2023-07-13 09:16:22 +0000.50213][7c00] Create OpenSLES output module
with java VM support.

[000:076] [2023-07-13 09:16:22 +0000.50294][7c00] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:077] [2023-07-13 09:16:22 +0000.50549][7c00] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:077] [2023-07-13 09:16:22 +0000.50692][7c00] Create OpenSLES output module
with buffer num:2

[000:077] [2023-07-13 09:16:22 +0000.50782][7c00] Error(trace.cc:40): Init the


output and input for audio device template.
[000:077] [2023-07-13 09:16:22 +0000.50805][7c00] Init the output device.

[000:077] [2023-07-13 09:16:22 +0000.50828][7c00] Set the playout as stereo:1


[000:077] [2023-07-13 09:16:22 +0000.50851][7c00] Set the sample rate to be:44100

[000:080] [2023-07-13 09:16:22 +0000.53747][7c00] Low latency buffer size:192 low


sample rate:48000
[000:080] [2023-07-13 09:16:22 +0000.53830][7c00] DeviceInit: Done
[000:087] [2023-07-13 09:16:22 +0000.60741][7c00] global inited! current sdk
version: 07-27-feaf968
[000:397] [2023-07-13 09:16:22 +0000.370936][a8c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:397] [2023-07-13 09:16:22 +0000.371006][a8c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
17, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices
len: 32, texture_vertices len: 32
[000:398] [2023-07-13 09:16:22 +0000.371513][a8c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:398] [2023-07-13 09:16:22 +0000.371666][2995] MediaFilterCamera, recording
file context:0xb4000071ffad8350 input texture:17
[000:398] [2023-07-13 09:16:22 +0000.371730][2995] GLESContext:
[000:398] [2023-07-13 09:16:22 +0000.371846][2995] The result of eglGetDisplay is:
0xb40000724faf5410
[000:400] [2023-07-13 09:16:22 +0000.373848][2995] The result of creation:
0xb4000071ffb06c10
[000:400] [2023-07-13 09:16:22 +0000.374007][2995] The result of
eglCreatePbufferSurface is: 0xb4000071ffb126d0
[000:400] [2023-07-13 09:16:22 +0000.374164][a8c]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0xb4000071ffad8350 input_texture: 17
[018:431] [2023-07-13 09:16:40 +0000.404767][7be4] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[018:431] [2023-07-13 09:16:40 +0000.404931][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[018:432] [2023-07-13 09:16:40 +0000.405986][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[018:434] [2023-07-13 09:16:40 +0000.407380][2995] MediaFilterCamera, recording
file context:0xb4000071ffad8350 input texture:17
[018:434] [2023-07-13 09:16:40 +0000.407451][2995] construct OpenGLRenderProgram
0xb40000728fc892e8
[018:434] [2023-07-13 09:16:40 +0000.407493][2995] CropFilter::SetOrientation
orientation: 90
[018:434] [2023-07-13 09:16:40 +0000.407531][2995] filter: filter pipeline
construtc this: 0xb40000722fb07cb0
[018:434] [2023-07-13 09:16:40 +0000.407552][2995] filter: filter pipeline2 update
pattern: 1
[018:434] [2023-07-13 09:16:40 +0000.407616][2995] CameraSource::source_id_:1
[018:434] [2023-07-13 09:16:40 +0000.408095][2995] SetPlayLoop: AudioSource
SetPlayLoop 0
[018:436] [2023-07-13 09:16:40 +0000.410299][2995]
Warning(media_filter_camera.cc:483): seekPos:500
[018:437] [2023-07-13 09:16:40 +0000.410372][2995] BindInputFilter
0xb40000725fb33a50 this 0xb40000728fc895d0
[018:437] [2023-07-13 09:16:40 +0000.410411][2995] BindInputFilter
0xb40000728fc895d0 this 0xb40000722fb07d48
[018:437] [2023-07-13 09:16:40 +0000.410450][2995] SetParamForFilter time:12387629
enter.

[018:437] [2023-07-13 09:16:40 +0000.410471][2995] SetParamForFilter: Params video


index is: 0
[018:437] [2023-07-13 09:16:40 +0000.410490][2995] SetParamForFilter: Params seek
pos is: 0
[018:437] [2023-07-13 09:16:40 +0000.410509][2995] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.artslow/
movie_mode: 0
[018:437] [2023-07-13 09:16:40 +0000.410530][2995] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//config.json
[018:437] [2023-07-13 09:16:40 +0000.411078][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:437] [2023-07-13 09:16:40 +0000.411106][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:437] [2023-07-13 09:16:40 +0000.411131][2995]
exp_des.start:0exp_des.end:1330exp_des.expressionstr:0.5
[018:437] [2023-07-13 09:16:40 +0000.411158][2995]
exp_des.start:0exp_des.end:1330exp_des.expressionstr:0.5
[018:437] [2023-07-13 09:16:40 +0000.411178][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:437] [2023-07-13 09:16:40 +0000.411197][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:437] [2023-07-13 09:16:40 +0000.411216][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:437] [2023-07-13 09:16:40 +0000.411238][2995]
exp_des.start:0exp_des.end:1330exp_des.expressionstr:0.75
[018:437] [2023-07-13 09:16:40 +0000.411260][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:437] [2023-07-13 09:16:40 +0000.411278][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:437] [2023-07-13 09:16:40 +0000.411297][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:437] [2023-07-13 09:16:40 +0000.411316][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:438] [2023-07-13 09:16:40 +0000.411334][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[018:438] [2023-07-13 09:16:40 +0000.411353][2995]
Warning(parse_template_json.cc:95): json parament no found the parament
[018:438] [2023-07-13 09:16:40 +0000.411373][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[018:438] [2023-07-13 09:16:40 +0000.411397][2995] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//filter.png
[018:438] [2023-07-13 09:16:40 +0000.411416][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[018:438] [2023-07-13 09:16:40 +0000.411435][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[018:447] [2023-07-13 09:16:40 +0000.420388][2995] SetParamForFilter leave. expire
time = 10 ms

[018:447] [2023-07-13 09:16:40 +0000.420562][2995] OnOutputSizeChanged width 1920


height 1080
[018:447] [2023-07-13 09:16:40 +0000.420586][2995] OpenGLFrameBuffer: width:1920
height:1080
[018:447] [2023-07-13 09:16:40 +0000.420606][2995] OpenGLFrameBuffer: width:1920
height:1080
[018:447] [2023-07-13 09:16:40 +0000.420623][2995] OpenGLFrameBuffer: width:1920
height:1080
[018:447] [2023-07-13 09:16:40 +0000.420641][2995] OpenGLFrameBuffer: width:1920
height:1080
[018:447] [2023-07-13 09:16:40 +0000.420659][2995] OpenGLFrameBuffer: width:1920
height:1080
[018:447] [2023-07-13 09:16:40 +0000.420676][2995] OpenGLFrameBuffer: width:1920
height:1080
[018:447] [2023-07-13 09:16:40 +0000.420692][2995] construct TrivalImageDrawer
0xb40000723fad9770
[018:447] [2023-07-13 09:16:40 +0000.420710][2995] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb40000723fad9770 context
0xb4000071cfb43c50
[018:447] [2023-07-13 09:16:40 +0000.420729][2995] setupGLES:
[018:447] [2023-07-13 09:16:40 +0000.421010][2995] OpenGLRenderProgram::Initialize.
[018:447] [2023-07-13 09:16:40 +0000.421037][2995] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[018:447] [2023-07-13 09:16:40 +0000.421056][2995] 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
[018:447] [2023-07-13 09:16:40 +0000.421130][2995] Init open gl render:
0xb40000728fc892e8
[018:447] [2023-07-13 09:16:40 +0000.421155][2995] Fragement shader path:
[018:447] [2023-07-13 09:16:40 +0000.421175][2995] Fragement shader path:
[018:447] [2023-07-13 09:16:40 +0000.421191][2995] create opengl program object.
[018:447] [2023-07-13 09:16:40 +0000.421207][2995] create shader: vertex
[018:448] [2023-07-13 09:16:40 +0000.421424][2995] create shader: fragment
[018:461] [2023-07-13 09:16:40 +0000.435263][2995] External image path is empty!
[018:462] [2023-07-13 09:16:40 +0000.435327][2995] Error(crop_filter.cc:464): Init
the image texture failed.
[018:462] [2023-07-13 09:16:40 +0000.435350][2995] OpenGLRenderProgram::Initialize
success.
[018:462] [2023-07-13 09:16:40 +0000.435404][2995] Setup the OpenGL result:1
[018:462] [2023-07-13 09:16:40 +0000.435484][2996] Pull audio failed.(wait video!)
[018:462] [2023-07-13 09:16:40 +0000.435519][2996]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[018:462] [2023-07-13 09:16:40 +0000.435623][2994] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12387654.mp4
[018:462] [2023-07-13 09:16:40 +0000.435728][2994] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12387654.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[018:462] [2023-07-13 09:16:40 +0000.435762][29fe] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb40000726f
[018:462] [2023-07-13 09:16:40 +0000.435770][2994] 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
[018:462] [2023-07-13 09:16:40 +0000.435805][2994] 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.artslow_168923978168
7/record_video_12387654.mp4 fileFD: -1
[018:462] [2023-07-13 09:16:40 +0000.436125][2994] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12387654.mp4 is opened successfully
[018:462] [2023-07-13 09:16:40 +0000.436153][2994] setupMediaProcessers:
[018:462] [2023-07-13 09:16:40 +0000.436172][2994]
RecordingSessionInternalSimple:setup media processers.
[018:462] [2023-07-13 09:16:40 +0000.436191][2994] construct AAC encoder
[018:463] [2023-07-13 09:16:40 +0000.436436][2994] H264Encoder creating:
superfast011818
[018:463] [2023-07-13 09:16:40 +0000.436464][2994] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[018:463] [2023-07-13 09:16:40 +0000.437063][2994] H264Encode::GetMachineModel is
SHARK PAR-H0
[018:463] [2023-07-13 09:16:40 +0000.437091][2994] H264Encoder machine_mode
is:SHARK PAR-H0
[018:463] [2023-07-13 09:16:40 +0000.437107][2994] setupCompressionSession:
[018:463] [2023-07-13 09:16:40 +0000.437123][2994] H264Encode::creating hareware
Encoder
[018:463] [2023-07-13 09:16:40 +0000.437140][2994] AndroidHwAvcEncoder
time:12387655 enter.

[018:463] [2023-07-13 09:16:40 +0000.437251][2994] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000725fab9110 address:0x70706af050
[018:464] [2023-07-13 09:16:40 +0000.437444][2994] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[018:464] [2023-07-13 09:16:40 +0000.437473][2994] The video avc hw codec address
is 0xb40000719faef210
[018:464] [2023-07-13 09:16:40 +0000.437533][2994] AndroidHwAvcEncoder leave.
expire time = 1 ms

[018:464] [2023-07-13 09:16:40 +0000.437558][2994] RegisterEncodeCompleteCallback


time:12387656 enter.

[018:464] [2023-07-13 09:16:40 +0000.437623][2994] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[018:464] [2023-07-13 09:16:40 +0000.437652][2994] InitEncode time:12387656 enter.

[018:464] [2023-07-13 09:16:40 +0000.437701][2994] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[018:464] [2023-07-13 09:16:40 +0000.437733][2994] Create time:12387656 enter.

[018:464] [2023-07-13 09:16:40 +0000.437755][2994] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[018:464] [2023-07-13 09:16:40 +0000.437781][2994]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb40000721fb06550
[018:478] [2023-07-13 09:16:40 +0000.451391][2994]
supported_type:image/vnd.android.heic
[018:478] [2023-07-13 09:16:40 +0000.451458][2994] supported_type:video/avc
[018:478] [2023-07-13 09:16:40 +0000.451481][2994] name:OMX.qcom.video.encoder.avc
mime:video/avc
[018:478] [2023-07-13 09:16:40 +0000.451508][2994] hwCodecPrefix :OMX.qcom.
[018:478] [2023-07-13 09:16:40 +0000.451527][2994] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[018:478] [2023-07-13 09:16:40 +0000.451549][2994] mediacodec_createCodecByName
time:12387670 enter.

[018:478] [2023-07-13 09:16:40 +0000.451569][2994] WrapAndroidMediaCodec


time:12387670 enter.

[018:478] [2023-07-13 09:16:40 +0000.451657][2994] WrapAndroidMediaCodec leave.


expire time = 0 ms

[018:533] [2023-07-13 09:16:40 +0000.506820][2996]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[018:539] [2023-07-13 09:16:40 +0000.512545][2994] mediacodec_createCodecByName
leave. expire time = 61 ms

[018:539] [2023-07-13 09:16:40 +0000.512658][2994] WrapAndroidMediaFromat


time:12387731 enter.

[018:539] [2023-07-13 09:16:40 +0000.512743][2994] WrapAndroidMediaFromat leave.


expire time = 0 ms

[018:603] [2023-07-13 09:16:40 +0000.576559][2994] Destroy time:12387795 enter.

[018:603] [2023-07-13 09:16:40 +0000.576645][2994] WrapAndroidMediaFromat::


Destroy
[018:603] [2023-07-13 09:16:40 +0000.576684][2994] Destroy leave. expire time = 0
ms

[018:603] [2023-07-13 09:16:40 +0000.576763][2994] ~WrapAndroidMediaFromat


time:12387795 enter.

[018:603] [2023-07-13 09:16:40 +0000.576800][2994] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[018:603] [2023-07-13 09:16:40 +0000.576837][2994] Create leave. expire time = 139


ms

[018:603] [2023-07-13 09:16:40 +0000.576869][2994] isSemiPlanarSupport


time:12387795 enter.

[018:603] [2023-07-13 09:16:40 +0000.576902][2994] H264Encoder isSemiPlanarSupport


[018:603] [2023-07-13 09:16:40 +0000.576936][2994] isSemiPlanarSupport leave.
expire time = 0 ms

[018:603] [2023-07-13 09:16:40 +0000.576968][2994] creat hw H264Encoder success,


isSemiPlanar:1
[018:603] [2023-07-13 09:16:40 +0000.577101][2994] InitEncode leave. expire time =
139 ms

[018:603] [2023-07-13 09:16:40 +0000.577141][2994] H264Encode::created Encoder


[018:603] [2023-07-13 09:16:40 +0000.577175][2994] H264Encode:: H264 encoder
created.
[018:603] [2023-07-13 09:16:40 +0000.577205][2994] H264 encoder created.
[018:603] [2023-07-13 09:16:40 +0000.577237][2994]
RecordingSessionInternalSimple:created avc encoder avc: 0xb40000724fb35cb0
[018:603] [2023-07-13 09:16:40 +0000.577271][2994] setOutput:
[018:603] [2023-07-13 09:16:40 +0000.577303][2994]
RecordingSessionInternalSimple:encoder set output to muxer!
[018:604] [2023-07-13 09:16:40 +0000.577356][2994] request a key frame
[018:604] [2023-07-13 09:16:40 +0000.577389][2994] H264Encode:: request a key frame
[018:604] [2023-07-13 09:16:40 +0000.577488][2995] Start:
[018:604] [2023-07-13 09:16:40 +0000.577756][2998] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[018:604] [2023-07-13 09:16:40 +0000.577940][2998] Reset: history total size: 98
[018:604] [2023-07-13 09:16:40 +0000.578023][2998] DeviceStart:
audioDevice_:0xb40000730fb25d60
[018:604] [2023-07-13 09:16:40 +0000.578086][2998] DeviceStart: time profile
playout init before
[018:604] [2023-07-13 09:16:40 +0000.578150][2998] DeviceStart: time profile
playout init end
[018:604] [2023-07-13 09:16:40 +0000.578206][2998] OpenSlesOutput:Start playout

[018:605] [2023-07-13 09:16:40 +0000.578410][2996]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[018:607] [2023-07-13 09:16:40 +0000.580626][2998] The machine model:SHARK PAR-H0

[018:607] [2023-07-13 09:16:40 +0000.580847][2998] Create the opensl output player.


streamtype before:0

[018:607] [2023-07-13 09:16:40 +0000.580934][2998] Create the opensl output player.


streamtype after:3

[018:630] [2023-07-13 09:16:40 +0000.603533][2998] Enqueue opensl buffer size:1764


[018:639] [2023-07-13 09:16:40 +0000.612434][2998] DeviceStart: time profile
playout all end
[018:639] [2023-07-13 09:16:40 +0000.612483][2a08]
PlayerSimpleBufferQueueCallbackHandler function
[018:639] [2023-07-13 09:16:40 +0000.612507][2998] operator(): Audio playback
started.
[018:639] [2023-07-13 09:16:40 +0000.612608][2a08] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[018:639] [2023-07-13 09:16:40 +0000.612922][2a08]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[018:676] [2023-07-13 09:16:40 +0000.649916][2996]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[018:681] [2023-07-13 09:16:40 +0000.655267][2995] begine recode to first frame
spend time:247
[018:682] [2023-07-13 09:16:40 +0000.655418][2995] CameraSource::PushExtraFrame
pkt_dts: 0, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000725fb33910
[018:682] [2023-07-13 09:16:40 +0000.655579][2995] add frame because frame
interval.
[018:682] [2023-07-13 09:16:40 +0000.655635][a8c] video render surface render a
frame
[018:682] [2023-07-13 09:16:40 +0000.655639][2995] blur_distance_:0
[018:682] [2023-07-13 09:16:40 +0000.655692][2995] blur_direction_angle_:-90
[018:682] [2023-07-13 09:16:40 +0000.655751][2995] color_r_offset_:0
[018:682] [2023-07-13 09:16:40 +0000.655801][2995] color_g_offset:0
[018:682] [2023-07-13 09:16:40 +0000.655852][2995] play_speed_:0.75
[018:682] [2023-07-13 09:16:40 +0000.655904][2995] roll_value_:0
[018:682] [2023-07-13 09:16:40 +0000.656028][2995] need_extra_image_:0 need_image:
0
[018:682] [2023-07-13 09:16:40 +0000.656089][2995] Current speed is changing now,
so we not need ResetFramePts now!
[018:682] [2023-07-13 09:16:40 +0000.656138][2995]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[018:682] [2023-07-13 09:16:40 +0000.656186][2995]
GPUImageProcessing::SetOrientation orientation: 90
[018:682] [2023-07-13 09:16:40 +0000.656240][2995] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[018:683] [2023-07-13 09:16:40 +0000.656348][2995] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[018:683] [2023-07-13 09:16:40 +0000.656532][2995] GPUImageProcessing: input frame
width2160 X 3840
[018:683] [2023-07-13 09:16:40 +0000.657137][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fc892e8
[018:684] [2023-07-13 09:16:40 +0000.657571][2995] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[018:684] [2023-07-13 09:16:40 +0000.657623][2995] CropFilter::OnVideoFrame
outputtexture :20
[018:684] [2023-07-13 09:16:40 +0000.657647][2995] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[018:685] [2023-07-13 09:16:40 +0000.658608][2995] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[018:705] [2023-07-13 09:16:40 +0000.679121][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fc892e8
[018:710] [2023-07-13 09:16:40 +0000.683392][2995] The convert RGB to YUV take 3
[018:710] [2023-07-13 09:16:40 +0000.683625][2995] FilterPipeline2::OnVideoFrame
pts 44 last_video_timestamp_ 44
[018:710] [2023-07-13 09:16:40 +0000.683683][2995]
MediaFilterCamera::OnOutputVideoFrame timestamp: 0
[018:711] [2023-07-13 09:16:40 +0000.684935][29fd]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[018:711] [2023-07-13 09:16:40 +0000.685006][29fd] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[018:711] [2023-07-13 09:16:40 +0000.685060][29fd] push video frame to H264
encoder. (100 frame for one log)

[018:711] [2023-07-13 09:16:40 +0000.685112][29fd] push video frame to H264


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

[018:711] [2023-07-13 09:16:40 +0000.685159][29fd] H264Encode::push video frame to


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

[018:711] [2023-07-13 09:16:40 +0000.685203][29fd] Push an pts:0 to dts queue.


[018:711] [2023-07-13 09:16:40 +0000.685254][29fd] DTS queue for
Generator:0xb40000726fb149e8 0
[018:711] [2023-07-13 09:16:40 +0000.685294][29fd] The input pts:0 fps:30
[018:715] [2023-07-13 09:16:40 +0000.689100][29fd]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[018:717] [2023-07-13 09:16:40 +0000.690788][2996] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//bgm.mp3
sync_mode: 1 seek_pos: 500 delay: 0 this:0xb40000728fc8b920
[018:737] [2023-07-13 09:16:40 +0000.711267][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fc892e8
[018:779] [2023-07-13 09:16:40 +0000.753189][29fa] FFMpeg=> [mp3 @
0xb40000729fb7bfe0] Current FFmpeg version git-2021-06-16-97cea6f

[018:785] [2023-07-13 09:16:40 +0000.758337][29fd] h264 add frame header cdr flag
[018:785] [2023-07-13 09:16:40 +0000.758676][29fd] h264 add frame header cdr flag
[018:785] [2023-07-13 09:16:40 +0000.758725][29fd] SendFrame
encodedImage._timeStamp:0encodedImage->_length:4448
[018:785] [2023-07-13 09:16:40 +0000.758753][29fd] Received key frame:0
[018:785] [2023-07-13 09:16:40 +0000.758779][29fd] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[018:785] [2023-07-13 09:16:40 +0000.758803][29fd] H264Encode::H264SWEncoder get
callback, length:4448 type:0 nalType:7length:19
[018:785] [2023-07-13 09:16:40 +0000.758823][29fd] H264Encode:: get a sps pps
header!headerSize:32
[018:785] [2023-07-13 09:16:40 +0000.758843][29fd] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[018:785] [2023-07-13 09:16:40 +0000.758942][29fe] get the H.264 SPS parameter
[018:785] [2023-07-13 09:16:40 +0000.759160][29fe] add video track with id:1
[018:785] [2023-07-13 09:16:40 +0000.759251][29fe] get the H.264 PPS parameter
[018:786] [2023-07-13 09:16:40 +0000.759557][29fe] get the H.264 IDR frame
[018:786] [2023-07-13 09:16:40 +0000.759597][29fe] resss:true
[018:786] [2023-07-13 09:16:40 +0000.759614][29fe] video start ts:0
[018:786] [2023-07-13 09:16:40 +0000.759641][29fe] the video frame has been written
into MP4 file
[018:806] [2023-07-13 09:16:40 +0000.779630][29fb] success seekto
avformat_seek_file to: 500000
[018:806] [2023-07-13 09:16:40 +0000.779751][29fb] Drop one audio frame for seekto,
pkt_dts 6773760 audio_seek_pos_: 500000
[018:808] [2023-07-13 09:16:40 +0000.782322][2996] FilterPipeline2::OnAudioFrame
pts 23 last_audio_timestamp_ 23
[018:809] [2023-07-13 09:16:40 +0000.782489][2996]
MediaFilterCamera::OnOutputAudioFrame timestamp: 23.5 sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:1042
[018:809] [2023-07-13 09:16:40 +0000.782560][2996] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[018:809] [2023-07-13 09:16:40 +0000.782937][2998] The audio playback speed:100
(1/100)
[018:809] [2023-07-13 09:16:40 +0000.783042][2998] lipsync_debug: The current
played audio timestamp is:23(1/50)
[018:809] [2023-07-13 09:16:40 +0000.783088][2998] First audio frame rendering
[018:812] [2023-07-13 09:16:40 +0000.786105][29fc]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[018:812] [2023-07-13 09:16:40 +0000.786262][29fe] add aac audio track with id:2
[018:823] [2023-07-13 09:16:40 +0000.797115][29fe] audio start ts:0
[018:823] [2023-07-13 09:16:40 +0000.797179][29fe] the audio frame has been written
into MP4 file
[019:164] [2023-07-13 09:16:41 +0000.137900][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:200] [2023-07-13 09:16:41 +0000.173430][2995] The convert RGB to YUV take 3
[019:535] [2023-07-13 09:16:41 +0000.508879][29fd] DTS queue for
Generator:0xb40000726fb149e8 1066 1112
[019:575] [2023-07-13 09:16:41 +0000.548874][2a08]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[019:635] [2023-07-13 09:16:41 +0000.608685][2995] CameraSource::PushExtraFrame
pkt_dts: 1289, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000725fb33910
[019:661] [2023-07-13 09:16:41 +0000.635055][a8c] video render surface render a
frame
[019:661] [2023-07-13 09:16:41 +0000.635097][2995] Current timestamp:1333 is
greater than duration_time: 1330
[019:662] [2023-07-13 09:16:41 +0000.635954][2995] CropFilter::OnVideoFrame
outputtexture :20
[019:662] [2023-07-13 09:16:41 +0000.636035][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:702] [2023-07-13 09:16:41 +0000.675940][2995] The convert RGB to YUV take 6
[019:735] [2023-07-13 09:16:41 +0000.708412][2998] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[019:735] [2023-07-13 09:16:41 +0000.708589][2995] OnNeedStopRecording:
[019:736] [2023-07-13 09:16:41 +0000.709852][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[019:736] [2023-07-13 09:16:41 +0000.710136][2a08] NeedMorePlayData: Scale the
volume to zero now!
[019:737] [2023-07-13 09:16:41 +0000.710351][2995] operator(): Stop
[019:737] [2023-07-13 09:16:41 +0000.710653][2995] Stop:
[019:737] [2023-07-13 09:16:41 +0000.710735][2998] DeviceStop:
audioDevice_:0xb40000730fb25d60
[019:737] [2023-07-13 09:16:41 +0000.710824][2998] OpenSlesOutput:Stop playout

[019:739] [2023-07-13 09:16:41 +0000.712628][2998] DeviceStop: Done


[019:739] [2023-07-13 09:16:41 +0000.712907][2998] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[019:743] [2023-07-13 09:16:41 +0000.716824][29fd]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[019:746] [2023-07-13 09:16:41 +0000.720061][2994] stop recording
[019:746] [2023-07-13 09:16:41 +0000.720148][2994]
RecordingSessionInternalSimple:destroy media processers
[019:746] [2023-07-13 09:16:41 +0000.720189][2994] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[019:746] [2023-07-13 09:16:41 +0000.720313][2994] H264Encode::flushing hareware
Encoder
[019:747] [2023-07-13 09:16:41 +0000.720590][2994] Flush time:12388939 enter.

[019:747] [2023-07-13 09:16:41 +0000.720656][2994] H264Encoder encoder flush


[019:747] [2023-07-13 09:16:41 +0000.720698][2994] flush output queue
[020:059] [2023-07-13 09:16:42 +0000.33373][2994] Flush leave. expire time = 313
ms

[020:060] [2023-07-13 09:16:42 +0000.33745][2994] ~H264EncodeWrap:


[020:060] [2023-07-13 09:16:42 +0000.33814][2994] ~H264Encode:
[020:060] [2023-07-13 09:16:42 +0000.33865][2994] teardownCompressionSession:
H264Encode::destroying Encoder
[020:060] [2023-07-13 09:16:42 +0000.33917][2994] Release time:12389252 enter.

[020:060] [2023-07-13 09:16:42 +0000.34130][2994] Release:


MediaCodecVideoEncoder::Release _inited:1
[020:060] [2023-07-13 09:16:42 +0000.34207][2994] Destroy time:12389252 enter.

[020:060] [2023-07-13 09:16:42 +0000.34259][2994] H264Encoder encoderDestroy


[020:061] [2023-07-13 09:16:42 +0000.34361][2994]
AndroidMediaCodecVideoEncoder::release env: 0xb40000724fb25770
[020:061] [2023-07-13 09:16:42 +0000.34422][2994]
AndroidMediaCodecVideoEncoder::Destroy
[020:093] [2023-07-13 09:16:42 +0000.66574][2994] Destroy leave. expire time = 33
ms

[020:093] [2023-07-13 09:16:42 +0000.66814][2994] Release leave. expire time = 33


ms

[020:093] [2023-07-13 09:16:42 +0000.66905][2994] ~AndroidHwAvcEncoder


time:12389285 enter.

[020:093] [2023-07-13 09:16:42 +0000.67124][2994] Release time:12389285 enter.

[020:093] [2023-07-13 09:16:42 +0000.67205][2994] Release: MediaCodecVideoEncoder::


has been released before, just return
[020:093] [2023-07-13 09:16:42 +0000.67257][2994] Release leave. expire time = 0
ms

[020:093] [2023-07-13 09:16:42 +0000.67307][2994] ~AndroidMediaCodecVideoEncoder


[020:094] [2023-07-13 09:16:42 +0000.67508][2994] ~WrapAndroidMediaCodec
time:12389286 enter.

[020:094] [2023-07-13 09:16:42 +0000.67559][2994] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[020:094] [2023-07-13 09:16:42 +0000.67610][2994] video hevc hw codec


destructor:0xb40000719faef210

[020:094] [2023-07-13 09:16:42 +0000.67692][2994] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[020:096] [2023-07-13 09:16:42 +0000.69904][2994] teardownCompressionSession:


H264Encode::destroyed Encoder
[020:096] [2023-07-13 09:16:42 +0000.70142][2994]
RecordingSessionInternalSimple:destroy aac encoder output!
[020:096] [2023-07-13 09:16:42 +0000.70181][2994] AACSWEncode destructor
[020:100] [2023-07-13 09:16:42 +0000.74125][29fe] MP4 close file successfully
[020:100] [2023-07-13 09:16:42 +0000.74235][29fe] Recording session Internal:
notify recording ok
[020:100] [2023-07-13 09:16:42 +0000.74289][29fe] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_1689239781687/
record_video_12387654.mp4
[020:101] [2023-07-13 09:16:42 +0000.74345][29fe] OnRecordFinish:
[020:102] [2023-07-13 09:16:42 +0000.75904][2995] DestroyPipelineAndFilters
time:12389294 enter.

[020:103] [2023-07-13 09:16:42 +0000.76806][2995] UnbindInputFilter


0xb40000725fb33a50 this 0xb40000728fc895d0
[020:103] [2023-07-13 09:16:42 +0000.76896][2995] UnbindInputFilter
0xb40000728fc895d0 this 0xb40000722fb07d48
[020:103] [2023-07-13 09:16:42 +0000.76933][2995] filter: filter pipeline destroy
this: 0xb40000722fb07cb0
[020:103] [2023-07-13 09:16:42 +0000.77104][2995] ClearVideoOfSources: recodring
total frames:0
[020:103] [2023-07-13 09:16:42 +0000.77151][2995] ClearVideoOfSources:
[020:103] [2023-07-13 09:16:42 +0000.77192][2995] GPUImageProcessing destruct.
[020:103] [2023-07-13 09:16:42 +0000.77245][2995] destroy TrivalImageDrawer
0xb40000723fad9770
[020:103] [2023-07-13 09:16:42 +0000.77280][2995] The shader has been initialize,
clean up them.

[020:104] [2023-07-13 09:16:42 +0000.77693][2995] ~OpenGLFrameBuffer:


[020:104] [2023-07-13 09:16:42 +0000.77851][2995] ~OpenGLFrameBuffer:
[020:104] [2023-07-13 09:16:42 +0000.78310][2995] ~OpenGLFrameBuffer:
[020:105] [2023-07-13 09:16:42 +0000.78447][2995] ~OpenGLFrameBuffer:
[020:105] [2023-07-13 09:16:42 +0000.78576][2995] ~OpenGLFrameBuffer:
[020:105] [2023-07-13 09:16:42 +0000.78683][2995] ~OpenGLFrameBuffer:
[020:105] [2023-07-13 09:16:42 +0000.79151][2995] GPUImageProcessing destruct
finish.
[020:105] [2023-07-13 09:16:42 +0000.79205][2995] GPURGBAFrame destruct.
[020:106] [2023-07-13 09:16:42 +0000.79434][2995] destroy OpenGLRenderProgram
0xb40000728fc892e8
[020:106] [2023-07-13 09:16:42 +0000.79479][2995] ~CameraSource time:12389298
enter.

[020:106] [2023-07-13 09:16:42 +0000.79514][2995] ~CameraSource leave. expire time


= 0 ms

[020:108] [2023-07-13 09:16:42 +0000.82326][2995] DestroyPipelineAndFilters leave.


expire time = 7 ms

[029:279] [2023-07-13 09:16:51 +0000.252409][7be4] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[029:279] [2023-07-13 09:16:51 +0000.252654][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[029:279] [2023-07-13 09:16:51 +0000.252741][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[029:279] [2023-07-13 09:16:51 +0000.252856][2995] MediaFilterCamera, recording
file context:0xb4000071ffad8350 input texture:17
[029:279] [2023-07-13 09:16:51 +0000.252907][2995] construct OpenGLRenderProgram
0xb40000728fcab698
[029:279] [2023-07-13 09:16:51 +0000.252933][2995] CropFilter::SetOrientation
orientation: 90
[029:279] [2023-07-13 09:16:51 +0000.252953][2995] filter: filter pipeline
construtc this: 0xb40000722fb1d570
[029:279] [2023-07-13 09:16:51 +0000.252973][2995] filter: filter pipeline2 update
pattern: 1
[029:279] [2023-07-13 09:16:51 +0000.252994][2995] CameraSource::source_id_:2
[029:279] [2023-07-13 09:16:51 +0000.253220][2995] SetPlayLoop: AudioSource
SetPlayLoop 0
[029:279] [2023-07-13 09:16:51 +0000.253273][2995]
Warning(media_filter_camera.cc:483): seekPos:1829
[029:279] [2023-07-13 09:16:51 +0000.253303][2995] BindInputFilter
0xb40000725fb39390 this 0xb40000728fcab980
[029:280] [2023-07-13 09:16:51 +0000.253356][2995] BindInputFilter
0xb40000728fcab980 this 0xb40000722fb1d608
[029:280] [2023-07-13 09:16:51 +0000.253381][2995] SetParamForFilter time:12398472
enter.

[029:280] [2023-07-13 09:16:51 +0000.253401][2995] SetParamForFilter: Params video


index is: 1
[029:280] [2023-07-13 09:16:51 +0000.253428][2995] SetParamForFilter: Params seek
pos is: 1
[029:280] [2023-07-13 09:16:51 +0000.253454][2995] crop filter video index:1
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.artslow/
movie_mode: 0
[029:280] [2023-07-13 09:16:51 +0000.253474][2995] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//config.json
[029:280] [2023-07-13 09:16:51 +0000.253754][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.253779][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.253804][2995]
exp_des.start:0exp_des.end:3800exp_des.expressionstr:0.6 - 0.1*x / 3800
[029:280] [2023-07-13 09:16:51 +0000.253831][2995]
exp_des.start:0exp_des.end:3800exp_des.expressionstr:0.6 - 0.1*x / 3800
[029:280] [2023-07-13 09:16:51 +0000.253850][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.253869][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.253887][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.253908][2995]
exp_des.start:0exp_des.end:3800exp_des.expressionstr:0.75
[029:280] [2023-07-13 09:16:51 +0000.253928][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.253947][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.253965][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.254022][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.254043][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.254062][2995]
Warning(parse_template_json.cc:95): json parament no found the parament
[029:280] [2023-07-13 09:16:51 +0000.254081][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[029:280] [2023-07-13 09:16:51 +0000.254100][2995] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//filter.png
[029:280] [2023-07-13 09:16:51 +0000.254118][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[029:280] [2023-07-13 09:16:51 +0000.254138][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[029:286] [2023-07-13 09:16:51 +0000.260037][2995] SetParamForFilter leave. expire
time = 6 ms

[029:286] [2023-07-13 09:16:51 +0000.260176][2995] OnOutputSizeChanged width 1920


height 1080
[029:286] [2023-07-13 09:16:51 +0000.260204][2995] OpenGLFrameBuffer: width:1920
height:1080
[029:286] [2023-07-13 09:16:51 +0000.260226][2995] OpenGLFrameBuffer: width:1920
height:1080
[029:286] [2023-07-13 09:16:51 +0000.260246][2995] OpenGLFrameBuffer: width:1920
height:1080
[029:286] [2023-07-13 09:16:51 +0000.260267][2995] OpenGLFrameBuffer: width:1920
height:1080
[029:286] [2023-07-13 09:16:51 +0000.260286][2995] OpenGLFrameBuffer: width:1920
height:1080
[029:286] [2023-07-13 09:16:51 +0000.260306][2995] OpenGLFrameBuffer: width:1920
height:1080
[029:286] [2023-07-13 09:16:51 +0000.260325][2995] construct TrivalImageDrawer
0xb40000723fad6710
[029:287] [2023-07-13 09:16:51 +0000.260347][2995] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb40000723fad6710 context
0xb4000071cfb43c50
[029:287] [2023-07-13 09:16:51 +0000.260368][2995] setupGLES:
[029:287] [2023-07-13 09:16:51 +0000.260789][2995] OpenGLRenderProgram::Initialize.
[029:287] [2023-07-13 09:16:51 +0000.260824][2995] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[029:287] [2023-07-13 09:16:51 +0000.260848][2995] 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
[029:287] [2023-07-13 09:16:51 +0000.260933][2995] Init open gl render:
0xb40000728fcab698
[029:287] [2023-07-13 09:16:51 +0000.260961][2995] Fragement shader path:
[029:287] [2023-07-13 09:16:51 +0000.260987][2995] Fragement shader path:
[029:287] [2023-07-13 09:16:51 +0000.261005][2995] create opengl program object.
[029:287] [2023-07-13 09:16:51 +0000.261025][2995] create shader: vertex
[029:287] [2023-07-13 09:16:51 +0000.261207][2995] create shader: fragment
[029:301] [2023-07-13 09:16:51 +0000.274343][2995] External image path is empty!
[029:301] [2023-07-13 09:16:51 +0000.274402][2995] Error(crop_filter.cc:464): Init
the image texture failed.
[029:301] [2023-07-13 09:16:51 +0000.274428][2995] OpenGLRenderProgram::Initialize
success.
[029:301] [2023-07-13 09:16:51 +0000.274483][2995] Setup the OpenGL result:1
[029:301] [2023-07-13 09:16:51 +0000.274724][2994] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12398493.mp4
[029:301] [2023-07-13 09:16:51 +0000.274972][2994] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12398493.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[029:301] [2023-07-13 09:16:51 +0000.275001][2a7a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0xb40000726f
[029:301] [2023-07-13 09:16:51 +0000.275119][2994] 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
[029:301] [2023-07-13 09:16:51 +0000.275204][2994] 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.artslow_168923978168
7/record_video_12398493.mp4 fileFD: -1
[029:302] [2023-07-13 09:16:51 +0000.275874][2994] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12398493.mp4 is opened successfully
[029:302] [2023-07-13 09:16:51 +0000.275937][2994] setupMediaProcessers:
[029:302] [2023-07-13 09:16:51 +0000.275985][2994]
RecordingSessionInternalSimple:setup media processers.
[029:302] [2023-07-13 09:16:51 +0000.276033][2994] construct AAC encoder
[029:303] [2023-07-13 09:16:51 +0000.276471][2994] H264Encoder creating:
superfast011818
[029:303] [2023-07-13 09:16:51 +0000.276547][2994] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[029:304] [2023-07-13 09:16:51 +0000.278091][2994] H264Encode::GetMachineModel is
SHARK PAR-H0
[029:304] [2023-07-13 09:16:51 +0000.278166][2994] H264Encoder machine_mode
is:SHARK PAR-H0
[029:304] [2023-07-13 09:16:51 +0000.278215][2994] setupCompressionSession:
[029:304] [2023-07-13 09:16:51 +0000.278262][2994] H264Encode::creating hareware
Encoder
[029:304] [2023-07-13 09:16:51 +0000.278310][2994] AndroidHwAvcEncoder
time:12398496 enter.

[029:305] [2023-07-13 09:16:51 +0000.278585][2994] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000725fab9110 address:0x70706af050
[029:305] [2023-07-13 09:16:51 +0000.278843][2994] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[029:305] [2023-07-13 09:16:51 +0000.278908][2994] The video avc hw codec address
is 0xb40000719faf27d0
[029:305] [2023-07-13 09:16:51 +0000.279009][2994] AndroidHwAvcEncoder leave.
expire time = 1 ms

[029:305] [2023-07-13 09:16:51 +0000.279067][2994] RegisterEncodeCompleteCallback


time:12398497 enter.

[029:305] [2023-07-13 09:16:51 +0000.279190][2994] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[029:305] [2023-07-13 09:16:51 +0000.279261][2994] InitEncode time:12398497 enter.

[029:306] [2023-07-13 09:16:51 +0000.279362][2994] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[029:306] [2023-07-13 09:16:51 +0000.279429][2994] Create time:12398498 enter.

[029:306] [2023-07-13 09:16:51 +0000.279480][2994] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[029:306] [2023-07-13 09:16:51 +0000.279539][2994]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb40000721fafaf10
[029:306] [2023-07-13 09:16:51 +0000.279789][2994]
supported_type:image/vnd.android.heic
[029:306] [2023-07-13 09:16:51 +0000.279885][2994] supported_type:video/avc
[029:306] [2023-07-13 09:16:51 +0000.279941][2994] name:OMX.qcom.video.encoder.avc
mime:video/avc
[029:306] [2023-07-13 09:16:51 +0000.280015][2994] hwCodecPrefix :OMX.qcom.
[029:306] [2023-07-13 09:16:51 +0000.280070][2994] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[029:306] [2023-07-13 09:16:51 +0000.280127][2994] mediacodec_createCodecByName
time:12398498 enter.

[029:306] [2023-07-13 09:16:51 +0000.280182][2994] WrapAndroidMediaCodec


time:12398498 enter.

[029:307] [2023-07-13 09:16:51 +0000.280403][2994] WrapAndroidMediaCodec leave.


expire time = 1 ms

[029:330] [2023-07-13 09:16:51 +0000.303962][2994] mediacodec_createCodecByName


leave. expire time = 24 ms

[029:330] [2023-07-13 09:16:51 +0000.304054][2994] WrapAndroidMediaFromat


time:12398522 enter.

[029:330] [2023-07-13 09:16:51 +0000.304131][2994] WrapAndroidMediaFromat leave.


expire time = 0 ms

[029:331] [2023-07-13 09:16:51 +0000.305152][2996]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[029:366] [2023-07-13 09:16:51 +0000.339724][2994] Destroy time:12398558 enter.

[029:366] [2023-07-13 09:16:51 +0000.339814][2994] WrapAndroidMediaFromat::


Destroy
[029:366] [2023-07-13 09:16:51 +0000.339852][2994] Destroy leave. expire time = 0
ms

[029:366] [2023-07-13 09:16:51 +0000.339883][2994] ~WrapAndroidMediaFromat


time:12398558 enter.

[029:366] [2023-07-13 09:16:51 +0000.339913][2994] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[029:366] [2023-07-13 09:16:51 +0000.339947][2994] Create leave. expire time = 60


ms

[029:366] [2023-07-13 09:16:51 +0000.339979][2994] isSemiPlanarSupport


time:12398558 enter.

[029:366] [2023-07-13 09:16:51 +0000.340010][2994] H264Encoder isSemiPlanarSupport


[029:366] [2023-07-13 09:16:51 +0000.340043][2994] isSemiPlanarSupport leave.
expire time = 0 ms

[029:366] [2023-07-13 09:16:51 +0000.340075][2994] creat hw H264Encoder success,


isSemiPlanar:1
[029:366] [2023-07-13 09:16:51 +0000.340212][2994] InitEncode leave. expire time =
61 ms

[029:366] [2023-07-13 09:16:51 +0000.340256][2994] H264Encode::created Encoder


[029:366] [2023-07-13 09:16:51 +0000.340289][2994] H264Encode:: H264 encoder
created.
[029:366] [2023-07-13 09:16:51 +0000.340320][2994] H264 encoder created.
[029:367] [2023-07-13 09:16:51 +0000.340352][2994]
RecordingSessionInternalSimple:created avc encoder avc: 0xb40000724fb308d0
[029:367] [2023-07-13 09:16:51 +0000.340386][2994] setOutput:
[029:367] [2023-07-13 09:16:51 +0000.340416][2994]
RecordingSessionInternalSimple:encoder set output to muxer!
[029:367] [2023-07-13 09:16:51 +0000.340447][2994] request a key frame
[029:367] [2023-07-13 09:16:51 +0000.340476][2994] H264Encode:: request a key frame
[029:367] [2023-07-13 09:16:51 +0000.340617][2995] Start:
[029:367] [2023-07-13 09:16:51 +0000.340888][2998] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[029:367] [2023-07-13 09:16:51 +0000.341055][2998] Reset: history total size: 98
[029:367] [2023-07-13 09:16:51 +0000.341130][2998] DeviceStart:
audioDevice_:0xb40000730fb25d60
[029:367] [2023-07-13 09:16:51 +0000.341184][2998] DeviceStart: time profile
playout init before
[029:367] [2023-07-13 09:16:51 +0000.341239][2998] DeviceStart: time profile
playout init end
[029:367] [2023-07-13 09:16:51 +0000.341286][2998] OpenSlesOutput:Start playout

[029:369] [2023-07-13 09:16:51 +0000.342365][2998] Create the opensl output player.


streamtype before:0

[029:369] [2023-07-13 09:16:51 +0000.342483][2998] Create the opensl output player.


streamtype after:3

[029:391] [2023-07-13 09:16:51 +0000.364561][2998] Enqueue opensl buffer size:1764


[029:402] [2023-07-13 09:16:51 +0000.376206][2998] DeviceStart: time profile
playout all end
[029:402] [2023-07-13 09:16:51 +0000.376268][2998] operator(): Audio playback
started.
[029:403] [2023-07-13 09:16:51 +0000.377118][2996]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[029:424] [2023-07-13 09:16:51 +0000.397821][2995] begine recode to first frame
spend time:145
[029:424] [2023-07-13 09:16:51 +0000.397967][2995] add frame because frame
interval.
[029:424] [2023-07-13 09:16:51 +0000.398058][2995]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[029:424] [2023-07-13 09:16:51 +0000.398103][2995]
GPUImageProcessing::SetOrientation orientation: 90
[029:425] [2023-07-13 09:16:51 +0000.398672][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fcab698
[029:435] [2023-07-13 09:16:51 +0000.408587][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fcab698
[029:454] [2023-07-13 09:16:51 +0000.428191][2996] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//bgm.mp3
sync_mode: 1 seek_pos: 1829 delay: 0 this:0xb40000728fca6cb0
[029:456] [2023-07-13 09:16:51 +0000.429892][2a79]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[029:470] [2023-07-13 09:16:51 +0000.443858][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fcab698
[029:487] [2023-07-13 09:16:51 +0000.460726][2a76] FFMpeg=> [mp3 @
0xb40000729fb6de90] Current FFmpeg version git-2021-06-16-97cea6f

[029:502] [2023-07-13 09:16:51 +0000.475528][2a77] success seekto


avformat_seek_file to: 1829000
[029:502] [2023-07-13 09:16:51 +0000.475615][2a77] Drop one audio frame for seekto,
pkt_dts 25740288 audio_seek_pos_: 1829000
[029:504] [2023-07-13 09:16:51 +0000.478196][2998] First audio frame rendering
[029:508] [2023-07-13 09:16:51 +0000.481622][2a7a] add aac audio track with id:1
[029:517] [2023-07-13 09:16:51 +0000.490791][2a7a] audio start ts:0
[029:517] [2023-07-13 09:16:51 +0000.490865][2a7a] the audio frame has been written
into MP4 file
[029:539] [2023-07-13 09:16:51 +0000.512893][2a79] h264 add frame header cdr flag
[029:540] [2023-07-13 09:16:51 +0000.513898][2a79] h264 add frame header cdr flag
[029:540] [2023-07-13 09:16:51 +0000.513974][2a79] Received key frame:0
[029:540] [2023-07-13 09:16:51 +0000.514009][2a79] H264Encode:: get a sps pps
header!headerSize:32
[029:540] [2023-07-13 09:16:51 +0000.514129][2a7a] get the H.264 SPS parameter
[029:540] [2023-07-13 09:16:51 +0000.514310][2a7a] add video track with id:2
[029:541] [2023-07-13 09:16:51 +0000.514399][2a7a] get the H.264 PPS parameter
[029:541] [2023-07-13 09:16:51 +0000.514470][2a7a] get the H.264 IDR frame
[029:541] [2023-07-13 09:16:51 +0000.514497][2a7a] resss:true
[029:541] [2023-07-13 09:16:51 +0000.514516][2a7a] video start ts:0
[029:541] [2023-07-13 09:16:51 +0000.514545][2a7a] the video frame has been written
into MP4 file
[029:732] [2023-07-13 09:16:51 +0000.705829][2a79] Push an pts:400 to dts queue.
[029:776] [2023-07-13 09:16:51 +0000.749628][2a79] last dts:356 currentPts:400
ppsOrSPS:0 queue length:2
[029:797] [2023-07-13 09:16:51 +0000.770911][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:870] [2023-07-13 09:16:51 +0000.843928][2995] The convert RGB to YUV take 7
[030:039] [2023-07-13 09:16:52 +0000.13166][2a79] DTS queue for
Generator:0xb40000726faf2138 800
[030:171] [2023-07-13 09:16:52 +0000.144700][2a80]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[030:229] [2023-07-13 09:16:52 +0000.203100][2995] CameraSource::PushExtraFrame
pkt_dts: 1110, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000725fb39250
[030:297] [2023-07-13 09:16:52 +0000.270954][a8c] video render surface render a
frame
[030:298] [2023-07-13 09:16:52 +0000.271372][2995] CropFilter::OnVideoFrame
outputtexture :23
[030:298] [2023-07-13 09:16:52 +0000.271471][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:366] [2023-07-13 09:16:52 +0000.340059][2995] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[030:370] [2023-07-13 09:16:52 +0000.343686][2995] The convert RGB to YUV take 3
[030:653] [2023-07-13 09:16:52 +0000.626783][2996] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[030:727] [2023-07-13 09:16:52 +0000.700384][2998] The audio playback speed:100
(1/100)
[030:727] [2023-07-13 09:16:52 +0000.700502][2998] lipsync_debug: The current
played audio timestamp is:1343(1/50)
[030:798] [2023-07-13 09:16:52 +0000.771819][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:876] [2023-07-13 09:16:52 +0000.849410][2995] The convert RGB to YUV take 3
[030:882] [2023-07-13 09:16:52 +0000.856272][2a79] DTS queue for
Generator:0xb40000726faf2138 1910
[031:072] [2023-07-13 09:16:53 +0000.45799][2a79] Push an pts:2177 to dts queue.
[031:108] [2023-07-13 09:16:53 +0000.81895][2a79] last dts:2133 currentPts:2177
ppsOrSPS:0 queue length:2
[031:135] [2023-07-13 09:16:53 +0000.108882][2a80]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[031:196] [2023-07-13 09:16:53 +0000.170019][2995] CameraSource::PushExtraFrame
pkt_dts: 2400, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000725fb39250
[031:296] [2023-07-13 09:16:53 +0000.269888][a8c] video render surface render a
frame
[031:297] [2023-07-13 09:16:53 +0000.270803][2995] CropFilter::OnVideoFrame
outputtexture :23
[031:297] [2023-07-13 09:16:53 +0000.270897][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:375] [2023-07-13 09:16:53 +0000.349284][2995] The convert RGB to YUV take 4
[031:477] [2023-07-13 09:16:53 +0000.450566][2a79] h264 add frame header cdr flag
[031:477] [2023-07-13 09:16:53 +0000.450904][2a79] Received key frame:2666
[031:513] [2023-07-13 09:16:53 +0000.487113][2a7a] get the H.264 IDR frame
[031:665] [2023-07-13 09:16:53 +0000.638825][2995] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[031:665] [2023-07-13 09:16:53 +0000.638913][2995] GPUImageProcessing: input frame
width2160 X 3840
[031:665] [2023-07-13 09:16:53 +0000.639274][2995] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[031:666] [2023-07-13 09:16:53 +0000.639332][2995] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[031:673] [2023-07-13 09:16:53 +0000.647297][2a79] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2933 pts:2933
[031:704] [2023-07-13 09:16:53 +0000.677401][2a79] DTS queue for
Generator:0xb40000726faf2138 2977 3022
[031:769] [2023-07-13 09:16:53 +0000.742690][2a79] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3110
[031:769] [2023-07-13 09:16:53 +0000.742874][2a79] push video frame to H264
encoder. (100 frame for one log)

[031:769] [2023-07-13 09:16:53 +0000.742994][2a79] push video frame to H264


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

[031:769] [2023-07-13 09:16:53 +0000.743062][2a79] H264Encode::push video frame to


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

[031:769] [2023-07-13 09:16:53 +0000.743157][2a79] The input pts:3110 fps:30


[031:773] [2023-07-13 09:16:53 +0000.747212][2a79] SendFrame
encodedImage._timeStamp:3066encodedImage->_length:10176
[031:797] [2023-07-13 09:16:53 +0000.771232][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:811] [2023-07-13 09:16:53 +0000.784449][2a79] H264Encode::H264SWEncoder get
callback, length:14928 type:1 nalType:1length:14924
[031:867] [2023-07-13 09:16:53 +0000.840821][2995] The convert RGB to YUV take 4
[032:164] [2023-07-13 09:16:54 +0000.137778][2995] CameraSource::PushExtraFrame
pkt_dts: 3688, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000725fb39250
[032:171] [2023-07-13 09:16:54 +0000.144688][2a80]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[032:295] [2023-07-13 09:16:54 +0000.268653][a8c] video render surface render a
frame
[032:295] [2023-07-13 09:16:54 +0000.269047][2995] CropFilter::OnVideoFrame
outputtexture :23
[032:295] [2023-07-13 09:16:54 +0000.269125][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:301] [2023-07-13 09:16:54 +0000.274609][2998] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[032:301] [2023-07-13 09:16:54 +0000.275069][2995] OnNeedStopRecording:
[032:305] [2023-07-13 09:16:54 +0000.278875][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[032:305] [2023-07-13 09:16:54 +0000.279009][2995] operator(): Stop
[032:305] [2023-07-13 09:16:54 +0000.279172][2995] Stop:
[032:305] [2023-07-13 09:16:54 +0000.279280][2998] DeviceStop:
audioDevice_:0xb40000730fb25d60
[032:306] [2023-07-13 09:16:54 +0000.279385][2998] OpenSlesOutput:Stop playout
[032:309] [2023-07-13 09:16:54 +0000.283311][2998] DeviceStop: Done
[032:310] [2023-07-13 09:16:54 +0000.283410][2998] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[032:312] [2023-07-13 09:16:54 +0000.285614][2a79]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[032:313] [2023-07-13 09:16:54 +0000.286699][2994] stop recording
[032:313] [2023-07-13 09:16:54 +0000.286941][2994]
RecordingSessionInternalSimple:destroy media processers
[032:313] [2023-07-13 09:16:54 +0000.287012][2994] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[032:313] [2023-07-13 09:16:54 +0000.287076][2994] H264Encode::flushing hareware
Encoder
[032:314] [2023-07-13 09:16:54 +0000.287335][2994] Flush time:12401505 enter.

[032:314] [2023-07-13 09:16:54 +0000.287429][2994] H264Encoder encoder flush


[032:314] [2023-07-13 09:16:54 +0000.287495][2994] flush output queue
[032:628] [2023-07-13 09:16:54 +0000.601569][2994] Flush leave. expire time = 315
ms

[032:628] [2023-07-13 09:16:54 +0000.601819][2994] ~H264EncodeWrap:


[032:628] [2023-07-13 09:16:54 +0000.601897][2994] ~H264Encode:
[032:628] [2023-07-13 09:16:54 +0000.601957][2994] teardownCompressionSession:
H264Encode::destroying Encoder
[032:628] [2023-07-13 09:16:54 +0000.602019][2994] Release time:12401820 enter.

[032:628] [2023-07-13 09:16:54 +0000.602294][2994] Release:


MediaCodecVideoEncoder::Release _inited:1
[032:629] [2023-07-13 09:16:54 +0000.602393][2994] Destroy time:12401821 enter.

[032:629] [2023-07-13 09:16:54 +0000.602458][2994] H264Encoder encoderDestroy


[032:629] [2023-07-13 09:16:54 +0000.602520][2994]
AndroidMediaCodecVideoEncoder::release env: 0xb40000724faea2b0
[032:629] [2023-07-13 09:16:54 +0000.602585][2994]
AndroidMediaCodecVideoEncoder::Destroy
[032:672] [2023-07-13 09:16:54 +0000.645953][2994] Destroy leave. expire time = 43
ms

[032:672] [2023-07-13 09:16:54 +0000.646215][2994] Release leave. expire time = 44


ms

[032:672] [2023-07-13 09:16:54 +0000.646272][2994] ~AndroidHwAvcEncoder


time:12401864 enter.

[032:673] [2023-07-13 09:16:54 +0000.646474][2994] Release time:12401865 enter.

[032:673] [2023-07-13 09:16:54 +0000.646575][2994] Release:


MediaCodecVideoEncoder:: has been released before, just return
[032:673] [2023-07-13 09:16:54 +0000.646625][2994] Release leave. expire time = 0
ms

[032:673] [2023-07-13 09:16:54 +0000.646705][2994] ~AndroidMediaCodecVideoEncoder


[032:673] [2023-07-13 09:16:54 +0000.646841][2994] ~WrapAndroidMediaCodec
time:12401865 enter.

[032:673] [2023-07-13 09:16:54 +0000.646893][2994] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[032:673] [2023-07-13 09:16:54 +0000.646940][2994] video hevc hw codec


destructor:0xb40000719faf27d0
[032:673] [2023-07-13 09:16:54 +0000.647050][2994] ~AndroidHwAvcEncoder leave.
expire time = 1 ms

[032:675] [2023-07-13 09:16:54 +0000.648578][2994] teardownCompressionSession:


H264Encode::destroyed Encoder
[032:675] [2023-07-13 09:16:54 +0000.648655][2994]
RecordingSessionInternalSimple:destroy aac encoder output!
[032:675] [2023-07-13 09:16:54 +0000.648704][2994] AACSWEncode destructor
[032:680] [2023-07-13 09:16:54 +0000.653926][2a7a] MP4 close file successfully
[032:680] [2023-07-13 09:16:54 +0000.654051][2a7a] Recording session Internal:
notify recording ok
[032:680] [2023-07-13 09:16:54 +0000.654106][2a7a] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_1689239781687/
record_video_12398493.mp4
[032:680] [2023-07-13 09:16:54 +0000.654167][2a7a] OnRecordFinish:
[032:683] [2023-07-13 09:16:54 +0000.657319][2995] DestroyPipelineAndFilters
time:12401875 enter.

[032:685] [2023-07-13 09:16:54 +0000.659206][2995] UnbindInputFilter


0xb40000725fb39390 this 0xb40000728fcab980
[032:685] [2023-07-13 09:16:54 +0000.659314][2995] UnbindInputFilter
0xb40000728fcab980 this 0xb40000722fb1d608
[032:686] [2023-07-13 09:16:54 +0000.659346][2995] filter: filter pipeline destroy
this: 0xb40000722fb1d570
[032:686] [2023-07-13 09:16:54 +0000.659452][2995] ClearVideoOfSources: recodring
total frames:0
[032:686] [2023-07-13 09:16:54 +0000.659490][2995] ClearVideoOfSources:
[032:686] [2023-07-13 09:16:54 +0000.659523][2995] GPUImageProcessing destruct.
[032:686] [2023-07-13 09:16:54 +0000.659562][2995] destroy TrivalImageDrawer
0xb40000723fad6710
[032:686] [2023-07-13 09:16:54 +0000.659597][2995] The shader has been initialize,
clean up them.

[032:686] [2023-07-13 09:16:54 +0000.659965][2995] ~OpenGLFrameBuffer:


[032:686] [2023-07-13 09:16:54 +0000.660091][2995] ~OpenGLFrameBuffer:
[032:686] [2023-07-13 09:16:54 +0000.660201][2995] ~OpenGLFrameBuffer:
[032:686] [2023-07-13 09:16:54 +0000.660298][2995] ~OpenGLFrameBuffer:
[032:687] [2023-07-13 09:16:54 +0000.660407][2995] ~OpenGLFrameBuffer:
[032:687] [2023-07-13 09:16:54 +0000.660522][2995] ~OpenGLFrameBuffer:
[032:687] [2023-07-13 09:16:54 +0000.660907][2995] GPUImageProcessing destruct
finish.
[032:687] [2023-07-13 09:16:54 +0000.660966][2995] GPURGBAFrame destruct.
[032:687] [2023-07-13 09:16:54 +0000.661227][2995] destroy OpenGLRenderProgram
0xb40000728fcab698
[032:687] [2023-07-13 09:16:54 +0000.661273][2995] ~CameraSource time:12401879
enter.

[032:687] [2023-07-13 09:16:54 +0000.661309][2995] ~CameraSource leave. expire


time = 0 ms

[032:690] [2023-07-13 09:16:54 +0000.663630][2995] DestroyPipelineAndFilters


leave. expire time = 7 ms

[067:479] [2023-07-13 09:17:29 +0000.452922][7be4] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[067:479] [2023-07-13 09:17:29 +0000.453064][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[067:479] [2023-07-13 09:17:29 +0000.453115][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[067:479] [2023-07-13 09:17:29 +0000.453250][2995] MediaFilterCamera, recording
file context:0xb4000071ffad8350 input texture:17
[067:480] [2023-07-13 09:17:29 +0000.453402][2995] construct OpenGLRenderProgram
0xb40000728fcb51d8
[067:480] [2023-07-13 09:17:29 +0000.453476][2995] CropFilter::SetOrientation
orientation: 90
[067:480] [2023-07-13 09:17:29 +0000.453542][2995] filter: filter pipeline
construtc this: 0xb40000722fb05710
[067:480] [2023-07-13 09:17:29 +0000.453606][2995] filter: filter pipeline2 update
pattern: 1
[067:480] [2023-07-13 09:17:29 +0000.453672][2995] CameraSource::source_id_:3
[067:480] [2023-07-13 09:17:29 +0000.454121][2995] SetPlayLoop: AudioSource
SetPlayLoop 0
[067:480] [2023-07-13 09:17:29 +0000.454204][2995]
Warning(media_filter_camera.cc:483): seekPos:5629
[067:480] [2023-07-13 09:17:29 +0000.454237][2995] BindInputFilter
0xb40000725fae7150 this 0xb40000728fcb54c0
[067:480] [2023-07-13 09:17:29 +0000.454272][2995] BindInputFilter
0xb40000728fcb54c0 this 0xb40000722fb057a8
[067:480] [2023-07-13 09:17:29 +0000.454292][2995] SetParamForFilter time:12436672
enter.

[067:480] [2023-07-13 09:17:29 +0000.454311][2995] SetParamForFilter: Params video


index is: 2
[067:481] [2023-07-13 09:17:29 +0000.454327][2995] SetParamForFilter: Params seek
pos is: 2
[067:481] [2023-07-13 09:17:29 +0000.454345][2995] crop filter video index:2
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.artslow/
movie_mode: 0
[067:481] [2023-07-13 09:17:29 +0000.454364][2995] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//config.json
[067:481] [2023-07-13 09:17:29 +0000.454623][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454645][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454670][2995]
exp_des.start:0exp_des.end:3540exp_des.expressionstr:0.5
[067:481] [2023-07-13 09:17:29 +0000.454696][2995]
exp_des.start:0exp_des.end:3540exp_des.expressionstr:0.5
[067:481] [2023-07-13 09:17:29 +0000.454715][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454732][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454752][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454773][2995]
exp_des.start:0exp_des.end:3540exp_des.expressionstr:0.75
[067:481] [2023-07-13 09:17:29 +0000.454792][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454809][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454828][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454846][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454864][2995]
Warning(parse_template_json.cc:45): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454882][2995]
Warning(parse_template_json.cc:95): json parament no found the parament
[067:481] [2023-07-13 09:17:29 +0000.454901][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[067:481] [2023-07-13 09:17:29 +0000.454919][2995] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//filter.png
[067:481] [2023-07-13 09:17:29 +0000.454937][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[067:481] [2023-07-13 09:17:29 +0000.454954][2995]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[067:482] [2023-07-13 09:17:29 +0000.455503][2995] SetParamForFilter leave. expire
time = 2 ms

[067:482] [2023-07-13 09:17:29 +0000.455572][2995] OnOutputSizeChanged width 1920


height 1080
[067:482] [2023-07-13 09:17:29 +0000.455594][2995] OpenGLFrameBuffer: width:1920
height:1080
[067:482] [2023-07-13 09:17:29 +0000.455612][2995] OpenGLFrameBuffer: width:1920
height:1080
[067:482] [2023-07-13 09:17:29 +0000.455631][2995] OpenGLFrameBuffer: width:1920
height:1080
[067:482] [2023-07-13 09:17:29 +0000.455650][2995] OpenGLFrameBuffer: width:1920
height:1080
[067:482] [2023-07-13 09:17:29 +0000.455666][2995] OpenGLFrameBuffer: width:1920
height:1080
[067:482] [2023-07-13 09:17:29 +0000.455683][2995] OpenGLFrameBuffer: width:1920
height:1080
[067:482] [2023-07-13 09:17:29 +0000.455700][2995] construct TrivalImageDrawer
0xb40000723faf5970
[067:482] [2023-07-13 09:17:29 +0000.455754][2995] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0xb40000723faf5970 context
0xb4000071cfb43c50
[067:482] [2023-07-13 09:17:29 +0000.455774][2995] setupGLES:
[067:482] [2023-07-13 09:17:29 +0000.456080][2995] OpenGLRenderProgram::Initialize.
[067:482] [2023-07-13 09:17:29 +0000.456111][2995] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[067:482] [2023-07-13 09:17:29 +0000.456130][2995] 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
[067:482] [2023-07-13 09:17:29 +0000.456168][2995] Init open gl render:
0xb40000728fcb51d8
[067:482] [2023-07-13 09:17:29 +0000.456192][2995] Fragement shader path:
[067:482] [2023-07-13 09:17:29 +0000.456214][2995] Fragement shader path:
[067:483] [2023-07-13 09:17:29 +0000.456835][2995] create opengl program object.
[067:483] [2023-07-13 09:17:29 +0000.456858][2995] create shader: vertex
[067:483] [2023-07-13 09:17:29 +0000.457024][2995] create shader: fragment
[067:493] [2023-07-13 09:17:29 +0000.466647][2995] External image path is empty!
[067:493] [2023-07-13 09:17:29 +0000.466701][2995] Error(crop_filter.cc:464): Init
the image texture failed.
[067:493] [2023-07-13 09:17:29 +0000.466726][2995] OpenGLRenderProgram::Initialize
success.
[067:493] [2023-07-13 09:17:29 +0000.466782][2995] Setup the OpenGL result:1
[067:493] [2023-07-13 09:17:29 +0000.467058][2994] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12436685.mp4
[067:493] [2023-07-13 09:17:29 +0000.467200][2994] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12436685.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[067:493] [2023-07-13 09:17:29 +0000.467245][2994] 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
[067:493] [2023-07-13 09:17:29 +0000.467273][2994] 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.artslow_168923978168
7/record_video_12436685.mp4 fileFD: -1
[067:494] [2023-07-13 09:17:29 +0000.467555][2994] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_168923978168
7/record_video_12436685.mp4 is opened successfully
[067:494] [2023-07-13 09:17:29 +0000.467578][2994] setupMediaProcessers:
[067:494] [2023-07-13 09:17:29 +0000.467596][2994]
RecordingSessionInternalSimple:setup media processers.
[067:494] [2023-07-13 09:17:29 +0000.467613][2994] construct AAC encoder
[067:494] [2023-07-13 09:17:29 +0000.467795][2994] H264Encoder creating:
superfast011818
[067:494] [2023-07-13 09:17:29 +0000.467822][2994] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[067:495] [2023-07-13 09:17:29 +0000.468454][2994] H264Encode::GetMachineModel is
SHARK PAR-H0
[067:495] [2023-07-13 09:17:29 +0000.468483][2994] H264Encoder machine_mode
is:SHARK PAR-H0
[067:495] [2023-07-13 09:17:29 +0000.468501][2994] setupCompressionSession:
[067:495] [2023-07-13 09:17:29 +0000.468518][2994] H264Encode::creating hareware
Encoder
[067:495] [2023-07-13 09:17:29 +0000.468536][2994] AndroidHwAvcEncoder
time:12436687 enter.

[067:495] [2023-07-13 09:17:29 +0000.468655][2994] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000725fab9110 address:0x70706af050
[067:495] [2023-07-13 09:17:29 +0000.468737][2994] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[067:495] [2023-07-13 09:17:29 +0000.468764][2994] The video avc hw codec address
is 0xb40000719faf7bf0
[067:495] [2023-07-13 09:17:29 +0000.468810][2994] AndroidHwAvcEncoder leave.
expire time = 0 ms

[067:495] [2023-07-13 09:17:29 +0000.468834][2994] RegisterEncodeCompleteCallback


time:12436687 enter.

[067:495] [2023-07-13 09:17:29 +0000.468892][2994] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[067:495] [2023-07-13 09:17:29 +0000.468925][2994] InitEncode time:12436687 enter.

[067:495] [2023-07-13 09:17:29 +0000.468974][2994] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[067:495] [2023-07-13 09:17:29 +0000.469002][2994] Create time:12436687 enter.

[067:495] [2023-07-13 09:17:29 +0000.469024][2994] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[067:495] [2023-07-13 09:17:29 +0000.469049][2994]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0xb40000721fb07b10
[067:495] [2023-07-13 09:17:29 +0000.469148][2994]
supported_type:image/vnd.android.heic
[067:495] [2023-07-13 09:17:29 +0000.469186][2994] supported_type:video/avc
[067:495] [2023-07-13 09:17:29 +0000.469212][2994] name:OMX.qcom.video.encoder.avc
mime:video/avc
[067:495] [2023-07-13 09:17:29 +0000.469242][2994] hwCodecPrefix :OMX.qcom.
[067:495] [2023-07-13 09:17:29 +0000.469265][2994] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[067:495] [2023-07-13 09:17:29 +0000.469292][2994] mediacodec_createCodecByName
time:12436687 enter.

[067:495] [2023-07-13 09:17:29 +0000.469315][2994] WrapAndroidMediaCodec


time:12436687 enter.

[067:496] [2023-07-13 09:17:29 +0000.469416][2994] WrapAndroidMediaCodec leave.


expire time = 1 ms

[067:496] [2023-07-13 09:17:29 +0000.469687][2b2b] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0xb40000726f
[067:514] [2023-07-13 09:17:29 +0000.487363][2996]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[067:519] [2023-07-13 09:17:29 +0000.493063][2994] mediacodec_createCodecByName
leave. expire time = 24 ms

[067:519] [2023-07-13 09:17:29 +0000.493153][2994] WrapAndroidMediaFromat


time:12436711 enter.

[067:519] [2023-07-13 09:17:29 +0000.493231][2994] WrapAndroidMediaFromat leave.


expire time = 0 ms

[067:550] [2023-07-13 09:17:29 +0000.524124][2994] Destroy time:12436742 enter.

[067:551] [2023-07-13 09:17:29 +0000.524482][2994] WrapAndroidMediaFromat::


Destroy
[067:551] [2023-07-13 09:17:29 +0000.524572][2994] Destroy leave. expire time = 1
ms

[067:551] [2023-07-13 09:17:29 +0000.524659][2994] ~WrapAndroidMediaFromat


time:12436743 enter.

[067:551] [2023-07-13 09:17:29 +0000.524737][2994] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[067:551] [2023-07-13 09:17:29 +0000.524816][2994] Create leave. expire time = 56


ms

[067:551] [2023-07-13 09:17:29 +0000.524890][2994] isSemiPlanarSupport


time:12436743 enter.

[067:551] [2023-07-13 09:17:29 +0000.524965][2994] H264Encoder isSemiPlanarSupport


[067:551] [2023-07-13 09:17:29 +0000.525039][2994] isSemiPlanarSupport leave.
expire time = 0 ms

[067:551] [2023-07-13 09:17:29 +0000.525113][2994] creat hw H264Encoder success,


isSemiPlanar:1
[067:552] [2023-07-13 09:17:29 +0000.525409][2994] InitEncode leave. expire time =
57 ms

[067:552] [2023-07-13 09:17:29 +0000.525507][2994] H264Encode::created Encoder


[067:552] [2023-07-13 09:17:29 +0000.525583][2994] H264Encode:: H264 encoder
created.
[067:552] [2023-07-13 09:17:29 +0000.525652][2994] H264 encoder created.
[067:552] [2023-07-13 09:17:29 +0000.525719][2994]
RecordingSessionInternalSimple:created avc encoder avc: 0xb40000724fb34ad0
[067:552] [2023-07-13 09:17:29 +0000.525796][2994] setOutput:
[067:552] [2023-07-13 09:17:29 +0000.525868][2994]
RecordingSessionInternalSimple:encoder set output to muxer!
[067:552] [2023-07-13 09:17:29 +0000.525937][2994] request a key frame
[067:552] [2023-07-13 09:17:29 +0000.526009][2994] H264Encode:: request a key frame
[067:552] [2023-07-13 09:17:29 +0000.526209][2995] Start:
[067:553] [2023-07-13 09:17:29 +0000.526493][2998] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[067:553] [2023-07-13 09:17:29 +0000.526659][2998] Reset: history total size: 98
[067:553] [2023-07-13 09:17:29 +0000.526821][2998] DeviceStart:
audioDevice_:0xb40000730fb25d60
[067:553] [2023-07-13 09:17:29 +0000.526903][2998] DeviceStart: time profile
playout init before
[067:553] [2023-07-13 09:17:29 +0000.526982][2998] DeviceStart: time profile
playout init end
[067:553] [2023-07-13 09:17:29 +0000.527054][2998] OpenSlesOutput:Start playout
[067:555] [2023-07-13 09:17:29 +0000.528482][2998] Create the opensl output player.
streamtype before:0

[067:555] [2023-07-13 09:17:29 +0000.528605][2998] Create the opensl output player.


streamtype after:3

[067:575] [2023-07-13 09:17:29 +0000.549204][2998] Enqueue opensl buffer size:1764


[067:584] [2023-07-13 09:17:29 +0000.558220][2996]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[067:592] [2023-07-13 09:17:29 +0000.565752][2998] DeviceStart: time profile
playout all end
[067:592] [2023-07-13 09:17:29 +0000.565899][2998] operator(): Audio playback
started.
[067:594] [2023-07-13 09:17:29 +0000.567762][2b32] NeedMorePlayData: Scale the
volume to zero now!
[067:619] [2023-07-13 09:17:29 +0000.592910][2995] begine recode to first frame
spend time:140
[067:619] [2023-07-13 09:17:29 +0000.593028][2995] add frame because frame
interval.
[067:619] [2023-07-13 09:17:29 +0000.593095][2995]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[067:619] [2023-07-13 09:17:29 +0000.593147][2995]
GPUImageProcessing::SetOrientation orientation: 90
[067:621] [2023-07-13 09:17:29 +0000.595119][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fcb51d8
[067:637] [2023-07-13 09:17:29 +0000.611245][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fcb51d8
[067:646] [2023-07-13 09:17:29 +0000.619522][2996] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//bgm.mp3
sync_mode: 1 seek_pos: 5629 delay: 0 this:0xb40000728fc7dd30
[067:647] [2023-07-13 09:17:29 +0000.620645][2b2a]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[067:667] [2023-07-13 09:17:29 +0000.640587][2995] drawYUV420 render
OpenGLRenderProgram:0xb40000728fcb51d8
[067:671] [2023-07-13 09:17:29 +0000.644867][2995] The convert RGB to YUV take 4
[067:673] [2023-07-13 09:17:29 +0000.646623][2b27] FFMpeg=> [mp3 @
0xb40000729fbb4520] Current FFmpeg version git-2021-06-16-97cea6f

[067:690] [2023-07-13 09:17:29 +0000.663976][2b28] success seekto


avformat_seek_file to: 5629000
[067:690] [2023-07-13 09:17:29 +0000.664220][2b28] Drop one audio frame for seekto,
pkt_dts 79252992 audio_seek_pos_: 5629000
[067:693] [2023-07-13 09:17:29 +0000.667114][2998] First audio frame rendering
[067:696] [2023-07-13 09:17:29 +0000.670111][2b2b] add aac audio track with id:1
[067:703] [2023-07-13 09:17:29 +0000.677151][2995] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[067:708] [2023-07-13 09:17:29 +0000.681778][2b2b] audio start ts:0
[067:708] [2023-07-13 09:17:29 +0000.681851][2b2b] the audio frame has been written
into MP4 file
[067:708] [2023-07-13 09:17:29 +0000.682045][2b2a] h264 add frame header cdr flag
[067:710] [2023-07-13 09:17:29 +0000.683417][2b2a] h264 add frame header cdr flag
[067:710] [2023-07-13 09:17:29 +0000.683478][2b2a] Received key frame:0
[067:710] [2023-07-13 09:17:29 +0000.683510][2b2a] H264Encode:: get a sps pps
header!headerSize:32
[067:710] [2023-07-13 09:17:29 +0000.683765][2b2b] get the H.264 SPS parameter
[067:710] [2023-07-13 09:17:29 +0000.683932][2b2b] add video track with id:2
[067:710] [2023-07-13 09:17:29 +0000.684061][2b2b] get the H.264 PPS parameter
[067:711] [2023-07-13 09:17:29 +0000.684472][2b2b] get the H.264 IDR frame
[067:711] [2023-07-13 09:17:29 +0000.684521][2b2b] resss:true
[067:711] [2023-07-13 09:17:29 +0000.684544][2b2b] video start ts:0
[067:711] [2023-07-13 09:17:29 +0000.684577][2b2b] the video frame has been written
into MP4 file
[067:738] [2023-07-13 09:17:29 +0000.711405][2b2a] Push an pts:133 to dts queue.
[067:773] [2023-07-13 09:17:29 +0000.747139][2b2a] last dts:88 currentPts:133
ppsOrSPS:0 queue length:2
[067:848] [2023-07-13 09:17:29 +0000.821416][2b2a] DTS queue for
Generator:0xb40000726fb2de98 267
[068:063] [2023-07-13 09:17:30 +0000.37294][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[068:170] [2023-07-13 09:17:30 +0000.144107][2995] The convert RGB to YUV take 5
[068:253] [2023-07-13 09:17:30 +0000.227055][2996] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[068:286] [2023-07-13 09:17:30 +0000.260302][2998] The audio playback speed:100
(1/100)
[068:287] [2023-07-13 09:17:30 +0000.260418][2998] lipsync_debug: The current
played audio timestamp is:791(1/50)
[068:391] [2023-07-13 09:17:30 +0000.364413][2b32]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[068:399] [2023-07-13 09:17:30 +0000.373262][2995] CameraSource::PushExtraFrame
pkt_dts: 1066, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000725fae7010
[068:565] [2023-07-13 09:17:30 +0000.538341][2995] CropFilter::OnVideoFrame
outputtexture :19
[068:565] [2023-07-13 09:17:30 +0000.538479][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[068:576] [2023-07-13 09:17:30 +0000.549649][a8c] video render surface render a
frame
[068:670] [2023-07-13 09:17:30 +0000.644202][2995] The convert RGB to YUV take 5
[068:677] [2023-07-13 09:17:30 +0000.650903][2b2a] DTS queue for
Generator:0xb40000726fb2de98 1377
[069:065] [2023-07-13 09:17:31 +0000.38551][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[069:072] [2023-07-13 09:17:31 +0000.46291][2b2a] Push an pts:1911 to dts queue.
[069:105] [2023-07-13 09:17:31 +0000.78959][2b2a] last dts:1867 currentPts:1911
ppsOrSPS:0 queue length:2
[069:169] [2023-07-13 09:17:31 +0000.142988][2995] The convert RGB to YUV take 4
[069:365] [2023-07-13 09:17:31 +0000.339098][2995] CameraSource::PushExtraFrame
pkt_dts: 2356, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000725fae7010
[069:428] [2023-07-13 09:17:31 +0000.402066][2b32]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[069:509] [2023-07-13 09:17:31 +0000.482834][2b2a] DTS queue for
Generator:0xb40000726fb2de98 2488
[069:564] [2023-07-13 09:17:31 +0000.538224][a8c] video render surface render a
frame
[069:565] [2023-07-13 09:17:31 +0000.539040][2995] CropFilter::OnVideoFrame
outputtexture :19
[069:565] [2023-07-13 09:17:31 +0000.539140][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[069:671] [2023-07-13 09:17:31 +0000.645035][2995] The convert RGB to YUV take 4
[069:676] [2023-07-13 09:17:31 +0000.649804][2b2a] h264 add frame header cdr flag
[069:676] [2023-07-13 09:17:31 +0000.649908][2b2a] Received key frame:2667
[069:710] [2023-07-13 09:17:31 +0000.683527][2b2b] get the H.264 IDR frame
[069:799] [2023-07-13 09:17:31 +0000.772383][2995] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[070:062] [2023-07-13 09:17:32 +0000.36069][2995] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[070:169] [2023-07-13 09:17:32 +0000.143217][2995] The convert RGB to YUV take 7
[070:296] [2023-07-13 09:17:32 +0000.270144][2995] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[070:296] [2023-07-13 09:17:32 +0000.270230][2995] GPUImageProcessing: input frame
width2160 X 3840
[070:298] [2023-07-13 09:17:32 +0000.271716][2995] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[070:298] [2023-07-13 09:17:32 +0000.271811][2995] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[070:309] [2023-07-13 09:17:32 +0000.282975][2b2a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3511 pts:3511
[070:342] [2023-07-13 09:17:32 +0000.316043][2995] CameraSource::PushExtraFrame
pkt_dts: 3645, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0xb40000725fae7010
[070:347] [2023-07-13 09:17:32 +0000.320866][2998] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[070:347] [2023-07-13 09:17:32 +0000.321076][2995] OnNeedStopRecording:
[070:352] [2023-07-13 09:17:32 +0000.325597][7be4]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[070:352] [2023-07-13 09:17:32 +0000.325778][2995] operator(): Stop
[070:353] [2023-07-13 09:17:32 +0000.326721][2995] Stop:
[070:353] [2023-07-13 09:17:32 +0000.326907][2998] DeviceStop:
audioDevice_:0xb40000730fb25d60
[070:353] [2023-07-13 09:17:32 +0000.327013][2998] OpenSlesOutput:Stop playout

[070:358] [2023-07-13 09:17:32 +0000.331781][2998] DeviceStop: Done


[070:358] [2023-07-13 09:17:32 +0000.331911][2998] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[070:360] [2023-07-13 09:17:32 +0000.333921][2b2a]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[070:362] [2023-07-13 09:17:32 +0000.336130][2994] stop recording
[070:362] [2023-07-13 09:17:32 +0000.336170][2994]
RecordingSessionInternalSimple:destroy media processers
[070:362] [2023-07-13 09:17:32 +0000.336191][2994] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[070:362] [2023-07-13 09:17:32 +0000.336210][2994] H264Encode::flushing hareware
Encoder
[070:362] [2023-07-13 09:17:32 +0000.336317][2994] Flush time:12439554 enter.

[070:363] [2023-07-13 09:17:32 +0000.336350][2994] H264Encoder encoder flush


[070:363] [2023-07-13 09:17:32 +0000.336372][2994] flush output queue
[070:364] [2023-07-13 09:17:32 +0000.337939][2994] DTS queue for
Generator:0xb40000726fb2de98
[070:679] [2023-07-13 09:17:32 +0000.652774][2994] Flush leave. expire time = 317
ms

[070:679] [2023-07-13 09:17:32 +0000.653162][2994] ~H264EncodeWrap:


[070:679] [2023-07-13 09:17:32 +0000.653245][2994] ~H264Encode:
[070:680] [2023-07-13 09:17:32 +0000.653602][2994] teardownCompressionSession:
H264Encode::destroying Encoder
[070:680] [2023-07-13 09:17:32 +0000.653678][2994] Release time:12439872 enter.

[070:680] [2023-07-13 09:17:32 +0000.653946][2994] Release:


MediaCodecVideoEncoder::Release _inited:1
[070:680] [2023-07-13 09:17:32 +0000.654044][2994] Destroy time:12439872 enter.

[070:680] [2023-07-13 09:17:32 +0000.654107][2994] H264Encoder encoderDestroy


[070:680] [2023-07-13 09:17:32 +0000.654168][2994]
AndroidMediaCodecVideoEncoder::release env: 0xb40000724fb38a10
[070:680] [2023-07-13 09:17:32 +0000.654231][2994]
AndroidMediaCodecVideoEncoder::Destroy
[070:721] [2023-07-13 09:17:32 +0000.695224][2994] Destroy leave. expire time = 41
ms

[070:722] [2023-07-13 09:17:32 +0000.695522][2994] Release leave. expire time = 42


ms

[070:722] [2023-07-13 09:17:32 +0000.695600][2994] ~AndroidHwAvcEncoder


time:12439914 enter.

[070:722] [2023-07-13 09:17:32 +0000.695912][2994] Release time:12439914 enter.

[070:722] [2023-07-13 09:17:32 +0000.696019][2994] Release:


MediaCodecVideoEncoder:: has been released before, just return
[070:722] [2023-07-13 09:17:32 +0000.696101][2994] Release leave. expire time = 0
ms

[070:722] [2023-07-13 09:17:32 +0000.696167][2994] ~AndroidMediaCodecVideoEncoder


[070:722] [2023-07-13 09:17:32 +0000.696220][2994] ~WrapAndroidMediaCodec
time:12439914 enter.

[070:722] [2023-07-13 09:17:32 +0000.696276][2994] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[070:723] [2023-07-13 09:17:32 +0000.696334][2994] video hevc hw codec


destructor:0xb40000719faf7bf0

[070:723] [2023-07-13 09:17:32 +0000.696432][2994] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[070:724] [2023-07-13 09:17:32 +0000.698180][2994] teardownCompressionSession:


H264Encode::destroyed Encoder
[070:724] [2023-07-13 09:17:32 +0000.698279][2994]
RecordingSessionInternalSimple:destroy aac encoder output!
[070:725] [2023-07-13 09:17:32 +0000.698340][2994] AACSWEncode destructor
[070:730] [2023-07-13 09:17:32 +0000.703776][2b2b] MP4 close file successfully
[070:730] [2023-07-13 09:17:32 +0000.703868][2b2b] Recording session Internal:
notify recording ok
[070:730] [2023-07-13 09:17:32 +0000.703925][2b2b] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_1689239781687/
record_video_12436685.mp4
[070:730] [2023-07-13 09:17:32 +0000.703988][2b2b] OnRecordFinish:
[070:731] [2023-07-13 09:17:32 +0000.705166][2995] DestroyPipelineAndFilters
time:12439923 enter.

[070:732] [2023-07-13 09:17:32 +0000.706096][2995] UnbindInputFilter


0xb40000725fae7150 this 0xb40000728fcb54c0
[070:732] [2023-07-13 09:17:32 +0000.706252][2995] UnbindInputFilter
0xb40000728fcb54c0 this 0xb40000722fb057a8
[070:732] [2023-07-13 09:17:32 +0000.706286][2995] filter: filter pipeline destroy
this: 0xb40000722fb05710
[070:733] [2023-07-13 09:17:32 +0000.706406][2995] ClearVideoOfSources: recodring
total frames:0
[070:733] [2023-07-13 09:17:32 +0000.706445][2995] ClearVideoOfSources:
[070:733] [2023-07-13 09:17:32 +0000.706477][2995] GPUImageProcessing destruct.
[070:733] [2023-07-13 09:17:32 +0000.706521][2995] destroy TrivalImageDrawer
0xb40000723faf5970
[070:733] [2023-07-13 09:17:32 +0000.706555][2995] The shader has been initialize,
clean up them.

[070:733] [2023-07-13 09:17:32 +0000.706910][2995] ~OpenGLFrameBuffer:


[070:733] [2023-07-13 09:17:32 +0000.707034][2995] ~OpenGLFrameBuffer:
[070:733] [2023-07-13 09:17:32 +0000.707143][2995] ~OpenGLFrameBuffer:
[070:733] [2023-07-13 09:17:32 +0000.707262][2995] ~OpenGLFrameBuffer:
[070:734] [2023-07-13 09:17:32 +0000.707383][2995] ~OpenGLFrameBuffer:
[070:734] [2023-07-13 09:17:32 +0000.707478][2995] ~OpenGLFrameBuffer:
[070:734] [2023-07-13 09:17:32 +0000.707969][2995] GPUImageProcessing destruct
finish.
[070:734] [2023-07-13 09:17:32 +0000.708023][2995] GPURGBAFrame destruct.
[070:734] [2023-07-13 09:17:32 +0000.708273][2995] destroy OpenGLRenderProgram
0xb40000728fcb51d8
[070:734] [2023-07-13 09:17:32 +

You might also like