You are on page 1of 15

[000:033] [2023-01-26 11:32:00 +0000.

734661][5253] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-01-
26 11:32:00 +0000
[000:033] [2023-01-26 11:32:00 +0000.734787][5253] dump file m_prefix:-07-27-
feaf968

[000:038] [2023-01-26 11:32:00 +0000.740030][5253] dump filename:trace.txt dump


time:1674732720

[000:038] [2023-01-26 11:32:00 +0000.740289][5253] set AppID=123 old AppID=-1


[000:038] [2023-01-26 11:32:00 +0000.740329][5253] Init the android object with
jvm:0xb400007b55050540 env:0x7a8ea74ac0 context:0x7a1f43e6b8

[000:038] [2023-01-26 11:32:00 +0000.740358][5253] SetAndroidMediaCodecObjects


time:216846532 enter.

[000:038] [2023-01-26 11:32:00 +0000.740377][5253] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:038] [2023-01-26 11:32:00 +0000.740388][5253] SetAndroidMediaCodecObjects


time:216846532 enter.

[000:039] [2023-01-26 11:32:00 +0000.740416][5253] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b55050540
[000:039] [2023-01-26 11:32:00 +0000.740426][5253] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b55050540 address:0x798dce3050
[000:039] [2023-01-26 11:32:00 +0000.740437][5253] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b55050540
address:0x798dce3050
[000:039] [2023-01-26 11:32:00 +0000.740445][5253] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:039] [2023-01-26 11:32:00 +0000.740461][5253] Set the android objects with


jvm:0xb400007b55050540 env:0x7a8ea74ac0 context:0x7a1f43e6b8

[000:039] [2023-01-26 11:32:00 +0000.740477][5253] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7a8ea74ac0
[000:039] [2023-01-26 11:32:00 +0000.740488][5253] SystemUtil Init done
[000:070] [2023-01-26 11:32:00 +0000.771502][5253]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:070] [2023-01-26 11:32:00 +0000.772404][5253]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:071] [2023-01-26 11:32:00 +0000.772793][5253] machine model :xiaomi
[000:071] [2023-01-26 11:32:00 +0000.772833][5253] Support this machine
model :xiaomi
[000:071] [2023-01-26 11:32:00 +0000.772918][5253] MediaFilterCamera
[000:071] [2023-01-26 11:32:00 +0000.772961][5253] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:071] [2023-01-26 11:32:00 +0000.773091][5253] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:071] [2023-01-26 11:32:00 +0000.773127][5253] Recording session using default
bitrate support by app:31457280
[000:071] [2023-01-26 11:32:00 +0000.773226][5d97] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79e1ed0b40
[000:072] [2023-01-26 11:32:00 +0000.773424][5d97] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:072] [2023-01-26 11:32:00 +0000.773501][5253] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:073] [2023-01-26 11:32:00 +0000.774768][5253] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:073] [2023-01-26 11:32:00 +0000.775076][5253] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:073] [2023-01-26 11:32:00 +0000.775154][5253] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:073] [2023-01-26 11:32:00 +0000.775356][5253] DeviceInit:
[000:074] [2023-01-26 11:32:00 +0000.775717][5253] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:074] [2023-01-26 11:32:00 +0000.776107][5253] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:075] [2023-01-26 11:32:00 +0000.776620][5253] CreatePlatformSpecificObjects:
[000:075] [2023-01-26 11:32:00 +0000.776677][5253] audio device use null audio
input and opensl output
[000:075] [2023-01-26 11:32:00 +0000.776715][5253] Create OpenSLES output module
with java VM support.

[000:075] [2023-01-26 11:32:00 +0000.776876][5253] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:075] [2023-01-26 11:32:00 +0000.777226][5253] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:076] [2023-01-26 11:32:00 +0000.777458][5253] Create OpenSLES output module
with buffer num:2

[000:076] [2023-01-26 11:32:00 +0000.777613][5253] Error(trace.cc:40): Init the


output and input for audio device template.
[000:076] [2023-01-26 11:32:00 +0000.777684][5253] Init the output device.

[000:076] [2023-01-26 11:32:00 +0000.777698][5253] Set the playout as stereo:1


[000:076] [2023-01-26 11:32:00 +0000.777732][5253] Set the sample rate to be:44100

[000:079] [2023-01-26 11:32:00 +0000.781239][5253] Low latency buffer size:144 low


sample rate:48000
[000:079] [2023-01-26 11:32:00 +0000.781327][5253] DeviceInit: Done
[000:080] [2023-01-26 11:32:00 +0000.782333][5253] global inited! current sdk
version: 07-27-feaf968
[000:400] [2023-01-26 11:32:01 +0000.101545][56b7]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:400] [2023-01-26 11:32:01 +0000.101718][56b7]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
14, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices
len: 32, texture_vertices len: 32
[000:401] [2023-01-26 11:32:01 +0000.102644][56b7]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:401] [2023-01-26 11:32:01 +0000.102857][5d98] MediaFilterCamera, recording
file context:0x7a94eab880 input texture:14
[000:401] [2023-01-26 11:32:01 +0000.102929][5d98] GLESContext:
[000:401] [2023-01-26 11:32:01 +0000.102967][5d98] The result of eglGetDisplay is:
0xb400007a8ea71c80
[000:402] [2023-01-26 11:32:01 +0000.103815][5d98] The result of creation:
0x79fdd9da00
[000:402] [2023-01-26 11:32:01 +0000.103938][5d98] The result of
eglCreatePbufferSurface is: 0x79fdd9dd80
[000:402] [2023-01-26 11:32:01 +0000.104077][56b7]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7a94eab880 input_texture: 14
[005:179] [2023-01-26 11:32:05 +0000.880797][5237] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[005:179] [2023-01-26 11:32:05 +0000.880907][5237]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[005:182] [2023-01-26 11:32:05 +0000.883636][5237]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[005:184] [2023-01-26 11:32:05 +0000.885610][5d98] MediaFilterCamera, recording
file context:0x7a94eab880 input texture:14
[005:184] [2023-01-26 11:32:05 +0000.885830][5d98] construct OpenGLRenderProgram
0x7a13f1a898
[005:184] [2023-01-26 11:32:05 +0000.886014][5d98] CropFilter::SetOrientation
orientation: 90
[005:184] [2023-01-26 11:32:05 +0000.886073][5d98] filter: filter pipeline
construtc this: 0x79e1e51500
[005:184] [2023-01-26 11:32:05 +0000.886117][5d98] filter: filter pipeline2 update
pattern: 1
[005:184] [2023-01-26 11:32:05 +0000.886272][5d98] CameraSource::source_id_:1
[005:185] [2023-01-26 11:32:05 +0000.886688][5d98] SetPlayLoop: AudioSource
SetPlayLoop 0
[005:185] [2023-01-26 11:32:05 +0000.886819][5d98]
Warning(media_filter_camera.cc:483): seekPos:0
[005:185] [2023-01-26 11:32:05 +0000.886890][5d98] BindInputFilter 0x7a0fbf90c0
this 0x7a13f1ab80
[005:185] [2023-01-26 11:32:05 +0000.886973][5d98] BindInputFilter 0x7a13f1ab80
this 0x79e1e51598
[005:185] [2023-01-26 11:32:05 +0000.887059][5d98] SetParamForFilter time:216851679
enter.

[005:185] [2023-01-26 11:32:05 +0000.887117][5d98] SetParamForFilter: Params video


index is: 0
[005:185] [2023-01-26 11:32:05 +0000.887155][5d98] SetParamForFilter: Params seek
pos is: 0
[005:185] [2023-01-26 11:32:05 +0000.887238][5d98] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.velocity/
movie_mode: 0
[005:185] [2023-01-26 11:32:05 +0000.887299][5d98] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.velocity//config.json
[005:186] [2023-01-26 11:32:05 +0000.888054][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:186] [2023-01-26 11:32:05 +0000.888227][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:186] [2023-01-26 11:32:05 +0000.888321][5d98]
exp_des.start:0exp_des.end:3630exp_des.expressionstr:0.5 + 0.1*x /3630
[005:186] [2023-01-26 11:32:05 +0000.888379][5d98]
exp_des.start:0exp_des.end:3630exp_des.expressionstr:0.5 + 0.1*x /3630
[005:187] [2023-01-26 11:32:05 +0000.888440][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.888472][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.888497][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.888675][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.888806][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.888875][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.888944][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.889015][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.889054][5d98]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.889105][5d98]
Warning(parse_template_json.cc:95): json parament no found the parament
[005:187] [2023-01-26 11:32:05 +0000.889140][5d98]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[005:187] [2023-01-26 11:32:05 +0000.889187][5d98] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.velocity//filter.png
[005:187] [2023-01-26 11:32:05 +0000.889219][5d98]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[005:187] [2023-01-26 11:32:05 +0000.889263][5d98]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[005:190] [2023-01-26 11:32:05 +0000.892126][5d98] SetParamForFilter leave. expire
time = 5 ms

[005:191] [2023-01-26 11:32:05 +0000.892527][5d98] OnOutputSizeChanged width 1920


height 1080
[005:191] [2023-01-26 11:32:05 +0000.892676][5d98] OpenGLFrameBuffer: width:1920
height:1080
[005:191] [2023-01-26 11:32:05 +0000.892743][5d98] OpenGLFrameBuffer: width:1920
height:1080
[005:191] [2023-01-26 11:32:05 +0000.892780][5d98] OpenGLFrameBuffer: width:1920
height:1080
[005:191] [2023-01-26 11:32:05 +0000.892828][5d98] OpenGLFrameBuffer: width:1920
height:1080
[005:191] [2023-01-26 11:32:05 +0000.892857][5d98] OpenGLFrameBuffer: width:1920
height:1080
[005:191] [2023-01-26 11:32:05 +0000.892884][5d98] OpenGLFrameBuffer: width:1920
height:1080
[005:191] [2023-01-26 11:32:05 +0000.892932][5d98] construct TrivalImageDrawer
0x79fdc8fa00
[005:191] [2023-01-26 11:32:05 +0000.892973][5d98] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x79fdc8fa00 context 0x7a0fc10840
[005:191] [2023-01-26 11:32:05 +0000.893022][5d98] setupGLES:
[005:192] [2023-01-26 11:32:05 +0000.893480][5d98] OpenGLRenderProgram::Initialize.
[005:192] [2023-01-26 11:32:05 +0000.893590][5d98] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[005:192] [2023-01-26 11:32:05 +0000.893654][5d98] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather GL_QCOM_shading_rate
[005:192] [2023-01-26 11:32:05 +0000.893825][5d98] Init open gl render:
0x7a13f1a898
[005:192] [2023-01-26 11:32:05 +0000.893913][5d98] Fragement shader path:
[005:192] [2023-01-26 11:32:05 +0000.893977][5d98] Fragement shader path:
[005:192] [2023-01-26 11:32:05 +0000.894006][5d98] create opengl program object.
[005:192] [2023-01-26 11:32:05 +0000.894030][5d98] create shader: vertex
[005:196] [2023-01-26 11:32:05 +0000.898415][5d98] create shader: fragment
[005:281] [2023-01-26 11:32:05 +0000.982868][5d98] External image path is empty!
[005:281] [2023-01-26 11:32:05 +0000.982968][5d98] Error(crop_filter.cc:464): Init
the image texture failed.
[005:281] [2023-01-26 11:32:05 +0000.982991][5d98] OpenGLRenderProgram::Initialize
success.
[005:281] [2023-01-26 11:32:05 +0000.983042][5d98] Setup the OpenGL result:1
[005:281] [2023-01-26 11:32:05 +0000.983377][5d99] Pull audio failed.(wait video!)
[005:281] [2023-01-26 11:32:05 +0000.983435][5d97] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_16747327206
34/record_video_216851775.mp4
[005:282] [2023-01-26 11:32:05 +0000.983488][5d99]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[005:282] [2023-01-26 11:32:05 +0000.983647][5d97] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_16747327206
34/record_video_216851775.mp4 fileFd: -1 audio_timescale:44100
video_timescale:90000
[005:282] [2023-01-26 11:32:05 +0000.983699][5d97] 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:282] [2023-01-26 11:32:05 +0000.983720][5d97] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_16747327206
34/record_video_216851775.mp4 fileFD: -1
[005:282] [2023-01-26 11:32:05 +0000.984149][5d97] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_16747327206
34/record_video_216851775.mp4 is opened successfully
[005:282] [2023-01-26 11:32:05 +0000.984181][5d97] setupMediaProcessers:
[005:282] [2023-01-26 11:32:05 +0000.984195][5d97]
RecordingSessionInternalSimple:setup media processers.
[005:282] [2023-01-26 11:32:05 +0000.984205][5d97] construct AAC encoder
[005:283] [2023-01-26 11:32:05 +0000.984438][5d97] H264Encoder creating:
superfast011818
[005:283] [2023-01-26 11:32:05 +0000.984472][5d97] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[005:283] [2023-01-26 11:32:05 +0000.984881][5d97] H264Encode::GetMachineModel is
2109119DG
[005:283] [2023-01-26 11:32:05 +0000.984923][5d97] H264Encoder machine_mode
is:2109119DG
[005:283] [2023-01-26 11:32:05 +0000.984937][5d97] setupCompressionSession:
[005:283] [2023-01-26 11:32:05 +0000.984946][5d97] H264Encode::creating hareware
Encoder
[005:283] [2023-01-26 11:32:05 +0000.984954][5d97] AndroidHwAvcEncoder
time:216851777 enter.

[005:283] [2023-01-26 11:32:05 +0000.985156][5d97] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b55050540 address:0x798dce3050
[005:283] [2023-01-26 11:32:05 +0000.985285][5d97] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[005:283] [2023-01-26 11:32:05 +0000.985316][5d97] The video avc hw codec address
is 0x79e2857598
[005:283] [2023-01-26 11:32:05 +0000.985370][5d97] AndroidHwAvcEncoder leave.
expire time = 0 ms

[005:283] [2023-01-26 11:32:05 +0000.985398][5d97] RegisterEncodeCompleteCallback


time:216851777 enter.

[005:284] [2023-01-26 11:32:05 +0000.985469][5d97] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[005:284] [2023-01-26 11:32:05 +0000.985504][5d97] InitEncode time:216851778


enter.

[005:284] [2023-01-26 11:32:05 +0000.985561][5d97] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[005:284] [2023-01-26 11:32:05 +0000.985592][5d97] Create time:216851778 enter.

[005:284] [2023-01-26 11:32:05 +0000.985606][5d97] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[005:284] [2023-01-26 11:32:05 +0000.985621][5d97]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7a869217c0
[005:282] [2023-01-26 11:32:05 +0000.983706][5db6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a1bd83898
[005:296] [2023-01-26 11:32:05 +0000.997729][5d97] supported_type:audio/mp4a-latm
[005:296] [2023-01-26 11:32:05 +0000.997804][5d97] supported_type:audio/mp4a-latm
[005:296] [2023-01-26 11:32:05 +0000.997828][5d97] supported_type:audio/3gpp
[005:296] [2023-01-26 11:32:05 +0000.997844][5d97] supported_type:audio/3gpp
[005:296] [2023-01-26 11:32:05 +0000.997861][5d97] supported_type:audio/amr-wb
[005:296] [2023-01-26 11:32:05 +0000.997875][5d97] supported_type:audio/amr-wb
[005:296] [2023-01-26 11:32:05 +0000.997889][5d97] supported_type:audio/flac
[005:296] [2023-01-26 11:32:05 +0000.997903][5d97] supported_type:audio/flac
[005:296] [2023-01-26 11:32:05 +0000.997922][5d97] supported_type:audio/opus
[005:296] [2023-01-26 11:32:05 +0000.997949][5d97] supported_type:video/avc
[005:296] [2023-01-26 11:32:05 +0000.997963][5d97] name:c2.qti.avc.encoder
mime:video/avc
[005:296] [2023-01-26 11:32:05 +0000.997998][5d97] hwCodecPrefix :OMX.qcom.
[005:296] [2023-01-26 11:32:05 +0000.998017][5d97] hwCodecPrefix :OMX.Nvidia.
[005:296] [2023-01-26 11:32:05 +0000.998029][5d97] hwCodecPrefix :OMX.IMG.TOPAZ
[005:296] [2023-01-26 11:32:05 +0000.998038][5d97] hwCodecPrefix :OMX.Exynos
[005:296] [2023-01-26 11:32:05 +0000.998045][5d97] hwCodecPrefix :OMX.MTK
[005:296] [2023-01-26 11:32:05 +0000.998052][5d97] hwCodecPrefix :OMX.hantro
[005:296] [2023-01-26 11:32:05 +0000.998058][5d97] hwCodecPrefix :OMX.Intel
[005:296] [2023-01-26 11:32:05 +0000.998064][5d97] hwCodecPrefix :OMX.ARM
[005:296] [2023-01-26 11:32:05 +0000.998119][5d97] supported_type:video/avc
[005:296] [2023-01-26 11:32:05 +0000.998149][5d97] name:OMX.qcom.video.encoder.avc
mime:video/avc
[005:296] [2023-01-26 11:32:05 +0000.998168][5d97] hwCodecPrefix :OMX.qcom.
[005:296] [2023-01-26 11:32:05 +0000.998183][5d97] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[005:296] [2023-01-26 11:32:05 +0000.998199][5d97] mediacodec_createCodecByName
time:216851790 enter.

[005:296] [2023-01-26 11:32:05 +0000.998212][5d97] WrapAndroidMediaCodec


time:216851790 enter.

[005:296] [2023-01-26 11:32:05 +0000.998369][5d97] WrapAndroidMediaCodec leave.


expire time = 0 ms

[005:317] [2023-01-26 11:32:06 +0000.19224][5d97] mediacodec_createCodecByName


leave. expire time = 21 ms

[005:317] [2023-01-26 11:32:06 +0000.19348][5d97] WrapAndroidMediaFromat


time:216851811 enter.

[005:318] [2023-01-26 11:32:06 +0000.19483][5d97] WrapAndroidMediaFromat leave.


expire time = 1 ms

[005:354] [2023-01-26 11:32:06 +0000.55684][5d99]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[005:390] [2023-01-26 11:32:06 +0000.91655][5d97] Destroy time:216851884 enter.

[005:390] [2023-01-26 11:32:06 +0000.91814][5d97] WrapAndroidMediaFromat::


Destroy
[005:390] [2023-01-26 11:32:06 +0000.91839][5d97] Destroy leave. expire time = 0
ms

[005:390] [2023-01-26 11:32:06 +0000.91849][5d97] ~WrapAndroidMediaFromat


time:216851884 enter.

[005:390] [2023-01-26 11:32:06 +0000.91865][5d97] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[005:390] [2023-01-26 11:32:06 +0000.91879][5d97] Create leave. expire time = 106


ms

[005:390] [2023-01-26 11:32:06 +0000.91894][5d97] isSemiPlanarSupport


time:216851884 enter.

[005:390] [2023-01-26 11:32:06 +0000.91901][5d97] H264Encoder isSemiPlanarSupport


[005:390] [2023-01-26 11:32:06 +0000.91918][5d97] isSemiPlanarSupport leave.
expire time = 0 ms

[005:390] [2023-01-26 11:32:06 +0000.91926][5d97] creat hw H264Encoder success,


isSemiPlanar:1
[005:390] [2023-01-26 11:32:06 +0000.92197][5d97] InitEncode leave. expire time =
106 ms
[005:390] [2023-01-26 11:32:06 +0000.92297][5d97] H264Encode::created Encoder
[005:390] [2023-01-26 11:32:06 +0000.92340][5d97] H264Encode:: H264 encoder
created.
[005:390] [2023-01-26 11:32:06 +0000.92389][5d97] H264 encoder created.
[005:391] [2023-01-26 11:32:06 +0000.92405][5d97]
RecordingSessionInternalSimple:created avc encoder avc: 0x79ed2c9cc0
[005:391] [2023-01-26 11:32:06 +0000.92417][5d97] setOutput:
[005:391] [2023-01-26 11:32:06 +0000.92427][5d97]
RecordingSessionInternalSimple:encoder set output to muxer!
[005:391] [2023-01-26 11:32:06 +0000.92434][5d97] request a key frame
[005:391] [2023-01-26 11:32:06 +0000.92440][5d97] H264Encode:: request a key frame
[005:391] [2023-01-26 11:32:06 +0000.92524][5d98] Start:
[005:391] [2023-01-26 11:32:06 +0000.92803][5d9b] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[005:391] [2023-01-26 11:32:06 +0000.92958][5d9b] Reset: history total size: 98
[005:391] [2023-01-26 11:32:06 +0000.93031][5d9b] DeviceStart:
audioDevice_:0x7a13ec5000
[005:391] [2023-01-26 11:32:06 +0000.93076][5d9b] DeviceStart: time profile playout
init before
[005:391] [2023-01-26 11:32:06 +0000.93126][5d9b] DeviceStart: time profile playout
init end
[005:391] [2023-01-26 11:32:06 +0000.93166][5d9b] OpenSlesOutput:Start playout

[005:395] [2023-01-26 11:32:06 +0000.97088][5d9b] The machine model:2109119DG

[005:396] [2023-01-26 11:32:06 +0000.97678][5d9b] Create the opensl output player.


streamtype before:0

[005:397] [2023-01-26 11:32:06 +0000.99341][5d9b] Create the opensl output player.


streamtype after:3

[005:426] [2023-01-26 11:32:06 +0000.128067][5d99]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[005:427] [2023-01-26 11:32:06 +0000.129404][5d9b] Enqueue opensl buffer size:1764
[005:459] [2023-01-26 11:32:06 +0000.160588][5dbb]
PlayerSimpleBufferQueueCallbackHandler function
[005:459] [2023-01-26 11:32:06 +0000.160828][5dbb] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[005:459] [2023-01-26 11:32:06 +0000.160964][5dbb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[005:459] [2023-01-26 11:32:06 +0000.161267][5d9b] DeviceStart: time profile
playout all end
[005:459] [2023-01-26 11:32:06 +0000.161334][5d9b] operator(): Audio playback
started.
[005:494] [2023-01-26 11:32:06 +0000.196023][56b7] video render surface render a
frame
[005:496] [2023-01-26 11:32:06 +0000.197457][5d98] begine recode to first frame
spend time:312
[005:496] [2023-01-26 11:32:06 +0000.197629][5d98] CameraSource::PushExtraFrame
pkt_dts: 0, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a0fbf8f80
[005:496] [2023-01-26 11:32:06 +0000.197669][5d98] add frame because frame
interval.
[005:496] [2023-01-26 11:32:06 +0000.197703][5d98] blur_distance_:0
[005:496] [2023-01-26 11:32:06 +0000.197723][5d98] blur_direction_angle_:-90
[005:496] [2023-01-26 11:32:06 +0000.197753][5d98] color_r_offset_:0
[005:496] [2023-01-26 11:32:06 +0000.197767][5d98] color_g_offset:0
[005:496] [2023-01-26 11:32:06 +0000.197782][5d98] play_speed_:1
[005:496] [2023-01-26 11:32:06 +0000.197796][5d98] roll_value_:0
[005:496] [2023-01-26 11:32:06 +0000.197808][5d98] need_extra_image_:0 need_image:
0
[005:496] [2023-01-26 11:32:06 +0000.197824][5d98] ResetFramePtsadjust pts:
0current pts:10
[005:496] [2023-01-26 11:32:06 +0000.197867][5d98]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[005:496] [2023-01-26 11:32:06 +0000.197885][5d98]
GPUImageProcessing::SetOrientation orientation: 90
[005:496] [2023-01-26 11:32:06 +0000.197905][5d98] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[005:496] [2023-01-26 11:32:06 +0000.197972][5d98] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[005:496] [2023-01-26 11:32:06 +0000.198009][5d98] GPUImageProcessing: input frame
width2160 X 3840
[005:498] [2023-01-26 11:32:06 +0000.200333][5d99]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[005:499] [2023-01-26 11:32:06 +0000.201337][5d98] drawYUV420 render
OpenGLRenderProgram:0x7a13f1a898
[005:507] [2023-01-26 11:32:06 +0000.208593][5d98] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[005:507] [2023-01-26 11:32:06 +0000.208815][5d98] CropFilter::OnVideoFrame
outputtexture :17
[005:507] [2023-01-26 11:32:06 +0000.208866][5d98] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[005:526] [2023-01-26 11:32:06 +0000.228237][5d98] The read pixel from buffer take:
19 width:1920 height:1080 frameType:0
[005:534] [2023-01-26 11:32:06 +0000.235643][5d98] drawYUV420 render
OpenGLRenderProgram:0x7a13f1a898
[005:548] [2023-01-26 11:32:06 +0000.249551][5d98] The convert RGB to YUV take 5
[005:548] [2023-01-26 11:32:06 +0000.249998][5d98] FilterPipeline2::OnVideoFrame
pts 33 last_video_timestamp_ 33
[005:548] [2023-01-26 11:32:06 +0000.250298][5d98]
MediaFilterCamera::OnOutputVideoFrame timestamp: 0
[005:550] [2023-01-26 11:32:06 +0000.252454][5db5]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[005:553] [2023-01-26 11:32:06 +0000.254599][5db5] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[005:553] [2023-01-26 11:32:06 +0000.254665][5db5] push video frame to H264
encoder. (100 frame for one log)

[005:553] [2023-01-26 11:32:06 +0000.254696][5db5] push video frame to H264


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

[005:553] [2023-01-26 11:32:06 +0000.254709][5db5] H264Encode::push video frame to


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

[005:553] [2023-01-26 11:32:06 +0000.254721][5db5] Push an pts:0 to dts queue.


[005:553] [2023-01-26 11:32:06 +0000.254752][5db5] DTS queue for
Generator:0x7a1bd83ab8 0
[005:553] [2023-01-26 11:32:06 +0000.254763][5db5] The input pts:0 fps:30
[005:553] [2023-01-26 11:32:06 +0000.255216][5d99] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.velocity//bgm.mp3
sync_mode: 1 seek_pos: 0 delay: 0 this:0x7a13f1ac00
[005:555] [2023-01-26 11:32:06 +0000.256505][5d98] drawYUV420 render
OpenGLRenderProgram:0x7a13f1a898
[005:556] [2023-01-26 11:32:06 +0000.257508][5db0] FFMpeg=> [mp3 @ 0x79e2809a00]
Current FFmpeg version git-2021-06-16-97cea6f
[005:564] [2023-01-26 11:32:06 +0000.265697][5db5]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[005:586] [2023-01-26 11:32:06 +0000.287590][5d99] FilterPipeline2::OnAudioFrame
pts 0 last_audio_timestamp_ 0
[005:586] [2023-01-26 11:32:06 +0000.288072][5d99]
MediaFilterCamera::OnOutputAudioFrame timestamp: 0.5 sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:27
[005:586] [2023-01-26 11:32:06 +0000.288115][5d99] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[005:586] [2023-01-26 11:32:06 +0000.288319][5d9b] The audio playback speed:100
(1/100)
[005:586] [2023-01-26 11:32:06 +0000.288395][5d9b] lipsync_debug: The current
played audio timestamp is:0(1/50)
[005:587] [2023-01-26 11:32:06 +0000.288429][5d9b] First audio frame rendering
[005:609] [2023-01-26 11:32:06 +0000.310771][5db4]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:2
[005:611] [2023-01-26 11:32:06 +0000.312965][5db6] add aac audio track with id:1
[005:611] [2023-01-26 11:32:06 +0000.313137][5db6] audio start ts:0
[005:611] [2023-01-26 11:32:06 +0000.313164][5db6] the audio frame has been written
into MP4 file
[005:713] [2023-01-26 11:32:06 +0000.414959][5db5] h264 add frame header cdr flag
[005:714] [2023-01-26 11:32:06 +0000.415880][5db5] h264 add frame header cdr flag
[005:714] [2023-01-26 11:32:06 +0000.416296][5db5] SendFrame
encodedImage._timeStamp:0encodedImage->_length:342477
[005:714] [2023-01-26 11:32:06 +0000.416346][5db5] Received key frame:0
[005:714] [2023-01-26 11:32:06 +0000.416365][5db5] last dts:0 currentPts:0
ppsOrSPS:0 queue length:7
[005:714] [2023-01-26 11:32:06 +0000.416381][5db5] H264Encode::H264SWEncoder get
callback, length:342477 type:0 nalType:7length:16
[005:714] [2023-01-26 11:32:06 +0000.416391][5db5] H264Encode:: get a sps pps
header!headerSize:29
[005:714] [2023-01-26 11:32:06 +0000.416398][5db5] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[005:715] [2023-01-26 11:32:06 +0000.416487][5db6] get the H.264 SPS parameter
[005:715] [2023-01-26 11:32:06 +0000.416749][5db6] add video track with id:2
[005:716] [2023-01-26 11:32:06 +0000.417779][5db6] get the H.264 PPS parameter
[005:716] [2023-01-26 11:32:06 +0000.418036][5db6] get the H.264 IDR frame
[005:716] [2023-01-26 11:32:06 +0000.418074][5db6] resss:true
[005:716] [2023-01-26 11:32:06 +0000.418085][5db6] video start ts:0
[005:716] [2023-01-26 11:32:06 +0000.418140][5db6] the video frame has been written
into MP4 file
[005:968] [2023-01-26 11:32:06 +0000.669783][5d98] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:016] [2023-01-26 11:32:06 +0000.718263][5d98] The convert RGB to YUV take 5
[006:301] [2023-01-26 11:32:07 +0000.2887][5d98] max rang is 200ms, insert a frame
last pts:766 current pts:833
[006:381] [2023-01-26 11:32:07 +0000.83260][5db5] DTS queue for
Generator:0x7a1bd83ab8 767 800 833 867
[006:480] [2023-01-26 11:32:07 +0000.182100][5d98] CameraSource::PushExtraFrame
pkt_dts: 999, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a0fbf8f80
[006:482] [2023-01-26 11:32:07 +0000.183599][5d98] CropFilter::OnVideoFrame
outputtexture :17
[006:482] [2023-01-26 11:32:07 +0000.183864][5d98] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:503] [2023-01-26 11:32:07 +0000.204861][56b7] video render surface render a
frame
[006:511] [2023-01-26 11:32:07 +0000.212655][5d98] The convert RGB to YUV take 7
[006:511] [2023-01-26 11:32:07 +0000.212764][5dbb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[006:771] [2023-01-26 11:32:07 +0000.473007][5d98] max rang is 200ms, insert a
frame last pts:1232 current pts:1299
[006:845] [2023-01-26 11:32:07 +0000.547239][5db5] Push an pts:1333 to dts queue.
[006:979] [2023-01-26 11:32:07 +0000.681256][5d98] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:996] [2023-01-26 11:32:07 +0000.697851][5db5] last dts:1300 currentPts:1333
ppsOrSPS:0 queue length:5
[007:007] [2023-01-26 11:32:07 +0000.708850][5d98] The convert RGB to YUV take 7
[007:131] [2023-01-26 11:32:07 +0000.833320][5d98] max rang is 200ms, insert a
frame last pts:1599 current pts:1666
[007:206] [2023-01-26 11:32:07 +0000.908131][5db5] DTS queue for
Generator:0x7a1bd83ab8 1600 1633 1667 1700
[007:267] [2023-01-26 11:32:07 +0000.968547][5d98] max rang is 200ms, insert a
frame last pts:1732 current pts:1799
[007:465] [2023-01-26 11:32:08 +0000.166955][5d98] max rang is 200ms, insert a
frame last pts:1932 current pts:1999
[007:480] [2023-01-26 11:32:08 +0000.181654][5d98] CropFilter::OnVideoFrame
outputtexture :17
[007:484] [2023-01-26 11:32:08 +0000.185984][5d98] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 982 diff: 19
[007:485] [2023-01-26 11:32:08 +0000.187013][5d98] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:522] [2023-01-26 11:32:08 +0000.223631][5d98] The convert RGB to YUV take 7
[007:528] [2023-01-26 11:32:08 +0000.230036][5dbb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[007:588] [2023-01-26 11:32:08 +0000.289701][5d98] CameraSource::PushExtraFrame
pkt_dts: 2099, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a0fbf8f80
[007:643] [2023-01-26 11:32:08 +0000.344463][56b7] video render surface render a
frame
[007:662] [2023-01-26 11:32:08 +0000.363578][5db5] h264 add frame header cdr flag
[007:662] [2023-01-26 11:32:08 +0000.363946][5db5] Received key frame:2000
[007:683] [2023-01-26 11:32:08 +0000.384701][5db6] get the H.264 IDR frame
[007:779] [2023-01-26 11:32:08 +0000.480445][5d99] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[007:800] [2023-01-26 11:32:08 +0000.502168][5d98] max rang is 200ms, insert a
frame last pts:2265 current pts:2332
[007:802] [2023-01-26 11:32:08 +0000.504123][5d9b] The audio playback speed:100
(1/100)
[007:803] [2023-01-26 11:32:08 +0000.504699][5d9b] lipsync_debug: The current
played audio timestamp is:2400(1/50)
[007:998] [2023-01-26 11:32:08 +0000.700183][5d98] max rang is 200ms, insert a
frame last pts:2465 current pts:2532
[007:999] [2023-01-26 11:32:08 +0000.701252][5d98] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:015] [2023-01-26 11:32:08 +0000.716844][5d98] The convert RGB to YUV take 8
[008:054] [2023-01-26 11:32:08 +0000.756149][5db5] DTS queue for
Generator:0x7a1bd83ab8 2400 2433 2467 2500 2533
[008:202] [2023-01-26 11:32:08 +0000.904237][5d98] max rang is 200ms, insert a
frame last pts:2665 current pts:2732
[008:216] [2023-01-26 11:32:08 +0000.917711][5db5] Push an pts:2667 to dts queue.
[008:317] [2023-01-26 11:32:09 +0000.19166][5db5] last dts:2633 currentPts:2667
ppsOrSPS:0 queue length:5
[008:468] [2023-01-26 11:32:09 +0000.170078][5d98] CropFilter::OnVideoFrame
outputtexture :17
[008:476] [2023-01-26 11:32:09 +0000.177604][5d98] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:494] [2023-01-26 11:32:09 +0000.196358][5dbb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[008:519] [2023-01-26 11:32:09 +0000.220665][5d98] The convert RGB to YUV take 7
[008:664] [2023-01-26 11:32:09 +0000.366289][5d98] CameraSource::PushExtraFrame
pkt_dts: 3198, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a0fbf8f80
[008:665] [2023-01-26 11:32:09 +0000.366433][5d98] max rang is 200ms, insert a
frame last pts:3132 current pts:3198
[008:777] [2023-01-26 11:32:09 +0000.478772][56b7] video render surface render a
frame
[008:777] [2023-01-26 11:32:09 +0000.479097][5d98] drawYUV420 render
OpenGLRenderProgram:0x7a13f1a898
[008:869] [2023-01-26 11:32:09 +0000.570768][5d98] max rang is 200ms, insert a
frame last pts:3332 current pts:3398
[008:869] [2023-01-26 11:32:09 +0000.571145][5d98] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[008:869] [2023-01-26 11:32:09 +0000.571279][5d98] GPUImageProcessing: input frame
width2160 X 3840
[008:870] [2023-01-26 11:32:09 +0000.572248][5d98] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[008:871] [2023-01-26 11:32:09 +0000.572453][5d98] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[008:900] [2023-01-26 11:32:09 +0000.601456][5db5] DTS queue for
Generator:0x7a1bd83ab8 3267 3300 3333
[008:902] [2023-01-26 11:32:09 +0000.603757][5db5] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3367
[008:902] [2023-01-26 11:32:09 +0000.603864][5db5] push video frame to H264
encoder. (100 frame for one log)

[008:902] [2023-01-26 11:32:09 +0000.603885][5db5] push video frame to H264


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

[008:902] [2023-01-26 11:32:09 +0000.603897][5db5] H264Encode::push video frame to


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

[008:902] [2023-01-26 11:32:09 +0000.603915][5db5] The input pts:3367 fps:30


[008:935] [2023-01-26 11:32:09 +0000.637058][5db5] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3300 pts:3300
[008:972] [2023-01-26 11:32:09 +0000.674169][5d98] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:990] [2023-01-26 11:32:09 +0000.692025][5db5] SendFrame
encodedImage._timeStamp:3333encodedImage->_length:167024
[009:005] [2023-01-26 11:32:09 +0000.706851][5d98] The convert RGB to YUV take 7
[009:012] [2023-01-26 11:32:09 +0000.713780][5db5] H264Encode::H264SWEncoder get
callback, length:123248 type:1 nalType:1length:123244
[009:113] [2023-01-26 11:32:09 +0000.814849][5d98] Current timestamp:3632 is
greater than duration_time: 3630
[009:208] [2023-01-26 11:32:09 +0000.910230][5d98] max rang is 200ms, insert a
frame last pts:3665 current pts:3732
[009:217] [2023-01-26 11:32:09 +0000.919645][5d9b] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[009:218] [2023-01-26 11:32:09 +0000.919970][5d98] OnNeedStopRecording:
[009:219] [2023-01-26 11:32:09 +0000.920708][5dbb] NeedMorePlayData: Scale the
volume to zero now!
[009:227] [2023-01-26 11:32:09 +0000.929090][5237]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[009:230] [2023-01-26 11:32:09 +0000.932039][5d98] operator(): Stop
[009:231] [2023-01-26 11:32:09 +0000.933327][5d98] Stop:
[009:232] [2023-01-26 11:32:09 +0000.933488][5d9b] DeviceStop:
audioDevice_:0x7a13ec5000
[009:232] [2023-01-26 11:32:09 +0000.933525][5d9b] OpenSlesOutput:Stop playout

[009:238] [2023-01-26 11:32:09 +0000.940092][5d9b] DeviceStop: Done


[009:238] [2023-01-26 11:32:09 +0000.940259][5d9b] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[009:240] [2023-01-26 11:32:09 +0000.942132][5db5]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[009:241] [2023-01-26 11:32:09 +0000.943108][5d97] stop recording
[009:241] [2023-01-26 11:32:09 +0000.943184][5d97]
RecordingSessionInternalSimple:destroy media processers
[009:241] [2023-01-26 11:32:09 +0000.943207][5d97] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[009:241] [2023-01-26 11:32:09 +0000.943224][5d97] H264Encode::flushing hareware
Encoder
[009:242] [2023-01-26 11:32:09 +0000.943451][5d97] Flush time:216855736 enter.

[009:242] [2023-01-26 11:32:09 +0000.943531][5d97] H264Encoder encoder flush


[009:242] [2023-01-26 11:32:09 +0000.943558][5d97] flush output queue
[009:579] [2023-01-26 11:32:10 +0000.280690][5d97] Flush leave. expire time = 337
ms

[009:580] [2023-01-26 11:32:10 +0000.281435][5d97] ~H264EncodeWrap:


[009:580] [2023-01-26 11:32:10 +0000.281503][5d97] ~H264Encode:
[009:580] [2023-01-26 11:32:10 +0000.281555][5d97] teardownCompressionSession:
H264Encode::destroying Encoder
[009:580] [2023-01-26 11:32:10 +0000.281616][5d97] Release time:216856074 enter.

[009:580] [2023-01-26 11:32:10 +0000.282107][5d97] Release:


MediaCodecVideoEncoder::Release _inited:1
[009:580] [2023-01-26 11:32:10 +0000.282373][5d97] Destroy time:216856074 enter.

[009:581] [2023-01-26 11:32:10 +0000.282447][5d97] H264Encoder encoderDestroy


[009:581] [2023-01-26 11:32:10 +0000.282494][5d97]
AndroidMediaCodecVideoEncoder::release env: 0x79ed2ca300
[009:581] [2023-01-26 11:32:10 +0000.282538][5d97]
AndroidMediaCodecVideoEncoder::Destroy
[009:605] [2023-01-26 11:32:10 +0000.306688][5d97] Destroy leave. expire time = 25
ms

[009:605] [2023-01-26 11:32:10 +0000.307380][5d97] Release leave. expire time = 25


ms

[009:606] [2023-01-26 11:32:10 +0000.307517][5d97] ~AndroidHwAvcEncoder


time:216856100 enter.

[009:606] [2023-01-26 11:32:10 +0000.307855][5d97] Release time:216856100 enter.

[009:606] [2023-01-26 11:32:10 +0000.307914][5d97] Release:


MediaCodecVideoEncoder:: has been released before, just return
[009:606] [2023-01-26 11:32:10 +0000.307957][5d97] Release leave. expire time = 0
ms

[009:606] [2023-01-26 11:32:10 +0000.307990][5d97] ~AndroidMediaCodecVideoEncoder


[009:606] [2023-01-26 11:32:10 +0000.308023][5d97] ~WrapAndroidMediaCodec
time:216856100 enter.
[009:606] [2023-01-26 11:32:10 +0000.308057][5d97] ~WrapAndroidMediaCodec leave.
expire time = 0 ms

[009:606] [2023-01-26 11:32:10 +0000.308090][5d97] video hevc hw codec


destructor:0x79e2857598

[009:606] [2023-01-26 11:32:10 +0000.308190][5d97] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[009:606] [2023-01-26 11:32:10 +0000.308265][5d97] teardownCompressionSession:


H264Encode::destroyed Encoder
[009:606] [2023-01-26 11:32:10 +0000.308320][5d97]
RecordingSessionInternalSimple:destroy aac encoder output!
[009:606] [2023-01-26 11:32:10 +0000.308356][5d97] AACSWEncode destructor
[009:640] [2023-01-26 11:32:10 +0000.341576][5db6] MP4 close file successfully
[009:640] [2023-01-26 11:32:10 +0000.341659][5db6] Recording session Internal:
notify recording ok
[009:640] [2023-01-26 11:32:10 +0000.341687][5db6] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.velocity_1674732720634/
record_video_216851775.mp4
[009:640] [2023-01-26 11:32:10 +0000.341710][5db6] OnRecordFinish:
[009:641] [2023-01-26 11:32:10 +0000.343017][5d98] DestroyPipelineAndFilters
time:216856135 enter.

[009:643] [2023-01-26 11:32:10 +0000.344916][5d98] UnbindInputFilter 0x7a0fbf90c0


this 0x7a13f1ab80
[009:643] [2023-01-26 11:32:10 +0000.345051][5d98] UnbindInputFilter 0x7a13f1ab80
this 0x79e1e51598
[009:643] [2023-01-26 11:32:10 +0000.345086][5d98] filter: filter pipeline destroy
this: 0x79e1e51500
[009:643] [2023-01-26 11:32:10 +0000.345308][5d98] ClearVideoOfSources: recodring
total frames:113
[009:643] [2023-01-26 11:32:10 +0000.345350][5d98] ClearVideoOfSources:
[009:643] [2023-01-26 11:32:10 +0000.345382][5d98] GPUImageProcessing destruct.
[009:644] [2023-01-26 11:32:10 +0000.345439][5d98] destroy TrivalImageDrawer
0x79fdc8fa00
[009:644] [2023-01-26 11:32:10 +0000.345473][5d98] The shader has been initialize,
clean up them.

[009:646] [2023-01-26 11:32:10 +0000.347629][5d98] ~OpenGLFrameBuffer:


[009:646] [2023-01-26 11:32:10 +0000.348058][5d98] ~OpenGLFrameBuffer:
[009:646] [2023-01-26 11:32:10 +0000.348244][5d98] ~OpenGLFrameBuffer:
[009:647] [2023-01-26 11:32:10 +0000.348427][5d98] ~OpenGLFrameBuffer:
[009:647] [2023-01-26 11:32:10 +0000.348586][5d98] ~OpenGLFrameBuffer:
[009:647] [2023-01-26 11:32:10 +0000.348744][5d98] ~OpenGLFrameBuffer:
[009:648] [2023-01-26 11:32:10 +0000.350178][5d98] GPUImageProcessing destruct
finish.
[009:648] [2023-01-26 11:32:10 +0000.350308][5d98] GPURGBAFrame destruct.
[009:648] [2023-01-26 11:32:10 +0000.350403][5d98] destroy OpenGLRenderProgram
0x7a13f1a898
[009:649] [2023-01-26 11:32:10 +0000.350456][5d98] ~CameraSource time:216856143
enter.

[009:649] [2023-01-26 11:32:10 +0000.350492][5d98] ~CameraSource leave. expire


time = 0 ms

[009:652] [2023-01-26 11:32:10 +0000.353516][5d98] DestroyPipelineAndFilters


leave. expire time = 11 ms
[022:144] [2023-01-26 11:32:22 +0000.845485][5237] Java_com_xi

You might also like