Trace

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 106
At a glance
Powered by AI
The document contains log messages from an Android camera application.

The log messages contain information about logging to files, dumping files, setting application IDs, initializing Android objects, and setting sample rates and bitrates.

Objects related to media codecs, audio devices, recording sessions, and GPU processing are being initialized.

[000:055] [2022-02-19 18:33:06 +0000.

389306][482f] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-02-
19 18:33:06 +0000
[000:055] [2022-02-19 18:33:06 +0000.389388][482f] dump file m_prefix:-03-18-
feaf968

[000:059] [2022-02-19 18:33:06 +0000.393398][482f] dump


filename:support_resolution.txt dump time:1628361466

[000:059] [2022-02-19 18:33:06 +0000.393459][482f] dump filename:trace.txt dump


time:1645295586

[000:059] [2022-02-19 18:33:06 +0000.393631][482f] set AppID=123 old AppID=-1


[000:059] [2022-02-19 18:33:06 +0000.393658][482f] Init the android object with
jvm:0xb400007d7e0a9380 env:0x7cdaac3300 context:0x7c8671a418

[000:059] [2022-02-19 18:33:06 +0000.393679][482f] SetAndroidMediaCodecObjects


time:148272399 enter.

[000:059] [2022-02-19 18:33:06 +0000.393700][482f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:059] [2022-02-19 18:33:06 +0000.393718][482f] SetAndroidMediaCodecObjects


time:148272399 enter.

[000:059] [2022-02-19 18:33:06 +0000.393735][482f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d7e0a9380
[000:059] [2022-02-19 18:33:06 +0000.393752][482f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d7e0a9380 address:0x7bf13220b0
[000:060] [2022-02-19 18:33:06 +0000.393796][482f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d7e0a9380
address:0x7bf13220b0
[000:060] [2022-02-19 18:33:06 +0000.393815][482f] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:060] [2022-02-19 18:33:06 +0000.393845][482f] Set the android objects with


jvm:0xb400007d7e0a9380 env:0x7cdaac3300 context:0x7c8671a418

[000:061] [2022-02-19 18:33:06 +0000.395441][482f] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cdaac3300
[000:061] [2022-02-19 18:33:06 +0000.395478][482f] SystemUtil Init done
[000:094] [2022-02-19 18:33:06 +0000.428165][482f]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:097] [2022-02-19 18:33:06 +0000.431572][482f]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:098] [2022-02-19 18:33:06 +0000.431936][482f] machine model :xiaomi
[000:098] [2022-02-19 18:33:06 +0000.431964][482f] Support this machine
model :xiaomi
[000:100] [2022-02-19 18:33:06 +0000.434102][482f] MediaFilterCamera
[000:100] [2022-02-19 18:33:06 +0000.434170][482f] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:100] [2022-02-19 18:33:06 +0000.434261][482f] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:100] [2022-02-19 18:33:06 +0000.434290][482f] Recording session using default
bitrate support by app:31457280
[000:100] [2022-02-19 18:33:06 +0000.434350][4c25] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c491a34c0
[000:100] [2022-02-19 18:33:06 +0000.434487][4c25] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:100] [2022-02-19 18:33:06 +0000.434591][482f] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:104] [2022-02-19 18:33:06 +0000.437952][482f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:104] [2022-02-19 18:33:06 +0000.438341][482f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:104] [2022-02-19 18:33:06 +0000.438422][482f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:104] [2022-02-19 18:33:06 +0000.438573][482f] DeviceInit:
[000:105] [2022-02-19 18:33:06 +0000.438893][482f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:108] [2022-02-19 18:33:06 +0000.442475][482f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:109] [2022-02-19 18:33:06 +0000.442979][482f] CreatePlatformSpecificObjects:
[000:109] [2022-02-19 18:33:06 +0000.443027][482f] audio device use null audio
input and opensl output
[000:109] [2022-02-19 18:33:06 +0000.443074][482f] Create OpenSLES output module
with java VM support.

[000:109] [2022-02-19 18:33:06 +0000.443222][482f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:109] [2022-02-19 18:33:06 +0000.443354][482f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:109] [2022-02-19 18:33:06 +0000.443493][482f] Create OpenSLES output module
with buffer num:2

[000:109] [2022-02-19 18:33:06 +0000.443573][482f] Error(trace.cc:40): Init the


output and input for audio device template.
[000:109] [2022-02-19 18:33:06 +0000.443597][482f] Init the output device.

[000:109] [2022-02-19 18:33:06 +0000.443616][482f] Set the playout as stereo:1


[000:109] [2022-02-19 18:33:06 +0000.443636][482f] Set the sample rate to be:44100

[000:111] [2022-02-19 18:33:06 +0000.445452][482f] Low latency buffer size:144 low


sample rate:48000
[000:111] [2022-02-19 18:33:06 +0000.445594][482f] DeviceInit: Done
[000:115] [2022-02-19 18:33:06 +0000.449145][482f] global inited! current sdk
version: 03-23-cba806b
[000:294] [2022-02-19 18:33:06 +0000.628450][3440]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:294] [2022-02-19 18:33:06 +0000.628540][3440]
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:295] [2022-02-19 18:33:06 +0000.628942][3440]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:295] [2022-02-19 18:33:06 +0000.629039][4c27] MediaFilterCamera, recording
file context:0x7c5c5b9100 input texture:14
[000:295] [2022-02-19 18:33:06 +0000.629089][4c27] GLESContext:
[000:295] [2022-02-19 18:33:06 +0000.629161][4c27] The result of eglGetDisplay is:
0x1
[000:296] [2022-02-19 18:33:06 +0000.630112][4c27] The result of creation:
0x7c685a9c00
[000:296] [2022-02-19 18:33:06 +0000.630187][4c27] The result of
eglCreatePbufferSurface is: 0x7c685a9d00
[000:296] [2022-02-19 18:33:06 +0000.630259][3440]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7c5c5b9100 input_texture: 14
[059:010] [2022-02-19 18:34:05 +0000.343838][4815]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[059:010] [2022-02-19 18:34:05 +0000.344116][4815] ~MediaFilterCamera
time:148331350 enter.

[059:012] [2022-02-19 18:34:05 +0000.346363][4815] Stop:


[059:013] [2022-02-19 18:34:05 +0000.346862][4c2a] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[059:013] [2022-02-19 18:34:05 +0000.347658][4c25] stop recording
[059:013] [2022-02-19 18:34:05 +0000.347697][4c25] we have stopped recording before
[059:014] [2022-02-19 18:34:05 +0000.347796][4815] Stop:
[059:014] [2022-02-19 18:34:05 +0000.348083][4c2a] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[059:015] [2022-02-19 18:34:05 +0000.349647][4815] DeviceRelease:
audioDevice_:0x7ce7c93000
[059:015] [2022-02-19 18:34:05 +0000.349715][4815] OpenSlesOutput:Stop playout

[059:016] [2022-02-19 18:34:05 +0000.349850][4815] DeviceRelease: Release the


webrtc device object.
[059:016] [2022-02-19 18:34:05 +0000.350273][4815] OpenSlesOutput destruct.

[059:016] [2022-02-19 18:34:05 +0000.350389][4815] DeviceRelease: Done


[059:017] [2022-02-19 18:34:05 +0000.351281][4815] DestroyPipelineAndFilters
time:148331357 enter.

[059:017] [2022-02-19 18:34:05 +0000.351342][4815] DestroyPipelineAndFilters


leave. expire time = 0 ms

[059:017] [2022-02-19 18:34:05 +0000.351378][4815] ~MediaFilterCamera leave.


expire time = 7 ms

[059:017] [2022-02-19 18:34:05 +0000.351545][4815] ~GLESContext:


[059:019] [2022-02-19 18:34:05 +0000.353000][4815] GLESContext destruct finish.
[059:019] [2022-02-19 18:34:05 +0000.353065][4815] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[059:019] [2022-02-19 18:34:05 +0000.353752][4815] global uninited!
[059:023] [2022-02-19 18:34:05 +0000.356777][4815] clea[000:046] [2022-05-15
17:26:00 +0000.546989][6ca6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
15 17:26:00 +0000
[000:047] [2022-05-15 17:26:00 +0000.547122][6ca6] dump file m_prefix:-07-27-
feaf968

[000:051] [2022-05-15 17:26:00 +0000.551272][6ca6] dump


filename:support_resolution.txt dump time:1628361466

[000:051] [2022-05-15 17:26:00 +0000.551337][6ca6] dump filename:trace.txt dump


time:1645295645

[000:051] [2022-05-15 17:26:00 +0000.551505][6ca6] set AppID=123 old AppID=-1


[000:051] [2022-05-15 17:26:00 +0000.551542][6ca6] Init the android object with
jvm:0xb400007b35e21540 env:0x7b10198240 context:0x7aa9a449d8

[000:051] [2022-05-15 17:26:00 +0000.551566][6ca6] SetAndroidMediaCodecObjects


time:50534950 enter.

[000:051] [2022-05-15 17:26:00 +0000.551598][6ca6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms
[000:051] [2022-05-15 17:26:00 +0000.551632][6ca6] SetAndroidMediaCodecObjects
time:50534950 enter.

[000:051] [2022-05-15 17:26:00 +0000.551665][6ca6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b35e21540
[000:051] [2022-05-15 17:26:00 +0000.551700][6ca6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b35e21540 address:0x7a06511050
[000:051] [2022-05-15 17:26:00 +0000.551732][6ca6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b35e21540
address:0x7a06511050
[000:051] [2022-05-15 17:26:00 +0000.551760][6ca6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:051] [2022-05-15 17:26:00 +0000.551800][6ca6] Set the android objects with


jvm:0xb400007b35e21540 env:0x7b10198240 context:0x7aa9a449d8

[000:053] [2022-05-15 17:26:00 +0000.553715][6ca6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b10198240
[000:053] [2022-05-15 17:26:00 +0000.553751][6ca6] SystemUtil Init done
[000:080] [2022-05-15 17:26:00 +0000.580308][6ca6]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:080] [2022-05-15 17:26:00 +0000.580892][6ca6]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:081] [2022-05-15 17:26:00 +0000.581327][6ca6] machine model :xiaomi
[000:081] [2022-05-15 17:26:00 +0000.581368][6ca6] Support this machine
model :xiaomi
[000:085] [2022-05-15 17:26:00 +0000.585207][6ca6] MediaFilterCamera
[000:085] [2022-05-15 17:26:00 +0000.585275][6ca6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:085] [2022-05-15 17:26:00 +0000.585411][6ca6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:14680064
[000:085] [2022-05-15 17:26:00 +0000.585459][6ca6] Recording session using default
bitrate support by app:14680064
[000:085] [2022-05-15 17:26:00 +0000.585451][23b3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a59ec44c0
[000:085] [2022-05-15 17:26:00 +0000.585744][23b3] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:085] [2022-05-15 17:26:00 +0000.585827][6ca6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:086] [2022-05-15 17:26:00 +0000.586820][6ca6] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:086] [2022-05-15 17:26:00 +0000.587036][6ca6] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:087] [2022-05-15 17:26:00 +0000.587101][6ca6] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:087] [2022-05-15 17:26:00 +0000.587281][6ca6] DeviceInit:
[000:087] [2022-05-15 17:26:00 +0000.587579][6ca6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:087] [2022-05-15 17:26:00 +0000.587986][6ca6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:088] [2022-05-15 17:26:00 +0000.588418][6ca6] CreatePlatformSpecificObjects:
[000:088] [2022-05-15 17:26:00 +0000.588460][6ca6] audio device use null audio
input and opensl output
[000:088] [2022-05-15 17:26:00 +0000.588512][6ca6] Create OpenSLES output module
with java VM support.

[000:088] [2022-05-15 17:26:00 +0000.588659][6ca6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:088] [2022-05-15 17:26:00 +0000.588817][6ca6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:088] [2022-05-15 17:26:00 +0000.588996][6ca6] Create OpenSLES output module
with buffer num:2

[000:089] [2022-05-15 17:26:00 +0000.589231][6ca6] Error(trace.cc:40): Init the


output and input for audio device template.
[000:089] [2022-05-15 17:26:00 +0000.589266][6ca6] Init the output device.

[000:089] [2022-05-15 17:26:00 +0000.589294][6ca6] Set the playout as stereo:1


[000:089] [2022-05-15 17:26:00 +0000.589313][6ca6] Set the sample rate to be:44100

[000:089] [2022-05-15 17:26:00 +0000.589811][6ca6] Low latency buffer size:144 low


sample rate:48000
[000:089] [2022-05-15 17:26:00 +0000.589865][6ca6] DeviceInit: Done
[000:092] [2022-05-15 17:26:00 +0000.592931][6ca6] global inited! current sdk
version: 07-27-feaf968
[000:556] [2022-05-15 17:26:01 +0000.56722][1f88]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:556] [2022-05-15 17:26:01 +0000.56872][1f88]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
7, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices len:
32, texture_vertices len: 32
[000:557] [2022-05-15 17:26:01 +0000.57515][1f88]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:557] [2022-05-15 17:26:01 +0000.57642][23b4] MediaFilterCamera, recording file
context:0x7b180f8d80 input texture:7
[000:557] [2022-05-15 17:26:01 +0000.57703][23b4] GLESContext:
[000:557] [2022-05-15 17:26:01 +0000.57755][23b4] The result of eglGetDisplay is:
0xb400007b101948c0
[000:558] [2022-05-15 17:26:01 +0000.58432][23b4] The result of creation:
0x7a3b079600
[000:558] [2022-05-15 17:26:01 +0000.58512][23b4] The result of
eglCreatePbufferSurface is: 0x7a3b079700
[000:558] [2022-05-15 17:26:01 +0000.58612][1f88]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7b180f8d80 input_texture: 7
[004:809] [2022-05-15 17:26:05 +0000.309458][6c7a] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[004:809] [2022-05-15 17:26:05 +0000.309575][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[004:810] [2022-05-15 17:26:05 +0000.310247][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[004:810] [2022-05-15 17:26:05 +0000.310403][23b4] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[004:810] [2022-05-15 17:26:05 +0000.310449][23b4] construct OpenGLRenderProgram
0x7a2f298c98
[004:810] [2022-05-15 17:26:05 +0000.310483][23b4] CropFilter::SetOrientation
orientation: 90
[004:810] [2022-05-15 17:26:05 +0000.310511][23b4] filter: filter pipeline
construtc this: 0x7a2f27b100
[004:810] [2022-05-15 17:26:05 +0000.310529][23b4] filter: filter pipeline2 update
pattern: 1
[004:810] [2022-05-15 17:26:05 +0000.310600][23b4] CameraSource::source_id_:1
[004:810] [2022-05-15 17:26:05 +0000.310739][23b4] SetPlayLoop: AudioSource
SetPlayLoop 0
[004:817] [2022-05-15 17:26:05 +0000.317282][23b4]
Warning(media_filter_camera.cc:483): seekPos:0
[004:817] [2022-05-15 17:26:05 +0000.317356][23b4] BindInputFilter 0x7a3b0bcec0
this 0x7a2f298f80
[004:817] [2022-05-15 17:26:05 +0000.317383][23b4] BindInputFilter 0x7a2f298f80
this 0x7a2f27b198
[004:817] [2022-05-15 17:26:05 +0000.317431][23b4] SetParamForFilter time:50539716
enter.

[004:817] [2022-05-15 17:26:05 +0000.317449][23b4] SetParamForFilter: Params video


index is: 0
[004:817] [2022-05-15 17:26:05 +0000.317462][23b4] SetParamForFilter: Params seek
pos is: 0
[004:817] [2022-05-15 17:26:05 +0000.317480][23b4] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.metro/
movie_mode: 0
[004:817] [2022-05-15 17:26:05 +0000.317507][23b4] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//config.json
[004:819] [2022-05-15 17:26:05 +0000.319451][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320418][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320449][23b4]
exp_des.start:0exp_des.end:3500exp_des.expressionstr:0.5
[004:820] [2022-05-15 17:26:05 +0000.320473][23b4]
exp_des.start:0exp_des.end:3500exp_des.expressionstr:0.5
[004:820] [2022-05-15 17:26:05 +0000.320496][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320524][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320550][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320566][23b4]
exp_des.start:0exp_des.end:3500exp_des.expressionstr:0.75
[004:820] [2022-05-15 17:26:05 +0000.320592][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320618][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320643][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320829][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320854][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320881][23b4]
Warning(parse_template_json.cc:95): json parament no found the parament
[004:820] [2022-05-15 17:26:05 +0000.320907][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[004:820] [2022-05-15 17:26:05 +0000.320933][23b4] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//filter.png
[004:820] [2022-05-15 17:26:05 +0000.320956][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[004:820] [2022-05-15 17:26:05 +0000.320970][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[004:825] [2022-05-15 17:26:05 +0000.325287][23b4] SetParamForFilter leave. expire
time = 8 ms
[004:825] [2022-05-15 17:26:05 +0000.325452][23b4] OnOutputSizeChanged width 1920
height 1080
[004:825] [2022-05-15 17:26:05 +0000.325477][23b4] OpenGLFrameBuffer: width:1920
height:1080
[004:825] [2022-05-15 17:26:05 +0000.325503][23b4] OpenGLFrameBuffer: width:1920
height:1080
[004:825] [2022-05-15 17:26:05 +0000.325528][23b4] OpenGLFrameBuffer: width:1920
height:1080
[004:825] [2022-05-15 17:26:05 +0000.325552][23b4] OpenGLFrameBuffer: width:1920
height:1080
[004:825] [2022-05-15 17:26:05 +0000.325577][23b4] OpenGLFrameBuffer: width:1920
height:1080
[004:825] [2022-05-15 17:26:05 +0000.325602][23b4] OpenGLFrameBuffer: width:1920
height:1080
[004:825] [2022-05-15 17:26:05 +0000.325615][23b4] construct TrivalImageDrawer
0x7a2f5ff400
[004:825] [2022-05-15 17:26:05 +0000.325632][23b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f5ff400 context 0x7b18042640
[004:825] [2022-05-15 17:26:05 +0000.325657][23b4] setupGLES:
[004:825] [2022-05-15 17:26:05 +0000.325843][23b4] OpenGLRenderProgram::Initialize.
[004:825] [2022-05-15 17:26:05 +0000.325871][23b4] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[004:825] [2022-05-15 17:26:05 +0000.325893][23b4] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density GL_QCOM_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[004:825] [2022-05-15 17:26:05 +0000.325963][23b4] Init open gl render:
0x7a2f298c98
[004:825] [2022-05-15 17:26:05 +0000.325986][23b4] Fragement shader path:
[004:825] [2022-05-15 17:26:05 +0000.326019][23b4] Fragement shader path:
[004:825] [2022-05-15 17:26:05 +0000.326036][23b4] create opengl program object.
[004:825] [2022-05-15 17:26:05 +0000.326049][23b4] create shader: vertex
[004:829] [2022-05-15 17:26:05 +0000.329299][23b4] create shader: fragment
[004:907] [2022-05-15 17:26:05 +0000.407127][23b4] External image path is empty!
[004:907] [2022-05-15 17:26:05 +0000.407206][23b4] Error(crop_filter.cc:464): Init
the image texture failed.
[004:907] [2022-05-15 17:26:05 +0000.407230][23b4] OpenGLRenderProgram::Initialize
success.
[004:907] [2022-05-15 17:26:05 +0000.407286][23b4] Setup the OpenGL result:1
[004:907] [2022-05-15 17:26:05 +0000.407842][23b5] Pull audio failed.(wait video!)
[004:907] [2022-05-15 17:26:05 +0000.407886][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[004:907] [2022-05-15 17:26:05 +0000.407947][23b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50539806.mp4
[004:908] [2022-05-15 17:26:05 +0000.408224][23b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50539806.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[004:908] [2022-05-15 17:26:05 +0000.408279][23b3] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[004:908] [2022-05-15 17:26:05 +0000.408304][23b3] 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.metro_1652635560284/
record_video_50539806.mp4 fileFD: -1
[004:908] [2022-05-15 17:26:05 +0000.408649][23b3] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50539806.mp4 is opened successfully
[004:908] [2022-05-15 17:26:05 +0000.408669][23b3] setupMediaProcessers:
[004:908] [2022-05-15 17:26:05 +0000.408684][23b3]
RecordingSessionInternalSimple:setup media processers.
[004:908] [2022-05-15 17:26:05 +0000.408701][23b3] construct AAC encoder
[004:908] [2022-05-15 17:26:05 +0000.408994][23b3] H264Encoder creating:
superfast011818
[004:908] [2022-05-15 17:26:05 +0000.409020][23b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[004:910] [2022-05-15 17:26:05 +0000.410821][23b3] H264Encode::GetMachineModel is
Mi 10
[004:910] [2022-05-15 17:26:05 +0000.410874][23b3] H264Encoder machine_mode is:Mi
10
[004:910] [2022-05-15 17:26:05 +0000.410892][23b3] setupCompressionSession:
[004:910] [2022-05-15 17:26:05 +0000.410910][23b3] H264Encode::creating hareware
Encoder
[004:910] [2022-05-15 17:26:05 +0000.410929][23b3] AndroidHwAvcEncoder
time:50539809 enter.

[004:915] [2022-05-15 17:26:05 +0000.415213][24a6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7aa430a098
[004:917] [2022-05-15 17:26:05 +0000.417192][23b3] AndroidHwAvcEncoder:
g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[004:917] [2022-05-15 17:26:05 +0000.417390][23b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[004:917] [2022-05-15 17:26:05 +0000.417415][23b3] The video avc hw codec address
is 0x7a59f7bfd8
[004:917] [2022-05-15 17:26:05 +0000.417502][23b3] AndroidHwAvcEncoder leave.
expire time = 7 ms

[004:917] [2022-05-15 17:26:05 +0000.417521][23b3] RegisterEncodeCompleteCallback


time:50539816 enter.

[004:917] [2022-05-15 17:26:05 +0000.417616][23b3] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[004:917] [2022-05-15 17:26:05 +0000.417638][23b3] InitEncode time:50539816 enter.

[004:917] [2022-05-15 17:26:05 +0000.417680][23b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[004:917] [2022-05-15 17:26:05 +0000.417701][23b3] Create time:50539816 enter.

[004:917] [2022-05-15 17:26:05 +0000.417797][23b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[004:917] [2022-05-15 17:26:05 +0000.417821][23b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7a59d0a740
[004:931] [2022-05-15 17:26:05 +0000.431806][23b3]
supported_type:image/vnd.android.heic
[004:931] [2022-05-15 17:26:05 +0000.431891][23b3] supported_type:video/avc
[004:931] [2022-05-15 17:26:05 +0000.431916][23b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[004:931] [2022-05-15 17:26:05 +0000.431949][23b3] hwCodecPrefix :OMX.qcom.
[004:931] [2022-05-15 17:26:05 +0000.432027][23b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[004:931] [2022-05-15 17:26:05 +0000.432078][23b3] mediacodec_createCodecByName
time:50539830 enter.

[004:932] [2022-05-15 17:26:05 +0000.432112][23b3] WrapAndroidMediaCodec


time:50539831 enter.

[004:932] [2022-05-15 17:26:05 +0000.432245][23b3] WrapAndroidMediaCodec leave.


expire time = 0 ms

[004:957] [2022-05-15 17:26:05 +0000.457920][23b3] mediacodec_createCodecByName


leave. expire time = 26 ms

[004:957] [2022-05-15 17:26:05 +0000.457992][23b3] WrapAndroidMediaFromat


time:50539856 enter.

[004:957] [2022-05-15 17:26:05 +0000.458048][23b3] WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:979] [2022-05-15 17:26:05 +0000.479686][23b5]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[005:029] [2022-05-15 17:26:05 +0000.529908][23b3] Destroy time:50539928 enter.

[005:029] [2022-05-15 17:26:05 +0000.530039][23b3] WrapAndroidMediaFromat::


Destroy
[005:030] [2022-05-15 17:26:05 +0000.530111][23b3] Destroy leave. expire time = 1
ms
[005:030] [2022-05-15 17:26:05 +0000.530178][23b3] ~WrapAndroidMediaFromat
time:50539929 enter.

[005:030] [2022-05-15 17:26:05 +0000.530296][23b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[005:030] [2022-05-15 17:26:05 +0000.530332][23b3] Create leave. expire time = 113


ms

[005:030] [2022-05-15 17:26:05 +0000.530364][23b3] isSemiPlanarSupport


time:50539929 enter.

[005:030] [2022-05-15 17:26:05 +0000.530394][23b3] H264Encoder isSemiPlanarSupport


[005:030] [2022-05-15 17:26:05 +0000.530424][23b3] isSemiPlanarSupport leave.
expire time = 0 ms

[005:030] [2022-05-15 17:26:05 +0000.530460][23b3] creat hw H264Encoder success,


isSemiPlanar:1
[005:030] [2022-05-15 17:26:05 +0000.530562][23b3] InitEncode leave. expire time =
113 ms

[005:030] [2022-05-15 17:26:05 +0000.530592][23b3] H264Encode::created Encoder


[005:030] [2022-05-15 17:26:05 +0000.530618][23b3] H264Encode:: H264 encoder
created.
[005:030] [2022-05-15 17:26:05 +0000.530643][23b3] H264 encoder created.
[005:030] [2022-05-15 17:26:05 +0000.530669][23b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7aa42b5a40
[005:030] [2022-05-15 17:26:05 +0000.530695][23b3] setOutput:
[005:030] [2022-05-15 17:26:05 +0000.530719][23b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[005:030] [2022-05-15 17:26:05 +0000.530742][23b3] request a key frame
[005:030] [2022-05-15 17:26:05 +0000.530767][23b3] H264Encode:: request a key frame
[005:030] [2022-05-15 17:26:05 +0000.530859][23b4] Start:
[005:031] [2022-05-15 17:26:05 +0000.531422][23b7] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[005:031] [2022-05-15 17:26:05 +0000.531522][23b7] Reset: history total size: 98
[005:031] [2022-05-15 17:26:05 +0000.531577][23b7] DeviceStart:
audioDevice_:0x7a59f08000
[005:031] [2022-05-15 17:26:05 +0000.531622][23b7] DeviceStart: time profile
playout init before
[005:031] [2022-05-15 17:26:05 +0000.531670][23b7] DeviceStart: time profile
playout init end
[005:031] [2022-05-15 17:26:05 +0000.531710][23b7] OpenSlesOutput:Start playout

[005:035] [2022-05-15 17:26:05 +0000.535701][23b7] The machine model:Mi 10

[005:035] [2022-05-15 17:26:05 +0000.535841][23b7] Create the opensl output player.


streamtype before:0

[005:036] [2022-05-15 17:26:05 +0000.536853][23b7] Create the opensl output player.


streamtype after:3

[005:051] [2022-05-15 17:26:05 +0000.551507][23b5]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[005:076] [2022-05-15 17:26:05 +0000.576123][23b7] Enqueue opensl buffer size:1764
[005:090] [2022-05-15 17:26:05 +0000.590585][23b7] DeviceStart: time profile
playout all end
[005:090] [2022-05-15 17:26:05 +0000.590748][23b7] operator(): Audio playback
started.
[005:090] [2022-05-15 17:26:05 +0000.590892][24b0]
PlayerSimpleBufferQueueCallbackHandler function
[005:090] [2022-05-15 17:26:05 +0000.590962][24b0] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[005:090] [2022-05-15 17:26:05 +0000.591071][24b0]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[005:103] [2022-05-15 17:26:05 +0000.603390][23b4] begine recode to first frame
spend time:293
[005:103] [2022-05-15 17:26:05 +0000.603463][23b4] CameraSource::PushExtraFrame
pkt_dts: 0, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[005:103] [2022-05-15 17:26:05 +0000.603487][23b4] add frame because frame
interval.
[005:103] [2022-05-15 17:26:05 +0000.603509][23b4] blur_distance_:0
[005:103] [2022-05-15 17:26:05 +0000.603525][23b4] blur_direction_angle_:-90
[005:103] [2022-05-15 17:26:05 +0000.603542][23b4] color_r_offset_:0
[005:103] [2022-05-15 17:26:05 +0000.603577][23b4] color_g_offset:0
[005:103] [2022-05-15 17:26:05 +0000.603594][23b4] play_speed_:0.75
[005:103] [2022-05-15 17:26:05 +0000.603613][23b4] roll_value_:0
[005:103] [2022-05-15 17:26:05 +0000.603628][23b4] need_extra_image_:0 need_image:
0
[005:103] [2022-05-15 17:26:05 +0000.603658][23b4] Current speed is changing now,
so we not need ResetFramePts now!
[005:103] [2022-05-15 17:26:05 +0000.603675][23b4]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[005:103] [2022-05-15 17:26:05 +0000.603724][23b4]
GPUImageProcessing::SetOrientation orientation: 90
[005:103] [2022-05-15 17:26:05 +0000.603745][23b4] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[005:103] [2022-05-15 17:26:05 +0000.603788][23b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[005:103] [2022-05-15 17:26:05 +0000.603809][23b4] GPUImageProcessing: input frame
width2160 X 3840
[005:105] [2022-05-15 17:26:05 +0000.605660][1f88] video render surface render a
frame
[005:108] [2022-05-15 17:26:05 +0000.608282][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[005:109] [2022-05-15 17:26:05 +0000.609339][23b4] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[005:109] [2022-05-15 17:26:05 +0000.609442][23b4] CropFilter::OnVideoFrame
outputtexture :10
[005:109] [2022-05-15 17:26:05 +0000.609482][23b4] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[005:123] [2022-05-15 17:26:05 +0000.623391][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[005:130] [2022-05-15 17:26:05 +0000.630716][23b4] The read pixel from buffer take:
21 width:1920 height:1080 frameType:0
[005:136] [2022-05-15 17:26:05 +0000.636509][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[005:150] [2022-05-15 17:26:05 +0000.650427][23b4] The convert RGB to YUV take 4
[005:150] [2022-05-15 17:26:05 +0000.650736][23b4] FilterPipeline2::OnVideoFrame
pts 44 last_video_timestamp_ 44
[005:150] [2022-05-15 17:26:05 +0000.650826][23b4]
MediaFilterCamera::OnOutputVideoFrame timestamp: 0
[005:150] [2022-05-15 17:26:05 +0000.650865][24a5]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[005:150] [2022-05-15 17:26:05 +0000.650946][24a5] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[005:150] [2022-05-15 17:26:05 +0000.650972][24a5] push video frame to H264
encoder. (100 frame for one log)

[005:150] [2022-05-15 17:26:05 +0000.651001][24a5] push video frame to H264


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

[005:150] [2022-05-15 17:26:05 +0000.651020][24a5] H264Encode::push video frame to


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

[005:150] [2022-05-15 17:26:05 +0000.651042][24a5] Push an pts:0 to dts queue.


[005:150] [2022-05-15 17:26:05 +0000.651085][24a5] DTS queue for
Generator:0x7aa430a2b8 0
[005:150] [2022-05-15 17:26:05 +0000.651098][24a5] The input pts:0 fps:30
[005:154] [2022-05-15 17:26:05 +0000.654184][23b5] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//bgm.mp3 sync_mode:
1 seek_pos: 0 delay: 0 this:0x7a2f4d3400
[005:160] [2022-05-15 17:26:05 +0000.660327][24a5]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[005:160] [2022-05-15 17:26:05 +0000.660333][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[005:220] [2022-05-15 17:26:05 +0000.720384][249d] FFMpeg=> [mp3 @ 0x7a3af83a00]
Current FFmpeg version git-2021-06-16-97cea6f

[005:257] [2022-05-15 17:26:05 +0000.757857][23b5] FilterPipeline2::OnAudioFrame


pts 0 last_audio_timestamp_ 0
[005:257] [2022-05-15 17:26:05 +0000.758019][23b5]
MediaFilterCamera::OnOutputAudioFrame timestamp: 0.5 sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:27
[005:257] [2022-05-15 17:26:05 +0000.758073][23b5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[005:258] [2022-05-15 17:26:05 +0000.758199][23b7] The audio playback speed:100
(1/100)
[005:258] [2022-05-15 17:26:05 +0000.758228][23b7] lipsync_debug: The current
played audio timestamp is:0(1/50)
[005:258] [2022-05-15 17:26:05 +0000.758247][23b7] First audio frame rendering
[005:270] [2022-05-15 17:26:05 +0000.770800][24a4]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[005:270] [2022-05-15 17:26:05 +0000.771002][24a6] add aac audio track with id:1
[005:281] [2022-05-15 17:26:05 +0000.782070][24a6] audio start ts:0
[005:282] [2022-05-15 17:26:05 +0000.782148][24a6] the audio frame has been written
into MP4 file
[005:306] [2022-05-15 17:26:05 +0000.806630][24a5] h264 add frame header cdr flag
[005:308] [2022-05-15 17:26:05 +0000.808516][24a5] h264 add frame header cdr flag
[005:308] [2022-05-15 17:26:05 +0000.808882][24a5] SendFrame
encodedImage._timeStamp:0encodedImage->_length:226752
[005:308] [2022-05-15 17:26:05 +0000.808930][24a5] Received key frame:0
[005:308] [2022-05-15 17:26:05 +0000.808951][24a5] last dts:0 currentPts:0
ppsOrSPS:0 queue length:6
[005:308] [2022-05-15 17:26:05 +0000.808972][24a5] H264Encode::H264SWEncoder get
callback, length:226752 type:0 nalType:7length:19
[005:308] [2022-05-15 17:26:05 +0000.808993][24a5] H264Encode:: get a sps pps
header!headerSize:32
[005:308] [2022-05-15 17:26:05 +0000.809008][24a5] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[005:309] [2022-05-15 17:26:05 +0000.809158][24a6] get the H.264 SPS parameter
[005:309] [2022-05-15 17:26:05 +0000.809316][24a6] add video track with id:2
[005:310] [2022-05-15 17:26:05 +0000.810137][24a6] get the H.264 PPS parameter
[005:315] [2022-05-15 17:26:05 +0000.815410][24a6] get the H.264 IDR frame
[005:315] [2022-05-15 17:26:05 +0000.815474][24a6] resss:true
[005:315] [2022-05-15 17:26:05 +0000.815494][24a6] video start ts:0
[005:315] [2022-05-15 17:26:05 +0000.815547][24a6] the video frame has been written
into MP4 file
[005:593] [2022-05-15 17:26:06 +0000.93499][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:633] [2022-05-15 17:26:06 +0000.133419][23b4] The convert RGB to YUV take 6
[005:964] [2022-05-15 17:26:06 +0000.464521][24a5] DTS queue for
Generator:0x7aa430a2b8 1065 1109
[006:058] [2022-05-15 17:26:06 +0000.558326][24b0]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[006:062] [2022-05-15 17:26:06 +0000.562682][23b4] CameraSource::PushExtraFrame
pkt_dts: 1286, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[006:090] [2022-05-15 17:26:06 +0000.590620][1f88] video render surface render a
frame
[006:092] [2022-05-15 17:26:06 +0000.592153][23b4] CropFilter::OnVideoFrame
outputtexture :10
[006:092] [2022-05-15 17:26:06 +0000.592305][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:129] [2022-05-15 17:26:06 +0000.629671][23b4] The convert RGB to YUV take 4
[006:466] [2022-05-15 17:26:06 +0000.966898][24a5] Push an pts:1774 to dts queue.
[006:502] [2022-05-15 17:26:07 +0000.2862][24a5] last dts:1730 currentPts:1774
ppsOrSPS:0 queue length:2
[006:595] [2022-05-15 17:26:07 +0000.95253][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:628] [2022-05-15 17:26:07 +0000.128294][23b4] The convert RGB to YUV take 4
[006:797] [2022-05-15 17:26:07 +0000.297801][24a5] DTS queue for
Generator:0x7aa430a2b8 2173 2218
[007:025] [2022-05-15 17:26:07 +0000.525278][23b4] CameraSource::PushExtraFrame
pkt_dts: 2573, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[007:088] [2022-05-15 17:26:07 +0000.588478][1f88] video render surface render a
frame
[007:090] [2022-05-15 17:26:07 +0000.590414][23b4] CropFilter::OnVideoFrame
outputtexture :10
[007:090] [2022-05-15 17:26:07 +0000.590478][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:098] [2022-05-15 17:26:07 +0000.598555][24b0]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[007:128] [2022-05-15 17:26:07 +0000.629041][23b4] The convert RGB to YUV take 3
[007:155] [2022-05-15 17:26:07 +0000.655612][23b4] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 984 diff: 17
[007:163] [2022-05-15 17:26:07 +0000.663924][24a5] h264 add frame header cdr flag
[007:164] [2022-05-15 17:26:07 +0000.664181][24a5] Received key frame:2661
[007:199] [2022-05-15 17:26:07 +0000.700005][24a6] get the H.264 IDR frame
[007:502] [2022-05-15 17:26:08 +0000.2380][23b5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[007:558] [2022-05-15 17:26:08 +0000.58940][23b7] The audio playback speed:100
(1/100)
[007:559] [2022-05-15 17:26:08 +0000.59146][23b7] lipsync_debug: The current played
audio timestamp is:2400(1/50)
[007:591] [2022-05-15 17:26:08 +0000.91916][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:600] [2022-05-15 17:26:08 +0000.100848][24a5] DTS queue for
Generator:0x7aa430a2b8 3282
[007:626] [2022-05-15 17:26:08 +0000.126457][23b4] The convert RGB to YUV take 4
[007:727] [2022-05-15 17:26:08 +0000.227461][23b4] Current timestamp:3504 is
greater than duration_time: 3500
[007:792] [2022-05-15 17:26:08 +0000.292263][23b7] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[007:793] [2022-05-15 17:26:08 +0000.293563][23b4] OnNeedStopRecording:
[007:794] [2022-05-15 17:26:08 +0000.294962][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[007:795] [2022-05-15 17:26:08 +0000.295199][23b4] operator(): Stop
[007:795] [2022-05-15 17:26:08 +0000.295338][23b4] Stop:
[007:795] [2022-05-15 17:26:08 +0000.295412][23b7] DeviceStop:
audioDevice_:0x7a59f08000
[007:795] [2022-05-15 17:26:08 +0000.295513][23b7] OpenSlesOutput:Stop playout

[007:797] [2022-05-15 17:26:08 +0000.297190][23b7] DeviceStop: Done


[007:797] [2022-05-15 17:26:08 +0000.297274][23b7] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[007:805] [2022-05-15 17:26:08 +0000.305391][24a5]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[007:813] [2022-05-15 17:26:08 +0000.313609][23b3] stop recording
[007:813] [2022-05-15 17:26:08 +0000.313670][23b3]
RecordingSessionInternalSimple:destroy media processers
[007:813] [2022-05-15 17:26:08 +0000.313688][23b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[007:813] [2022-05-15 17:26:08 +0000.313703][23b3] H264Encode::flushing hareware
Encoder
[007:813] [2022-05-15 17:26:08 +0000.313844][23b3] Flush time:50542712 enter.

[007:813] [2022-05-15 17:26:08 +0000.313868][23b3] H264Encoder encoder flush


[007:813] [2022-05-15 17:26:08 +0000.313883][23b3] flush output queue
[008:163] [2022-05-15 17:26:08 +0000.663841][23b3] Flush leave. expire time = 350
ms

[008:164] [2022-05-15 17:26:08 +0000.664346][23b3] ~H264EncodeWrap:


[008:164] [2022-05-15 17:26:08 +0000.664418][23b3] ~H264Encode:
[008:164] [2022-05-15 17:26:08 +0000.664464][23b3] teardownCompressionSession:
H264Encode::destroying Encoder
[008:164] [2022-05-15 17:26:08 +0000.664513][23b3] Release time:50543063 enter.

[008:164] [2022-05-15 17:26:08 +0000.664795][23b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[008:164] [2022-05-15 17:26:08 +0000.664864][23b3] Destroy time:50543063 enter.

[008:164] [2022-05-15 17:26:08 +0000.665015][23b3] H264Encoder encoderDestroy


[008:164] [2022-05-15 17:26:08 +0000.665070][23b3]
AndroidMediaCodecVideoEncoder::release env: 0x7aa42b6080
[008:165] [2022-05-15 17:26:08 +0000.665158][23b3]
AndroidMediaCodecVideoEncoder::Destroy
[008:211] [2022-05-15 17:26:08 +0000.711213][23b3] Destroy leave. expire time = 47
ms

[008:211] [2022-05-15 17:26:08 +0000.711487][23b3] Release leave. expire time = 47


ms

[008:211] [2022-05-15 17:26:08 +0000.711546][23b3] ~AndroidHwAvcEncoder


time:50543110 enter.

[008:211] [2022-05-15 17:26:08 +0000.711784][23b3] Release time:50543110 enter.

[008:211] [2022-05-15 17:26:08 +0000.711846][23b3] Release:


MediaCodecVideoEncoder:: has been released before, just return
[008:211] [2022-05-15 17:26:08 +0000.711894][23b3] Release leave. expire time = 0
ms
[008:211] [2022-05-15 17:26:08 +0000.711940][23b3] ~AndroidMediaCodecVideoEncoder
[008:211] [2022-05-15 17:26:08 +0000.711983][23b3] ~WrapAndroidMediaCodec
time:50543110 enter.

[008:211] [2022-05-15 17:26:08 +0000.712092][23b3] ~WrapAndroidMediaCodec leave.


expire time = 1 ms

[008:212] [2022-05-15 17:26:08 +0000.712141][23b3] video hevc hw codec


destructor:0x7a59f7bfd8

[008:212] [2022-05-15 17:26:08 +0000.712290][23b3] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[008:212] [2022-05-15 17:26:08 +0000.712372][23b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[008:212] [2022-05-15 17:26:08 +0000.712761][23b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[008:212] [2022-05-15 17:26:08 +0000.712815][23b3] AACSWEncode destructor
[008:225] [2022-05-15 17:26:08 +0000.725660][24a6] MP4 close file successfully
[008:225] [2022-05-15 17:26:08 +0000.725727][24a6] Recording session Internal:
notify recording ok
[008:225] [2022-05-15 17:26:08 +0000.725742][24a6] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50539806.mp4
[008:225] [2022-05-15 17:26:08 +0000.725760][24a6] OnRecordFinish:
[008:226] [2022-05-15 17:26:08 +0000.726716][23b4] DestroyPipelineAndFilters
time:50543125 enter.

[008:226] [2022-05-15 17:26:08 +0000.727095][23b4] UnbindInputFilter 0x7a3b0bcec0


this 0x7a2f298f80
[008:227] [2022-05-15 17:26:08 +0000.727132][23b4] UnbindInputFilter 0x7a2f298f80
this 0x7a2f27b198
[008:227] [2022-05-15 17:26:08 +0000.727151][23b4] filter: filter pipeline destroy
this: 0x7a2f27b100
[008:227] [2022-05-15 17:26:08 +0000.727231][23b4] ClearVideoOfSources: recodring
total frames:0
[008:227] [2022-05-15 17:26:08 +0000.727256][23b4] ClearVideoOfSources:
[008:227] [2022-05-15 17:26:08 +0000.727271][23b4] GPUImageProcessing destruct.
[008:227] [2022-05-15 17:26:08 +0000.727297][23b4] destroy TrivalImageDrawer
0x7a2f5ff400
[008:227] [2022-05-15 17:26:08 +0000.727322][23b4] The shader has been initialize,
clean up them.

[008:227] [2022-05-15 17:26:08 +0000.727675][23b4] ~OpenGLFrameBuffer:


[008:227] [2022-05-15 17:26:08 +0000.727771][23b4] ~OpenGLFrameBuffer:
[008:227] [2022-05-15 17:26:08 +0000.727825][23b4] ~OpenGLFrameBuffer:
[008:227] [2022-05-15 17:26:08 +0000.727869][23b4] ~OpenGLFrameBuffer:
[008:227] [2022-05-15 17:26:08 +0000.727906][23b4] ~OpenGLFrameBuffer:
[008:227] [2022-05-15 17:26:08 +0000.727951][23b4] ~OpenGLFrameBuffer:
[008:228] [2022-05-15 17:26:08 +0000.728178][23b4] GPUImageProcessing destruct
finish.
[008:228] [2022-05-15 17:26:08 +0000.728209][23b4] GPURGBAFrame destruct.
[008:228] [2022-05-15 17:26:08 +0000.728306][23b4] destroy OpenGLRenderProgram
0x7a2f298c98
[008:228] [2022-05-15 17:26:08 +0000.728321][23b4] ~CameraSource time:50543127
enter.
[008:228] [2022-05-15 17:26:08 +0000.728334][23b4] ~CameraSource leave. expire
time = 0 ms

[008:228] [2022-05-15 17:26:08 +0000.729015][23b4] DestroyPipelineAndFilters


leave. expire time = 2 ms

[009:008] [2022-05-15 17:26:09 +0000.508184][6c7a] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[009:008] [2022-05-15 17:26:09 +0000.508309][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[009:008] [2022-05-15 17:26:09 +0000.508466][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[009:008] [2022-05-15 17:26:09 +0000.508958][23b4] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[009:008] [2022-05-15 17:26:09 +0000.509001][23b4] construct OpenGLRenderProgram
0x7a2f4d3498
[009:008] [2022-05-15 17:26:09 +0000.509043][23b4] CropFilter::SetOrientation
orientation: 90
[009:008] [2022-05-15 17:26:09 +0000.509060][23b4] filter: filter pipeline
construtc this: 0x7a2f27b1c0
[009:008] [2022-05-15 17:26:09 +0000.509084][23b4] filter: filter pipeline2 update
pattern: 1
[009:009] [2022-05-15 17:26:09 +0000.509301][23b4] CameraSource::source_id_:2
[009:009] [2022-05-15 17:26:09 +0000.509566][23b4] SetPlayLoop: AudioSource
SetPlayLoop 0
[009:009] [2022-05-15 17:26:09 +0000.509639][23b4]
Warning(media_filter_camera.cc:483): seekPos:3500
[009:009] [2022-05-15 17:26:09 +0000.509670][23b4] BindInputFilter 0x7a3b0bcec0
this 0x7a2f4d3780
[009:009] [2022-05-15 17:26:09 +0000.509722][23b4] BindInputFilter 0x7a2f4d3780
this 0x7a2f27b258
[009:009] [2022-05-15 17:26:09 +0000.509747][23b4] SetParamForFilter time:50543908
enter.

[009:009] [2022-05-15 17:26:09 +0000.509781][23b4] SetParamForFilter: Params video


index is: 1
[009:009] [2022-05-15 17:26:09 +0000.509814][23b4] SetParamForFilter: Params seek
pos is: 1
[009:009] [2022-05-15 17:26:09 +0000.509877][23b4] crop filter video index:1
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.metro/
movie_mode: 0
[009:009] [2022-05-15 17:26:09 +0000.509907][23b4] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//config.json
[009:010] [2022-05-15 17:26:09 +0000.510165][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510195][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510232][23b4]
exp_des.start:0exp_des.end:2460exp_des.expressionstr:0.5
[009:010] [2022-05-15 17:26:09 +0000.510267][23b4]
exp_des.start:0exp_des.end:2460exp_des.expressionstr:0.5
[009:010] [2022-05-15 17:26:09 +0000.510296][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510327][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510356][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510665][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510782][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510825][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510853][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510899][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510931][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.510966][23b4]
Warning(parse_template_json.cc:95): json parament no found the parament
[009:010] [2022-05-15 17:26:09 +0000.511003][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[009:010] [2022-05-15 17:26:09 +0000.511038][23b4] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//filter.png
[009:010] [2022-05-15 17:26:09 +0000.511070][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[009:011] [2022-05-15 17:26:09 +0000.511105][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[009:012] [2022-05-15 17:26:09 +0000.512885][23b4] SetParamForFilter leave. expire
time = 3 ms

[009:012] [2022-05-15 17:26:09 +0000.512998][23b4] OnOutputSizeChanged width 1920


height 1080
[009:012] [2022-05-15 17:26:09 +0000.513025][23b4] OpenGLFrameBuffer: width:1920
height:1080
[009:012] [2022-05-15 17:26:09 +0000.513042][23b4] OpenGLFrameBuffer: width:1920
height:1080
[009:012] [2022-05-15 17:26:09 +0000.513058][23b4] OpenGLFrameBuffer: width:1920
height:1080
[009:013] [2022-05-15 17:26:09 +0000.513169][23b4] OpenGLFrameBuffer: width:1920
height:1080
[009:013] [2022-05-15 17:26:09 +0000.513194][23b4] OpenGLFrameBuffer: width:1920
height:1080
[009:013] [2022-05-15 17:26:09 +0000.513225][23b4] OpenGLFrameBuffer: width:1920
height:1080
[009:013] [2022-05-15 17:26:09 +0000.513275][23b4] construct TrivalImageDrawer
0x7a2f5ff400
[009:013] [2022-05-15 17:26:09 +0000.513292][23b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f5ff400 context 0x7b18042640
[009:013] [2022-05-15 17:26:09 +0000.513318][23b4] setupGLES:
[009:014] [2022-05-15 17:26:09 +0000.514600][23b4] OpenGLRenderProgram::Initialize.
[009:014] [2022-05-15 17:26:09 +0000.514646][23b4] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[009:014] [2022-05-15 17:26:09 +0000.514665][23b4] 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
[009:014] [2022-05-15 17:26:09 +0000.514748][23b4] Init open gl render:
0x7a2f4d3498
[009:014] [2022-05-15 17:26:09 +0000.514773][23b4] Fragement shader path:
[009:014] [2022-05-15 17:26:09 +0000.514791][23b4] Fragement shader path:
[009:014] [2022-05-15 17:26:09 +0000.514806][23b4] create opengl program object.
[009:014] [2022-05-15 17:26:09 +0000.514822][23b4] create shader: vertex
[009:014] [2022-05-15 17:26:09 +0000.514984][23b4] create shader: fragment
[009:025] [2022-05-15 17:26:09 +0000.525512][23b4] External image path is empty!
[009:025] [2022-05-15 17:26:09 +0000.525565][23b4] Error(crop_filter.cc:464): Init
the image texture failed.
[009:025] [2022-05-15 17:26:09 +0000.525581][23b4] OpenGLRenderProgram::Initialize
success.
[009:025] [2022-05-15 17:26:09 +0000.525624][23b4] Setup the OpenGL result:1
[009:025] [2022-05-15 17:26:09 +0000.525825][23b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50543924.mp4
[009:025] [2022-05-15 17:26:09 +0000.526098][2535] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7aa430a098
[009:025] [2022-05-15 17:26:09 +0000.526090][23b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50543924.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[009:026] [2022-05-15 17:26:09 +0000.526167][23b3] 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
[009:026] [2022-05-15 17:26:09 +0000.526308][23b3] 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.metro_1652635560284/
record_video_50543924.mp4 fileFD: -1
[009:026] [2022-05-15 17:26:09 +0000.526897][23b3] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50543924.mp4 is opened successfully
[009:026] [2022-05-15 17:26:09 +0000.526950][23b3] setupMediaProcessers:
[009:026] [2022-05-15 17:26:09 +0000.526992][23b3]
RecordingSessionInternalSimple:setup media processers.
[009:026] [2022-05-15 17:26:09 +0000.527034][23b3] construct AAC encoder
[009:027] [2022-05-15 17:26:09 +0000.527559][23b3] H264Encoder creating:
superfast011818
[009:027] [2022-05-15 17:26:09 +0000.527625][23b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[009:029] [2022-05-15 17:26:09 +0000.529185][23b3] H264Encode::GetMachineModel is
Mi 10
[009:029] [2022-05-15 17:26:09 +0000.529252][23b3] H264Encoder machine_mode is:Mi
10
[009:029] [2022-05-15 17:26:09 +0000.529294][23b3] setupCompressionSession:
[009:029] [2022-05-15 17:26:09 +0000.529334][23b3] H264Encode::creating hareware
Encoder
[009:029] [2022-05-15 17:26:09 +0000.529374][23b3] AndroidHwAvcEncoder
time:50543928 enter.

[009:029] [2022-05-15 17:26:09 +0000.529662][23b3] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[009:029] [2022-05-15 17:26:09 +0000.529837][23b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[009:029] [2022-05-15 17:26:09 +0000.529891][23b3] The video avc hw codec address
is 0x7a59f7bf10
[009:029] [2022-05-15 17:26:09 +0000.529998][23b3] AndroidHwAvcEncoder leave.
expire time = 0 ms

[009:029] [2022-05-15 17:26:09 +0000.530048][23b3] RegisterEncodeCompleteCallback


time:50543928 enter.

[009:030] [2022-05-15 17:26:09 +0000.530197][23b3] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[009:030] [2022-05-15 17:26:09 +0000.530261][23b3] InitEncode time:50543929 enter.

[009:030] [2022-05-15 17:26:09 +0000.530375][23b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[009:030] [2022-05-15 17:26:09 +0000.530433][23b3] Create time:50543929 enter.

[009:030] [2022-05-15 17:26:09 +0000.530479][23b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[009:030] [2022-05-15 17:26:09 +0000.530529][23b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7a2ed9fdc0
[009:031] [2022-05-15 17:26:09 +0000.531180][23b3]
supported_type:image/vnd.android.heic
[009:031] [2022-05-15 17:26:09 +0000.531280][23b3] supported_type:video/avc
[009:031] [2022-05-15 17:26:09 +0000.531331][23b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[009:031] [2022-05-15 17:26:09 +0000.531397][23b3] hwCodecPrefix :OMX.qcom.
[009:031] [2022-05-15 17:26:09 +0000.531447][23b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[009:031] [2022-05-15 17:26:09 +0000.531497][23b3] mediacodec_createCodecByName
time:50543930 enter.
[009:031] [2022-05-15 17:26:09 +0000.531544][23b3] WrapAndroidMediaCodec
time:50543930 enter.

[009:031] [2022-05-15 17:26:09 +0000.531789][23b3] WrapAndroidMediaCodec leave.


expire time = 0 ms

[009:043] [2022-05-15 17:26:09 +0000.543177][23b3] mediacodec_createCodecByName


leave. expire time = 12 ms

[009:043] [2022-05-15 17:26:09 +0000.543255][23b3] WrapAndroidMediaFromat


time:50543942 enter.

[009:043] [2022-05-15 17:26:09 +0000.543319][23b3] WrapAndroidMediaFromat leave.


expire time = 0 ms

[009:065] [2022-05-15 17:26:09 +0000.565530][23b5]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[009:069] [2022-05-15 17:26:09 +0000.569542][23b3] Destroy time:50543968 enter.

[009:069] [2022-05-15 17:26:09 +0000.569615][23b3] WrapAndroidMediaFromat::


Destroy
[009:069] [2022-05-15 17:26:09 +0000.569676][23b3] Destroy leave. expire time = 0
ms

[009:069] [2022-05-15 17:26:09 +0000.569700][23b3] ~WrapAndroidMediaFromat


time:50543968 enter.

[009:069] [2022-05-15 17:26:09 +0000.569718][23b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[009:069] [2022-05-15 17:26:09 +0000.569736][23b3] Create leave. expire time = 39


ms

[009:069] [2022-05-15 17:26:09 +0000.569766][23b3] isSemiPlanarSupport


time:50543968 enter.

[009:069] [2022-05-15 17:26:09 +0000.569779][23b3] H264Encoder isSemiPlanarSupport


[009:069] [2022-05-15 17:26:09 +0000.569795][23b3] isSemiPlanarSupport leave.
expire time = 0 ms

[009:069] [2022-05-15 17:26:09 +0000.569816][23b3] creat hw H264Encoder success,


isSemiPlanar:1
[009:070] [2022-05-15 17:26:09 +0000.570162][23b3] InitEncode leave. expire time =
40 ms

[009:070] [2022-05-15 17:26:09 +0000.570231][23b3] H264Encode::created Encoder


[009:070] [2022-05-15 17:26:09 +0000.570269][23b3] H264Encode:: H264 encoder
created.
[009:070] [2022-05-15 17:26:09 +0000.570301][23b3] H264 encoder created.
[009:070] [2022-05-15 17:26:09 +0000.570333][23b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7aa42b6080
[009:070] [2022-05-15 17:26:09 +0000.570370][23b3] setOutput:
[009:070] [2022-05-15 17:26:09 +0000.570402][23b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[009:070] [2022-05-15 17:26:09 +0000.570434][23b3] request a key frame
[009:070] [2022-05-15 17:26:09 +0000.570464][23b3] H264Encode:: request a key frame
[009:070] [2022-05-15 17:26:09 +0000.570710][23b4] Start:
[009:070] [2022-05-15 17:26:09 +0000.571045][23b7] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[009:071] [2022-05-15 17:26:09 +0000.571129][23b7] Reset: history total size: 98
[009:071] [2022-05-15 17:26:09 +0000.571173][23b7] DeviceStart:
audioDevice_:0x7a59f08000
[009:071] [2022-05-15 17:26:09 +0000.571207][23b7] DeviceStart: time profile
playout init before
[009:071] [2022-05-15 17:26:09 +0000.571244][23b7] DeviceStart: time profile
playout init end
[009:071] [2022-05-15 17:26:09 +0000.571330][23b7] OpenSlesOutput:Start playout

[009:072] [2022-05-15 17:26:09 +0000.572172][23b7] Create the opensl output player.


streamtype before:0

[009:072] [2022-05-15 17:26:09 +0000.572232][23b7] Create the opensl output player.


streamtype after:3

[009:094] [2022-05-15 17:26:09 +0000.594381][23b7] Enqueue opensl buffer size:1764


[009:112] [2022-05-15 17:26:09 +0000.612365][23b7] DeviceStart: time profile
playout all end
[009:112] [2022-05-15 17:26:09 +0000.612430][23b7] operator(): Audio playback
started.
[009:117] [2022-05-15 17:26:09 +0000.617849][253c] NeedMorePlayData: Scale the
volume to zero now!
[009:137] [2022-05-15 17:26:09 +0000.637808][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[009:138] [2022-05-15 17:26:09 +0000.638510][23b4] begine recode to first frame
spend time:130
[009:138] [2022-05-15 17:26:09 +0000.638543][23b4] add frame because frame
interval.
[009:138] [2022-05-15 17:26:09 +0000.638562][23b4] ResetFramePtsadjust pts:
0current pts:10
[009:138] [2022-05-15 17:26:09 +0000.638576][23b4]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[009:138] [2022-05-15 17:26:09 +0000.638590][23b4]
GPUImageProcessing::SetOrientation orientation: 90
[009:138] [2022-05-15 17:26:09 +0000.638740][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[009:155] [2022-05-15 17:26:09 +0000.655256][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[009:164] [2022-05-15 17:26:09 +0000.665074][2534] Push an pts:0 to dts queue.
[009:165] [2022-05-15 17:26:09 +0000.665729][2534]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[009:169] [2022-05-15 17:26:09 +0000.669554][23b5] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//bgm.mp3 sync_mode:
1 seek_pos: 3500 delay: 0 this:0x7a2f298c00
[009:184] [2022-05-15 17:26:09 +0000.684280][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[009:200] [2022-05-15 17:26:09 +0000.700734][2530] FFMpeg=> [mp3 @ 0x7a59db6000]
Current FFmpeg version git-2021-06-16-97cea6f

[009:219] [2022-05-15 17:26:09 +0000.719854][2531] success seekto


avformat_seek_file to: 3500000
[009:219] [2022-05-15 17:26:09 +0000.719975][2531] Drop one audio frame for seekto,
pkt_dts 49109760 audio_seek_pos_: 3500000
[009:224] [2022-05-15 17:26:09 +0000.724974][23b7] First audio frame rendering
[009:227] [2022-05-15 17:26:09 +0000.727692][2535] add aac audio track with id:1
[009:239] [2022-05-15 17:26:09 +0000.739133][2535] audio start ts:0
[009:239] [2022-05-15 17:26:09 +0000.739225][2535] the audio frame has been written
into MP4 file
[009:272] [2022-05-15 17:26:09 +0000.772734][2534] h264 add frame header cdr flag
[009:275] [2022-05-15 17:26:09 +0000.776001][2534] h264 add frame header cdr flag
[009:276] [2022-05-15 17:26:09 +0000.776428][2534] Received key frame:0
[009:276] [2022-05-15 17:26:09 +0000.776458][2534] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[009:276] [2022-05-15 17:26:09 +0000.776613][2534] H264Encode:: get a sps pps
header!headerSize:32
[009:276] [2022-05-15 17:26:09 +0000.776744][2535] get the H.264 SPS parameter
[009:277] [2022-05-15 17:26:09 +0000.777415][2535] add video track with id:2
[009:280] [2022-05-15 17:26:09 +0000.781015][2535] get the H.264 PPS parameter
[009:281] [2022-05-15 17:26:09 +0000.781634][2535] get the H.264 IDR frame
[009:281] [2022-05-15 17:26:09 +0000.781727][2535] resss:true
[009:281] [2022-05-15 17:26:09 +0000.781752][2535] video start ts:0
[009:281] [2022-05-15 17:26:09 +0000.781825][2535] the video frame has been written
into MP4 file
[009:281] [2022-05-15 17:26:09 +0000.782041][23b4] CameraSource::PushExtraFrame
pkt_dts: 166, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[009:337] [2022-05-15 17:26:09 +0000.837994][253c]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[009:379] [2022-05-15 17:26:09 +0000.879892][1f88] video render surface render a
frame
[009:380] [2022-05-15 17:26:09 +0000.880333][23b4] CropFilter::OnVideoFrame
outputtexture :12
[009:380] [2022-05-15 17:26:09 +0000.880455][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:455] [2022-05-15 17:26:09 +0000.955186][23b4] The convert RGB to YUV take 4
[009:749] [2022-05-15 17:26:10 +0000.249775][23b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[009:749] [2022-05-15 17:26:10 +0000.249928][23b4] GPUImageProcessing: input frame
width2160 X 3840
[009:750] [2022-05-15 17:26:10 +0000.250263][23b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[009:750] [2022-05-15 17:26:10 +0000.250311][23b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[009:762] [2022-05-15 17:26:10 +0000.263091][2534] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:567 pts:567
[009:787] [2022-05-15 17:26:10 +0000.287193][2534] DTS queue for
Generator:0x7aa430a2b8 600 633
[009:860] [2022-05-15 17:26:10 +0000.360651][2534] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:700
[009:860] [2022-05-15 17:26:10 +0000.360732][2534] push video frame to H264
encoder. (100 frame for one log)

[009:860] [2022-05-15 17:26:10 +0000.360761][2534] push video frame to H264


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

[009:860] [2022-05-15 17:26:10 +0000.360775][2534] H264Encode::push video frame to


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

[009:860] [2022-05-15 17:26:10 +0000.360794][2534] The input pts:700 fps:30


[009:865] [2022-05-15 17:26:10 +0000.365880][2534] SendFrame
encodedImage._timeStamp:667encodedImage->_length:54000
[009:883] [2022-05-15 17:26:10 +0000.383372][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:894] [2022-05-15 17:26:10 +0000.394404][2534] H264Encode::H264SWEncoder get
callback, length:61472 type:1 nalType:1length:61468
[009:951] [2022-05-15 17:26:10 +0000.451987][23b4] The convert RGB to YUV take 3
[010:251] [2022-05-15 17:26:10 +0000.753381][23b4] CameraSource::PushExtraFrame
pkt_dts: 1131, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[010:376] [2022-05-15 17:26:10 +0000.876899][253c]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[010:379] [2022-05-15 17:26:10 +0000.880029][1f88] video render surface render a
frame
[010:381] [2022-05-15 17:26:10 +0000.881643][23b4] CropFilter::OnVideoFrame
outputtexture :12
[010:384] [2022-05-15 17:26:10 +0000.884275][23b4] The read pixel from buffer take:
3 width:1920 height:1080 frameType:0
[010:453] [2022-05-15 17:26:10 +0000.953434][23b4] The convert RGB to YUV take 4
[010:488] [2022-05-15 17:26:10 +0000.988729][2534] Push an pts:1333 to dts queue.
[010:518] [2022-05-15 17:26:11 +0000.18462][23b4] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[010:523] [2022-05-15 17:26:11 +0000.23829][2534] last dts:1300 currentPts:1333
ppsOrSPS:0 queue length:2
[010:620] [2022-05-15 17:26:11 +0000.120770][2534] DTS queue for
Generator:0x7aa430a2b8 1433 1467
[010:879] [2022-05-15 17:26:11 +0000.379755][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:956] [2022-05-15 17:26:11 +0000.456836][23b4] The convert RGB to YUV take 6
[011:190] [2022-05-15 17:26:11 +0000.690309][23b5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[011:190] [2022-05-15 17:26:11 +0000.690564][2534] h264 add frame header cdr flag
[011:190] [2022-05-15 17:26:11 +0000.691098][2534] Received key frame:2000
[011:212] [2022-05-15 17:26:11 +0000.712603][23b4] CameraSource::PushExtraFrame
pkt_dts: 2096, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[011:221] [2022-05-15 17:26:11 +0000.721219][2535] get the H.264 IDR frame
[011:251] [2022-05-15 17:26:11 +0000.751949][23b7] The audio playback speed:100
(1/100)
[011:251] [2022-05-15 17:26:11 +0000.752091][23b7] lipsync_debug: The current
played audio timestamp is:2183(1/50)
[011:341] [2022-05-15 17:26:11 +0000.841913][253c]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[011:380] [2022-05-15 17:26:11 +0000.880636][1f88] video render surface render a
frame
[011:381] [2022-05-15 17:26:11 +0000.881294][23b4] CropFilter::OnVideoFrame
outputtexture :12
[011:381] [2022-05-15 17:26:11 +0000.881453][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:428] [2022-05-15 17:26:11 +0000.928883][2534] DTS queue for
Generator:0x7aa430a2b8 2267
[011:453] [2022-05-15 17:26:11 +0000.953819][23b4] The convert RGB to YUV take 5
[011:650] [2022-05-15 17:26:12 +0000.150333][23b7] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[011:650] [2022-05-15 17:26:12 +0000.150975][23b4] OnNeedStopRecording:
[011:651] [2022-05-15 17:26:12 +0000.151339][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[011:651] [2022-05-15 17:26:12 +0000.151468][23b4] operator(): Stop
[011:651] [2022-05-15 17:26:12 +0000.151682][23b4] Stop:
[011:651] [2022-05-15 17:26:12 +0000.151770][23b7] DeviceStop:
audioDevice_:0x7a59f08000
[011:651] [2022-05-15 17:26:12 +0000.151877][23b7] OpenSlesOutput:Stop playout

[011:654] [2022-05-15 17:26:12 +0000.154214][23b7] DeviceStop: Done


[011:654] [2022-05-15 17:26:12 +0000.154304][23b7] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[011:656] [2022-05-15 17:26:12 +0000.156242][2534]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[011:660] [2022-05-15 17:26:12 +0000.160264][23b3] stop recording
[011:660] [2022-05-15 17:26:12 +0000.160312][23b3]
RecordingSessionInternalSimple:destroy media processers
[011:660] [2022-05-15 17:26:12 +0000.160327][23b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[011:660] [2022-05-15 17:26:12 +0000.160341][23b3] H264Encode::flushing hareware
Encoder
[011:660] [2022-05-15 17:26:12 +0000.160486][23b3] Flush time:50546559 enter.

[011:660] [2022-05-15 17:26:12 +0000.160519][23b3] H264Encoder encoder flush


[011:660] [2022-05-15 17:26:12 +0000.160572][23b3] flush output queue
[011:975] [2022-05-15 17:26:12 +0000.476003][23b3] Flush leave. expire time = 315
ms

[011:976] [2022-05-15 17:26:12 +0000.476382][23b3] ~H264EncodeWrap:


[011:976] [2022-05-15 17:26:12 +0000.476449][23b3] ~H264Encode:
[011:976] [2022-05-15 17:26:12 +0000.476493][23b3] teardownCompressionSession:
H264Encode::destroying Encoder
[011:976] [2022-05-15 17:26:12 +0000.476609][23b3] Release time:50546875 enter.

[011:977] [2022-05-15 17:26:12 +0000.477461][23b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[011:977] [2022-05-15 17:26:12 +0000.477535][23b3] Destroy time:50546876 enter.

[011:977] [2022-05-15 17:26:12 +0000.477583][23b3] H264Encoder encoderDestroy


[011:977] [2022-05-15 17:26:12 +0000.477629][23b3]
AndroidMediaCodecVideoEncoder::release env: 0x7a49e479c0
[011:977] [2022-05-15 17:26:12 +0000.477677][23b3]
AndroidMediaCodecVideoEncoder::Destroy
[012:016] [2022-05-15 17:26:12 +0000.516744][23b3] Destroy leave. expire time = 39
ms

[012:016] [2022-05-15 17:26:12 +0000.517008][23b3] Release leave. expire time = 40


ms

[012:016] [2022-05-15 17:26:12 +0000.517075][23b3] ~AndroidHwAvcEncoder


time:50546915 enter.

[012:017] [2022-05-15 17:26:12 +0000.517424][23b3] Release time:50546916 enter.

[012:017] [2022-05-15 17:26:12 +0000.517482][23b3] Release:


MediaCodecVideoEncoder:: has been released before, just return
[012:017] [2022-05-15 17:26:12 +0000.517521][23b3] Release leave. expire time = 0
ms

[012:017] [2022-05-15 17:26:12 +0000.517560][23b3] ~AndroidMediaCodecVideoEncoder


[012:017] [2022-05-15 17:26:12 +0000.517597][23b3] ~WrapAndroidMediaCodec
time:50546916 enter.

[012:017] [2022-05-15 17:26:12 +0000.517635][23b3] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[012:017] [2022-05-15 17:26:12 +0000.517673][23b3] video hevc hw codec


destructor:0x7a59f7bf10

[012:017] [2022-05-15 17:26:12 +0000.517751][23b3] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[012:017] [2022-05-15 17:26:12 +0000.517864][23b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[012:017] [2022-05-15 17:26:12 +0000.517921][23b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[012:017] [2022-05-15 17:26:12 +0000.517960][23b3] AACSWEncode destructor
[012:027] [2022-05-15 17:26:12 +0000.527971][2535] MP4 close file successfully
[012:028] [2022-05-15 17:26:12 +0000.528173][2535] Recording session Internal:
notify recording ok
[012:028] [2022-05-15 17:26:12 +0000.528226][2535] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50543924.mp4
[012:028] [2022-05-15 17:26:12 +0000.528278][2535] OnRecordFinish:
[012:033] [2022-05-15 17:26:12 +0000.533280][23b4] DestroyPipelineAndFilters
time:50546932 enter.

[012:035] [2022-05-15 17:26:12 +0000.535824][23b4] UnbindInputFilter 0x7a3b0bcec0


this 0x7a2f4d3780
[012:035] [2022-05-15 17:26:12 +0000.535879][23b4] UnbindInputFilter 0x7a2f4d3780
this 0x7a2f27b258
[012:035] [2022-05-15 17:26:12 +0000.535897][23b4] filter: filter pipeline destroy
this: 0x7a2f27b1c0
[012:035] [2022-05-15 17:26:12 +0000.535991][23b4] ClearVideoOfSources: recodring
total frames:77
[012:035] [2022-05-15 17:26:12 +0000.536011][23b4] ClearVideoOfSources:
[012:035] [2022-05-15 17:26:12 +0000.536029][23b4] GPUImageProcessing destruct.
[012:035] [2022-05-15 17:26:12 +0000.536052][23b4] destroy TrivalImageDrawer
0x7a2f5ff400
[012:035] [2022-05-15 17:26:12 +0000.536070][23b4] The shader has been initialize,
clean up them.

[012:036] [2022-05-15 17:26:12 +0000.536782][23b4] ~OpenGLFrameBuffer:


[012:036] [2022-05-15 17:26:12 +0000.536863][23b4] ~OpenGLFrameBuffer:
[012:036] [2022-05-15 17:26:12 +0000.536922][23b4] ~OpenGLFrameBuffer:
[012:036] [2022-05-15 17:26:12 +0000.536976][23b4] ~OpenGLFrameBuffer:
[012:036] [2022-05-15 17:26:12 +0000.537035][23b4] ~OpenGLFrameBuffer:
[012:036] [2022-05-15 17:26:12 +0000.537084][23b4] ~OpenGLFrameBuffer:
[012:037] [2022-05-15 17:26:12 +0000.537585][23b4] GPUImageProcessing destruct
finish.
[012:037] [2022-05-15 17:26:12 +0000.537673][23b4] GPURGBAFrame destruct.
[012:037] [2022-05-15 17:26:12 +0000.537720][23b4] destroy OpenGLRenderProgram
0x7a2f4d3498
[012:037] [2022-05-15 17:26:12 +0000.537745][23b4] ~CameraSource time:50546936
enter.

[012:037] [2022-05-15 17:26:12 +0000.537765][23b4] ~CameraSource leave. expire


time = 0 ms

[012:045] [2022-05-15 17:26:12 +0000.546040][23b4] DestroyPipelineAndFilters


leave. expire time = 12 ms

[012:940] [2022-05-15 17:26:13 +0000.440803][6c7a] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[012:940] [2022-05-15 17:26:13 +0000.440864][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[012:940] [2022-05-15 17:26:13 +0000.440953][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[012:941] [2022-05-15 17:26:13 +0000.441177][23b4] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[012:941] [2022-05-15 17:26:13 +0000.441213][23b4] construct OpenGLRenderProgram
0x7a2f298c98
[012:941] [2022-05-15 17:26:13 +0000.441241][23b4] CropFilter::SetOrientation
orientation: 90
[012:941] [2022-05-15 17:26:13 +0000.441256][23b4] filter: filter pipeline
construtc this: 0x7a2b711640
[012:941] [2022-05-15 17:26:13 +0000.441280][23b4] filter: filter pipeline2 update
pattern: 1
[012:941] [2022-05-15 17:26:13 +0000.441295][23b4] CameraSource::source_id_:3
[012:941] [2022-05-15 17:26:13 +0000.441627][23b4] SetPlayLoop: AudioSource
SetPlayLoop 0
[012:941] [2022-05-15 17:26:13 +0000.441658][23b4]
Warning(media_filter_camera.cc:483): seekPos:5960
[012:941] [2022-05-15 17:26:13 +0000.441689][23b4] BindInputFilter 0x7a3b0bcec0
this 0x7a2f298f80
[012:941] [2022-05-15 17:26:13 +0000.441716][23b4] BindInputFilter 0x7a2f298f80
this 0x7a2b7116d8
[012:941] [2022-05-15 17:26:13 +0000.441753][23b4] SetParamForFilter time:50547840
enter.

[012:941] [2022-05-15 17:26:13 +0000.441781][23b4] SetParamForFilter: Params video


index is: 2
[012:941] [2022-05-15 17:26:13 +0000.441793][23b4] SetParamForFilter: Params seek
pos is: 2
[012:941] [2022-05-15 17:26:13 +0000.441819][23b4] crop filter video index:2
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.metro/
movie_mode: 0
[012:941] [2022-05-15 17:26:13 +0000.441833][23b4] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//config.json
[012:941] [2022-05-15 17:26:13 +0000.442085][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442108][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442126][23b4]
exp_des.start:0exp_des.end:2640exp_des.expressionstr:0.65 - 0.15*x /2640
[012:942] [2022-05-15 17:26:13 +0000.442146][23b4]
exp_des.start:0exp_des.end:2640exp_des.expressionstr:0.65 - 0.15*x /2640
[012:942] [2022-05-15 17:26:13 +0000.442161][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442174][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442185][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442199][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442212][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442225][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442237][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442249][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442262][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442308][23b4]
Warning(parse_template_json.cc:95): json parament no found the parament
[012:942] [2022-05-15 17:26:13 +0000.442323][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[012:942] [2022-05-15 17:26:13 +0000.442337][23b4] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//filter.png
[012:942] [2022-05-15 17:26:13 +0000.442350][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[012:942] [2022-05-15 17:26:13 +0000.442363][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[012:947] [2022-05-15 17:26:13 +0000.447626][23b4] SetParamForFilter leave. expire
time = 6 ms

[012:947] [2022-05-15 17:26:13 +0000.447731][23b4] OnOutputSizeChanged width 1920


height 1080
[012:947] [2022-05-15 17:26:13 +0000.447769][23b4] OpenGLFrameBuffer: width:1920
height:1080
[012:947] [2022-05-15 17:26:13 +0000.447832][23b4] OpenGLFrameBuffer: width:1920
height:1080
[012:947] [2022-05-15 17:26:13 +0000.447850][23b4] OpenGLFrameBuffer: width:1920
height:1080
[012:947] [2022-05-15 17:26:13 +0000.447875][23b4] OpenGLFrameBuffer: width:1920
height:1080
[012:947] [2022-05-15 17:26:13 +0000.447909][23b4] OpenGLFrameBuffer: width:1920
height:1080
[012:947] [2022-05-15 17:26:13 +0000.447928][23b4] OpenGLFrameBuffer: width:1920
height:1080
[012:947] [2022-05-15 17:26:13 +0000.447965][23b4] construct TrivalImageDrawer
0x7a2f5ff400
[012:947] [2022-05-15 17:26:13 +0000.447997][23b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f5ff400 context 0x7b18042640
[012:947] [2022-05-15 17:26:13 +0000.448028][23b4] setupGLES:
[012:948] [2022-05-15 17:26:13 +0000.448264][23b4] OpenGLRenderProgram::Initialize.
[012:948] [2022-05-15 17:26:13 +0000.448301][23b4] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[012:948] [2022-05-15 17:26:13 +0000.448334][23b4] 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
[012:948] [2022-05-15 17:26:13 +0000.448416][23b4] Init open gl render:
0x7a2f298c98
[012:948] [2022-05-15 17:26:13 +0000.448450][23b4] Fragement shader path:
[012:948] [2022-05-15 17:26:13 +0000.448472][23b4] Fragement shader path:
[012:948] [2022-05-15 17:26:13 +0000.448496][23b4] create opengl program object.
[012:948] [2022-05-15 17:26:13 +0000.448533][23b4] create shader: vertex
[012:948] [2022-05-15 17:26:13 +0000.448712][23b4] create shader: fragment
[012:958] [2022-05-15 17:26:13 +0000.458256][23b4] External image path is empty!
[012:958] [2022-05-15 17:26:13 +0000.458318][23b4] Error(crop_filter.cc:464): Init
the image texture failed.
[012:958] [2022-05-15 17:26:13 +0000.458344][23b4] OpenGLRenderProgram::Initialize
success.
[012:958] [2022-05-15 17:26:13 +0000.458391][23b4] Setup the OpenGL result:1
[012:958] [2022-05-15 17:26:13 +0000.458690][23b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50547857.mp4
[012:958] [2022-05-15 17:26:13 +0000.458914][23b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50547857.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[012:958] [2022-05-15 17:26:13 +0000.459051][23b3] 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
[012:959] [2022-05-15 17:26:13 +0000.459126][23b3] 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.metro_1652635560284/
record_video_50547857.mp4 fileFD: -1
[012:960] [2022-05-15 17:26:13 +0000.460231][23b3] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50547857.mp4 is opened successfully
[012:960] [2022-05-15 17:26:13 +0000.460297][23b3] setupMediaProcessers:
[012:960] [2022-05-15 17:26:13 +0000.460343][23b3]
RecordingSessionInternalSimple:setup media processers.
[012:960] [2022-05-15 17:26:13 +0000.460386][23b3] construct AAC encoder
[012:958] [2022-05-15 17:26:13 +0000.458928][25b7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7aa430a098
[012:960] [2022-05-15 17:26:13 +0000.460781][23b3] H264Encoder creating:
superfast011818
[012:960] [2022-05-15 17:26:13 +0000.460872][23b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[012:964] [2022-05-15 17:26:13 +0000.464304][23b3] H264Encode::GetMachineModel is
Mi 10
[012:964] [2022-05-15 17:26:13 +0000.464388][23b3] H264Encoder machine_mode is:Mi
10
[012:964] [2022-05-15 17:26:13 +0000.464431][23b3] setupCompressionSession:
[012:964] [2022-05-15 17:26:13 +0000.464471][23b3] H264Encode::creating hareware
Encoder
[012:964] [2022-05-15 17:26:13 +0000.464512][23b3] AndroidHwAvcEncoder
time:50547863 enter.

[012:964] [2022-05-15 17:26:13 +0000.464761][23b3] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[012:965] [2022-05-15 17:26:13 +0000.465265][23b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[012:965] [2022-05-15 17:26:13 +0000.465335][23b3] The video avc hw codec address
is 0x7a5a048028
[012:965] [2022-05-15 17:26:13 +0000.465586][23b3] AndroidHwAvcEncoder leave.
expire time = 1 ms

[012:965] [2022-05-15 17:26:13 +0000.465645][23b3] RegisterEncodeCompleteCallback


time:50547864 enter.

[012:965] [2022-05-15 17:26:13 +0000.465912][23b3] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[012:965] [2022-05-15 17:26:13 +0000.465979][23b3] InitEncode time:50547864 enter.

[012:966] [2022-05-15 17:26:13 +0000.466104][23b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[012:966] [2022-05-15 17:26:13 +0000.466252][23b3] Create time:50547865 enter.

[012:966] [2022-05-15 17:26:13 +0000.466300][23b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[012:966] [2022-05-15 17:26:13 +0000.466354][23b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7a59df3b80
[012:966] [2022-05-15 17:26:13 +0000.466639][23b3]
supported_type:image/vnd.android.heic
[012:966] [2022-05-15 17:26:13 +0000.466734][23b3] supported_type:video/avc
[012:966] [2022-05-15 17:26:13 +0000.466785][23b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[012:966] [2022-05-15 17:26:13 +0000.466857][23b3] hwCodecPrefix :OMX.qcom.
[012:966] [2022-05-15 17:26:13 +0000.466909][23b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[012:966] [2022-05-15 17:26:13 +0000.466961][23b3] mediacodec_createCodecByName
time:50547865 enter.

[012:966] [2022-05-15 17:26:13 +0000.467009][23b3] WrapAndroidMediaCodec


time:50547865 enter.

[012:967] [2022-05-15 17:26:13 +0000.467257][23b3] WrapAndroidMediaCodec leave.


expire time = 1 ms

[012:977] [2022-05-15 17:26:13 +0000.477947][23b3] mediacodec_createCodecByName


leave. expire time = 11 ms

[012:978] [2022-05-15 17:26:13 +0000.478119][23b3] WrapAndroidMediaFromat


time:50547877 enter.
[012:978] [2022-05-15 17:26:13 +0000.478291][23b3] WrapAndroidMediaFromat leave.
expire time = 0 ms

[012:998] [2022-05-15 17:26:13 +0000.498484][23b5]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[013:008] [2022-05-15 17:26:13 +0000.508855][23b3] Destroy time:50547907 enter.

[013:008] [2022-05-15 17:26:13 +0000.508956][23b3] WrapAndroidMediaFromat::


Destroy
[013:008] [2022-05-15 17:26:13 +0000.508996][23b3] Destroy leave. expire time = 0
ms

[013:008] [2022-05-15 17:26:13 +0000.509031][23b3] ~WrapAndroidMediaFromat


time:50547907 enter.

[013:008] [2022-05-15 17:26:13 +0000.509066][23b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[013:009] [2022-05-15 17:26:13 +0000.509124][23b3] Create leave. expire time = 43


ms

[013:009] [2022-05-15 17:26:13 +0000.509162][23b3] isSemiPlanarSupport


time:50547908 enter.

[013:009] [2022-05-15 17:26:13 +0000.509196][23b3] H264Encoder isSemiPlanarSupport


[013:009] [2022-05-15 17:26:13 +0000.509230][23b3] isSemiPlanarSupport leave.
expire time = 0 ms

[013:009] [2022-05-15 17:26:13 +0000.509266][23b3] creat hw H264Encoder success,


isSemiPlanar:1
[013:009] [2022-05-15 17:26:13 +0000.509380][23b3] InitEncode leave. expire time =
44 ms

[013:009] [2022-05-15 17:26:13 +0000.509420][23b3] H264Encode::created Encoder


[013:009] [2022-05-15 17:26:13 +0000.509454][23b3] H264Encode:: H264 encoder
created.
[013:009] [2022-05-15 17:26:13 +0000.509476][23b3] H264 encoder created.
[013:009] [2022-05-15 17:26:13 +0000.509498][23b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7a49e479c0
[013:009] [2022-05-15 17:26:13 +0000.509524][23b3] setOutput:
[013:009] [2022-05-15 17:26:13 +0000.509545][23b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[013:009] [2022-05-15 17:26:13 +0000.509567][23b3] request a key frame
[013:009] [2022-05-15 17:26:13 +0000.509589][23b3] H264Encode:: request a key frame
[013:009] [2022-05-15 17:26:13 +0000.509896][23b4] Start:
[013:011] [2022-05-15 17:26:13 +0000.511603][23b7] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[013:011] [2022-05-15 17:26:13 +0000.511725][23b7] Reset: history total size: 98
[013:011] [2022-05-15 17:26:13 +0000.511789][23b7] DeviceStart:
audioDevice_:0x7a59f08000
[013:011] [2022-05-15 17:26:13 +0000.511834][23b7] DeviceStart: time profile
playout init before
[013:011] [2022-05-15 17:26:13 +0000.511947][23b7] DeviceStart: time profile
playout init end
[013:011] [2022-05-15 17:26:13 +0000.511992][23b7] OpenSlesOutput:Start playout

[013:012] [2022-05-15 17:26:13 +0000.512761][23b7] Create the opensl output player.


streamtype before:0
[013:012] [2022-05-15 17:26:13 +0000.512834][23b7] Create the opensl output player.
streamtype after:3

[013:033] [2022-05-15 17:26:13 +0000.533629][23b7] Enqueue opensl buffer size:1764


[013:063] [2022-05-15 17:26:13 +0000.563981][23b7] DeviceStart: time profile
playout all end
[013:063] [2022-05-15 17:26:13 +0000.564052][23b7] operator(): Audio playback
started.
[013:064] [2022-05-15 17:26:13 +0000.564577][25be] NeedMorePlayData: Scale the
volume to zero now!
[013:070] [2022-05-15 17:26:13 +0000.570567][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[013:077] [2022-05-15 17:26:13 +0000.577160][23b4] begine recode to first frame
spend time:136
[013:077] [2022-05-15 17:26:13 +0000.577217][23b4] add frame because frame
interval.
[013:077] [2022-05-15 17:26:13 +0000.577237][23b4]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[013:077] [2022-05-15 17:26:13 +0000.577250][23b4]
GPUImageProcessing::SetOrientation orientation: 90
[013:077] [2022-05-15 17:26:13 +0000.577736][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[013:081] [2022-05-15 17:26:13 +0000.581991][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[013:101] [2022-05-15 17:26:13 +0000.601516][23b5] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//bgm.mp3 sync_mode:
1 seek_pos: 5960 delay: 0 this:0x7a2f4d3400
[013:102] [2022-05-15 17:26:13 +0000.602813][25b5]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[013:107] [2022-05-15 17:26:13 +0000.607951][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[013:135] [2022-05-15 17:26:13 +0000.635338][25af] FFMpeg=> [mp3 @ 0x7a59cc4400]
Current FFmpeg version git-2021-06-16-97cea6f

[013:153] [2022-05-15 17:26:13 +0000.653676][25b0] success seekto


avformat_seek_file to: 5960000
[013:153] [2022-05-15 17:26:13 +0000.653803][25b0] Drop one audio frame for seekto,
pkt_dts 83994624 audio_seek_pos_: 5960000
[013:156] [2022-05-15 17:26:13 +0000.656296][23b7] First audio frame rendering
[013:160] [2022-05-15 17:26:13 +0000.660379][25b7] add aac audio track with id:1
[013:169] [2022-05-15 17:26:13 +0000.669301][25b7] audio start ts:0
[013:169] [2022-05-15 17:26:13 +0000.669379][25b7] the audio frame has been written
into MP4 file
[013:183] [2022-05-15 17:26:13 +0000.683814][25b5] h264 add frame header cdr flag
[013:184] [2022-05-15 17:26:13 +0000.684131][25b5] h264 add frame header cdr flag
[013:184] [2022-05-15 17:26:13 +0000.684358][25b5] Received key frame:0
[013:184] [2022-05-15 17:26:13 +0000.684389][25b5] H264Encode:: get a sps pps
header!headerSize:32
[013:184] [2022-05-15 17:26:13 +0000.684497][25b7] get the H.264 SPS parameter
[013:184] [2022-05-15 17:26:13 +0000.684633][25b7] add video track with id:2
[013:185] [2022-05-15 17:26:13 +0000.685388][25b7] get the H.264 PPS parameter
[013:185] [2022-05-15 17:26:13 +0000.686002][25b7] get the H.264 IDR frame
[013:185] [2022-05-15 17:26:13 +0000.686041][25b7] resss:true
[013:185] [2022-05-15 17:26:13 +0000.686055][25b7] video start ts:0
[013:186] [2022-05-15 17:26:13 +0000.686099][25b7] the video frame has been written
into MP4 file
[013:242] [2022-05-15 17:26:13 +0000.742969][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:248] [2022-05-15 17:26:13 +0000.749072][25b5] Push an pts:167 to dts queue.
[013:285] [2022-05-15 17:26:13 +0000.785476][25b5] last dts:133 currentPts:167
ppsOrSPS:0 queue length:2
[013:345] [2022-05-15 17:26:13 +0000.845419][23b4] The convert RGB to YUV take 4
[013:541] [2022-05-15 17:26:14 +0000.41422][23b4] CameraSource::PushExtraFrame
pkt_dts: 500, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[013:690] [2022-05-15 17:26:14 +0000.190337][25b5] DTS queue for
Generator:0x7aa430a2b8 567 600
[013:740] [2022-05-15 17:26:14 +0000.240666][1f88] video render surface render a
frame
[013:742] [2022-05-15 17:26:14 +0000.242126][23b4] CropFilter::OnVideoFrame
outputtexture :13
[013:742] [2022-05-15 17:26:14 +0000.242241][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:776] [2022-05-15 17:26:14 +0000.276271][25be]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[013:847] [2022-05-15 17:26:14 +0000.347425][23b4] The convert RGB to YUV take 4
[013:947] [2022-05-15 17:26:14 +0000.448003][23b4] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2984 diff: 17
[014:247] [2022-05-15 17:26:14 +0000.747602][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:350] [2022-05-15 17:26:14 +0000.851038][23b4] The convert RGB to YUV take 5
[014:475] [2022-05-15 17:26:14 +0000.975241][23b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[014:475] [2022-05-15 17:26:14 +0000.975327][23b4] GPUImageProcessing: input frame
width2160 X 3840
[014:475] [2022-05-15 17:26:14 +0000.975788][23b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[014:475] [2022-05-15 17:26:14 +0000.975847][23b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[014:485] [2022-05-15 17:26:14 +0000.985873][25b5] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1367 pts:1367
[014:504] [2022-05-15 17:26:15 +0000.4709][23b4] CameraSource::PushExtraFrame
pkt_dts: 1464, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[014:514] [2022-05-15 17:26:15 +0000.14264][25b5] DTS queue for
Generator:0x7aa430a2b8 1400 1433
[014:589] [2022-05-15 17:26:15 +0000.89325][25b5] Push an pts:1500 to dts queue.
[014:618] [2022-05-15 17:26:15 +0000.118804][25b5] SendFrame
encodedImage._timeStamp:1500encodedImage->_length:47776
[014:618] [2022-05-15 17:26:15 +0000.118899][25b5] last dts:1467 currentPts:1500
ppsOrSPS:0 queue length:2
[014:651] [2022-05-15 17:26:15 +0000.151794][25b5] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1567
[014:651] [2022-05-15 17:26:15 +0000.151880][25b5] push video frame to H264
encoder. (100 frame for one log)

[014:651] [2022-05-15 17:26:15 +0000.151961][25b5] push video frame to H264


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

[014:651] [2022-05-15 17:26:15 +0000.151998][25b5] H264Encode::push video frame to


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

[014:651] [2022-05-15 17:26:15 +0000.152039][25b5] The input pts:1567 fps:30


[014:680] [2022-05-15 17:26:15 +0000.180572][25b5] H264Encode::H264SWEncoder get
callback, length:62048 type:1 nalType:1length:62044
[014:737] [2022-05-15 17:26:15 +0000.237707][1f88] video render surface render a
frame
[014:739] [2022-05-15 17:26:15 +0000.239346][23b4] CropFilter::OnVideoFrame
outputtexture :13
[014:739] [2022-05-15 17:26:15 +0000.239425][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:739] [2022-05-15 17:26:15 +0000.239989][25be]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[014:843] [2022-05-15 17:26:15 +0000.343730][23b4] The convert RGB to YUV take 3
[015:007] [2022-05-15 17:26:15 +0000.507527][23b5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[015:117] [2022-05-15 17:26:15 +0000.617766][25b5] h264 add frame header cdr flag
[015:117] [2022-05-15 17:26:15 +0000.618028][25b5] Received key frame:2000
[015:152] [2022-05-15 17:26:15 +0000.652582][23b7] The audio playback speed:100
(1/100)
[015:152] [2022-05-15 17:26:15 +0000.652744][23b7] lipsync_debug: The current
played audio timestamp is:2111(1/50)
[015:152] [2022-05-15 17:26:15 +0000.652807][25b7] get the H.264 IDR frame
[015:241] [2022-05-15 17:26:15 +0000.741402][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:318] [2022-05-15 17:26:15 +0000.818652][25b5] DTS queue for
Generator:0x7aa430a2b8 2233
[015:342] [2022-05-15 17:26:15 +0000.842888][23b4] The convert RGB to YUV take 3
[015:472] [2022-05-15 17:26:15 +0000.972302][23b4] CameraSource::PushExtraFrame
pkt_dts: 2429, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[015:736] [2022-05-15 17:26:16 +0000.237186][1f88] video render surface render a
frame
[015:739] [2022-05-15 17:26:16 +0000.239221][23b4] CropFilter::OnVideoFrame
outputtexture :13
[015:739] [2022-05-15 17:26:16 +0000.239392][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:742] [2022-05-15 17:26:16 +0000.242581][23b7] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[015:743] [2022-05-15 17:26:16 +0000.243318][23b4] OnNeedStopRecording:
[015:743] [2022-05-15 17:26:16 +0000.243933][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[015:743] [2022-05-15 17:26:16 +0000.244060][23b4] operator(): Stop
[015:744] [2022-05-15 17:26:16 +0000.244159][23b4] Stop:
[015:744] [2022-05-15 17:26:16 +0000.244230][23b7] DeviceStop:
audioDevice_:0x7a59f08000
[015:744] [2022-05-15 17:26:16 +0000.244323][23b7] OpenSlesOutput:Stop playout

[015:747] [2022-05-15 17:26:16 +0000.247786][23b7] DeviceStop: Done


[015:747] [2022-05-15 17:26:16 +0000.247993][23b7] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[015:751] [2022-05-15 17:26:16 +0000.251861][25b5]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[015:754] [2022-05-15 17:26:16 +0000.254236][23b3] stop recording
[015:754] [2022-05-15 17:26:16 +0000.254284][23b3]
RecordingSessionInternalSimple:destroy media processers
[015:754] [2022-05-15 17:26:16 +0000.254300][23b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[015:754] [2022-05-15 17:26:16 +0000.254316][23b3] H264Encode::flushing hareware
Encoder
[015:754] [2022-05-15 17:26:16 +0000.254443][23b3] Flush time:50550653 enter.

[015:754] [2022-05-15 17:26:16 +0000.254475][23b3] H264Encoder encoder flush


[015:754] [2022-05-15 17:26:16 +0000.254490][23b3] flush output queue
[016:071] [2022-05-15 17:26:16 +0000.571483][23b3] Flush leave. expire time = 317
ms

[016:071] [2022-05-15 17:26:16 +0000.571837][23b3] ~H264EncodeWrap:


[016:071] [2022-05-15 17:26:16 +0000.571907][23b3] ~H264Encode:
[016:071] [2022-05-15 17:26:16 +0000.571951][23b3] teardownCompressionSession:
H264Encode::destroying Encoder
[016:071] [2022-05-15 17:26:16 +0000.571997][23b3] Release time:50550970 enter.

[016:072] [2022-05-15 17:26:16 +0000.572267][23b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[016:072] [2022-05-15 17:26:16 +0000.572331][23b3] Destroy time:50550971 enter.

[016:072] [2022-05-15 17:26:16 +0000.572379][23b3] H264Encoder encoderDestroy


[016:072] [2022-05-15 17:26:16 +0000.572425][23b3]
AndroidMediaCodecVideoEncoder::release env: 0x7b35e96880
[016:072] [2022-05-15 17:26:16 +0000.572474][23b3]
AndroidMediaCodecVideoEncoder::Destroy
[016:123] [2022-05-15 17:26:16 +0000.623686][23b3] Destroy leave. expire time = 51
ms

[016:123] [2022-05-15 17:26:16 +0000.623991][23b3] Release leave. expire time = 52


ms

[016:123] [2022-05-15 17:26:16 +0000.624041][23b3] ~AndroidHwAvcEncoder


time:50551022 enter.

[016:124] [2022-05-15 17:26:16 +0000.624239][23b3] Release time:50551023 enter.

[016:124] [2022-05-15 17:26:16 +0000.624285][23b3] Release:


MediaCodecVideoEncoder:: has been released before, just return
[016:124] [2022-05-15 17:26:16 +0000.624319][23b3] Release leave. expire time = 0
ms

[016:124] [2022-05-15 17:26:16 +0000.624352][23b3] ~AndroidMediaCodecVideoEncoder


[016:124] [2022-05-15 17:26:16 +0000.624382][23b3] ~WrapAndroidMediaCodec
time:50551023 enter.

[016:124] [2022-05-15 17:26:16 +0000.624415][23b3] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[016:124] [2022-05-15 17:26:16 +0000.624448][23b3] video hevc hw codec


destructor:0x7a5a048028

[016:124] [2022-05-15 17:26:16 +0000.624510][23b3] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[016:124] [2022-05-15 17:26:16 +0000.624565][23b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[016:124] [2022-05-15 17:26:16 +0000.624684][23b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[016:124] [2022-05-15 17:26:16 +0000.624721][23b3] AACSWEncode destructor
[016:131] [2022-05-15 17:26:16 +0000.631643][25b7] MP4 close file successfully
[016:131] [2022-05-15 17:26:16 +0000.631735][25b7] Recording session Internal:
notify recording ok
[016:131] [2022-05-15 17:26:16 +0000.631788][25b7] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50547857.mp4
[016:131] [2022-05-15 17:26:16 +0000.631840][25b7] OnRecordFinish:
[016:133] [2022-05-15 17:26:16 +0000.633442][23b4] DestroyPipelineAndFilters
time:50551032 enter.

[016:135] [2022-05-15 17:26:16 +0000.635854][23b4] UnbindInputFilter 0x7a3b0bcec0


this 0x7a2f298f80
[016:135] [2022-05-15 17:26:16 +0000.635936][23b4] UnbindInputFilter 0x7a2f298f80
this 0x7a2b7116d8
[016:135] [2022-05-15 17:26:16 +0000.635960][23b4] filter: filter pipeline destroy
this: 0x7a2b711640
[016:135] [2022-05-15 17:26:16 +0000.636053][23b4] ClearVideoOfSources: recodring
total frames:82
[016:135] [2022-05-15 17:26:16 +0000.636085][23b4] ClearVideoOfSources:
[016:136] [2022-05-15 17:26:16 +0000.636101][23b4] GPUImageProcessing destruct.
[016:136] [2022-05-15 17:26:16 +0000.636121][23b4] destroy TrivalImageDrawer
0x7a2f5ff400
[016:136] [2022-05-15 17:26:16 +0000.636138][23b4] The shader has been initialize,
clean up them.

[016:137] [2022-05-15 17:26:16 +0000.637171][23b4] ~OpenGLFrameBuffer:


[016:137] [2022-05-15 17:26:16 +0000.637298][23b4] ~OpenGLFrameBuffer:
[016:137] [2022-05-15 17:26:16 +0000.637358][23b4] ~OpenGLFrameBuffer:
[016:137] [2022-05-15 17:26:16 +0000.637416][23b4] ~OpenGLFrameBuffer:
[016:137] [2022-05-15 17:26:16 +0000.637481][23b4] ~OpenGLFrameBuffer:
[016:137] [2022-05-15 17:26:16 +0000.637545][23b4] ~OpenGLFrameBuffer:
[016:137] [2022-05-15 17:26:16 +0000.637855][23b4] GPUImageProcessing destruct
finish.
[016:137] [2022-05-15 17:26:16 +0000.637899][23b4] GPURGBAFrame destruct.
[016:137] [2022-05-15 17:26:16 +0000.637938][23b4] destroy OpenGLRenderProgram
0x7a2f298c98
[016:137] [2022-05-15 17:26:16 +0000.637967][23b4] ~CameraSource time:50551036
enter.

[016:137] [2022-05-15 17:26:16 +0000.637992][23b4] ~CameraSource leave. expire


time = 0 ms

[016:145] [2022-05-15 17:26:16 +0000.645223][23b4] DestroyPipelineAndFilters


leave. expire time = 12 ms

[016:644] [2022-05-15 17:26:17 +0000.144805][6c7a] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[016:644] [2022-05-15 17:26:17 +0000.144917][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[016:644] [2022-05-15 17:26:17 +0000.144994][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[016:645] [2022-05-15 17:26:17 +0000.145384][23b4] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[016:645] [2022-05-15 17:26:17 +0000.145497][23b4] construct OpenGLRenderProgram
0x7a2f4d3498
[016:645] [2022-05-15 17:26:17 +0000.145674][23b4] CropFilter::SetOrientation
orientation: 90
[016:645] [2022-05-15 17:26:17 +0000.145717][23b4] filter: filter pipeline
construtc this: 0x7a3b26e340
[016:645] [2022-05-15 17:26:17 +0000.145735][23b4] filter: filter pipeline2 update
pattern: 1
[016:645] [2022-05-15 17:26:17 +0000.145755][23b4] CameraSource::source_id_:4
[016:645] [2022-05-15 17:26:17 +0000.146044][23b4] SetPlayLoop: AudioSource
SetPlayLoop 0
[016:645] [2022-05-15 17:26:17 +0000.146086][23b4]
Warning(media_filter_camera.cc:483): seekPos:8600
[016:646] [2022-05-15 17:26:17 +0000.146122][23b4] BindInputFilter 0x7a3b0bcec0
this 0x7a2f4d3780
[016:646] [2022-05-15 17:26:17 +0000.146162][23b4] BindInputFilter 0x7a2f4d3780
this 0x7a3b26e3d8
[016:646] [2022-05-15 17:26:17 +0000.146189][23b4] SetParamForFilter time:50551545
enter.

[016:646] [2022-05-15 17:26:17 +0000.146212][23b4] SetParamForFilter: Params video


index is: 3
[016:646] [2022-05-15 17:26:17 +0000.146238][23b4] SetParamForFilter: Params seek
pos is: 3
[016:646] [2022-05-15 17:26:17 +0000.146296][23b4] crop filter video index:3
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.metro/
movie_mode: 0
[016:646] [2022-05-15 17:26:17 +0000.146322][23b4] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//config.json
[016:646] [2022-05-15 17:26:17 +0000.146591][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:646] [2022-05-15 17:26:17 +0000.146649][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:646] [2022-05-15 17:26:17 +0000.146704][23b4]
exp_des.start:0exp_des.end:2294exp_des.expressionstr:0.65 - 0.15*x /2294
[016:646] [2022-05-15 17:26:17 +0000.146731][23b4]
exp_des.start:0exp_des.end:2294exp_des.expressionstr:0.65 - 0.15*x /2294
[016:646] [2022-05-15 17:26:17 +0000.146798][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:646] [2022-05-15 17:26:17 +0000.146831][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:646] [2022-05-15 17:26:17 +0000.146952][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:647] [2022-05-15 17:26:17 +0000.147966][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:647] [2022-05-15 17:26:17 +0000.147988][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:647] [2022-05-15 17:26:17 +0000.148004][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:647] [2022-05-15 17:26:17 +0000.148019][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:647] [2022-05-15 17:26:17 +0000.148034][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:647] [2022-05-15 17:26:17 +0000.148049][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[016:647] [2022-05-15 17:26:17 +0000.148066][23b4]
Warning(parse_template_json.cc:95): json parament no found the parament
[016:648] [2022-05-15 17:26:17 +0000.148140][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[016:648] [2022-05-15 17:26:17 +0000.148158][23b4] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//filter.png
[016:648] [2022-05-15 17:26:17 +0000.148175][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[016:648] [2022-05-15 17:26:17 +0000.148193][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[016:649] [2022-05-15 17:26:17 +0000.149569][23b4] SetParamForFilter leave. expire
time = 3 ms

[016:649] [2022-05-15 17:26:17 +0000.149698][23b4] OnOutputSizeChanged width 1920


height 1080
[016:649] [2022-05-15 17:26:17 +0000.149781][23b4] OpenGLFrameBuffer: width:1920
height:1080
[016:649] [2022-05-15 17:26:17 +0000.149819][23b4] OpenGLFrameBuffer: width:1920
height:1080
[016:649] [2022-05-15 17:26:17 +0000.149868][23b4] OpenGLFrameBuffer: width:1920
height:1080
[016:649] [2022-05-15 17:26:17 +0000.149919][23b4] OpenGLFrameBuffer: width:1920
height:1080
[016:649] [2022-05-15 17:26:17 +0000.149967][23b4] OpenGLFrameBuffer: width:1920
height:1080
[016:649] [2022-05-15 17:26:17 +0000.149991][23b4] OpenGLFrameBuffer: width:1920
height:1080
[016:649] [2022-05-15 17:26:17 +0000.150009][23b4] construct TrivalImageDrawer
0x7a2f5ff400
[016:649] [2022-05-15 17:26:17 +0000.150029][23b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f5ff400 context 0x7b18042640
[016:649] [2022-05-15 17:26:17 +0000.150051][23b4] setupGLES:
[016:650] [2022-05-15 17:26:17 +0000.150388][23b4] OpenGLRenderProgram::Initialize.
[016:650] [2022-05-15 17:26:17 +0000.150428][23b4] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[016:650] [2022-05-15 17:26:17 +0000.150467][23b4] 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
[016:650] [2022-05-15 17:26:17 +0000.150537][23b4] Init open gl render:
0x7a2f4d3498
[016:650] [2022-05-15 17:26:17 +0000.150571][23b4] Fragement shader path:
[016:650] [2022-05-15 17:26:17 +0000.150599][23b4] Fragement shader path:
[016:650] [2022-05-15 17:26:17 +0000.150626][23b4] create opengl program object.
[016:650] [2022-05-15 17:26:17 +0000.150656][23b4] create shader: vertex
[016:650] [2022-05-15 17:26:17 +0000.150775][23b4] create shader: fragment
[016:663] [2022-05-15 17:26:17 +0000.163198][23b4] External image path is empty!
[016:663] [2022-05-15 17:26:17 +0000.163270][23b4] Error(crop_filter.cc:464): Init
the image texture failed.
[016:663] [2022-05-15 17:26:17 +0000.163314][23b4] OpenGLRenderProgram::Initialize
success.
[016:663] [2022-05-15 17:26:17 +0000.163537][23b4] Setup the OpenGL result:1
[016:663] [2022-05-15 17:26:17 +0000.163986][23b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50551562.mp4
[016:667] [2022-05-15 17:26:17 +0000.167121][270b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7aa430a098
[016:667] [2022-05-15 17:26:17 +0000.167149][23b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50551562.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[016:667] [2022-05-15 17:26:17 +0000.167401][23b3] 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
[016:667] [2022-05-15 17:26:17 +0000.167471][23b3] 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.metro_1652635560284/
record_video_50551562.mp4 fileFD: -1
[016:667] [2022-05-15 17:26:17 +0000.168057][23b3] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50551562.mp4 is opened successfully
[016:668] [2022-05-15 17:26:17 +0000.168106][23b3] setupMediaProcessers:
[016:668] [2022-05-15 17:26:17 +0000.168140][23b3]
RecordingSessionInternalSimple:setup media processers.
[016:668] [2022-05-15 17:26:17 +0000.168172][23b3] construct AAC encoder
[016:672] [2022-05-15 17:26:17 +0000.172779][23b3] H264Encoder creating:
superfast011818
[016:672] [2022-05-15 17:26:17 +0000.172917][23b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[016:673] [2022-05-15 17:26:17 +0000.173825][23b3] H264Encode::GetMachineModel is
Mi 10
[016:673] [2022-05-15 17:26:17 +0000.173868][23b3] H264Encoder machine_mode is:Mi
10
[016:673] [2022-05-15 17:26:17 +0000.173887][23b3] setupCompressionSession:
[016:673] [2022-05-15 17:26:17 +0000.173907][23b3] H264Encode::creating hareware
Encoder
[016:673] [2022-05-15 17:26:17 +0000.173927][23b3] AndroidHwAvcEncoder
time:50551572 enter.

[016:673] [2022-05-15 17:26:17 +0000.174084][23b3] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[016:674] [2022-05-15 17:26:17 +0000.174233][23b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[016:674] [2022-05-15 17:26:17 +0000.174272][23b3] The video avc hw codec address
is 0x7a5a048038
[016:674] [2022-05-15 17:26:17 +0000.174344][23b3] AndroidHwAvcEncoder leave.
expire time = 1 ms

[016:674] [2022-05-15 17:26:17 +0000.174377][23b3] RegisterEncodeCompleteCallback


time:50551573 enter.

[016:674] [2022-05-15 17:26:17 +0000.174496][23b3] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[016:674] [2022-05-15 17:26:17 +0000.174559][23b3] InitEncode time:50551573 enter.

[016:674] [2022-05-15 17:26:17 +0000.174699][23b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[016:674] [2022-05-15 17:26:17 +0000.174762][23b3] Create time:50551573 enter.

[016:674] [2022-05-15 17:26:17 +0000.174795][23b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[016:674] [2022-05-15 17:26:17 +0000.174830][23b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7a2ee5cf80
[016:674] [2022-05-15 17:26:17 +0000.175012][23b3]
supported_type:image/vnd.android.heic
[016:674] [2022-05-15 17:26:17 +0000.175073][23b3] supported_type:video/avc
[016:675] [2022-05-15 17:26:17 +0000.175108][23b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[016:675] [2022-05-15 17:26:17 +0000.175154][23b3] hwCodecPrefix :OMX.qcom.
[016:675] [2022-05-15 17:26:17 +0000.175187][23b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[016:675] [2022-05-15 17:26:17 +0000.175221][23b3] mediacodec_createCodecByName
time:50551574 enter.

[016:675] [2022-05-15 17:26:17 +0000.175252][23b3] WrapAndroidMediaCodec


time:50551574 enter.

[016:675] [2022-05-15 17:26:17 +0000.175382][23b3] WrapAndroidMediaCodec leave.


expire time = 0 ms

[016:686] [2022-05-15 17:26:17 +0000.186552][23b3] mediacodec_createCodecByName


leave. expire time = 11 ms

[016:686] [2022-05-15 17:26:17 +0000.186630][23b3] WrapAndroidMediaFromat


time:50551585 enter.

[016:686] [2022-05-15 17:26:17 +0000.186683][23b3] WrapAndroidMediaFromat leave.


expire time = 0 ms

[016:704] [2022-05-15 17:26:17 +0000.204229][23b5]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[016:716] [2022-05-15 17:26:17 +0000.216152][23b3] Destroy time:50551615 enter.

[016:716] [2022-05-15 17:26:17 +0000.216253][23b3] WrapAndroidMediaFromat::


Destroy
[016:716] [2022-05-15 17:26:17 +0000.216271][23b3] Destroy leave. expire time = 0
ms

[016:716] [2022-05-15 17:26:17 +0000.216289][23b3] ~WrapAndroidMediaFromat


time:50551615 enter.

[016:716] [2022-05-15 17:26:17 +0000.216305][23b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[016:716] [2022-05-15 17:26:17 +0000.216320][23b3] Create leave. expire time = 42


ms

[016:716] [2022-05-15 17:26:17 +0000.216333][23b3] isSemiPlanarSupport


time:50551615 enter.

[016:716] [2022-05-15 17:26:17 +0000.216345][23b3] H264Encoder isSemiPlanarSupport


[016:716] [2022-05-15 17:26:17 +0000.216359][23b3] isSemiPlanarSupport leave.
expire time = 0 ms

[016:716] [2022-05-15 17:26:17 +0000.216371][23b3] creat hw H264Encoder success,


isSemiPlanar:1
[016:716] [2022-05-15 17:26:17 +0000.216458][23b3] InitEncode leave. expire time =
42 ms

[016:716] [2022-05-15 17:26:17 +0000.216473][23b3] H264Encode::created Encoder


[016:716] [2022-05-15 17:26:17 +0000.216487][23b3] H264Encode:: H264 encoder
created.
[016:716] [2022-05-15 17:26:17 +0000.216500][23b3] H264 encoder created.
[016:716] [2022-05-15 17:26:17 +0000.216513][23b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7b35e96880
[016:716] [2022-05-15 17:26:17 +0000.216527][23b3] setOutput:
[016:716] [2022-05-15 17:26:17 +0000.216541][23b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[016:716] [2022-05-15 17:26:17 +0000.216555][23b3] request a key frame
[016:716] [2022-05-15 17:26:17 +0000.216567][23b3] H264Encode:: request a key frame
[016:716] [2022-05-15 17:26:17 +0000.216653][23b4] Start:
[016:717] [2022-05-15 17:26:17 +0000.217141][23b7] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[016:717] [2022-05-15 17:26:17 +0000.217224][23b7] Reset: history total size: 98
[016:717] [2022-05-15 17:26:17 +0000.217282][23b7] DeviceStart:
audioDevice_:0x7a59f08000
[016:717] [2022-05-15 17:26:17 +0000.217326][23b7] DeviceStart: time profile
playout init before
[016:717] [2022-05-15 17:26:17 +0000.217372][23b7] DeviceStart: time profile
playout init end
[016:717] [2022-05-15 17:26:17 +0000.217412][23b7] OpenSlesOutput:Start playout

[016:721] [2022-05-15 17:26:17 +0000.221307][23b7] Create the opensl output player.


streamtype before:0

[016:721] [2022-05-15 17:26:17 +0000.221390][23b7] Create the opensl output player.


streamtype after:3

[016:744] [2022-05-15 17:26:17 +0000.244576][23b7] Enqueue opensl buffer size:1764


[016:774] [2022-05-15 17:26:17 +0000.274904][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[016:778] [2022-05-15 17:26:17 +0000.278894][23b7] DeviceStart: time profile
playout all end
[016:778] [2022-05-15 17:26:17 +0000.278941][23b7] operator(): Audio playback
started.
[016:783] [2022-05-15 17:26:17 +0000.283533][271a] NeedMorePlayData: Scale the
volume to zero now!
[016:783] [2022-05-15 17:26:17 +0000.283607][271a]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[016:801] [2022-05-15 17:26:17 +0000.301476][23b4] begine recode to first frame
spend time:156
[016:801] [2022-05-15 17:26:17 +0000.301563][23b4] add frame because frame
interval.
[016:801] [2022-05-15 17:26:17 +0000.301606][23b4]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[016:801] [2022-05-15 17:26:17 +0000.301639][23b4]
GPUImageProcessing::SetOrientation orientation: 90
[016:802] [2022-05-15 17:26:17 +0000.302295][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[016:804] [2022-05-15 17:26:17 +0000.304346][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[016:826] [2022-05-15 17:26:17 +0000.326663][23b5] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//bgm.mp3 sync_mode:
1 seek_pos: 8600 delay: 0 this:0x7a2f298c00
[016:828] [2022-05-15 17:26:17 +0000.329023][2705]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[016:839] [2022-05-15 17:26:17 +0000.339855][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[016:870] [2022-05-15 17:26:17 +0000.370731][26fa] FFMpeg=> [mp3 @ 0x7aa4154c00]
Current FFmpeg version git-2021-06-16-97cea6f

[016:877] [2022-05-15 17:26:17 +0000.377499][23b4] The convert RGB to YUV take 5


[016:893] [2022-05-15 17:26:17 +0000.393394][26fd] success seekto
avformat_seek_file to: 8600000
[016:893] [2022-05-15 17:26:17 +0000.393538][26fd] Drop one audio frame for seekto,
pkt_dts 121250304 audio_seek_pos_: 8600000
[016:895] [2022-05-15 17:26:17 +0000.395816][23b7] First audio frame rendering
[016:896] [2022-05-15 17:26:17 +0000.396861][270b] add aac audio track with id:1
[016:909] [2022-05-15 17:26:17 +0000.409825][270b] audio start ts:0
[016:909] [2022-05-15 17:26:17 +0000.409932][270b] the audio frame has been written
into MP4 file
[016:956] [2022-05-15 17:26:17 +0000.456318][2705] h264 add frame header cdr flag
[016:961] [2022-05-15 17:26:17 +0000.461842][2705] h264 add frame header cdr flag
[016:962] [2022-05-15 17:26:17 +0000.462114][2705] Received key frame:0
[016:962] [2022-05-15 17:26:17 +0000.462148][2705] H264Encode:: get a sps pps
header!headerSize:32
[016:962] [2022-05-15 17:26:17 +0000.462321][270b] get the H.264 SPS parameter
[016:963] [2022-05-15 17:26:17 +0000.463402][270b] add video track with id:2
[016:965] [2022-05-15 17:26:17 +0000.465531][270b] get the H.264 PPS parameter
[016:966] [2022-05-15 17:26:17 +0000.466598][270b] get the H.264 IDR frame
[016:966] [2022-05-15 17:26:17 +0000.466700][270b] resss:true
[016:966] [2022-05-15 17:26:17 +0000.466850][270b] video start ts:0
[016:967] [2022-05-15 17:26:17 +0000.467787][270b] the video frame has been written
into MP4 file
[016:976] [2022-05-15 17:26:17 +0000.476858][2705] Push an pts:167 to dts queue.
[017:007] [2022-05-15 17:26:17 +0000.507832][23b4] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3983 diff: 18
[017:013] [2022-05-15 17:26:17 +0000.513799][2705] last dts:133 currentPts:167
ppsOrSPS:0 queue length:2
[017:206] [2022-05-15 17:26:17 +0000.706647][2705] DTS queue for
Generator:0x7aa430a2b8 367 400
[017:233] [2022-05-15 17:26:17 +0000.733984][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:372] [2022-05-15 17:26:17 +0000.872803][23b4] The convert RGB to YUV take 4
[017:434] [2022-05-15 17:26:17 +0000.934955][23b4] CameraSource::PushExtraFrame
pkt_dts: 665, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[017:735] [2022-05-15 17:26:18 +0000.235155][1f88] video render surface render a
frame
[017:735] [2022-05-15 17:26:18 +0000.235751][23b4] CropFilter::OnVideoFrame
outputtexture :9
[017:735] [2022-05-15 17:26:18 +0000.235894][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:815] [2022-05-15 17:26:18 +0000.315643][271a]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[017:870] [2022-05-15 17:26:18 +0000.370438][23b4] The convert RGB to YUV take 5
[018:042] [2022-05-15 17:26:18 +0000.542595][2705] DTS queue for
Generator:0x7aa430a2b8 1200 1233
[018:235] [2022-05-15 17:26:18 +0000.735979][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:309] [2022-05-15 17:26:18 +0000.810047][2705] Push an pts:1500 to dts queue.
[018:344] [2022-05-15 17:26:18 +0000.844812][2705] last dts:1467 currentPts:1500
ppsOrSPS:0 queue length:2
[018:376] [2022-05-15 17:26:18 +0000.876208][23b4] The convert RGB to YUV take 3
[018:402] [2022-05-15 17:26:18 +0000.902293][23b4] CameraSource::PushExtraFrame
pkt_dts: 1630, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[018:488] [2022-05-15 17:26:18 +0000.988462][23b5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[018:636] [2022-05-15 17:26:19 +0000.137021][23b7] The audio playback speed:100
(1/100)
[018:637] [2022-05-15 17:26:19 +0000.137421][23b7] lipsync_debug: The current
played audio timestamp is:1847(1/50)
[018:731] [2022-05-15 17:26:19 +0000.231580][1f88] video render surface render a
frame
[018:733] [2022-05-15 17:26:19 +0000.233476][23b4] CropFilter::OnVideoFrame
outputtexture :9
[018:733] [2022-05-15 17:26:19 +0000.233657][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:782] [2022-05-15 17:26:19 +0000.282177][271a]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[018:831] [2022-05-15 17:26:19 +0000.331223][23b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[018:831] [2022-05-15 17:26:19 +0000.331330][23b4] GPUImageProcessing: input frame
width2160 X 3840
[018:831] [2022-05-15 17:26:19 +0000.331834][23b4] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[018:831] [2022-05-15 17:26:19 +0000.331922][23b4] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[018:841] [2022-05-15 17:26:19 +0000.341707][2705] h264 add frame header cdr flag
[018:842] [2022-05-15 17:26:19 +0000.342132][2705] Received key frame:2000
[018:842] [2022-05-15 17:26:19 +0000.342181][2705] DTS queue for
Generator:0x7aa430a2b8 2033
[018:842] [2022-05-15 17:26:19 +0000.342218][2705] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2000 pts:2000
[018:871] [2022-05-15 17:26:19 +0000.371660][23b4] The convert RGB to YUV take 5
[018:876] [2022-05-15 17:26:19 +0000.376305][270b] get the H.264 IDR frame
[019:008] [2022-05-15 17:26:19 +0000.508589][2705] SendFrame
encodedImage._timeStamp:2167encodedImage->_length:60592
[019:071] [2022-05-15 17:26:19 +0000.571698][2705] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2267
[019:071] [2022-05-15 17:26:19 +0000.571797][2705] push video frame to H264
encoder. (100 frame for one log)

[019:071] [2022-05-15 17:26:19 +0000.571836][2705] push video frame to H264


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

[019:071] [2022-05-15 17:26:19 +0000.571861][2705] H264Encode::push video frame to


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

[019:071] [2022-05-15 17:26:19 +0000.571945][2705] The input pts:2267 fps:30


[019:099] [2022-05-15 17:26:19 +0000.599826][23b4] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4979 diff: 22
[019:110] [2022-05-15 17:26:19 +0000.610365][2705] H264Encode::H264SWEncoder get
callback, length:62896 type:1 nalType:1length:62892
[019:138] [2022-05-15 17:26:19 +0000.638461][23b7] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[019:139] [2022-05-15 17:26:19 +0000.639150][23b4] OnNeedStopRecording:
[019:139] [2022-05-15 17:26:19 +0000.639594][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[019:139] [2022-05-15 17:26:19 +0000.639723][23b4] operator(): Stop
[019:139] [2022-05-15 17:26:19 +0000.639836][23b4] Stop:
[019:139] [2022-05-15 17:26:19 +0000.639926][23b7] DeviceStop:
audioDevice_:0x7a59f08000
[019:139] [2022-05-15 17:26:19 +0000.640031][23b7] OpenSlesOutput:Stop playout

[019:143] [2022-05-15 17:26:19 +0000.643878][23b7] DeviceStop: Done


[019:143] [2022-05-15 17:26:19 +0000.644093][23b7] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[019:146] [2022-05-15 17:26:19 +0000.646332][2705]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[019:154] [2022-05-15 17:26:19 +0000.655036][23b3] stop recording
[019:155] [2022-05-15 17:26:19 +0000.655164][23b3]
RecordingSessionInternalSimple:destroy media processers
[019:155] [2022-05-15 17:26:19 +0000.655216][23b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[019:155] [2022-05-15 17:26:19 +0000.655261][23b3] H264Encode::flushing hareware
Encoder
[019:155] [2022-05-15 17:26:19 +0000.655592][23b3] Flush time:50554054 enter.

[019:155] [2022-05-15 17:26:19 +0000.655682][23b3] H264Encoder encoder flush


[019:155] [2022-05-15 17:26:19 +0000.655772][23b3] flush output queue
[019:479] [2022-05-15 17:26:19 +0000.979861][23b3] Flush leave. expire time = 324
ms

[019:480] [2022-05-15 17:26:19 +0000.980317][23b3] ~H264EncodeWrap:


[019:480] [2022-05-15 17:26:19 +0000.980394][23b3] ~H264Encode:
[019:480] [2022-05-15 17:26:19 +0000.980440][23b3] teardownCompressionSession:
H264Encode::destroying Encoder
[019:480] [2022-05-15 17:26:19 +0000.980601][23b3] Release time:50554379 enter.

[019:480] [2022-05-15 17:26:19 +0000.980879][23b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[019:480] [2022-05-15 17:26:19 +0000.980947][23b3] Destroy time:50554379 enter.

[019:480] [2022-05-15 17:26:19 +0000.980995][23b3] H264Encoder encoderDestroy


[019:480] [2022-05-15 17:26:19 +0000.981040][23b3]
AndroidMediaCodecVideoEncoder::release env: 0x7a3b05e840
[019:480] [2022-05-15 17:26:19 +0000.981088][23b3]
AndroidMediaCodecVideoEncoder::Destroy
[019:529] [2022-05-15 17:26:20 +0000.29459][23b3] Destroy leave. expire time = 49
ms
[019:529] [2022-05-15 17:26:20 +0000.29800][23b3] Release leave. expire time = 49
ms

[019:529] [2022-05-15 17:26:20 +0000.29862][23b3] ~AndroidHwAvcEncoder


time:50554428 enter.

[019:530] [2022-05-15 17:26:20 +0000.30215][23b3] Release time:50554429 enter.

[019:530] [2022-05-15 17:26:20 +0000.30282][23b3] Release: MediaCodecVideoEncoder::


has been released before, just return
[019:530] [2022-05-15 17:26:20 +0000.30329][23b3] Release leave. expire time = 0
ms

[019:530] [2022-05-15 17:26:20 +0000.30372][23b3] ~AndroidMediaCodecVideoEncoder


[019:530] [2022-05-15 17:26:20 +0000.30414][23b3] ~WrapAndroidMediaCodec
time:50554429 enter.

[019:530] [2022-05-15 17:26:20 +0000.30458][23b3] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[019:530] [2022-05-15 17:26:20 +0000.30687][23b3] video hevc hw codec


destructor:0x7a5a048038

[019:531] [2022-05-15 17:26:20 +0000.32053][23b3] ~AndroidHwAvcEncoder leave.


expire time = 3 ms

[019:532] [2022-05-15 17:26:20 +0000.32407][23b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[019:532] [2022-05-15 17:26:20 +0000.32464][23b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[019:532] [2022-05-15 17:26:20 +0000.32509][23b3] AACSWEncode destructor
[019:540] [2022-05-15 17:26:20 +0000.40856][270b] MP4 close file successfully
[019:540] [2022-05-15 17:26:20 +0000.41031][270b] Recording session Internal:
notify recording ok
[019:540] [2022-05-15 17:26:20 +0000.41081][270b] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50551562.mp4
[019:541] [2022-05-15 17:26:20 +0000.41395][270b] OnRecordFinish:
[019:542] [2022-05-15 17:26:20 +0000.42747][23b4] DestroyPipelineAndFilters
time:50554441 enter.

[019:542] [2022-05-15 17:26:20 +0000.43010][23b4] UnbindInputFilter 0x7a3b0bcec0


this 0x7a2f4d3780
[019:542] [2022-05-15 17:26:20 +0000.43052][23b4] UnbindInputFilter 0x7a2f4d3780
this 0x7a3b26e3d8
[019:542] [2022-05-15 17:26:20 +0000.43080][23b4] filter: filter pipeline destroy
this: 0x7a3b26e340
[019:543] [2022-05-15 17:26:20 +0000.43178][23b4] ClearVideoOfSources: recodring
total frames:72
[019:543] [2022-05-15 17:26:20 +0000.43203][23b4] ClearVideoOfSources:
[019:543] [2022-05-15 17:26:20 +0000.43233][23b4] GPUImageProcessing destruct.
[019:543] [2022-05-15 17:26:20 +0000.43264][23b4] destroy TrivalImageDrawer
0x7a2f5ff400
[019:543] [2022-05-15 17:26:20 +0000.43289][23b4] The shader has been initialize,
clean up them.

[019:543] [2022-05-15 17:26:20 +0000.43518][23b4] ~OpenGLFrameBuffer:


[019:543] [2022-05-15 17:26:20 +0000.43600][23b4] ~OpenGLFrameBuffer:
[019:543] [2022-05-15 17:26:20 +0000.43661][23b4] ~OpenGLFrameBuffer:
[019:543] [2022-05-15 17:26:20 +0000.43706][23b4] ~OpenGLFrameBuffer:
[019:543] [2022-05-15 17:26:20 +0000.43816][23b4] ~OpenGLFrameBuffer:
[019:543] [2022-05-15 17:26:20 +0000.43992][23b4] ~OpenGLFrameBuffer:
[019:545] [2022-05-15 17:26:20 +0000.45284][23b4] GPUImageProcessing destruct
finish.
[019:545] [2022-05-15 17:26:20 +0000.45406][23b4] GPURGBAFrame destruct.
[019:545] [2022-05-15 17:26:20 +0000.45512][23b4] destroy OpenGLRenderProgram
0x7a2f4d3498
[019:545] [2022-05-15 17:26:20 +0000.45580][23b4] ~CameraSource time:50554444
enter.

[019:545] [2022-05-15 17:26:20 +0000.45611][23b4] ~CameraSource leave. expire time


= 0 ms

[019:548] [2022-05-15 17:26:20 +0000.48355][23b4] DestroyPipelineAndFilters leave.


expire time = 6 ms

[020:493] [2022-05-15 17:26:20 +0000.993857][6c7a] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[020:493] [2022-05-15 17:26:20 +0000.994020][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[020:494] [2022-05-15 17:26:20 +0000.994345][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[020:495] [2022-05-15 17:26:20 +0000.995750][23b4] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[020:495] [2022-05-15 17:26:20 +0000.995803][23b4] construct OpenGLRenderProgram
0x7a2f298c98
[020:495] [2022-05-15 17:26:20 +0000.995819][23b4] CropFilter::SetOrientation
orientation: 90
[020:495] [2022-05-15 17:26:20 +0000.995852][23b4] filter: filter pipeline
construtc this: 0x7a3b26ccc0
[020:495] [2022-05-15 17:26:20 +0000.995868][23b4] filter: filter pipeline2 update
pattern: 1
[020:495] [2022-05-15 17:26:20 +0000.995894][23b4] CameraSource::source_id_:5
[020:496] [2022-05-15 17:26:20 +0000.996235][23b4] SetPlayLoop: AudioSource
SetPlayLoop 0
[020:496] [2022-05-15 17:26:20 +0000.996269][23b4]
Warning(media_filter_camera.cc:483): seekPos:10894
[020:496] [2022-05-15 17:26:20 +0000.996301][23b4] BindInputFilter 0x7a3b0bcec0
this 0x7a2f298f80
[020:496] [2022-05-15 17:26:20 +0000.996333][23b4] BindInputFilter 0x7a2f298f80
this 0x7a3b26cd58
[020:496] [2022-05-15 17:26:20 +0000.996358][23b4] SetParamForFilter time:50555395
enter.

[020:496] [2022-05-15 17:26:20 +0000.996382][23b4] SetParamForFilter: Params video


index is: 4
[020:496] [2022-05-15 17:26:20 +0000.996395][23b4] SetParamForFilter: Params seek
pos is: 4
[020:496] [2022-05-15 17:26:20 +0000.996417][23b4] crop filter video index:4
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.metro/
movie_mode: 0
[020:496] [2022-05-15 17:26:20 +0000.996431][23b4] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//config.json
[020:496] [2022-05-15 17:26:20 +0000.996637][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996659][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996679][23b4]
exp_des.start:0exp_des.end:2235exp_des.expressionstr:0.5 + 0.15*x / 2235
[020:496] [2022-05-15 17:26:20 +0000.996704][23b4]
exp_des.start:0exp_des.end:2235exp_des.expressionstr:0.5 + 0.15*x / 2235
[020:496] [2022-05-15 17:26:20 +0000.996720][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996743][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996757][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996783][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996799][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996823][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996836][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996861][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996875][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996900][23b4]
Warning(parse_template_json.cc:95): json parament no found the parament
[020:496] [2022-05-15 17:26:20 +0000.996915][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[020:496] [2022-05-15 17:26:20 +0000.996937][23b4] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//filter.png
[020:496] [2022-05-15 17:26:20 +0000.996989][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[020:496] [2022-05-15 17:26:20 +0000.997007][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[020:500] [2022-05-15 17:26:21 +0000.454][23b4] SetParamForFilter leave. expire
time = 4 ms

[020:500] [2022-05-15 17:26:21 +0000.561][23b4] OnOutputSizeChanged width 1920


height 1080
[020:500] [2022-05-15 17:26:21 +0000.608][23b4] OpenGLFrameBuffer: width:1920
height:1080
[020:500] [2022-05-15 17:26:21 +0000.657][23b4] OpenGLFrameBuffer: width:1920
height:1080
[020:500] [2022-05-15 17:26:21 +0000.727][23b4] OpenGLFrameBuffer: width:1920
height:1080
[020:500] [2022-05-15 17:26:21 +0000.953][23b4] OpenGLFrameBuffer: width:1920
height:1080
[020:500] [2022-05-15 17:26:21 +0000.1005][23b4] OpenGLFrameBuffer: width:1920
height:1080
[020:500] [2022-05-15 17:26:21 +0000.1032][23b4] OpenGLFrameBuffer: width:1920
height:1080
[020:500] [2022-05-15 17:26:21 +0000.1094][23b4] construct TrivalImageDrawer
0x7a2f5ff400
[020:501] [2022-05-15 17:26:21 +0000.1161][23b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f5ff400 context 0x7b18042640
[020:501] [2022-05-15 17:26:21 +0000.1192][23b4] setupGLES:
[020:501] [2022-05-15 17:26:21 +0000.1460][23b4] OpenGLRenderProgram::Initialize.
[020:501] [2022-05-15 17:26:21 +0000.1506][23b4] The version of the OpenGL: OpenGL
ES GLSL ES 3.20
[020:501] [2022-05-15 17:26:21 +0000.1544][23b4] 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
[020:501] [2022-05-15 17:26:21 +0000.1633][23b4] Init open gl render: 0x7a2f298c98
[020:501] [2022-05-15 17:26:21 +0000.1675][23b4] Fragement shader path:
[020:501] [2022-05-15 17:26:21 +0000.1720][23b4] Fragement shader path:
[020:501] [2022-05-15 17:26:21 +0000.1754][23b4] create opengl program object.
[020:501] [2022-05-15 17:26:21 +0000.1789][23b4] create shader: vertex
[020:502] [2022-05-15 17:26:21 +0000.2244][23b4] create shader: fragment
[020:512] [2022-05-15 17:26:21 +0000.12507][23b4] External image path is empty!
[020:512] [2022-05-15 17:26:21 +0000.12578][23b4] Error(crop_filter.cc:464): Init
the image texture failed.
[020:512] [2022-05-15 17:26:21 +0000.12604][23b4] OpenGLRenderProgram::Initialize
success.
[020:512] [2022-05-15 17:26:21 +0000.12659][23b4] Setup the OpenGL result:1
[020:512] [2022-05-15 17:26:21 +0000.13047][23b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50555411.mp4
[020:513] [2022-05-15 17:26:21 +0000.13380][23b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50555411.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[020:513] [2022-05-15 17:26:21 +0000.13394][2764] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7aa430a098
[020:513] [2022-05-15 17:26:21 +0000.13484][23b3] 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
[020:513] [2022-05-15 17:26:21 +0000.13565][23b3] 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.metro_1652635560284/
record_video_50555411.mp4 fileFD: -1
[020:514] [2022-05-15 17:26:21 +0000.14206][23b3] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50555411.mp4 is opened successfully
[020:514] [2022-05-15 17:26:21 +0000.14261][23b3] setupMediaProcessers:
[020:514] [2022-05-15 17:26:21 +0000.14303][23b3]
RecordingSessionInternalSimple:setup media processers.
[020:514] [2022-05-15 17:26:21 +0000.14345][23b3] construct AAC encoder
[020:514] [2022-05-15 17:26:21 +0000.14743][23b3] H264Encoder creating:
superfast011818
[020:514] [2022-05-15 17:26:21 +0000.14811][23b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[020:516] [2022-05-15 17:26:21 +0000.16381][23b3] H264Encode::GetMachineModel is Mi
10
[020:516] [2022-05-15 17:26:21 +0000.16452][23b3] H264Encoder machine_mode is:Mi 10
[020:516] [2022-05-15 17:26:21 +0000.16495][23b3] setupCompressionSession:
[020:516] [2022-05-15 17:26:21 +0000.16535][23b3] H264Encode::creating hareware
Encoder
[020:516] [2022-05-15 17:26:21 +0000.16575][23b3] AndroidHwAvcEncoder time:50555415
enter.

[020:516] [2022-05-15 17:26:21 +0000.16831][23b3] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[020:516] [2022-05-15 17:26:21 +0000.17008][23b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[020:516] [2022-05-15 17:26:21 +0000.17062][23b3] The video avc hw codec address is
0x7a59f7bf48
[020:517] [2022-05-15 17:26:21 +0000.17208][23b3] AndroidHwAvcEncoder leave.
expire time = 1 ms

[020:517] [2022-05-15 17:26:21 +0000.17262][23b3] RegisterEncodeCompleteCallback


time:50555416 enter.

[020:517] [2022-05-15 17:26:21 +0000.17432][23b3] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[020:517] [2022-05-15 17:26:21 +0000.17494][23b3] InitEncode time:50555416 enter.

[020:517] [2022-05-15 17:26:21 +0000.17611][23b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[020:517] [2022-05-15 17:26:21 +0000.17670][23b3] Create time:50555416 enter.

[020:517] [2022-05-15 17:26:21 +0000.17714][23b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[020:517] [2022-05-15 17:26:21 +0000.17818][23b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7a59dc4f80
[020:517] [2022-05-15 17:26:21 +0000.18097][23b3]
supported_type:image/vnd.android.heic
[020:518] [2022-05-15 17:26:21 +0000.18232][23b3] supported_type:video/avc
[020:518] [2022-05-15 17:26:21 +0000.18294][23b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[020:518] [2022-05-15 17:26:21 +0000.18364][23b3] hwCodecPrefix :OMX.qcom.
[020:518] [2022-05-15 17:26:21 +0000.18412][23b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[020:518] [2022-05-15 17:26:21 +0000.18462][23b3] mediacodec_createCodecByName
time:50555417 enter.

[020:518] [2022-05-15 17:26:21 +0000.18510][23b3] WrapAndroidMediaCodec


time:50555417 enter.

[020:518] [2022-05-15 17:26:21 +0000.18752][23b3] WrapAndroidMediaCodec leave.


expire time = 0 ms

[020:528] [2022-05-15 17:26:21 +0000.28271][23b3] mediacodec_createCodecByName


leave. expire time = 10 ms

[020:528] [2022-05-15 17:26:21 +0000.28446][23b3] WrapAndroidMediaFromat


time:50555427 enter.

[020:528] [2022-05-15 17:26:21 +0000.28582][23b3] WrapAndroidMediaFromat leave.


expire time = 0 ms

[020:533] [2022-05-15 17:26:21 +0000.33176][23b5]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[020:562] [2022-05-15 17:26:21 +0000.62812][23b3] Destroy time:50555461 enter.

[020:562] [2022-05-15 17:26:21 +0000.62994][23b3] WrapAndroidMediaFromat::


Destroy
[020:563] [2022-05-15 17:26:21 +0000.63157][23b3] Destroy leave. expire time = 1
ms

[020:563] [2022-05-15 17:26:21 +0000.63329][23b3] ~WrapAndroidMediaFromat


time:50555462 enter.

[020:563] [2022-05-15 17:26:21 +0000.63399][23b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[020:563] [2022-05-15 17:26:21 +0000.63525][23b3] Create leave. expire time = 46


ms

[020:563] [2022-05-15 17:26:21 +0000.63688][23b3] isSemiPlanarSupport time:50555462


enter.

[020:563] [2022-05-15 17:26:21 +0000.63745][23b3] H264Encoder isSemiPlanarSupport


[020:563] [2022-05-15 17:26:21 +0000.63880][23b3] isSemiPlanarSupport leave.
expire time = 0 ms

[020:563] [2022-05-15 17:26:21 +0000.63974][23b3] creat hw H264Encoder success,


isSemiPlanar:1
[020:564] [2022-05-15 17:26:21 +0000.64278][23b3] InitEncode leave. expire time =
47 ms

[020:564] [2022-05-15 17:26:21 +0000.64347][23b3] H264Encode::created Encoder


[020:564] [2022-05-15 17:26:21 +0000.64403][23b3] H264Encode:: H264 encoder
created.
[020:564] [2022-05-15 17:26:21 +0000.64455][23b3] H264 encoder created.
[020:564] [2022-05-15 17:26:21 +0000.64505][23b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7a3b05e840
[020:564] [2022-05-15 17:26:21 +0000.64562][23b3] setOutput:
[020:564] [2022-05-15 17:26:21 +0000.64614][23b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[020:564] [2022-05-15 17:26:21 +0000.64666][23b3] request a key frame
[020:564] [2022-05-15 17:26:21 +0000.64715][23b3] H264Encode:: request a key frame
[020:564] [2022-05-15 17:26:21 +0000.64829][23b4] Start:
[020:564] [2022-05-15 17:26:21 +0000.65071][23b7] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[020:565] [2022-05-15 17:26:21 +0000.65294][23b7] Reset: history total size: 98
[020:565] [2022-05-15 17:26:21 +0000.65384][23b7] DeviceStart:
audioDevice_:0x7a59f08000
[020:565] [2022-05-15 17:26:21 +0000.65442][23b7] DeviceStart: time profile playout
init before
[020:565] [2022-05-15 17:26:21 +0000.65501][23b7] DeviceStart: time profile playout
init end
[020:565] [2022-05-15 17:26:21 +0000.65551][23b7] OpenSlesOutput:Start playout

[020:566] [2022-05-15 17:26:21 +0000.66965][23b7] Create the opensl output player.


streamtype before:0

[020:566] [2022-05-15 17:26:21 +0000.67060][23b7] Create the opensl output player.


streamtype after:3

[020:589] [2022-05-15 17:26:21 +0000.89187][23b7] Enqueue opensl buffer size:1764


[020:604] [2022-05-15 17:26:21 +0000.104736][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[020:626] [2022-05-15 17:26:21 +0000.127056][23b7] DeviceStart: time profile
playout all end
[020:627] [2022-05-15 17:26:21 +0000.127141][23b7] operator(): Audio playback
started.
[020:627] [2022-05-15 17:26:21 +0000.127810][277a] NeedMorePlayData: Scale the
volume to zero now!
[020:642] [2022-05-15 17:26:21 +0000.142694][23b4] begine recode to first frame
spend time:147
[020:642] [2022-05-15 17:26:21 +0000.142804][23b4] add frame because frame
interval.
[020:642] [2022-05-15 17:26:21 +0000.142869][23b4]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[020:642] [2022-05-15 17:26:21 +0000.142893][23b4]
GPUImageProcessing::SetOrientation orientation: 90
[020:645] [2022-05-15 17:26:21 +0000.145779][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[020:661] [2022-05-15 17:26:21 +0000.161530][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[020:671] [2022-05-15 17:26:21 +0000.171195][2761]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[020:676] [2022-05-15 17:26:21 +0000.176766][23b5] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//bgm.mp3 sync_mode:
1 seek_pos: 10894 delay: 0 this:0x7a2f4d3400
[020:693] [2022-05-15 17:26:21 +0000.193705][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[020:693] [2022-05-15 17:26:21 +0000.194038][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[020:706] [2022-05-15 17:26:21 +0000.206571][2752] FFMpeg=> [mp3 @ 0x7aa4155200]
Current FFmpeg version git-2021-06-16-97cea6f
[020:727] [2022-05-15 17:26:21 +0000.227525][2756] success seekto
avformat_seek_file to: 10894000
[020:727] [2022-05-15 17:26:21 +0000.227634][2756] Drop one audio frame for seekto,
pkt_dts 153425664 audio_seek_pos_: 10894000
[020:730] [2022-05-15 17:26:21 +0000.230357][23b7] First audio frame rendering
[020:733] [2022-05-15 17:26:21 +0000.233668][2764] add aac audio track with id:1
[020:742] [2022-05-15 17:26:21 +0000.242166][2764] audio start ts:0
[020:742] [2022-05-15 17:26:21 +0000.242263][2764] the audio frame has been written
into MP4 file
[020:773] [2022-05-15 17:26:21 +0000.273662][2761] h264 add frame header cdr flag
[020:775] [2022-05-15 17:26:21 +0000.275808][2761] h264 add frame header cdr flag
[020:777] [2022-05-15 17:26:21 +0000.277243][2761] Received key frame:0
[020:777] [2022-05-15 17:26:21 +0000.277281][2761] H264Encode:: get a sps pps
header!headerSize:32
[020:777] [2022-05-15 17:26:21 +0000.277435][2764] get the H.264 SPS parameter
[020:777] [2022-05-15 17:26:21 +0000.277993][2764] add video track with id:2
[020:779] [2022-05-15 17:26:21 +0000.279547][2764] get the H.264 PPS parameter
[020:780] [2022-05-15 17:26:21 +0000.280141][2764] get the H.264 IDR frame
[020:780] [2022-05-15 17:26:21 +0000.280208][2764] resss:true
[020:780] [2022-05-15 17:26:21 +0000.280251][2764] video start ts:0
[020:780] [2022-05-15 17:26:21 +0000.280375][2764] the video frame has been written
into MP4 file
[020:827] [2022-05-15 17:26:21 +0000.328015][23b4] CameraSource::PushExtraFrame
pkt_dts: 200, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[020:863] [2022-05-15 17:26:21 +0000.363673][23b4] The convert RGB to YUV take 2
[021:164] [2022-05-15 17:26:21 +0000.664607][2761] Push an pts:500 to dts queue.
[021:193] [2022-05-15 17:26:21 +0000.693304][1f88] video render surface render a
frame
[021:196] [2022-05-15 17:26:21 +0000.696239][23b4] CropFilter::OnVideoFrame
outputtexture :9
[021:196] [2022-05-15 17:26:21 +0000.696361][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:200] [2022-05-15 17:26:21 +0000.700226][2761] DTS queue for
Generator:0x7aa430a2b8 500 533
[021:205] [2022-05-15 17:26:21 +0000.705162][2761] last dts:467 currentPts:500
ppsOrSPS:0 queue length:2
[021:257] [2022-05-15 17:26:21 +0000.757374][277a]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[021:365] [2022-05-15 17:26:21 +0000.865972][23b4] The convert RGB to YUV take 4
[021:400] [2022-05-15 17:26:21 +0000.901046][23b4] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[021:694] [2022-05-15 17:26:22 +0000.194455][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:792] [2022-05-15 17:26:22 +0000.292880][23b4] CameraSource::PushExtraFrame
pkt_dts: 1165, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[021:865] [2022-05-15 17:26:22 +0000.365919][23b4] The convert RGB to YUV take 3
[022:035] [2022-05-15 17:26:22 +0000.535333][2761] DTS queue for
Generator:0x7aa430a2b8 1333 1367
[022:188] [2022-05-15 17:26:22 +0000.689199][1f88] video render surface render a
frame
[022:193] [2022-05-15 17:26:22 +0000.693261][23b4] CropFilter::OnVideoFrame
outputtexture :9
[022:193] [2022-05-15 17:26:22 +0000.693389][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:219] [2022-05-15 17:26:22 +0000.720015][277a]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[022:366] [2022-05-15 17:26:22 +0000.866343][23b4] The convert RGB to YUV take 4
[022:392] [2022-05-15 17:26:22 +0000.892603][23b5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[022:498] [2022-05-15 17:26:22 +0000.998655][2761] Push an pts:1833 to dts queue.
[022:540] [2022-05-15 17:26:23 +0000.40504][2761] last dts:1800 currentPts:1833
ppsOrSPS:0 queue length:2
[022:546] [2022-05-15 17:26:23 +0000.46480][23b7] The audio playback speed:100
(1/100)
[022:546] [2022-05-15 17:26:23 +0000.46636][23b7] lipsync_debug: The current played
audio timestamp is:1943(1/50)
[022:635] [2022-05-15 17:26:23 +0000.135877][23b4] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5983 diff: 18
[022:692] [2022-05-15 17:26:23 +0000.192922][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:699] [2022-05-15 17:26:23 +0000.199637][2761] h264 add frame header cdr flag
[022:699] [2022-05-15 17:26:23 +0000.199847][2761] Received key frame:2000
[022:746] [2022-05-15 17:26:23 +0000.246515][2764] get the H.264 IDR frame
[022:765] [2022-05-15 17:26:23 +0000.265696][23b4] CameraSource::PushExtraFrame
pkt_dts: 2129, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[022:833] [2022-05-15 17:26:23 +0000.333555][2761] DTS queue for
Generator:0x7aa430a2b8 2167
[022:863] [2022-05-15 17:26:23 +0000.363873][23b4] The convert RGB to YUV take 4
[022:932] [2022-05-15 17:26:23 +0000.432468][23b7] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[022:932] [2022-05-15 17:26:23 +0000.432780][23b4] OnNeedStopRecording:
[022:933] [2022-05-15 17:26:23 +0000.433412][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[022:933] [2022-05-15 17:26:23 +0000.433569][23b4] operator(): Stop
[022:933] [2022-05-15 17:26:23 +0000.433900][23b4] Stop:
[022:933] [2022-05-15 17:26:23 +0000.433999][23b7] DeviceStop:
audioDevice_:0x7a59f08000
[022:934] [2022-05-15 17:26:23 +0000.434116][23b7] OpenSlesOutput:Stop playout

[022:937] [2022-05-15 17:26:23 +0000.437383][23b7] DeviceStop: Done


[022:937] [2022-05-15 17:26:23 +0000.437486][23b7] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[022:939] [2022-05-15 17:26:23 +0000.439887][2761]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[022:947] [2022-05-15 17:26:23 +0000.448117][23b3] stop recording
[022:948] [2022-05-15 17:26:23 +0000.448274][23b3]
RecordingSessionInternalSimple:destroy media processers
[022:948] [2022-05-15 17:26:23 +0000.448324][23b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[022:948] [2022-05-15 17:26:23 +0000.448369][23b3] H264Encode::flushing hareware
Encoder
[022:948] [2022-05-15 17:26:23 +0000.448688][23b3] Flush time:50557847 enter.

[022:948] [2022-05-15 17:26:23 +0000.448755][23b3] H264Encoder encoder flush


[022:948] [2022-05-15 17:26:23 +0000.448804][23b3] flush output queue
[023:266] [2022-05-15 17:26:23 +0000.766661][23b3] Flush leave. expire time = 318
ms

[023:267] [2022-05-15 17:26:23 +0000.767947][23b3] ~H264EncodeWrap:


[023:267] [2022-05-15 17:26:23 +0000.768011][23b3] ~H264Encode:
[023:268] [2022-05-15 17:26:23 +0000.768101][23b3] teardownCompressionSession:
H264Encode::destroying Encoder
[023:268] [2022-05-15 17:26:23 +0000.768138][23b3] Release time:50558167 enter.

[023:268] [2022-05-15 17:26:23 +0000.768374][23b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[023:268] [2022-05-15 17:26:23 +0000.768423][23b3] Destroy time:50558167 enter.

[023:268] [2022-05-15 17:26:23 +0000.768485][23b3] H264Encoder encoderDestroy


[023:268] [2022-05-15 17:26:23 +0000.768519][23b3]
AndroidMediaCodecVideoEncoder::release env: 0x7aa412eb40
[023:268] [2022-05-15 17:26:23 +0000.768579][23b3]
AndroidMediaCodecVideoEncoder::Destroy
[023:313] [2022-05-15 17:26:23 +0000.813150][23b3] Destroy leave. expire time = 45
ms

[023:313] [2022-05-15 17:26:23 +0000.813413][23b3] Release leave. expire time = 45


ms

[023:313] [2022-05-15 17:26:23 +0000.813471][23b3] ~AndroidHwAvcEncoder


time:50558212 enter.

[023:313] [2022-05-15 17:26:23 +0000.813637][23b3] Release time:50558212 enter.

[023:313] [2022-05-15 17:26:23 +0000.813662][23b3] Release:


MediaCodecVideoEncoder:: has been released before, just return
[023:313] [2022-05-15 17:26:23 +0000.813681][23b3] Release leave. expire time = 0
ms

[023:313] [2022-05-15 17:26:23 +0000.813701][23b3] ~AndroidMediaCodecVideoEncoder


[023:313] [2022-05-15 17:26:23 +0000.813719][23b3] ~WrapAndroidMediaCodec
time:50558212 enter.

[023:313] [2022-05-15 17:26:23 +0000.813739][23b3] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[023:313] [2022-05-15 17:26:23 +0000.813758][23b3] video hevc hw codec


destructor:0x7a59f7bf48

[023:313] [2022-05-15 17:26:23 +0000.813795][23b3] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[023:313] [2022-05-15 17:26:23 +0000.813827][23b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[023:313] [2022-05-15 17:26:23 +0000.813851][23b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[023:313] [2022-05-15 17:26:23 +0000.813872][23b3] AACSWEncode destructor
[023:321] [2022-05-15 17:26:23 +0000.821183][2764] MP4 close file successfully
[023:321] [2022-05-15 17:26:23 +0000.821370][2764] Recording session Internal:
notify recording ok
[023:321] [2022-05-15 17:26:23 +0000.821418][2764] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50555411.mp4
[023:321] [2022-05-15 17:26:23 +0000.821461][2764] OnRecordFinish:
[023:322] [2022-05-15 17:26:23 +0000.823008][23b4] DestroyPipelineAndFilters
time:50558221 enter.

[023:323] [2022-05-15 17:26:23 +0000.823289][23b4] UnbindInputFilter 0x7a3b0bcec0


this 0x7a2f298f80
[023:323] [2022-05-15 17:26:23 +0000.823327][23b4] UnbindInputFilter 0x7a2f298f80
this 0x7a3b26cd58
[023:323] [2022-05-15 17:26:23 +0000.823355][23b4] filter: filter pipeline destroy
this: 0x7a3b26ccc0
[023:323] [2022-05-15 17:26:23 +0000.823464][23b4] ClearVideoOfSources: recodring
total frames:70
[023:323] [2022-05-15 17:26:23 +0000.823508][23b4] ClearVideoOfSources:
[023:324] [2022-05-15 17:26:23 +0000.824294][23b4] GPUImageProcessing destruct.
[023:325] [2022-05-15 17:26:23 +0000.825497][23b4] destroy TrivalImageDrawer
0x7a2f5ff400
[023:325] [2022-05-15 17:26:23 +0000.825568][23b4] The shader has been initialize,
clean up them.

[023:326] [2022-05-15 17:26:23 +0000.826778][23b4] ~OpenGLFrameBuffer:


[023:326] [2022-05-15 17:26:23 +0000.826877][23b4] ~OpenGLFrameBuffer:
[023:326] [2022-05-15 17:26:23 +0000.826936][23b4] ~OpenGLFrameBuffer:
[023:326] [2022-05-15 17:26:23 +0000.826990][23b4] ~OpenGLFrameBuffer:
[023:326] [2022-05-15 17:26:23 +0000.827039][23b4] ~OpenGLFrameBuffer:
[023:326] [2022-05-15 17:26:23 +0000.827089][23b4] ~OpenGLFrameBuffer:
[023:327] [2022-05-15 17:26:23 +0000.827754][23b4] GPUImageProcessing destruct
finish.
[023:327] [2022-05-15 17:26:23 +0000.827844][23b4] GPURGBAFrame destruct.
[023:327] [2022-05-15 17:26:23 +0000.827900][23b4] destroy OpenGLRenderProgram
0x7a2f298c98
[023:327] [2022-05-15 17:26:23 +0000.827961][23b4] ~CameraSource time:50558226
enter.

[023:327] [2022-05-15 17:26:23 +0000.827984][23b4] ~CameraSource leave. expire


time = 0 ms

[023:330] [2022-05-15 17:26:23 +0000.830240][23b4] DestroyPipelineAndFilters


leave. expire time = 8 ms

[024:273] [2022-05-15 17:26:24 +0000.773457][6c7a] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[024:273] [2022-05-15 17:26:24 +0000.773512][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[024:273] [2022-05-15 17:26:24 +0000.773579][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[024:273] [2022-05-15 17:26:24 +0000.773677][23b4] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[024:273] [2022-05-15 17:26:24 +0000.773710][23b4] construct OpenGLRenderProgram
0x7a2f4d3498
[024:273] [2022-05-15 17:26:24 +0000.773727][23b4] CropFilter::SetOrientation
orientation: 90
[024:273] [2022-05-15 17:26:24 +0000.773754][23b4] filter: filter pipeline
construtc this: 0x7a3b26d2c0
[024:273] [2022-05-15 17:26:24 +0000.773770][23b4] filter: filter pipeline2 update
pattern: 1
[024:273] [2022-05-15 17:26:24 +0000.773785][23b4] CameraSource::source_id_:6
[024:273] [2022-05-15 17:26:24 +0000.773949][23b4] SetPlayLoop: AudioSource
SetPlayLoop 0
[024:273] [2022-05-15 17:26:24 +0000.773982][23b4]
Warning(media_filter_camera.cc:483): seekPos:13129
[024:273] [2022-05-15 17:26:24 +0000.774004][23b4] BindInputFilter 0x7a3b0bcec0
this 0x7a2f4d3780
[024:273] [2022-05-15 17:26:24 +0000.774037][23b4] BindInputFilter 0x7a2f4d3780
this 0x7a3b26d358
[024:273] [2022-05-15 17:26:24 +0000.774055][23b4] SetParamForFilter time:50559172
enter.

[024:273] [2022-05-15 17:26:24 +0000.774080][23b4] SetParamForFilter: Params video


index is: 5
[024:273] [2022-05-15 17:26:24 +0000.774094][23b4] SetParamForFilter: Params seek
pos is: 5
[024:274] [2022-05-15 17:26:24 +0000.774119][23b4] crop filter video index:5
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.metro/
movie_mode: 0
[024:274] [2022-05-15 17:26:24 +0000.774133][23b4] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//config.json
[024:274] [2022-05-15 17:26:24 +0000.774424][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774452][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774473][23b4]
exp_des.start:0exp_des.end:2741exp_des.expressionstr:0.5 + 0.1*x / 2741
[024:274] [2022-05-15 17:26:24 +0000.774499][23b4]
exp_des.start:0exp_des.end:2741exp_des.expressionstr:0.5 + 0.1*x / 2741
[024:274] [2022-05-15 17:26:24 +0000.774515][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774536][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774549][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774574][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774606][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774619][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774643][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774658][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774707][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774822][23b4]
Warning(parse_template_json.cc:95): json parament no found the parament
[024:274] [2022-05-15 17:26:24 +0000.774844][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[024:274] [2022-05-15 17:26:24 +0000.774894][23b4] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//filter.png
[024:274] [2022-05-15 17:26:24 +0000.774913][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[024:274] [2022-05-15 17:26:24 +0000.774927][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[024:275] [2022-05-15 17:26:24 +0000.775313][23b4] SetParamForFilter leave. expire
time = 2 ms

[024:275] [2022-05-15 17:26:24 +0000.775383][23b4] OnOutputSizeChanged width 1920


height 1080
[024:275] [2022-05-15 17:26:24 +0000.775407][23b4] OpenGLFrameBuffer: width:1920
height:1080
[024:275] [2022-05-15 17:26:24 +0000.775423][23b4] OpenGLFrameBuffer: width:1920
height:1080
[024:275] [2022-05-15 17:26:24 +0000.775448][23b4] OpenGLFrameBuffer: width:1920
height:1080
[024:275] [2022-05-15 17:26:24 +0000.775461][23b4] OpenGLFrameBuffer: width:1920
height:1080
[024:275] [2022-05-15 17:26:24 +0000.775487][23b4] OpenGLFrameBuffer: width:1920
height:1080
[024:275] [2022-05-15 17:26:24 +0000.775501][23b4] OpenGLFrameBuffer: width:1920
height:1080
[024:275] [2022-05-15 17:26:24 +0000.775526][23b4] construct TrivalImageDrawer
0x7a2f5ff400
[024:275] [2022-05-15 17:26:24 +0000.775540][23b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f5ff400 context 0x7b18042640
[024:275] [2022-05-15 17:26:24 +0000.775564][23b4] setupGLES:
[024:275] [2022-05-15 17:26:24 +0000.775763][23b4] OpenGLRenderProgram::Initialize.
[024:275] [2022-05-15 17:26:24 +0000.775794][23b4] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[024:275] [2022-05-15 17:26:24 +0000.775808][23b4] 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
[024:275] [2022-05-15 17:26:24 +0000.775861][23b4] Init open gl render:
0x7a2f4d3498
[024:275] [2022-05-15 17:26:24 +0000.775893][23b4] Fragement shader path:
[024:275] [2022-05-15 17:26:24 +0000.775926][23b4] Fragement shader path:
[024:275] [2022-05-15 17:26:24 +0000.775938][23b4] create opengl program object.
[024:275] [2022-05-15 17:26:24 +0000.775963][23b4] create shader: vertex
[024:275] [2022-05-15 17:26:24 +0000.776095][23b4] create shader: fragment
[024:290] [2022-05-15 17:26:24 +0000.790200][23b4] External image path is empty!
[024:290] [2022-05-15 17:26:24 +0000.790266][23b4] Error(crop_filter.cc:464): Init
the image texture failed.
[024:290] [2022-05-15 17:26:24 +0000.790283][23b4] OpenGLRenderProgram::Initialize
success.
[024:290] [2022-05-15 17:26:24 +0000.790326][23b4] Setup the OpenGL result:1
[024:290] [2022-05-15 17:26:24 +0000.790430][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[024:290] [2022-05-15 17:26:24 +0000.790509][23b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50559189.mp4
[024:290] [2022-05-15 17:26:24 +0000.790672][23b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50559189.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[024:290] [2022-05-15 17:26:24 +0000.790738][23b3] 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
[024:290] [2022-05-15 17:26:24 +0000.790790][23b3] 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.metro_1652635560284/
record_video_50559189.mp4 fileFD: -1
[024:291] [2022-05-15 17:26:24 +0000.791219][23b3] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50559189.mp4 is opened successfully
[024:291] [2022-05-15 17:26:24 +0000.791265][23b3] setupMediaProcessers:
[024:291] [2022-05-15 17:26:24 +0000.791309][23b3]
RecordingSessionInternalSimple:setup media processers.
[024:291] [2022-05-15 17:26:24 +0000.791349][23b3] construct AAC encoder
[024:291] [2022-05-15 17:26:24 +0000.791614][23b3] H264Encoder creating:
superfast011818
[024:291] [2022-05-15 17:26:24 +0000.791669][23b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[024:292] [2022-05-15 17:26:24 +0000.792462][23b3] H264Encode::GetMachineModel is
Mi 10
[024:292] [2022-05-15 17:26:24 +0000.792517][23b3] H264Encoder machine_mode is:Mi
10
[024:292] [2022-05-15 17:26:24 +0000.792565][23b3] setupCompressionSession:
[024:292] [2022-05-15 17:26:24 +0000.792607][23b3] H264Encode::creating hareware
Encoder
[024:292] [2022-05-15 17:26:24 +0000.792650][23b3] AndroidHwAvcEncoder
time:50559191 enter.

[024:292] [2022-05-15 17:26:24 +0000.792845][23b3] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[024:292] [2022-05-15 17:26:24 +0000.792978][23b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[024:292] [2022-05-15 17:26:24 +0000.793048][23b3] The video avc hw codec address
is 0x7a5a048008
[024:293] [2022-05-15 17:26:24 +0000.793163][23b3] AndroidHwAvcEncoder leave.
expire time = 1 ms

[024:293] [2022-05-15 17:26:24 +0000.793217][23b3] RegisterEncodeCompleteCallback


time:50559192 enter.

[024:293] [2022-05-15 17:26:24 +0000.793371][23b3] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[024:293] [2022-05-15 17:26:24 +0000.793419][23b3] InitEncode time:50559192 enter.

[024:293] [2022-05-15 17:26:24 +0000.793555][23b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[024:293] [2022-05-15 17:26:24 +0000.793601][23b3] Create time:50559192 enter.

[024:293] [2022-05-15 17:26:24 +0000.793636][23b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[024:293] [2022-05-15 17:26:24 +0000.793680][23b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7a59dc3f00
[024:293] [2022-05-15 17:26:24 +0000.793874][23b3]
supported_type:image/vnd.android.heic
[024:293] [2022-05-15 17:26:24 +0000.793956][23b3] supported_type:video/avc
[024:293] [2022-05-15 17:26:24 +0000.794018][23b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[024:293] [2022-05-15 17:26:24 +0000.794086][23b3] hwCodecPrefix :OMX.qcom.
[024:294] [2022-05-15 17:26:24 +0000.794143][23b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[024:294] [2022-05-15 17:26:24 +0000.794175][279f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7aa430a098
[024:294] [2022-05-15 17:26:24 +0000.794196][23b3] mediacodec_createCodecByName
time:50559193 enter.

[024:294] [2022-05-15 17:26:24 +0000.794293][23b3] WrapAndroidMediaCodec


time:50559193 enter.

[024:294] [2022-05-15 17:26:24 +0000.794396][23b3] WrapAndroidMediaCodec leave.


expire time = 0 ms

[024:301] [2022-05-15 17:26:24 +0000.801143][23b3] mediacodec_createCodecByName


leave. expire time = 7 ms

[024:301] [2022-05-15 17:26:24 +0000.801248][23b3] WrapAndroidMediaFromat


time:50559200 enter.

[024:301] [2022-05-15 17:26:24 +0000.801331][23b3] WrapAndroidMediaFromat leave.


expire time = 0 ms

[024:331] [2022-05-15 17:26:24 +0000.831815][23b3] Destroy time:50559230 enter.

[024:331] [2022-05-15 17:26:24 +0000.831912][23b3] WrapAndroidMediaFromat::


Destroy
[024:331] [2022-05-15 17:26:24 +0000.831946][23b3] Destroy leave. expire time = 0
ms

[024:331] [2022-05-15 17:26:24 +0000.832003][23b3] ~WrapAndroidMediaFromat


time:50559230 enter.

[024:331] [2022-05-15 17:26:24 +0000.832044][23b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[024:333] [2022-05-15 17:26:24 +0000.833808][23b3] Create leave. expire time = 40


ms

[024:333] [2022-05-15 17:26:24 +0000.833916][23b3] isSemiPlanarSupport


time:50559232 enter.
[024:333] [2022-05-15 17:26:24 +0000.833979][23b3] H264Encoder isSemiPlanarSupport
[024:333] [2022-05-15 17:26:24 +0000.834035][23b3] isSemiPlanarSupport leave.
expire time = 0 ms

[024:334] [2022-05-15 17:26:24 +0000.834103][23b3] creat hw H264Encoder success,


isSemiPlanar:1
[024:334] [2022-05-15 17:26:24 +0000.834295][23b3] InitEncode leave. expire time =
41 ms

[024:334] [2022-05-15 17:26:24 +0000.834338][23b3] H264Encode::created Encoder


[024:334] [2022-05-15 17:26:24 +0000.834379][23b3] H264Encode:: H264 encoder
created.
[024:334] [2022-05-15 17:26:24 +0000.834419][23b3] H264 encoder created.
[024:334] [2022-05-15 17:26:24 +0000.834444][23b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7aa412eb40
[024:334] [2022-05-15 17:26:24 +0000.834469][23b3] setOutput:
[024:334] [2022-05-15 17:26:24 +0000.834490][23b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[024:334] [2022-05-15 17:26:24 +0000.834510][23b3] request a key frame
[024:334] [2022-05-15 17:26:24 +0000.834531][23b3] H264Encode:: request a key frame
[024:334] [2022-05-15 17:26:24 +0000.834726][23b4] Start:
[024:334] [2022-05-15 17:26:24 +0000.835069][23b7] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[024:335] [2022-05-15 17:26:24 +0000.835174][23b7] Reset: history total size: 98
[024:335] [2022-05-15 17:26:24 +0000.835231][23b7] DeviceStart:
audioDevice_:0x7a59f08000
[024:335] [2022-05-15 17:26:24 +0000.835276][23b7] DeviceStart: time profile
playout init before
[024:335] [2022-05-15 17:26:24 +0000.835324][23b7] DeviceStart: time profile
playout init end
[024:335] [2022-05-15 17:26:24 +0000.835365][23b7] OpenSlesOutput:Start playout

[024:336] [2022-05-15 17:26:24 +0000.836673][23b7] Create the opensl output player.


streamtype before:0

[024:336] [2022-05-15 17:26:24 +0000.836753][23b7] Create the opensl output player.


streamtype after:3

[024:362] [2022-05-15 17:26:24 +0000.862726][23b5]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[024:365] [2022-05-15 17:26:24 +0000.865266][23b7] Enqueue opensl buffer size:1764
[024:385] [2022-05-15 17:26:24 +0000.885271][27a6] NeedMorePlayData: Scale the
volume to zero now!
[024:388] [2022-05-15 17:26:24 +0000.888134][23b7] DeviceStart: time profile
playout all end
[024:388] [2022-05-15 17:26:24 +0000.888199][23b7] operator(): Audio playback
started.
[024:403] [2022-05-15 17:26:24 +0000.903968][23b4] begine recode to first frame
spend time:130
[024:403] [2022-05-15 17:26:24 +0000.904026][23b4] add frame because frame
interval.
[024:403] [2022-05-15 17:26:24 +0000.904053][23b4]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[024:403] [2022-05-15 17:26:24 +0000.904073][23b4]
GPUImageProcessing::SetOrientation orientation: 90
[024:404] [2022-05-15 17:26:24 +0000.904224][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[024:417] [2022-05-15 17:26:24 +0000.917542][27a6] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[024:422] [2022-05-15 17:26:24 +0000.922155][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[024:434] [2022-05-15 17:26:24 +0000.934676][23b5] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//bgm.mp3 sync_mode:
1 seek_pos: 13129 delay: 0 this:0x7a2f298c00
[024:436] [2022-05-15 17:26:24 +0000.936549][279e]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[024:453] [2022-05-15 17:26:24 +0000.953746][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f4d3498
[024:464] [2022-05-15 17:26:24 +0000.964996][279a] FFMpeg=> [mp3 @ 0x7a49f1a000]
Current FFmpeg version git-2021-06-16-97cea6f

[024:487] [2022-05-15 17:26:24 +0000.987885][279b] success seekto


avformat_seek_file to: 13129000
[024:488] [2022-05-15 17:26:24 +0000.988302][279b] Drop one audio frame for seekto,
pkt_dts 185262336 audio_seek_pos_: 13129000
[024:491] [2022-05-15 17:26:24 +0000.991283][23b7] First audio frame rendering
[024:491] [2022-05-15 17:26:24 +0000.991953][279f] add aac audio track with id:1
[024:499] [2022-05-15 17:26:24 +0000.999593][279e] h264 add frame header cdr flag
[024:499] [2022-05-15 17:26:25 +0000.80][279e] h264 add frame header cdr flag
[024:502] [2022-05-15 17:26:25 +0000.2629][279e] Received key frame:0
[024:502] [2022-05-15 17:26:25 +0000.2689][279e] H264Encode:: get a sps pps header!
headerSize:32
[024:502] [2022-05-15 17:26:25 +0000.2791][279f] get the H.264 SPS parameter
[024:502] [2022-05-15 17:26:25 +0000.2931][279f] add video track with id:2
[024:503] [2022-05-15 17:26:25 +0000.3535][279f] get the H.264 PPS parameter
[024:505] [2022-05-15 17:26:25 +0000.5169][279f] get the H.264 IDR frame
[024:505] [2022-05-15 17:26:25 +0000.5223][279f] resss:true
[024:505] [2022-05-15 17:26:25 +0000.5237][279f] video start ts:0
[024:505] [2022-05-15 17:26:25 +0000.5291][279f] the video frame has been written
into MP4 file
[024:505] [2022-05-15 17:26:25 +0000.5601][279f] audio start ts:0
[024:505] [2022-05-15 17:26:25 +0000.5635][279f] the audio frame has been written
into MP4 file
[024:618] [2022-05-15 17:26:25 +0000.118570][1f88] video render surface render a
frame
[024:619] [2022-05-15 17:26:25 +0000.119580][23b4] CropFilter::OnVideoFrame
outputtexture :11
[024:619] [2022-05-15 17:26:25 +0000.119805][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:656] [2022-05-15 17:26:25 +0000.156116][27a6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[024:823] [2022-05-15 17:26:25 +0000.323180][23b4] The convert RGB to YUV take 3
[025:085] [2022-05-15 17:26:25 +0000.585313][23b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[025:085] [2022-05-15 17:26:25 +0000.585460][23b4] GPUImageProcessing: input frame
width2160 X 3840
[025:086] [2022-05-15 17:26:25 +0000.586130][23b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[025:086] [2022-05-15 17:26:25 +0000.586227][23b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[025:097] [2022-05-15 17:26:25 +0000.597884][279e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:633 pts:633
[025:121] [2022-05-15 17:26:25 +0000.621792][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[025:152] [2022-05-15 17:26:25 +0000.652952][23b4] CameraSource::PushExtraFrame
pkt_dts: 765, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[025:160] [2022-05-15 17:26:25 +0000.660105][279e] DTS queue for
Generator:0x7aa430a2b8 700 733
[025:320] [2022-05-15 17:26:25 +0000.820701][23b4] The convert RGB to YUV take 2
[025:322] [2022-05-15 17:26:25 +0000.822748][279e] Push an pts:900 to dts queue.
[025:363] [2022-05-15 17:26:25 +0000.863668][279e] SendFrame
encodedImage._timeStamp:900encodedImage->_length:78048
[025:363] [2022-05-15 17:26:25 +0000.863908][279e] last dts:867 currentPts:900
ppsOrSPS:0 queue length:2
[025:458] [2022-05-15 17:26:25 +0000.958924][279e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1033
[025:458] [2022-05-15 17:26:25 +0000.959043][279e] push video frame to H264
encoder. (100 frame for one log)

[025:459] [2022-05-15 17:26:25 +0000.959112][279e] push video frame to H264


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

[025:459] [2022-05-15 17:26:25 +0000.959148][279e] H264Encode::push video frame to


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

[025:459] [2022-05-15 17:26:25 +0000.959210][279e] The input pts:1033 fps:30


[025:496] [2022-05-15 17:26:25 +0000.996748][279e] H264Encode::H264SWEncoder get
callback, length:65792 type:1 nalType:1length:65788
[025:619] [2022-05-15 17:26:26 +0000.119499][27a6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[025:619] [2022-05-15 17:26:26 +0000.119798][1f88] video render surface render a
frame
[025:620] [2022-05-15 17:26:26 +0000.120342][23b4] CropFilter::OnVideoFrame
outputtexture :11
[025:620] [2022-05-15 17:26:26 +0000.120420][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[025:824] [2022-05-15 17:26:26 +0000.324920][23b4] The convert RGB to YUV take 6
[025:991] [2022-05-15 17:26:26 +0000.491483][279e] DTS queue for
Generator:0x7aa430a2b8 1533 1567
[026:119] [2022-05-15 17:26:26 +0000.619275][23b4] CameraSource::PushExtraFrame
pkt_dts: 1730, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[026:120] [2022-05-15 17:26:26 +0000.620647][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:148] [2022-05-15 17:26:26 +0000.648225][23b4] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6982 diff: 19
[026:319] [2022-05-15 17:26:26 +0000.819833][23b4] The convert RGB to YUV take 3
[026:337] [2022-05-15 17:26:26 +0000.837692][23b5] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[026:438] [2022-05-15 17:26:26 +0000.938591][23b7] The audio playback speed:100
(1/100)
[026:438] [2022-05-15 17:26:26 +0000.938755][23b7] lipsync_debug: The current
played audio timestamp is:2087(1/50)
[026:461] [2022-05-15 17:26:26 +0000.961175][279e] h264 add frame header cdr flag
[026:461] [2022-05-15 17:26:26 +0000.961448][279e] Received key frame:2000
[026:491] [2022-05-15 17:26:26 +0000.992086][279f] get the H.264 IDR frame
[026:616] [2022-05-15 17:26:27 +0000.116198][1f88] video render surface render a
frame
[026:617] [2022-05-15 17:26:27 +0000.117819][23b4] CropFilter::OnVideoFrame
outputtexture :11
[026:617] [2022-05-15 17:26:27 +0000.117988][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:656] [2022-05-15 17:26:27 +0000.156432][27a6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[026:656] [2022-05-15 17:26:27 +0000.157086][279e] Push an pts:2233 to dts queue.
[026:691] [2022-05-15 17:26:27 +0000.192049][279e] last dts:2200 currentPts:2233
ppsOrSPS:0 queue length:2
[026:802] [2022-05-15 17:26:27 +0000.302119][279e] DTS queue for
Generator:0x7aa430a2b8 2367
[026:819] [2022-05-15 17:26:27 +0000.319838][23b4] The convert RGB to YUV take 3
[027:087] [2022-05-15 17:26:27 +0000.587344][23b4] CameraSource::PushExtraFrame
pkt_dts: 2694, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[027:117] [2022-05-15 17:26:27 +0000.617732][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:190] [2022-05-15 17:26:27 +0000.690372][23b7] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[027:190] [2022-05-15 17:26:27 +0000.690606][23b4] OnNeedStopRecording:
[027:190] [2022-05-15 17:26:27 +0000.691063][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[027:191] [2022-05-15 17:26:27 +0000.691200][23b4] operator(): Stop
[027:191] [2022-05-15 17:26:27 +0000.691334][23b4] Stop:
[027:191] [2022-05-15 17:26:27 +0000.691421][23b7] DeviceStop:
audioDevice_:0x7a59f08000
[027:191] [2022-05-15 17:26:27 +0000.691524][23b7] OpenSlesOutput:Stop playout

[027:197] [2022-05-15 17:26:27 +0000.697549][23b7] DeviceStop: Done


[027:197] [2022-05-15 17:26:27 +0000.698048][23b7] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[027:200] [2022-05-15 17:26:27 +0000.700685][279e]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[027:203] [2022-05-15 17:26:27 +0000.703118][23b3] stop recording
[027:203] [2022-05-15 17:26:27 +0000.703157][23b3]
RecordingSessionInternalSimple:destroy media processers
[027:203] [2022-05-15 17:26:27 +0000.703174][23b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[027:203] [2022-05-15 17:26:27 +0000.703189][23b3] H264Encode::flushing hareware
Encoder
[027:203] [2022-05-15 17:26:27 +0000.703335][23b3] Flush time:50562102 enter.

[027:203] [2022-05-15 17:26:27 +0000.703371][23b3] H264Encoder encoder flush


[027:203] [2022-05-15 17:26:27 +0000.703390][23b3] flush output queue
[027:519] [2022-05-15 17:26:28 +0000.19438][23b3] Flush leave. expire time = 316
ms

[027:519] [2022-05-15 17:26:28 +0000.19930][23b3] ~H264EncodeWrap:


[027:519] [2022-05-15 17:26:28 +0000.20017][23b3] ~H264Encode:
[027:519] [2022-05-15 17:26:28 +0000.20072][23b3] teardownCompressionSession:
H264Encode::destroying Encoder
[027:520] [2022-05-15 17:26:28 +0000.20128][23b3] Release time:50562419 enter.

[027:520] [2022-05-15 17:26:28 +0000.20441][23b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[027:520] [2022-05-15 17:26:28 +0000.20525][23b3] Destroy time:50562419 enter.

[027:520] [2022-05-15 17:26:28 +0000.20582][23b3] H264Encoder encoderDestroy


[027:520] [2022-05-15 17:26:28 +0000.20636][23b3]
AndroidMediaCodecVideoEncoder::release env: 0x7a2f36f540
[027:520] [2022-05-15 17:26:28 +0000.20693][23b3]
AndroidMediaCodecVideoEncoder::Destroy
[027:567] [2022-05-15 17:26:28 +0000.67786][23b3] Destroy leave. expire time = 47
ms
[027:567] [2022-05-15 17:26:28 +0000.68099][23b3] Release leave. expire time = 48
ms

[027:568] [2022-05-15 17:26:28 +0000.68145][23b3] ~AndroidHwAvcEncoder


time:50562467 enter.

[027:568] [2022-05-15 17:26:28 +0000.68419][23b3] Release time:50562467 enter.

[027:568] [2022-05-15 17:26:28 +0000.68488][23b3] Release: MediaCodecVideoEncoder::


has been released before, just return
[027:568] [2022-05-15 17:26:28 +0000.68529][23b3] Release leave. expire time = 0
ms

[027:568] [2022-05-15 17:26:28 +0000.68590][23b3] ~AndroidMediaCodecVideoEncoder


[027:568] [2022-05-15 17:26:28 +0000.68626][23b3] ~WrapAndroidMediaCodec
time:50562467 enter.

[027:568] [2022-05-15 17:26:28 +0000.68680][23b3] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[027:568] [2022-05-15 17:26:28 +0000.68718][23b3] video hevc hw codec


destructor:0x7a5a048008

[027:568] [2022-05-15 17:26:28 +0000.68794][23b3] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[027:568] [2022-05-15 17:26:28 +0000.68879][23b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[027:568] [2022-05-15 17:26:28 +0000.69017][23b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[027:568] [2022-05-15 17:26:28 +0000.69055][23b3] AACSWEncode destructor
[027:580] [2022-05-15 17:26:28 +0000.80975][279f] MP4 close file successfully
[027:581] [2022-05-15 17:26:28 +0000.81333][279f] Recording session Internal:
notify recording ok
[027:581] [2022-05-15 17:26:28 +0000.81379][279f] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50559189.mp4
[027:581] [2022-05-15 17:26:28 +0000.81422][279f] OnRecordFinish:
[027:584] [2022-05-15 17:26:28 +0000.84298][23b4] DestroyPipelineAndFilters
time:50562483 enter.

[027:584] [2022-05-15 17:26:28 +0000.84894][23b4] UnbindInputFilter 0x7a3b0bcec0


this 0x7a2f4d3780
[027:584] [2022-05-15 17:26:28 +0000.84977][23b4] UnbindInputFilter 0x7a2f4d3780
this 0x7a3b26d358
[027:584] [2022-05-15 17:26:28 +0000.85025][23b4] filter: filter pipeline destroy
this: 0x7a3b26d2c0
[027:585] [2022-05-15 17:26:28 +0000.85228][23b4] ClearVideoOfSources: recodring
total frames:85
[027:585] [2022-05-15 17:26:28 +0000.85293][23b4] ClearVideoOfSources:
[027:585] [2022-05-15 17:26:28 +0000.85351][23b4] GPUImageProcessing destruct.
[027:585] [2022-05-15 17:26:28 +0000.85417][23b4] destroy TrivalImageDrawer
0x7a2f5ff400
[027:585] [2022-05-15 17:26:28 +0000.85458][23b4] The shader has been initialize,
clean up them.

[027:588] [2022-05-15 17:26:28 +0000.88851][23b4] ~OpenGLFrameBuffer:


[027:588] [2022-05-15 17:26:28 +0000.89039][23b4] ~OpenGLFrameBuffer:
[027:589] [2022-05-15 17:26:28 +0000.89222][23b4] ~OpenGLFrameBuffer:
[027:589] [2022-05-15 17:26:28 +0000.89322][23b4] ~OpenGLFrameBuffer:
[027:589] [2022-05-15 17:26:28 +0000.89426][23b4] ~OpenGLFrameBuffer:
[027:589] [2022-05-15 17:26:28 +0000.89528][23b4] ~OpenGLFrameBuffer:
[027:589] [2022-05-15 17:26:28 +0000.90021][23b4] GPUImageProcessing destruct
finish.
[027:589] [2022-05-15 17:26:28 +0000.90087][23b4] GPURGBAFrame destruct.
[027:590] [2022-05-15 17:26:28 +0000.90159][23b4] destroy OpenGLRenderProgram
0x7a2f4d3498
[027:590] [2022-05-15 17:26:28 +0000.90209][23b4] ~CameraSource time:50562489
enter.

[027:590] [2022-05-15 17:26:28 +0000.90255][23b4] ~CameraSource leave. expire time


= 0 ms

[027:591] [2022-05-15 17:26:28 +0000.92048][23b4] DestroyPipelineAndFilters leave.


expire time = 7 ms

[032:843] [2022-05-15 17:26:33 +0000.343982][6c7a] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[032:844] [2022-05-15 17:26:33 +0000.344128][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[032:844] [2022-05-15 17:26:33 +0000.344272][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[032:844] [2022-05-15 17:26:33 +0000.344566][23b4] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[032:844] [2022-05-15 17:26:33 +0000.344606][23b4] construct OpenGLRenderProgram
0x7a2f298c98
[032:844] [2022-05-15 17:26:33 +0000.344636][23b4] CropFilter::SetOrientation
orientation: 90
[032:844] [2022-05-15 17:26:33 +0000.344666][23b4] filter: filter pipeline
construtc this: 0x7a3b26cfc0
[032:844] [2022-05-15 17:26:33 +0000.344696][23b4] filter: filter pipeline2 update
pattern: 1
[032:844] [2022-05-15 17:26:33 +0000.344713][23b4] CameraSource::source_id_:7
[032:845] [2022-05-15 17:26:33 +0000.345151][23b4] SetPlayLoop: AudioSource
SetPlayLoop 0
[032:845] [2022-05-15 17:26:33 +0000.345192][23b4]
Warning(media_filter_camera.cc:483): seekPos:15870
[032:845] [2022-05-15 17:26:33 +0000.345214][23b4] BindInputFilter 0x7a3b0bcec0
this 0x7a2f298f80
[032:845] [2022-05-15 17:26:33 +0000.345239][23b4] BindInputFilter 0x7a2f298f80
this 0x7a3b26d058
[032:845] [2022-05-15 17:26:33 +0000.345258][23b4] SetParamForFilter time:50567744
enter.

[032:845] [2022-05-15 17:26:33 +0000.345272][23b4] SetParamForFilter: Params video


index is: 6
[032:845] [2022-05-15 17:26:33 +0000.345285][23b4] SetParamForFilter: Params seek
pos is: 6
[032:845] [2022-05-15 17:26:33 +0000.345338][23b4] crop filter video index:6
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.metro/
movie_mode: 0
[032:845] [2022-05-15 17:26:33 +0000.345354][23b4] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//config.json
[032:845] [2022-05-15 17:26:33 +0000.345641][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345665][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345684][23b4]
exp_des.start:0exp_des.end:2004exp_des.expressionstr:0.5
[032:845] [2022-05-15 17:26:33 +0000.345708][23b4]
exp_des.start:0exp_des.end:2004exp_des.expressionstr:0.5
[032:845] [2022-05-15 17:26:33 +0000.345740][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345755][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345775][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345788][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345812][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345825][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345848][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345862][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345884][23b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345897][23b4]
Warning(parse_template_json.cc:95): json parament no found the parament
[032:845] [2022-05-15 17:26:33 +0000.345922][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[032:845] [2022-05-15 17:26:33 +0000.345936][23b4] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//filter.png
[032:845] [2022-05-15 17:26:33 +0000.345958][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[032:845] [2022-05-15 17:26:33 +0000.345972][23b4]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[032:846] [2022-05-15 17:26:33 +0000.346334][23b4] SetParamForFilter leave. expire
time = 1 ms

[032:846] [2022-05-15 17:26:33 +0000.346408][23b4] OnOutputSizeChanged width 1920


height 1080
[032:846] [2022-05-15 17:26:33 +0000.346431][23b4] OpenGLFrameBuffer: width:1920
height:1080
[032:846] [2022-05-15 17:26:33 +0000.346464][23b4] OpenGLFrameBuffer: width:1920
height:1080
[032:846] [2022-05-15 17:26:33 +0000.346477][23b4] OpenGLFrameBuffer: width:1920
height:1080
[032:846] [2022-05-15 17:26:33 +0000.346492][23b4] OpenGLFrameBuffer: width:1920
height:1080
[032:846] [2022-05-15 17:26:33 +0000.346515][23b4] OpenGLFrameBuffer: width:1920
height:1080
[032:846] [2022-05-15 17:26:33 +0000.346527][23b4] OpenGLFrameBuffer: width:1920
height:1080
[032:846] [2022-05-15 17:26:33 +0000.346553][23b4] construct TrivalImageDrawer
0x7a2f5ff400
[032:846] [2022-05-15 17:26:33 +0000.346566][23b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f5ff400 context 0x7b18042640
[032:846] [2022-05-15 17:26:33 +0000.346590][23b4] setupGLES:
[032:846] [2022-05-15 17:26:33 +0000.346795][23b4] OpenGLRenderProgram::Initialize.
[032:846] [2022-05-15 17:26:33 +0000.346827][23b4] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[032:846] [2022-05-15 17:26:33 +0000.346855][23b4] 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
[032:846] [2022-05-15 17:26:33 +0000.346921][23b4] Init open gl render:
0x7a2f298c98
[032:846] [2022-05-15 17:26:33 +0000.346944][23b4] Fragement shader path:
[032:846] [2022-05-15 17:26:33 +0000.346961][23b4] Fragement shader path:
[032:846] [2022-05-15 17:26:33 +0000.346979][23b4] create opengl program object.
[032:846] [2022-05-15 17:26:33 +0000.346992][23b4] create shader: vertex
[032:847] [2022-05-15 17:26:33 +0000.347119][23b4] create shader: fragment
[032:864] [2022-05-15 17:26:33 +0000.364550][23b4] External image path is empty!
[032:864] [2022-05-15 17:26:33 +0000.364761][23b4] Error(crop_filter.cc:464): Init
the image texture failed.
[032:864] [2022-05-15 17:26:33 +0000.364810][23b4] OpenGLRenderProgram::Initialize
success.
[032:864] [2022-05-15 17:26:33 +0000.364966][23b4] Setup the OpenGL result:1
[032:865] [2022-05-15 17:26:33 +0000.365239][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[032:865] [2022-05-15 17:26:33 +0000.365677][23b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50567763.mp4
[032:865] [2022-05-15 17:26:33 +0000.365977][23b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50567763.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[032:865] [2022-05-15 17:26:33 +0000.366071][23b3] 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
[032:866] [2022-05-15 17:26:33 +0000.366254][23b3] 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.metro_1652635560284/
record_video_50567763.mp4 fileFD: -1
[032:867] [2022-05-15 17:26:33 +0000.367209][23b3] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50567763.mp4 is opened successfully
[032:867] [2022-05-15 17:26:33 +0000.367280][23b3] setupMediaProcessers:
[032:867] [2022-05-15 17:26:33 +0000.367415][23b3]
RecordingSessionInternalSimple:setup media processers.
[032:867] [2022-05-15 17:26:33 +0000.367482][23b3] construct AAC encoder
[032:868] [2022-05-15 17:26:33 +0000.368262][23b3] H264Encoder creating:
superfast011818
[032:868] [2022-05-15 17:26:33 +0000.368374][23b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[032:870] [2022-05-15 17:26:33 +0000.370971][23b3] H264Encode::GetMachineModel is
Mi 10
[032:870] [2022-05-15 17:26:33 +0000.371074][23b3] H264Encoder machine_mode is:Mi
10
[032:871] [2022-05-15 17:26:33 +0000.371129][23b3] setupCompressionSession:
[032:871] [2022-05-15 17:26:33 +0000.371180][23b3] H264Encode::creating hareware
Encoder
[032:871] [2022-05-15 17:26:33 +0000.371233][23b3] AndroidHwAvcEncoder
time:50567770 enter.

[032:871] [2022-05-15 17:26:33 +0000.371604][23b3] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[032:871] [2022-05-15 17:26:33 +0000.371875][23b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[032:871] [2022-05-15 17:26:33 +0000.371949][23b3] The video avc hw codec address
is 0x7a5a0480f0
[032:871] [2022-05-15 17:26:33 +0000.372103][23b3] AndroidHwAvcEncoder leave.
expire time = 1 ms

[032:872] [2022-05-15 17:26:33 +0000.372170][23b3] RegisterEncodeCompleteCallback


time:50567771 enter.

[032:872] [2022-05-15 17:26:33 +0000.372487][23b3] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[032:872] [2022-05-15 17:26:33 +0000.372567][23b3] InitEncode time:50567771 enter.

[032:872] [2022-05-15 17:26:33 +0000.372724][23b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[032:872] [2022-05-15 17:26:33 +0000.372800][23b3] Create time:50567771 enter.

[032:872] [2022-05-15 17:26:33 +0000.372857][23b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[032:872] [2022-05-15 17:26:33 +0000.372922][23b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7a2ee5d580
[032:873] [2022-05-15 17:26:33 +0000.373345][23b3]
supported_type:image/vnd.android.heic
[032:873] [2022-05-15 17:26:33 +0000.373535][23b3] supported_type:video/avc
[032:873] [2022-05-15 17:26:33 +0000.373603][23b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[032:873] [2022-05-15 17:26:33 +0000.373700][23b3] hwCodecPrefix :OMX.qcom.
[032:873] [2022-05-15 17:26:33 +0000.373764][23b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[032:873] [2022-05-15 17:26:33 +0000.373828][23b3] mediacodec_createCodecByName
time:50567772 enter.

[032:873] [2022-05-15 17:26:33 +0000.373887][23b3] WrapAndroidMediaCodec


time:50567772 enter.

[032:874] [2022-05-15 17:26:33 +0000.374361][23b3] WrapAndroidMediaCodec leave.


expire time = 1 ms

[032:875] [2022-05-15 17:26:33 +0000.375766][2962] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7aa430a098
[032:892] [2022-05-15 17:26:33 +0000.392310][23b3] mediacodec_createCodecByName
leave. expire time = 19 ms

[032:892] [2022-05-15 17:26:33 +0000.392407][23b3] WrapAndroidMediaFromat


time:50567791 enter.

[032:892] [2022-05-15 17:26:33 +0000.392471][23b3] WrapAndroidMediaFromat leave.


expire time = 0 ms

[032:921] [2022-05-15 17:26:33 +0000.421299][23b3] Destroy time:50567820 enter.

[032:921] [2022-05-15 17:26:33 +0000.421393][23b3] WrapAndroidMediaFromat::


Destroy
[032:921] [2022-05-15 17:26:33 +0000.421459][23b3] Destroy leave. expire time = 1
ms

[032:922] [2022-05-15 17:26:33 +0000.422802][23b3] ~WrapAndroidMediaFromat


time:50567821 enter.

[032:922] [2022-05-15 17:26:33 +0000.422846][23b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[032:922] [2022-05-15 17:26:33 +0000.422879][23b3] Create leave. expire time = 50


ms

[032:922] [2022-05-15 17:26:33 +0000.422909][23b3] isSemiPlanarSupport


time:50567821 enter.

[032:922] [2022-05-15 17:26:33 +0000.422939][23b3] H264Encoder isSemiPlanarSupport


[032:922] [2022-05-15 17:26:33 +0000.422968][23b3] isSemiPlanarSupport leave.
expire time = 0 ms

[032:922] [2022-05-15 17:26:33 +0000.422997][23b3] creat hw H264Encoder success,


isSemiPlanar:1
[032:922] [2022-05-15 17:26:33 +0000.423098][23b3] InitEncode leave. expire time =
51 ms
[032:923] [2022-05-15 17:26:33 +0000.423132][23b3] H264Encode::created Encoder
[032:923] [2022-05-15 17:26:33 +0000.423162][23b3] H264Encode:: H264 encoder
created.
[032:923] [2022-05-15 17:26:33 +0000.423184][23b3] H264 encoder created.
[032:923] [2022-05-15 17:26:33 +0000.423213][23b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7a2f36f540
[032:923] [2022-05-15 17:26:33 +0000.423247][23b3] setOutput:
[032:923] [2022-05-15 17:26:33 +0000.423275][23b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[032:923] [2022-05-15 17:26:33 +0000.423303][23b3] request a key frame
[032:923] [2022-05-15 17:26:33 +0000.423330][23b3] H264Encode:: request a key frame
[032:923] [2022-05-15 17:26:33 +0000.424024][23b4] Start:
[032:924] [2022-05-15 17:26:33 +0000.424143][23b7] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[032:924] [2022-05-15 17:26:33 +0000.424173][23b7] Reset: history total size: 98
[032:924] [2022-05-15 17:26:33 +0000.424190][23b7] DeviceStart:
audioDevice_:0x7a59f08000
[032:924] [2022-05-15 17:26:33 +0000.424218][23b7] DeviceStart: time profile
playout init before
[032:924] [2022-05-15 17:26:33 +0000.424234][23b7] DeviceStart: time profile
playout init end
[032:924] [2022-05-15 17:26:33 +0000.424247][23b7] OpenSlesOutput:Start playout

[032:924] [2022-05-15 17:26:33 +0000.425008][23b7] Create the opensl output player.


streamtype before:0

[032:925] [2022-05-15 17:26:33 +0000.425139][23b7] Create the opensl output player.


streamtype after:3

[032:937] [2022-05-15 17:26:33 +0000.437615][23b5]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[032:945] [2022-05-15 17:26:33 +0000.446056][23b7] Enqueue opensl buffer size:1764
[032:973] [2022-05-15 17:26:33 +0000.473831][23b7] DeviceStart: time profile
playout all end
[032:973] [2022-05-15 17:26:33 +0000.473948][23b7] operator(): Audio playback
started.
[032:977] [2022-05-15 17:26:33 +0000.477968][2968] NeedMorePlayData: Scale the
volume to zero now!
[032:986] [2022-05-15 17:26:33 +0000.486140][23b4] begine recode to first frame
spend time:142
[032:986] [2022-05-15 17:26:33 +0000.486219][23b4] add frame because frame
interval.
[032:986] [2022-05-15 17:26:33 +0000.486256][23b4]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[032:986] [2022-05-15 17:26:33 +0000.486281][23b4]
GPUImageProcessing::SetOrientation orientation: 90
[032:986] [2022-05-15 17:26:33 +0000.486922][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[033:008] [2022-05-15 17:26:33 +0000.508698][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[033:009] [2022-05-15 17:26:33 +0000.509376][23b5]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[033:017] [2022-05-15 17:26:33 +0000.517139][2961]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[033:019] [2022-05-15 17:26:33 +0000.519758][23b5] Start decoding file
/data/user/0/com.android.camera/no_backup/vv/template/vv.metro//bgm.mp3 sync_mode:
1 seek_pos: 15870 delay: 0 this:0x7a2f4d3400
[033:040] [2022-05-15 17:26:33 +0000.540142][23b4] drawYUV420 render
OpenGLRenderProgram:0x7a2f298c98
[033:058] [2022-05-15 17:26:33 +0000.558891][295e] FFMpeg=> [mp3 @ 0x7aa4154c00]
Current FFmpeg version git-2021-06-16-97cea6f

[033:079] [2022-05-15 17:26:33 +0000.579381][295f] success seekto


avformat_seek_file to: 15870000
[033:079] [2022-05-15 17:26:33 +0000.579540][295f] Drop one audio frame for seekto,
pkt_dts 223872768 audio_seek_pos_: 15870000
[033:082] [2022-05-15 17:26:33 +0000.582265][23b7] First audio frame rendering
[033:083] [2022-05-15 17:26:33 +0000.583904][2962] add aac audio track with id:1
[033:094] [2022-05-15 17:26:33 +0000.594255][2962] audio start ts:0
[033:094] [2022-05-15 17:26:33 +0000.594319][2962] the audio frame has been written
into MP4 file
[033:110] [2022-05-15 17:26:33 +0000.610761][23b4] The convert RGB to YUV take 3
[033:117] [2022-05-15 17:26:33 +0000.617955][2961] h264 add frame header cdr flag
[033:119] [2022-05-15 17:26:33 +0000.619791][2961] h264 add frame header cdr flag
[033:120] [2022-05-15 17:26:33 +0000.620122][2961] Received key frame:0
[033:120] [2022-05-15 17:26:33 +0000.620168][2961] H264Encode:: get a sps pps
header!headerSize:32
[033:120] [2022-05-15 17:26:33 +0000.620321][2962] get the H.264 SPS parameter
[033:120] [2022-05-15 17:26:33 +0000.620488][2962] add video track with id:2
[033:122] [2022-05-15 17:26:33 +0000.622584][2962] get the H.264 PPS parameter
[033:124] [2022-05-15 17:26:33 +0000.624792][2962] get the H.264 IDR frame
[033:124] [2022-05-15 17:26:33 +0000.624854][2962] resss:true
[033:124] [2022-05-15 17:26:33 +0000.624868][2962] video start ts:0
[033:124] [2022-05-15 17:26:33 +0000.624918][2962] the video frame has been written
into MP4 file
[033:373] [2022-05-15 17:26:33 +0000.873262][1f88] video render surface render a
frame
[033:374] [2022-05-15 17:26:33 +0000.874632][23b4] CropFilter::OnVideoFrame
outputtexture :10
[033:374] [2022-05-15 17:26:33 +0000.874708][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:387] [2022-05-15 17:26:33 +0000.887749][2968]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[033:412] [2022-05-15 17:26:33 +0000.912844][295f] av_read_frame AVERROR_EOF
[033:412] [2022-05-15 17:26:33 +0000.912925][295f] OnReceiveEOF:
[033:412] [2022-05-15 17:26:33 +0000.912941][295f] OnDecoderFinished:
[033:443] [2022-05-15 17:26:33 +0000.943625][2961] DTS queue for
Generator:0x7aa430a2b8 400 433
[033:609] [2022-05-15 17:26:34 +0000.109173][23b4] The convert RGB to YUV take 4
[033:801] [2022-05-15 17:26:34 +0000.301701][23b4] CameraSource::PushExtraFrame
pkt_dts: 832, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[033:809] [2022-05-15 17:26:34 +0000.309915][2961] Push an pts:800 to dts queue.
[033:854] [2022-05-15 17:26:34 +0000.354956][2961] last dts:767 currentPts:800
ppsOrSPS:0 queue length:2
[033:872] [2022-05-15 17:26:34 +0000.372776][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:972] [2022-05-15 17:26:34 +0000.473740][23b4] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7982 diff: 19
[034:111] [2022-05-15 17:26:34 +0000.611752][23b4] The convert RGB to YUV take 6
[034:207] [2022-05-15 17:26:34 +0000.707548][23b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[034:207] [2022-05-15 17:26:34 +0000.707843][23b4] GPUImageProcessing: input frame
width2160 X 3840
[034:208] [2022-05-15 17:26:34 +0000.709070][23b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[034:209] [2022-05-15 17:26:34 +0000.709390][23b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[034:227] [2022-05-15 17:26:34 +0000.727636][2961] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1167 pts:1167
[034:279] [2022-05-15 17:26:34 +0000.779600][2961] DTS queue for
Generator:0x7aa430a2b8 1233 1267
[034:294] [2022-05-15 17:26:34 +0000.794208][23b5] PullAudioFrame: PullFrame audio
finished.
[034:294] [2022-05-15 17:26:34 +0000.794386][23b5]
Warning(media_filter_camera.cc:428): media pull audio frame EOF, so need stop
Timer!
[034:363] [2022-05-15 17:26:34 +0000.863290][1f88] video render surface render a
frame
[034:365] [2022-05-15 17:26:34 +0000.865672][23b4] CropFilter::OnVideoFrame
outputtexture :10
[034:365] [2022-05-15 17:26:34 +0000.865781][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:426] [2022-05-15 17:26:34 +0000.926750][2968]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[034:511] [2022-05-15 17:26:35 +0000.11155][2961] SendFrame
encodedImage._timeStamp:1467encodedImage->_length:57584
[034:611] [2022-05-15 17:26:35 +0000.112099][23b4] The convert RGB to YUV take 8
[034:645] [2022-05-15 17:26:35 +0000.145422][2961] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1633
[034:645] [2022-05-15 17:26:35 +0000.145512][2961] push video frame to H264
encoder. (100 frame for one log)

[034:645] [2022-05-15 17:26:35 +0000.145538][2961] push video frame to H264


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

[034:645] [2022-05-15 17:26:35 +0000.145556][2961] H264Encode::push video frame to


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

[034:645] [2022-05-15 17:26:35 +0000.145577][2961] The input pts:1633 fps:30


[034:683] [2022-05-15 17:26:35 +0000.183584][2961] H264Encode::H264SWEncoder get
callback, length:57680 type:1 nalType:1length:57676
[034:769] [2022-05-15 17:26:35 +0000.269586][23b4] CameraSource::PushExtraFrame
pkt_dts: 1797, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a3b0bcd80
[034:866] [2022-05-15 17:26:35 +0000.366879][23b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:041] [2022-05-15 17:26:35 +0000.541820][23b7] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[035:041] [2022-05-15 17:26:35 +0000.542023][23b4] OnNeedStopRecording:
[035:042] [2022-05-15 17:26:35 +0000.542562][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[035:042] [2022-05-15 17:26:35 +0000.542717][23b4] operator(): Stop
[035:042] [2022-05-15 17:26:35 +0000.543013][23b4] Stop:
[035:043] [2022-05-15 17:26:35 +0000.543113][23b7] DeviceStop:
audioDevice_:0x7a59f08000
[035:043] [2022-05-15 17:26:35 +0000.543143][23b7] OpenSlesOutput:Stop playout

[035:045] [2022-05-15 17:26:35 +0000.545790][23b7] DeviceStop: Done


[035:045] [2022-05-15 17:26:35 +0000.545936][23b7] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[035:048] [2022-05-15 17:26:35 +0000.548287][2961]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[035:050] [2022-05-15 17:26:35 +0000.550267][23b3] stop recording
[035:050] [2022-05-15 17:26:35 +0000.550326][23b3]
RecordingSessionInternalSimple:destroy media processers
[035:050] [2022-05-15 17:26:35 +0000.550362][23b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[035:050] [2022-05-15 17:26:35 +0000.550404][23b3] H264Encode::flushing hareware
Encoder
[035:050] [2022-05-15 17:26:35 +0000.550621][23b3] Flush time:50569949 enter.

[035:050] [2022-05-15 17:26:35 +0000.550681][23b3] H264Encoder encoder flush


[035:050] [2022-05-15 17:26:35 +0000.550731][23b3] flush output queue
[035:050] [2022-05-15 17:26:35 +0000.551061][23b3] h264 add frame header cdr flag
[035:051] [2022-05-15 17:26:35 +0000.551489][23b3] Received key frame:2000
[035:372] [2022-05-15 17:26:35 +0000.872989][23b3] Flush leave. expire time = 322
ms

[035:373] [2022-05-15 17:26:35 +0000.873309][23b3] ~H264EncodeWrap:


[035:373] [2022-05-15 17:26:35 +0000.873388][23b3] ~H264Encode:
[035:373] [2022-05-15 17:26:35 +0000.873428][23b3] teardownCompressionSession:
H264Encode::destroying Encoder
[035:373] [2022-05-15 17:26:35 +0000.873474][23b3] Release time:50570272 enter.

[035:373] [2022-05-15 17:26:35 +0000.873690][23b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[035:373] [2022-05-15 17:26:35 +0000.873759][23b3] Destroy time:50570272 enter.

[035:373] [2022-05-15 17:26:35 +0000.873820][23b3] H264Encoder encoderDestroy


[035:373] [2022-05-15 17:26:35 +0000.873887][23b3]
AndroidMediaCodecVideoEncoder::release env: 0x7b35e92500
[035:373] [2022-05-15 17:26:35 +0000.874020][23b3]
AndroidMediaCodecVideoEncoder::Destroy
[035:416] [2022-05-15 17:26:35 +0000.916546][23b3] Destroy leave. expire time = 43
ms

[035:416] [2022-05-15 17:26:35 +0000.916754][23b3] Release leave. expire time = 43


ms

[035:416] [2022-05-15 17:26:35 +0000.916784][23b3] ~AndroidHwAvcEncoder


time:50570315 enter.

[035:416] [2022-05-15 17:26:35 +0000.917002][23b3] Release time:50570315 enter.

[035:416] [2022-05-15 17:26:35 +0000.917049][23b3] Release:


MediaCodecVideoEncoder:: has been released before, just return
[035:416] [2022-05-15 17:26:35 +0000.917082][23b3] Release leave. expire time = 0
ms

[035:417] [2022-05-15 17:26:35 +0000.917169][23b3] ~AndroidMediaCodecVideoEncoder


[035:417] [2022-05-15 17:26:35 +0000.917204][23b3] ~WrapAndroidMediaCodec
time:50570316 enter.

[035:417] [2022-05-15 17:26:35 +0000.917238][23b3] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[035:417] [2022-05-15 17:26:35 +0000.917274][23b3] video hevc hw codec


destructor:0x7a5a0480f0

[035:417] [2022-05-15 17:26:35 +0000.917346][23b3] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[035:417] [2022-05-15 17:26:35 +0000.917395][23b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[035:417] [2022-05-15 17:26:35 +0000.917433][23b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[035:417] [2022-05-15 17:26:35 +0000.917465][23b3] AACSWEncode destructor
[035:417] [2022-05-15 17:26:35 +0000.917733][2962] get the H.264 IDR frame
[035:420] [2022-05-15 17:26:35 +0000.920673][2962] MP4 close file successfully
[035:420] [2022-05-15 17:26:35 +0000.920749][2962] Recording session Internal:
notify recording ok
[035:420] [2022-05-15 17:26:35 +0000.920785][2962] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.metro_1652635560284/
record_video_50567763.mp4
[035:420] [2022-05-15 17:26:35 +0000.920823][2962] OnRecordFinish:
[035:422] [2022-05-15 17:26:35 +0000.922861][23b4] DestroyPipelineAndFilters
time:50570321 enter.

[035:423] [2022-05-15 17:26:35 +0000.923214][23b4] UnbindInputFilter 0x7a3b0bcec0


this 0x7a2f298f80
[035:423] [2022-05-15 17:26:35 +0000.923258][23b4] UnbindInputFilter 0x7a2f298f80
this 0x7a3b26d058
[035:423] [2022-05-15 17:26:35 +0000.923278][23b4] filter: filter pipeline destroy
this: 0x7a3b26cfc0
[035:423] [2022-05-15 17:26:35 +0000.923393][23b4] ClearVideoOfSources: recodring
total frames:63
[035:423] [2022-05-15 17:26:35 +0000.923416][23b4] ClearVideoOfSources:
[035:423] [2022-05-15 17:26:35 +0000.923435][23b4] GPUImageProcessing destruct.
[035:423] [2022-05-15 17:26:35 +0000.923460][23b4] destroy TrivalImageDrawer
0x7a2f5ff400
[035:423] [2022-05-15 17:26:35 +0000.923479][23b4] The shader has been initialize,
clean up them.

[035:424] [2022-05-15 17:26:35 +0000.924476][23b4] ~OpenGLFrameBuffer:


[035:424] [2022-05-15 17:26:35 +0000.924575][23b4] ~OpenGLFrameBuffer:
[035:424] [2022-05-15 17:26:35 +0000.924635][23b4] ~OpenGLFrameBuffer:
[035:424] [2022-05-15 17:26:35 +0000.924686][23b4] ~OpenGLFrameBuffer:
[035:424] [2022-05-15 17:26:35 +0000.924749][23b4] ~OpenGLFrameBuffer:
[035:424] [2022-05-15 17:26:35 +0000.924808][23b4] ~OpenGLFrameBuffer:
[035:425] [2022-05-15 17:26:35 +0000.925255][23b4] GPUImageProcessing destruct
finish.
[035:425] [2022-05-15 17:26:35 +0000.925321][23b4] GPURGBAFrame destruct.
[035:425] [2022-05-15 17:26:35 +0000.925416][23b4] destroy OpenGLRenderProgram
0x7a2f298c98
[035:425] [2022-05-15 17:26:35 +0000.925478][23b4] ~CameraSource time:50570324
enter.

[035:425] [2022-05-15 17:26:35 +0000.925538][23b4] ~CameraSource leave. expire


time = 0 ms

[035:433] [2022-05-15 17:26:35 +0000.933683][23b4] DestroyPipelineAndFilters


leave. expire time = 11 ms

[050:850] [2022-05-15 17:26:51 +0000.350513][6ca6]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[050:852] [2022-05-15 17:26:51 +0000.352733][6ca6] ~MediaFilterCamera time:50585751
enter.

[050:853] [2022-05-15 17:26:51 +0000.353848][6ca6] Stop:


[050:853] [2022-05-15 17:26:51 +0000.354099][23b7] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[050:854] [2022-05-15 17:26:51 +0000.354746][23b3] stop recording
[050:854] [2022-05-15 17:26:51 +0000.354798][23b3] we have stopped recording before
[050:854] [2022-05-15 17:26:51 +0000.354969][6ca6] Stop:
[050:854] [2022-05-15 17:26:51 +0000.355110][23b7] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[050:855] [2022-05-15 17:26:51 +0000.355336][6ca6] DeviceRelease:
audioDevice_:0x7a59f08000
[050:855] [2022-05-15 17:26:51 +0000.355377][6ca6] OpenSlesOutput:Stop playout

[050:855] [2022-05-15 17:26:51 +0000.355446][6ca6] DeviceRelease: Release the


webrtc device object.
[050:855] [2022-05-15 17:26:51 +0000.355653][6ca6] OpenSlesOutput destruct.

[050:855] [2022-05-15 17:26:51 +0000.355733][6ca6] DeviceRelease: Done


[050:856] [2022-05-15 17:26:51 +0000.356794][6ca6] DestroyPipelineAndFilters
time:50585755 enter.

[050:856] [2022-05-15 17:26:51 +0000.356840][6ca6] DestroyPipelineAndFilters


leave. expire time = 0 ms

[050:856] [2022-05-15 17:26:51 +0000.356887][6ca6] ~MediaFilterCamera leave.


expire time = 4 ms

[050:856] [2022-05-15 17:26:51 +0000.356992][6ca6] ~GLESContext:


[050:860] [2022-05-15 17:26:51 +0000.360879][6ca6] GLESContext destruct finish.
[050:860] [2022-05-15 17:26:51 +0000.361011][6ca6] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[050:861] [2022-05-15 17:26:51 +0000.361596][6ca6] global uninited!
[050:862] [2022-05-15 17:26:51 +0000.362847][6ca6] clear AppID 123
[050:862] [2022-05-15 17:26:51 +0000.362908][6ca6] UnRegister JVM for Xplatform
util
[050:862] [2022-05-15 17:26:51 +0000.362940][6ca6] Dispose::unregister webrtc video
engine
[050:862] [2022-05-15 17:26:51 +0000.362967][6ca6] Init the android object with
jvm:0x0 env:0x0 context:0x0

[050:862] [2022-05-15 17:26:51 +0000.362999][6ca6] SetAndroidMediaCodecObjects


time:50585761 enter.

[050:862] [2022-05-15 17:26:51 +0000.363022][6ca6] ClearAndroidMediaCodecObjects


time:50585761 enter.

[050:862] [2022-05-15 17:26:51 +0000.363050][6ca6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[050:862] [2022-05-15 17:26:51 +0000.363074][6ca6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[050:862] [2022-05-15 17:26:51 +0000.363096][6ca6] SetAndroidMediaCodecObjects


time:50585761 enter.

[050:863] [2022-05-15 17:26:51 +0000.363125][6ca6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[050:863] [2022-05-15 17:26:51 +0000.363152][6ca6] ClearAndroidMediaCodecObjects
time:50585762 enter.

[050:863] [2022-05-15 17:26:51 +0000.363181][6ca6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms
[050:863] [2022-05-15 17:26:51 +0000.363207][6ca6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects failed
[050:863] [2022-05-15 17:26:51 +0000.363232][6ca6] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[050:863] [2022-05-15 17:26:51 +0000.363255][6ca6] Dispose::unregister webrtc voice


engine
[050:863] [2022-05-15 17:26:51 +0000.363277][6ca6] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[050:863] [2022-05-15 17:26:51 +0000.363303][6ca6] SystemUtil UnInit done


[081:970] [2022-05-15 17:27:22 +0000.471048][6ca6] Register JVM for xplatform util
[081:976] [2022-05-15 17:27:22 +0000.476295][6ca6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
15 17:27:22 +0000
[081:976] [2022-05-15 17:27:22 +0000.476330][6ca6] dump file m_prefix:-07-27-
feaf968

[081:978] [2022-05-15 17:27:22 +0000.478603][6ca6] dump


filename:support_resolution.txt dump time:1628361466

[081:978] [2022-05-15 17:27:22 +0000.478655][6ca6] dump filename:trace.txt dump


time:1645295645

[081:978] [2022-05-15 17:27:22 +0000.478761][6ca6] set AppID=123 old AppID=-1


[081:978] [2022-05-15 17:27:22 +0000.478779][6ca6] Init the android object with
jvm:0xb400007b35e21540 env:0x7b10198240 context:0x7aa9a44d48

[081:978] [2022-05-15 17:27:22 +0000.478797][6ca6] SetAndroidMediaCodecObjects


time:50616877 enter.

[081:978] [2022-05-15 17:27:22 +0000.478813][6ca6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[081:978] [2022-05-15 17:27:22 +0000.478827][6ca6] SetAndroidMediaCodecObjects


time:50616877 enter.

[081:978] [2022-05-15 17:27:22 +0000.478840][6ca6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b35e21540
[081:978] [2022-05-15 17:27:22 +0000.478854][6ca6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b35e21540 address:0x7a06511050
[081:978] [2022-05-15 17:27:22 +0000.478867][6ca6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b35e21540
address:0x7a06511050
[081:978] [2022-05-15 17:27:22 +0000.478881][6ca6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[081:978] [2022-05-15 17:27:22 +0000.478895][6ca6] Set the android objects with


jvm:0xb400007b35e21540 env:0x7b10198240 context:0x7aa9a44d48

[081:978] [2022-05-15 17:27:22 +0000.478910][6ca6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b10198240
[081:978] [2022-05-15 17:27:22 +0000.478926][6ca6] SystemUtil Init done
[082:024] [2022-05-15 17:27:22 +0000.524813][6ca6]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[082:025] [2022-05-15 17:27:22 +0000.525359][6ca6]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[082:025] [2022-05-15 17:27:22 +0000.526023][6ca6] machine model :xiaomi
[082:025] [2022-05-15 17:27:22 +0000.526056][6ca6] Support this machine
model :xiaomi
[082:026] [2022-05-15 17:27:22 +0000.526145][6ca6] MediaFilterCamera
[082:026] [2022-05-15 17:27:22 +0000.526185][6ca6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[082:026] [2022-05-15 17:27:22 +0000.526300][6ca6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:14680064
[082:026] [2022-05-15 17:27:22 +0000.526339][6ca6] Recording session using default
bitrate support by app:14680064
[082:026] [2022-05-15 17:27:22 +0000.526348][2a56] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a59f87c40
[082:026] [2022-05-15 17:27:22 +0000.526586][2a56] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[082:026] [2022-05-15 17:27:22 +0000.526665][6ca6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[082:027] [2022-05-15 17:27:22 +0000.527646][6ca6] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[082:027] [2022-05-15 17:27:22 +0000.527844][6ca6] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[082:027] [2022-05-15 17:27:22 +0000.527929][6ca6] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[082:028] [2022-05-15 17:27:22 +0000.528117][6ca6] DeviceInit:
[082:028] [2022-05-15 17:27:22 +0000.528348][6ca6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[082:028] [2022-05-15 17:27:22 +0000.528678][6ca6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[082:028] [2022-05-15 17:27:22 +0000.528898][6ca6] CreatePlatformSpecificObjects:
[082:028] [2022-05-15 17:27:22 +0000.528946][6ca6] audio device use null audio
input and opensl output
[082:028] [2022-05-15 17:27:22 +0000.528984][6ca6] Create OpenSLES output module
with java VM support.

[082:029] [2022-05-15 17:27:22 +0000.529143][6ca6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[082:029] [2022-05-15 17:27:22 +0000.529326][6ca6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[082:029] [2022-05-15 17:27:22 +0000.529522][6ca6] Create OpenSLES output module
with buffer num:2

[082:029] [2022-05-15 17:27:22 +0000.529575][6ca6] Error(trace.cc:40): Init the


output and input for audio device template.
[082:029] [2022-05-15 17:27:22 +0000.529609][6ca6] Init the output device.

[082:029] [2022-05-15 17:27:22 +0000.529644][6ca6] Set the playout as stereo:1


[082:029] [2022-05-15 17:27:22 +0000.529664][6ca6] Set the sample rate to be:44100

[082:030] [2022-05-15 17:27:22 +0000.530111][6ca6] Low latency buffer size:144 low


sample rate:48000
[082:030] [2022-05-15 17:27:22 +0000.530140][6ca6] DeviceInit: Done
[082:030] [2022-05-15 17:27:22 +0000.530429][6ca6] global inited! current sdk
version: 07-27-feaf968
[082:454] [2022-05-15 17:27:22 +0000.955055][1f88]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[082:455] [2022-05-15 17:27:22 +0000.955214][1f88]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
7, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices len:
32, texture_vertices len: 32
[082:455] [2022-05-15 17:27:22 +0000.955299][1f88]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[082:455] [2022-05-15 17:27:22 +0000.955398][2a57] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[082:455] [2022-05-15 17:27:22 +0000.955452][2a57] GLESContext:
[082:455] [2022-05-15 17:27:22 +0000.955500][2a57] The result of eglGetDisplay is:
0xb400007b101948c0
[082:456] [2022-05-15 17:27:22 +0000.956320][2a57] The result of creation:
0x7a3b129e80
[082:456] [2022-05-15 17:27:22 +0000.956403][2a57] The result of
eglCreatePbufferSurface is: 0x7a3b261880
[082:456] [2022-05-15 17:27:22 +0000.956552][1f88]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7b180f8d80 input_texture: 7
[084:721] [2022-05-15 17:27:25 +0000.221828][6c7a] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[084:721] [2022-05-15 17:27:25 +0000.221899][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[084:721] [2022-05-15 17:27:25 +0000.222012][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[084:722] [2022-05-15 17:27:25 +0000.222168][2a57] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[084:722] [2022-05-15 17:27:25 +0000.222241][2a57] construct OpenGLRenderProgram
0x7a10180498
[084:722] [2022-05-15 17:27:25 +0000.222292][2a57] CropFilter::SetOrientation
orientation: 90
[084:722] [2022-05-15 17:27:25 +0000.222326][2a57] filter: filter pipeline
construtc this: 0x7a2f2c6580
[084:722] [2022-05-15 17:27:25 +0000.222360][2a57] filter: filter pipeline2 update
pattern: 1
[084:722] [2022-05-15 17:27:25 +0000.222399][2a57] CameraSource::source_id_:8
[084:722] [2022-05-15 17:27:25 +0000.222635][2a57] SetPlayLoop: AudioSource
SetPlayLoop 0
[084:722] [2022-05-15 17:27:25 +0000.222741][2a57]
Warning(media_filter_camera.cc:483): seekPos:500
[084:722] [2022-05-15 17:27:25 +0000.222785][2a57] BindInputFilter 0x7a2d842440
this 0x7a10180780
[084:722] [2022-05-15 17:27:25 +0000.222829][2a57] BindInputFilter 0x7a10180780
this 0x7a2f2c6618
[084:722] [2022-05-15 17:27:25 +0000.222862][2a57] SetParamForFilter time:50619621
enter.

[084:722] [2022-05-15 17:27:25 +0000.222885][2a57] SetParamForFilter: Params video


index is: 0
[084:722] [2022-05-15 17:27:25 +0000.222915][2a57] SetParamForFilter: Params seek
pos is: 0
[084:722] [2022-05-15 17:27:25 +0000.222948][2a57] crop filter video index:0
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.artslow/
movie_mode: 0
[084:722] [2022-05-15 17:27:25 +0000.223023][2a57] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//config.json
[084:725] [2022-05-15 17:27:25 +0000.225506][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225571][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225607][2a57]
exp_des.start:0exp_des.end:1330exp_des.expressionstr:0.5
[084:725] [2022-05-15 17:27:25 +0000.225645][2a57]
exp_des.start:0exp_des.end:1330exp_des.expressionstr:0.5
[084:725] [2022-05-15 17:27:25 +0000.225673][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225697][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225723][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225752][2a57]
exp_des.start:0exp_des.end:1330exp_des.expressionstr:0.75
[084:725] [2022-05-15 17:27:25 +0000.225780][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225804][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225829][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225855][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225880][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225906][2a57]
Warning(parse_template_json.cc:95): json parament no found the parament
[084:725] [2022-05-15 17:27:25 +0000.225931][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[084:725] [2022-05-15 17:27:25 +0000.225957][2a57] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//filter.png
[084:725] [2022-05-15 17:27:25 +0000.225978][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[084:725] [2022-05-15 17:27:25 +0000.226002][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[084:726] [2022-05-15 17:27:25 +0000.226786][2a57] SetParamForFilter leave. expire
time = 4 ms

[084:726] [2022-05-15 17:27:25 +0000.226985][2a57] OnOutputSizeChanged width 1920


height 1080
[084:726] [2022-05-15 17:27:25 +0000.227077][2a57] OpenGLFrameBuffer: width:1920
height:1080
[084:727] [2022-05-15 17:27:25 +0000.227115][2a57] OpenGLFrameBuffer: width:1920
height:1080
[084:727] [2022-05-15 17:27:25 +0000.227150][2a57] OpenGLFrameBuffer: width:1920
height:1080
[084:727] [2022-05-15 17:27:25 +0000.227183][2a57] OpenGLFrameBuffer: width:1920
height:1080
[084:727] [2022-05-15 17:27:25 +0000.227217][2a57] OpenGLFrameBuffer: width:1920
height:1080
[084:727] [2022-05-15 17:27:25 +0000.227251][2a57] OpenGLFrameBuffer: width:1920
height:1080
[084:727] [2022-05-15 17:27:25 +0000.227286][2a57] construct TrivalImageDrawer
0x7a2f3a9f00
[084:727] [2022-05-15 17:27:25 +0000.227320][2a57] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f3a9f00 context 0x7a3b12ab00
[084:727] [2022-05-15 17:27:25 +0000.227354][2a57] setupGLES:
[084:727] [2022-05-15 17:27:25 +0000.227663][2a57] OpenGLRenderProgram::Initialize.
[084:727] [2022-05-15 17:27:25 +0000.227707][2a57] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[084:727] [2022-05-15 17:27:25 +0000.227732][2a57] 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
[084:727] [2022-05-15 17:27:25 +0000.227835][2a57] Init open gl render:
0x7a10180498
[084:727] [2022-05-15 17:27:25 +0000.227868][2a57] Fragement shader path:
[084:727] [2022-05-15 17:27:25 +0000.227934][2a57] Fragement shader path:
[084:727] [2022-05-15 17:27:25 +0000.227965][2a57] create opengl program object.
[084:727] [2022-05-15 17:27:25 +0000.228001][2a57] create shader: vertex
[084:728] [2022-05-15 17:27:25 +0000.228237][2a57] create shader: fragment
[084:740] [2022-05-15 17:27:25 +0000.241057][2a57] External image path is empty!
[084:741] [2022-05-15 17:27:25 +0000.241176][2a57] Error(crop_filter.cc:464): Init
the image texture failed.
[084:741] [2022-05-15 17:27:25 +0000.241211][2a57] OpenGLRenderProgram::Initialize
success.
[084:741] [2022-05-15 17:27:25 +0000.241266][2a57] Setup the OpenGL result:1
[084:741] [2022-05-15 17:27:25 +0000.241908][2a56] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50619640.mp4
[084:741] [2022-05-15 17:27:25 +0000.242096][2a56] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50619640.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[084:742] [2022-05-15 17:27:25 +0000.242150][2a56] 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
[084:742] [2022-05-15 17:27:25 +0000.242188][2a56] 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_165263564230
1/record_video_50619640.mp4 fileFD: -1
[084:742] [2022-05-15 17:27:25 +0000.242486][2a7a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b0ae82898
[084:742] [2022-05-15 17:27:25 +0000.242595][2a56] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50619640.mp4 is opened successfully
[084:742] [2022-05-15 17:27:25 +0000.242636][2a56] setupMediaProcessers:
[084:742] [2022-05-15 17:27:25 +0000.242663][2a56]
RecordingSessionInternalSimple:setup media processers.
[084:742] [2022-05-15 17:27:25 +0000.242696][2a56] construct AAC encoder
[084:742] [2022-05-15 17:27:25 +0000.242961][2a56] H264Encoder creating:
superfast011818
[084:742] [2022-05-15 17:27:25 +0000.242998][2a56] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[084:743] [2022-05-15 17:27:25 +0000.243379][2a56] H264Encode::GetMachineModel is
Mi 10
[084:743] [2022-05-15 17:27:25 +0000.243418][2a56] H264Encoder machine_mode is:Mi
10
[084:743] [2022-05-15 17:27:25 +0000.243447][2a56] setupCompressionSession:
[084:743] [2022-05-15 17:27:25 +0000.243478][2a56] H264Encode::creating hareware
Encoder
[084:743] [2022-05-15 17:27:25 +0000.243510][2a56] AndroidHwAvcEncoder
time:50619642 enter.

[084:743] [2022-05-15 17:27:25 +0000.243717][2a56] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[084:743] [2022-05-15 17:27:25 +0000.243833][2a56] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[084:743] [2022-05-15 17:27:25 +0000.243864][2a56] The video avc hw codec address
is 0x7a59f7bff8
[084:743] [2022-05-15 17:27:25 +0000.243939][2a56] AndroidHwAvcEncoder leave.
expire time = 0 ms

[084:743] [2022-05-15 17:27:25 +0000.243971][2a56] RegisterEncodeCompleteCallback


time:50619642 enter.

[084:743] [2022-05-15 17:27:25 +0000.244068][2a56] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[084:744] [2022-05-15 17:27:25 +0000.244106][2a56] InitEncode time:50619643 enter.

[084:744] [2022-05-15 17:27:25 +0000.244166][2a56] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[084:744] [2022-05-15 17:27:25 +0000.244202][2a56] Create time:50619643 enter.

[084:744] [2022-05-15 17:27:25 +0000.244235][2a56] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[084:744] [2022-05-15 17:27:25 +0000.244268][2a56]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7b0ae9cf40
[084:744] [2022-05-15 17:27:25 +0000.244433][2a56]
supported_type:image/vnd.android.heic
[084:744] [2022-05-15 17:27:25 +0000.244484][2a56] supported_type:video/avc
[084:744] [2022-05-15 17:27:25 +0000.244519][2a56] name:OMX.qcom.video.encoder.avc
mime:video/avc
[084:744] [2022-05-15 17:27:25 +0000.244565][2a56] hwCodecPrefix :OMX.qcom.
[084:744] [2022-05-15 17:27:25 +0000.244599][2a56] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[084:744] [2022-05-15 17:27:25 +0000.244633][2a56] mediacodec_createCodecByName
time:50619643 enter.

[084:744] [2022-05-15 17:27:25 +0000.244664][2a56] WrapAndroidMediaCodec


time:50619643 enter.

[084:744] [2022-05-15 17:27:25 +0000.244778][2a56] WrapAndroidMediaCodec leave.


expire time = 0 ms

[084:755] [2022-05-15 17:27:25 +0000.256073][2a56] mediacodec_createCodecByName


leave. expire time = 11 ms

[084:756] [2022-05-15 17:27:25 +0000.256148][2a56] WrapAndroidMediaFromat


time:50619655 enter.

[084:756] [2022-05-15 17:27:25 +0000.256236][2a56] WrapAndroidMediaFromat leave.


expire time = 0 ms

[084:782] [2022-05-15 17:27:25 +0000.282656][2a56] Destroy time:50619681 enter.

[084:782] [2022-05-15 17:27:25 +0000.282727][2a56] WrapAndroidMediaFromat::


Destroy
[084:782] [2022-05-15 17:27:25 +0000.282749][2a56] Destroy leave. expire time = 0
ms

[084:782] [2022-05-15 17:27:25 +0000.282784][2a56] ~WrapAndroidMediaFromat


time:50619681 enter.

[084:782] [2022-05-15 17:27:25 +0000.282820][2a56] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[084:782] [2022-05-15 17:27:25 +0000.282855][2a56] Create leave. expire time = 38


ms

[084:782] [2022-05-15 17:27:25 +0000.282885][2a56] isSemiPlanarSupport


time:50619681 enter.

[084:782] [2022-05-15 17:27:25 +0000.282962][2a56] H264Encoder isSemiPlanarSupport


[084:782] [2022-05-15 17:27:25 +0000.282992][2a56] isSemiPlanarSupport leave.
expire time = 0 ms

[084:782] [2022-05-15 17:27:25 +0000.283023][2a56] creat hw H264Encoder success,


isSemiPlanar:1
[084:783] [2022-05-15 17:27:25 +0000.283138][2a56] InitEncode leave. expire time =
39 ms

[084:783] [2022-05-15 17:27:25 +0000.283173][2a56] H264Encode::created Encoder


[084:783] [2022-05-15 17:27:25 +0000.283194][2a56] H264Encode:: H264 encoder
created.
[084:783] [2022-05-15 17:27:25 +0000.283213][2a56] H264 encoder created.
[084:783] [2022-05-15 17:27:25 +0000.283230][2a56]
RecordingSessionInternalSimple:created avc encoder avc: 0x7aa42b57c0
[084:783] [2022-05-15 17:27:25 +0000.283251][2a56] setOutput:
[084:783] [2022-05-15 17:27:25 +0000.283270][2a56]
RecordingSessionInternalSimple:encoder set output to muxer!
[084:783] [2022-05-15 17:27:25 +0000.283287][2a56] request a key frame
[084:783] [2022-05-15 17:27:25 +0000.283304][2a56] H264Encode:: request a key frame
[084:783] [2022-05-15 17:27:25 +0000.283369][2a57] Start:
[084:783] [2022-05-15 17:27:25 +0000.283507][2a5a] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[084:783] [2022-05-15 17:27:25 +0000.283571][2a5a] Reset: history total size: 98
[084:783] [2022-05-15 17:27:25 +0000.283622][2a5a] DeviceStart:
audioDevice_:0x7aa4426000
[084:783] [2022-05-15 17:27:25 +0000.283643][2a5a] DeviceStart: time profile
playout init before
[084:783] [2022-05-15 17:27:25 +0000.283668][2a5a] DeviceStart: time profile
playout init end
[084:783] [2022-05-15 17:27:25 +0000.283684][2a5a] OpenSlesOutput:Start playout

[084:784] [2022-05-15 17:27:25 +0000.284559][2a5a] Create the opensl output player.


streamtype before:0

[084:784] [2022-05-15 17:27:25 +0000.284595][2a5a] Create the opensl output player.


streamtype after:3

[084:801] [2022-05-15 17:27:25 +0000.301606][2a58]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[084:803] [2022-05-15 17:27:25 +0000.303193][2a5a] Enqueue opensl buffer size:1764
[084:873] [2022-05-15 17:27:25 +0000.373195][2a58]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[084:944] [2022-05-15 17:27:25 +0000.444793][2a58]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[084:985] [2022-05-15 17:27:25 +0000.485439][2a5a] DeviceStart: time profile
playout all end
[084:985] [2022-05-15 17:27:25 +0000.485578][2a5a] operator(): Audio playback
started.
[085:004] [2022-05-15 17:27:25 +0000.504226][2a57] begine recode to first frame
spend time:282
[085:004] [2022-05-15 17:27:25 +0000.505970][2a57] add frame because frame
interval.
[085:005] [2022-05-15 17:27:25 +0000.506053][2a57]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[085:005] [2022-05-15 17:27:25 +0000.506091][2a57]
GPUImageProcessing::SetOrientation orientation: 90
[085:007] [2022-05-15 17:27:25 +0000.507327][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180498
[085:017] [2022-05-15 17:27:25 +0000.517709][2a58]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[085:024] [2022-05-15 17:27:25 +0000.524749][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180498
[085:038] [2022-05-15 17:27:25 +0000.538522][2a58] 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:0x7a10180800
[085:044] [2022-05-15 17:27:25 +0000.544925][2a79]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[085:048] [2022-05-15 17:27:25 +0000.548960][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180498
[085:059] [2022-05-15 17:27:25 +0000.559468][2a57] The convert RGB to YUV take 7
[085:082] [2022-05-15 17:27:25 +0000.583080][2a76] FFMpeg=> [mp3 @ 0x7b18172000]
Current FFmpeg version git-2021-06-16-97cea6f

[085:087] [2022-05-15 17:27:25 +0000.587888][2a79] DTS queue for


Generator:0x7b0ae82ab8 0 44 89
[085:100] [2022-05-15 17:27:25 +0000.600674][2a77] success seekto
avformat_seek_file to: 500000
[085:101] [2022-05-15 17:27:25 +0000.601392][2a77] Drop one audio frame for seekto,
pkt_dts 6773760 audio_seek_pos_: 500000
[085:104] [2022-05-15 17:27:25 +0000.605028][2a5a] First audio frame rendering
[085:109] [2022-05-15 17:27:25 +0000.609648][2a7a] add aac audio track with id:1
[085:115] [2022-05-15 17:27:25 +0000.615594][2a7a] audio start ts:0
[085:115] [2022-05-15 17:27:25 +0000.615692][2a7a] the audio frame has been written
into MP4 file
[085:117] [2022-05-15 17:27:25 +0000.617137][2a79] Push an pts:133 to dts queue.
[085:121] [2022-05-15 17:27:25 +0000.621790][2a79] h264 add frame header cdr flag
[085:122] [2022-05-15 17:27:25 +0000.622151][2a79] h264 add frame header cdr flag
[085:122] [2022-05-15 17:27:25 +0000.622519][2a79] Received key frame:0
[085:122] [2022-05-15 17:27:25 +0000.622571][2a79] H264Encode:: get a sps pps
header!headerSize:32
[085:122] [2022-05-15 17:27:25 +0000.622854][2a7a] get the H.264 SPS parameter
[085:122] [2022-05-15 17:27:25 +0000.623079][2a7a] add video track with id:2
[085:123] [2022-05-15 17:27:25 +0000.624062][2a7a] get the H.264 PPS parameter
[085:124] [2022-05-15 17:27:25 +0000.624620][2a7a] get the H.264 IDR frame
[085:124] [2022-05-15 17:27:25 +0000.624678][2a7a] resss:true
[085:124] [2022-05-15 17:27:25 +0000.624704][2a7a] video start ts:0
[085:124] [2022-05-15 17:27:25 +0000.624764][2a7a] the video frame has been written
into MP4 file
[085:151] [2022-05-15 17:27:25 +0000.651961][2a79] last dts:89 currentPts:133
ppsOrSPS:0 queue length:2
[085:198] [2022-05-15 17:27:25 +0000.698505][2a58] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[085:253] [2022-05-15 17:27:25 +0000.753910][2a5a] The audio playback speed:100
(1/100)
[085:253] [2022-05-15 17:27:25 +0000.753980][2a5a] lipsync_debug: The current
played audio timestamp is:311(1/50)
[085:278] [2022-05-15 17:27:25 +0000.778717][1f88] video render surface render a
frame
[085:283] [2022-05-15 17:27:25 +0000.783618][2a57] CropFilter::OnVideoFrame
outputtexture :13
[085:283] [2022-05-15 17:27:25 +0000.783719][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[085:392] [2022-05-15 17:27:25 +0000.892725][2a81]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[085:546] [2022-05-15 17:27:26 +0000.46195][2a57] The convert RGB to YUV take 3
[085:645] [2022-05-15 17:27:26 +0000.145912][2a57] CameraSource::PushExtraFrame
pkt_dts: 886, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a2d842300
[085:779] [2022-05-15 17:27:26 +0000.279742][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[085:886] [2022-05-15 17:27:26 +0000.386110][2a79] DTS queue for
Generator:0x7b0ae82ab8 1109 1153
[085:947] [2022-05-15 17:27:26 +0000.447964][2a57] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8982 diff: 19
[086:048] [2022-05-15 17:27:26 +0000.548964][2a57] The convert RGB to YUV take 3
[086:049] [2022-05-15 17:27:26 +0000.549363][2a5a] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[086:049] [2022-05-15 17:27:26 +0000.549461][2a57] OnNeedStopRecording:
[086:050] [2022-05-15 17:27:26 +0000.550561][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[086:050] [2022-05-15 17:27:26 +0000.550775][2a57] operator(): Stop
[086:050] [2022-05-15 17:27:26 +0000.550893][2a57] Stop:
[086:050] [2022-05-15 17:27:26 +0000.550968][2a5a] DeviceStop:
audioDevice_:0x7aa4426000
[086:050] [2022-05-15 17:27:26 +0000.551016][2a5a] OpenSlesOutput:Stop playout
[086:054] [2022-05-15 17:27:26 +0000.554442][2a5a] DeviceStop: Done
[086:054] [2022-05-15 17:27:26 +0000.554647][2a5a] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[086:057] [2022-05-15 17:27:26 +0000.557835][2a79]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[086:060] [2022-05-15 17:27:26 +0000.560675][2a56] stop recording
[086:060] [2022-05-15 17:27:26 +0000.560755][2a56]
RecordingSessionInternalSimple:destroy media processers
[086:060] [2022-05-15 17:27:26 +0000.560788][2a56] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[086:060] [2022-05-15 17:27:26 +0000.560873][2a56] H264Encode::flushing hareware
Encoder
[086:061] [2022-05-15 17:27:26 +0000.561230][2a56] Flush time:50620960 enter.

[086:061] [2022-05-15 17:27:26 +0000.561310][2a56] H264Encoder encoder flush


[086:061] [2022-05-15 17:27:26 +0000.561344][2a56] flush output queue
[086:380] [2022-05-15 17:27:26 +0000.880437][2a56] Flush leave. expire time = 319
ms

[086:380] [2022-05-15 17:27:26 +0000.880672][2a56] ~H264EncodeWrap:


[086:380] [2022-05-15 17:27:26 +0000.880744][2a56] ~H264Encode:
[086:380] [2022-05-15 17:27:26 +0000.880792][2a56] teardownCompressionSession:
H264Encode::destroying Encoder
[086:380] [2022-05-15 17:27:26 +0000.880846][2a56] Release time:50621279 enter.

[086:380] [2022-05-15 17:27:26 +0000.881033][2a56] Release:


MediaCodecVideoEncoder::Release _inited:1
[086:380] [2022-05-15 17:27:26 +0000.881083][2a56] Destroy time:50621279 enter.

[086:381] [2022-05-15 17:27:26 +0000.881145][2a56] H264Encoder encoderDestroy


[086:381] [2022-05-15 17:27:26 +0000.881185][2a56]
AndroidMediaCodecVideoEncoder::release env: 0x7aa42b5a40
[086:381] [2022-05-15 17:27:26 +0000.881241][2a56]
AndroidMediaCodecVideoEncoder::Destroy
[086:423] [2022-05-15 17:27:26 +0000.923747][2a56] Destroy leave. expire time = 43
ms

[086:423] [2022-05-15 17:27:26 +0000.923995][2a56] Release leave. expire time = 43


ms

[086:423] [2022-05-15 17:27:26 +0000.924028][2a56] ~AndroidHwAvcEncoder


time:50621322 enter.

[086:424] [2022-05-15 17:27:26 +0000.924168][2a56] Release time:50621323 enter.

[086:424] [2022-05-15 17:27:26 +0000.924198][2a56] Release:


MediaCodecVideoEncoder:: has been released before, just return
[086:424] [2022-05-15 17:27:26 +0000.924217][2a56] Release leave. expire time = 0
ms

[086:424] [2022-05-15 17:27:26 +0000.924236][2a56] ~AndroidMediaCodecVideoEncoder


[086:424] [2022-05-15 17:27:26 +0000.924254][2a56] ~WrapAndroidMediaCodec
time:50621323 enter.

[086:424] [2022-05-15 17:27:26 +0000.924274][2a56] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[086:424] [2022-05-15 17:27:26 +0000.924295][2a56] video hevc hw codec


destructor:0x7a59f7bff8

[086:424] [2022-05-15 17:27:26 +0000.924341][2a56] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[086:424] [2022-05-15 17:27:26 +0000.924405][2a56] teardownCompressionSession:


H264Encode::destroyed Encoder
[086:424] [2022-05-15 17:27:26 +0000.924428][2a56]
RecordingSessionInternalSimple:destroy aac encoder output!
[086:424] [2022-05-15 17:27:26 +0000.924446][2a56] AACSWEncode destructor
[086:427] [2022-05-15 17:27:26 +0000.927183][2a7a] MP4 close file successfully
[086:427] [2022-05-15 17:27:26 +0000.927255][2a7a] Recording session Internal:
notify recording ok
[086:427] [2022-05-15 17:27:26 +0000.927285][2a7a] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_1652635642301/
record_video_50619640.mp4
[086:427] [2022-05-15 17:27:26 +0000.927350][2a7a] OnRecordFinish:
[086:428] [2022-05-15 17:27:26 +0000.928557][2a57] DestroyPipelineAndFilters
time:50621327 enter.

[086:429] [2022-05-15 17:27:26 +0000.929147][2a57] UnbindInputFilter 0x7a2d842440


this 0x7a10180780
[086:432] [2022-05-15 17:27:26 +0000.933040][2a57] UnbindInputFilter 0x7a10180780
this 0x7a2f2c6618
[086:432] [2022-05-15 17:27:26 +0000.933122][2a57] filter: filter pipeline destroy
this: 0x7a2f2c6580
[086:434] [2022-05-15 17:27:26 +0000.934113][2a57] ClearVideoOfSources: recodring
total frames:0
[086:434] [2022-05-15 17:27:26 +0000.934159][2a57] ClearVideoOfSources:
[086:434] [2022-05-15 17:27:26 +0000.934186][2a57] GPUImageProcessing destruct.
[086:434] [2022-05-15 17:27:26 +0000.934219][2a57] destroy TrivalImageDrawer
0x7a2f3a9f00
[086:434] [2022-05-15 17:27:26 +0000.934245][2a57] The shader has been initialize,
clean up them.

[086:436] [2022-05-15 17:27:26 +0000.936621][2a57] ~OpenGLFrameBuffer:


[086:436] [2022-05-15 17:27:26 +0000.936753][2a57] ~OpenGLFrameBuffer:
[086:436] [2022-05-15 17:27:26 +0000.936829][2a57] ~OpenGLFrameBuffer:
[086:436] [2022-05-15 17:27:26 +0000.936938][2a57] ~OpenGLFrameBuffer:
[086:436] [2022-05-15 17:27:26 +0000.937004][2a57] ~OpenGLFrameBuffer:
[086:436] [2022-05-15 17:27:26 +0000.937074][2a57] ~OpenGLFrameBuffer:
[086:437] [2022-05-15 17:27:26 +0000.937377][2a57] GPUImageProcessing destruct
finish.
[086:437] [2022-05-15 17:27:26 +0000.937425][2a57] GPURGBAFrame destruct.
[086:439] [2022-05-15 17:27:26 +0000.939239][2a57] destroy OpenGLRenderProgram
0x7a10180498
[086:439] [2022-05-15 17:27:26 +0000.939307][2a57] ~CameraSource time:50621338
enter.

[086:439] [2022-05-15 17:27:26 +0000.939336][2a57] ~CameraSource leave. expire


time = 0 ms

[086:447] [2022-05-15 17:27:26 +0000.948084][2a57] DestroyPipelineAndFilters


leave. expire time = 20 ms

[088:349] [2022-05-15 17:27:28 +0000.849901][6c7a] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[088:349] [2022-05-15 17:27:28 +0000.850064][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[088:350] [2022-05-15 17:27:28 +0000.850207][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[088:350] [2022-05-15 17:27:28 +0000.850391][2a57] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[088:350] [2022-05-15 17:27:28 +0000.850473][2a57] construct OpenGLRenderProgram
0x7a10180898
[088:350] [2022-05-15 17:27:28 +0000.850512][2a57] CropFilter::SetOrientation
orientation: 90
[088:350] [2022-05-15 17:27:28 +0000.850549][2a57] filter: filter pipeline
construtc this: 0x7a2f2c6640
[088:350] [2022-05-15 17:27:28 +0000.850585][2a57] filter: filter pipeline2 update
pattern: 1
[088:350] [2022-05-15 17:27:28 +0000.850622][2a57] CameraSource::source_id_:9
[088:351] [2022-05-15 17:27:28 +0000.851181][2a57] SetPlayLoop: AudioSource
SetPlayLoop 0
[088:351] [2022-05-15 17:27:28 +0000.851253][2a57]
Warning(media_filter_camera.cc:483): seekPos:1829
[088:351] [2022-05-15 17:27:28 +0000.851301][2a57] BindInputFilter 0x7a2d842440
this 0x7a10180b80
[088:351] [2022-05-15 17:27:28 +0000.851353][2a57] BindInputFilter 0x7a10180b80
this 0x7a2f2c66d8
[088:351] [2022-05-15 17:27:28 +0000.851395][2a57] SetParamForFilter time:50623250
enter.

[088:351] [2022-05-15 17:27:28 +0000.851438][2a57] SetParamForFilter: Params video


index is: 1
[088:351] [2022-05-15 17:27:28 +0000.851473][2a57] SetParamForFilter: Params seek
pos is: 1
[088:351] [2022-05-15 17:27:28 +0000.851519][2a57] crop filter video index:1
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.artslow/
movie_mode: 0
[088:351] [2022-05-15 17:27:28 +0000.851563][2a57] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//config.json
[088:351] [2022-05-15 17:27:28 +0000.851961][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:351] [2022-05-15 17:27:28 +0000.852011][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:351] [2022-05-15 17:27:28 +0000.852076][2a57]
exp_des.start:0exp_des.end:3800exp_des.expressionstr:0.6 - 0.1*x / 3800
[088:352] [2022-05-15 17:27:28 +0000.852128][2a57]
exp_des.start:0exp_des.end:3800exp_des.expressionstr:0.6 - 0.1*x / 3800
[088:352] [2022-05-15 17:27:28 +0000.852170][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852206][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852242][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852334][2a57]
exp_des.start:0exp_des.end:3800exp_des.expressionstr:0.75
[088:352] [2022-05-15 17:27:28 +0000.852382][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852419][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852456][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852491][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852618][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852664][2a57]
Warning(parse_template_json.cc:95): json parament no found the parament
[088:352] [2022-05-15 17:27:28 +0000.852713][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[088:352] [2022-05-15 17:27:28 +0000.852757][2a57] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//filter.png
[088:352] [2022-05-15 17:27:28 +0000.852797][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[088:352] [2022-05-15 17:27:28 +0000.852837][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[088:355] [2022-05-15 17:27:28 +0000.855720][2a57] SetParamForFilter leave. expire
time = 4 ms

[088:355] [2022-05-15 17:27:28 +0000.855855][2a57] OnOutputSizeChanged width 1920


height 1080
[088:355] [2022-05-15 17:27:28 +0000.855891][2a57] OpenGLFrameBuffer: width:1920
height:1080
[088:355] [2022-05-15 17:27:28 +0000.855920][2a57] OpenGLFrameBuffer: width:1920
height:1080
[088:355] [2022-05-15 17:27:28 +0000.855945][2a57] OpenGLFrameBuffer: width:1920
height:1080
[088:355] [2022-05-15 17:27:28 +0000.855969][2a57] OpenGLFrameBuffer: width:1920
height:1080
[088:355] [2022-05-15 17:27:28 +0000.855993][2a57] OpenGLFrameBuffer: width:1920
height:1080
[088:355] [2022-05-15 17:27:28 +0000.856018][2a57] OpenGLFrameBuffer: width:1920
height:1080
[088:355] [2022-05-15 17:27:28 +0000.856047][2a57] construct TrivalImageDrawer
0x7a2f3a9f00
[088:355] [2022-05-15 17:27:28 +0000.856072][2a57] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f3a9f00 context 0x7a3b12ab00
[088:355] [2022-05-15 17:27:28 +0000.856098][2a57] setupGLES:
[088:356] [2022-05-15 17:27:28 +0000.856418][2a57] OpenGLRenderProgram::Initialize.
[088:356] [2022-05-15 17:27:28 +0000.856458][2a57] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[088:356] [2022-05-15 17:27:28 +0000.856508][2a57] 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
[088:356] [2022-05-15 17:27:28 +0000.856668][2a57] Init open gl render:
0x7a10180898
[088:356] [2022-05-15 17:27:28 +0000.856712][2a57] Fragement shader path:
[088:356] [2022-05-15 17:27:28 +0000.856752][2a57] Fragement shader path:
[088:356] [2022-05-15 17:27:28 +0000.856785][2a57] create opengl program object.
[088:356] [2022-05-15 17:27:28 +0000.856824][2a57] create shader: vertex
[088:357] [2022-05-15 17:27:28 +0000.857259][2a57] create shader: fragment
[088:372] [2022-05-15 17:27:28 +0000.872969][2a57] External image path is empty!
[088:372] [2022-05-15 17:27:28 +0000.873047][2a57] Error(crop_filter.cc:464): Init
the image texture failed.
[088:372] [2022-05-15 17:27:28 +0000.873071][2a57] OpenGLRenderProgram::Initialize
success.
[088:373] [2022-05-15 17:27:28 +0000.873152][2a57] Setup the OpenGL result:1
[088:373] [2022-05-15 17:27:28 +0000.873390][2a56] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50623272.mp4
[088:373] [2022-05-15 17:27:28 +0000.873526][2a56] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50623272.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[088:373] [2022-05-15 17:27:28 +0000.874019][2a56] 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
[088:373] [2022-05-15 17:27:28 +0000.874067][2a56] 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_165263564230
1/record_video_50623272.mp4 fileFD: -1
[088:374] [2022-05-15 17:27:28 +0000.874670][2a56] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50623272.mp4 is opened successfully
[088:374] [2022-05-15 17:27:28 +0000.874706][2a56] setupMediaProcessers:
[088:374] [2022-05-15 17:27:28 +0000.874730][2a56]
RecordingSessionInternalSimple:setup media processers.
[088:374] [2022-05-15 17:27:28 +0000.874751][2a56] construct AAC encoder
[088:374] [2022-05-15 17:27:28 +0000.874973][2a56] H264Encoder creating:
superfast011818
[088:374] [2022-05-15 17:27:28 +0000.875009][2a56] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[088:375] [2022-05-15 17:27:28 +0000.875449][2a56] H264Encode::GetMachineModel is
Mi 10
[088:375] [2022-05-15 17:27:28 +0000.875483][2a56] H264Encoder machine_mode is:Mi
10
[088:375] [2022-05-15 17:27:28 +0000.875501][2a56] setupCompressionSession:
[088:375] [2022-05-15 17:27:28 +0000.875519][2a56] H264Encode::creating hareware
Encoder
[088:375] [2022-05-15 17:27:28 +0000.875538][2a56] AndroidHwAvcEncoder
time:50623274 enter.

[088:375] [2022-05-15 17:27:28 +0000.875723][2a56] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[088:375] [2022-05-15 17:27:28 +0000.875821][2a56] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[088:375] [2022-05-15 17:27:28 +0000.875845][2a56] The video avc hw codec address
is 0x7a59f7b7d0
[088:375] [2022-05-15 17:27:28 +0000.875947][2a56] AndroidHwAvcEncoder leave.
expire time = 0 ms

[088:375] [2022-05-15 17:27:28 +0000.875974][2a56] RegisterEncodeCompleteCallback


time:50623274 enter.

[088:375] [2022-05-15 17:27:28 +0000.876064][2a56] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[088:375] [2022-05-15 17:27:28 +0000.876096][2a56] InitEncode time:50623274 enter.

[088:376] [2022-05-15 17:27:28 +0000.876164][2a56] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[088:376] [2022-05-15 17:27:28 +0000.876223][2a56] Create time:50623275 enter.

[088:376] [2022-05-15 17:27:28 +0000.876246][2a56] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[088:376] [2022-05-15 17:27:28 +0000.876296][2a56]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7b0b014ec0
[088:376] [2022-05-15 17:27:28 +0000.876944][2a56]
supported_type:image/vnd.android.heic
[088:376] [2022-05-15 17:27:28 +0000.877010][2a56] supported_type:video/avc
[088:376] [2022-05-15 17:27:28 +0000.877038][2a56] name:OMX.qcom.video.encoder.avc
mime:video/avc
[088:376] [2022-05-15 17:27:28 +0000.877087][2a56] hwCodecPrefix :OMX.qcom.
[088:377] [2022-05-15 17:27:28 +0000.877164][2a56] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[088:377] [2022-05-15 17:27:28 +0000.877191][2a56] mediacodec_createCodecByName
time:50623276 enter.

[088:377] [2022-05-15 17:27:28 +0000.877215][2a56] WrapAndroidMediaCodec


time:50623276 enter.

[088:377] [2022-05-15 17:27:28 +0000.877321][2a56] WrapAndroidMediaCodec leave.


expire time = 0 ms

[088:377] [2022-05-15 17:27:28 +0000.877749][2afa] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7b0ae82898
[088:387] [2022-05-15 17:27:28 +0000.887903][2a56] mediacodec_createCodecByName
leave. expire time = 10 ms
[088:387] [2022-05-15 17:27:28 +0000.888008][2a56] WrapAndroidMediaFromat
time:50623286 enter.

[088:388] [2022-05-15 17:27:28 +0000.888149][2a56] WrapAndroidMediaFromat leave.


expire time = 1 ms

[088:414] [2022-05-15 17:27:28 +0000.914951][2a56] Destroy time:50623313 enter.

[088:414] [2022-05-15 17:27:28 +0000.915033][2a56] WrapAndroidMediaFromat::


Destroy
[088:414] [2022-05-15 17:27:28 +0000.915069][2a56] Destroy leave. expire time = 0
ms

[088:414] [2022-05-15 17:27:28 +0000.915094][2a56] ~WrapAndroidMediaFromat


time:50623313 enter.

[088:415] [2022-05-15 17:27:28 +0000.915208][2a56] ~WrapAndroidMediaFromat leave.


expire time = 1 ms

[088:415] [2022-05-15 17:27:28 +0000.915237][2a56] Create leave. expire time = 39


ms

[088:415] [2022-05-15 17:27:28 +0000.915317][2a56] isSemiPlanarSupport


time:50623314 enter.

[088:415] [2022-05-15 17:27:28 +0000.915336][2a56] H264Encoder isSemiPlanarSupport


[088:415] [2022-05-15 17:27:28 +0000.915357][2a56] isSemiPlanarSupport leave.
expire time = 0 ms

[088:415] [2022-05-15 17:27:28 +0000.915392][2a56] creat hw H264Encoder success,


isSemiPlanar:1
[088:416] [2022-05-15 17:27:28 +0000.916487][2a56] InitEncode leave. expire time =
41 ms

[088:416] [2022-05-15 17:27:28 +0000.916540][2a56] H264Encode::created Encoder


[088:416] [2022-05-15 17:27:28 +0000.916565][2a56] H264Encode:: H264 encoder
created.
[088:416] [2022-05-15 17:27:28 +0000.916585][2a56] H264 encoder created.
[088:416] [2022-05-15 17:27:28 +0000.916605][2a56]
RecordingSessionInternalSimple:created avc encoder avc: 0x7aa42b5a40
[088:416] [2022-05-15 17:27:28 +0000.916642][2a56] setOutput:
[088:416] [2022-05-15 17:27:28 +0000.916679][2a56]
RecordingSessionInternalSimple:encoder set output to muxer!
[088:416] [2022-05-15 17:27:28 +0000.916717][2a56] request a key frame
[088:416] [2022-05-15 17:27:28 +0000.916753][2a56] H264Encode:: request a key frame
[088:416] [2022-05-15 17:27:28 +0000.916849][2a57] Start:
[088:418] [2022-05-15 17:27:28 +0000.918577][2a5a] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[088:418] [2022-05-15 17:27:28 +0000.918639][2a5a] Reset: history total size: 98
[088:418] [2022-05-15 17:27:28 +0000.918718][2a5a] DeviceStart:
audioDevice_:0x7aa4426000
[088:418] [2022-05-15 17:27:28 +0000.918744][2a5a] DeviceStart: time profile
playout init before
[088:418] [2022-05-15 17:27:28 +0000.918774][2a5a] DeviceStart: time profile
playout init end
[088:418] [2022-05-15 17:27:28 +0000.918792][2a5a] OpenSlesOutput:Start playout

[088:419] [2022-05-15 17:27:28 +0000.919723][2a5a] Create the opensl output player.


streamtype before:0

[088:419] [2022-05-15 17:27:28 +0000.919772][2a5a] Create the opensl output player.


streamtype after:3

[088:428] [2022-05-15 17:27:28 +0000.928696][2a58]


Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[088:439] [2022-05-15 17:27:28 +0000.939149][2a5a] Enqueue opensl buffer size:1764
[088:481] [2022-05-15 17:27:28 +0000.981683][2a5a] DeviceStart: time profile
playout all end
[088:481] [2022-05-15 17:27:28 +0000.981781][2a5a] operator(): Audio playback
started.
[088:482] [2022-05-15 17:27:28 +0000.982414][2b01] NeedMorePlayData: Scale the
volume to zero now!
[088:499] [2022-05-15 17:27:28 +0000.999621][2a58]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[088:503] [2022-05-15 17:27:29 +0000.3952][2a57] begine recode to first frame spend
time:153
[088:503] [2022-05-15 17:27:29 +0000.4098][2a57] add frame because frame interval.
[088:504] [2022-05-15 17:27:29 +0000.4313][2a57] TrivalImageDrawer::SetOrientation
m_orientation_: 90
[088:504] [2022-05-15 17:27:29 +0000.4373][2a57]
GPUImageProcessing::SetOrientation orientation: 90
[088:504] [2022-05-15 17:27:29 +0000.4820][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180898
[088:545] [2022-05-15 17:27:29 +0000.45794][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180898
[088:553] [2022-05-15 17:27:29 +0000.53316][2b01] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[088:562] [2022-05-15 17:27:29 +0000.63660][2a58] 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:0x7a10180400
[088:566] [2022-05-15 17:27:29 +0000.66747][2af8]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[088:581] [2022-05-15 17:27:29 +0000.81181][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180898
[088:612] [2022-05-15 17:27:29 +0000.112550][2af4] FFMpeg=> [mp3 @ 0x7a2ec62000]
Current FFmpeg version git-2021-06-16-97cea6f

[088:628] [2022-05-15 17:27:29 +0000.128569][2af5] success seekto


avformat_seek_file to: 1829000
[088:628] [2022-05-15 17:27:29 +0000.128899][2af5] Drop one audio frame for seekto,
pkt_dts 25740288 audio_seek_pos_: 1829000
[088:630] [2022-05-15 17:27:29 +0000.130316][2a5a] First audio frame rendering
[088:633] [2022-05-15 17:27:29 +0000.134088][2afa] add aac audio track with id:1
[088:643] [2022-05-15 17:27:29 +0000.143889][2afa] audio start ts:0
[088:643] [2022-05-15 17:27:29 +0000.143981][2afa] the audio frame has been written
into MP4 file
[088:648] [2022-05-15 17:27:29 +0000.148644][2af8] h264 add frame header cdr flag
[088:648] [2022-05-15 17:27:29 +0000.148963][2af8] h264 add frame header cdr flag
[088:649] [2022-05-15 17:27:29 +0000.149266][2af8] Received key frame:0
[088:649] [2022-05-15 17:27:29 +0000.149315][2af8] H264Encode:: get a sps pps
header!headerSize:32
[088:650] [2022-05-15 17:27:29 +0000.150629][2afa] get the H.264 SPS parameter
[088:650] [2022-05-15 17:27:29 +0000.150826][2afa] add video track with id:2
[088:652] [2022-05-15 17:27:29 +0000.152270][2afa] get the H.264 PPS parameter
[088:652] [2022-05-15 17:27:29 +0000.152549][2afa] get the H.264 IDR frame
[088:652] [2022-05-15 17:27:29 +0000.152585][2afa] resss:true
[088:652] [2022-05-15 17:27:29 +0000.152603][2afa] video start ts:0
[088:652] [2022-05-15 17:27:29 +0000.152649][2afa] the video frame has been written
into MP4 file
[088:701] [2022-05-15 17:27:29 +0000.201905][1f88] video render surface render a
frame
[088:703] [2022-05-15 17:27:29 +0000.203226][2a57] CropFilter::OnVideoFrame
outputtexture :10
[088:703] [2022-05-15 17:27:29 +0000.203346][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[088:794] [2022-05-15 17:27:29 +0000.294445][2b01]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[088:946] [2022-05-15 17:27:29 +0000.446360][2af8] Push an pts:532 to dts queue.
[088:980] [2022-05-15 17:27:29 +0000.480361][2af8] last dts:488 currentPts:532
ppsOrSPS:0 queue length:2
[089:007] [2022-05-15 17:27:29 +0000.507443][2a57] The convert RGB to YUV take 6
[089:038] [2022-05-15 17:27:29 +0000.538352][2a57] CameraSource::PushExtraFrame
pkt_dts: 710, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a2d842300
[089:179] [2022-05-15 17:27:29 +0000.679713][2af8] DTS queue for
Generator:0x7b0ae82ab8 843
[089:206] [2022-05-15 17:27:29 +0000.706199][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[089:505] [2022-05-15 17:27:30 +0000.5879][2a57] The convert RGB to YUV take 3
[089:677] [2022-05-15 17:27:30 +0000.177578][2b01]
PlayerSimpleBufferQueueCallbackHandler function
[089:702] [2022-05-15 17:27:30 +0000.202226][1f88] video render surface render a
frame
[089:703] [2022-05-15 17:27:30 +0000.203432][2a57] CropFilter::OnVideoFrame
outputtexture :10
[089:703] [2022-05-15 17:27:30 +0000.203565][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[089:756] [2022-05-15 17:27:30 +0000.256574][2b01]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[089:904] [2022-05-15 17:27:30 +0000.404483][2a57] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[089:904] [2022-05-15 17:27:30 +0000.404578][2a57] GPUImageProcessing: input frame
width2160 X 3840
[089:904] [2022-05-15 17:27:30 +0000.404935][2a57] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[089:904] [2022-05-15 17:27:30 +0000.405016][2a57] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[089:918] [2022-05-15 17:27:30 +0000.418538][2af8] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1775 pts:1775
[089:949] [2022-05-15 17:27:30 +0000.449193][2a58] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[090:003] [2022-05-15 17:27:30 +0000.503984][2a57] CameraSource::PushExtraFrame
pkt_dts: 1997, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a2d842300
[090:008] [2022-05-15 17:27:30 +0000.508641][2a57] The convert RGB to YUV take 4
[090:019] [2022-05-15 17:27:30 +0000.519193][2af8] DTS queue for
Generator:0x7b0ae82ab8 1952
[090:100] [2022-05-15 17:27:30 +0000.600231][2a5a] The audio playback speed:100
(1/100)
[090:100] [2022-05-15 17:27:30 +0000.600432][2a5a] lipsync_debug: The current
played audio timestamp is:1655(1/50)
[090:202] [2022-05-15 17:27:30 +0000.703084][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[090:278] [2022-05-15 17:27:30 +0000.778645][2af8] Push an pts:2307 to dts queue.
[090:312] [2022-05-15 17:27:30 +0000.812418][2af8] SendFrame
encodedImage._timeStamp:2307encodedImage->_length:58880
[090:312] [2022-05-15 17:27:30 +0000.812532][2af8] last dts:2261 currentPts:2307
ppsOrSPS:0 queue length:2
[090:467] [2022-05-15 17:27:30 +0000.967910][2a57] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9979 diff: 22
[090:473] [2022-05-15 17:27:30 +0000.973435][2af8] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2572
[090:473] [2022-05-15 17:27:30 +0000.973528][2af8] push video frame to H264
encoder. (100 frame for one log)

[090:473] [2022-05-15 17:27:30 +0000.973571][2af8] push video frame to H264


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

[090:473] [2022-05-15 17:27:30 +0000.973594][2af8] H264Encode::push video frame to


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

[090:473] [2022-05-15 17:27:30 +0000.973644][2af8] The input pts:2572 fps:30


[090:507] [2022-05-15 17:27:31 +0000.7183][2a57] The convert RGB to YUV take 4
[090:515] [2022-05-15 17:27:31 +0000.15977][2af8] H264Encode::H264SWEncoder get
callback, length:82544 type:1 nalType:1length:82540
[090:580] [2022-05-15 17:27:31 +0000.80457][2af8] h264 add frame header cdr flag
[090:580] [2022-05-15 17:27:31 +0000.80814][2af8] Received key frame:2661
[090:618] [2022-05-15 17:27:31 +0000.118357][2afa] get the H.264 IDR frame
[090:707] [2022-05-15 17:27:31 +0000.207443][1f88] video render surface render a
frame
[090:707] [2022-05-15 17:27:31 +0000.208073][2a57] CropFilter::OnVideoFrame
outputtexture :10
[090:708] [2022-05-15 17:27:31 +0000.208198][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[090:792] [2022-05-15 17:27:31 +0000.293037][2b01]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[090:848] [2022-05-15 17:27:31 +0000.348405][2af8] DTS queue for
Generator:0x7b0ae82ab8 3016 3060
[090:967] [2022-05-15 17:27:31 +0000.467302][2a57] CameraSource::PushExtraFrame
pkt_dts: 3282, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a2d842300
[091:006] [2022-05-15 17:27:31 +0000.506591][2a57] The convert RGB to YUV take 4
[091:203] [2022-05-15 17:27:31 +0000.703277][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[091:442] [2022-05-15 17:27:31 +0000.942190][2a5a] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[091:442] [2022-05-15 17:27:31 +0000.942508][2a57] OnNeedStopRecording:
[091:443] [2022-05-15 17:27:31 +0000.943118][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[091:443] [2022-05-15 17:27:31 +0000.943306][2a57] operator(): Stop
[091:443] [2022-05-15 17:27:31 +0000.943436][2a57] Stop:
[091:443] [2022-05-15 17:27:31 +0000.943527][2a5a] DeviceStop:
audioDevice_:0x7aa4426000
[091:443] [2022-05-15 17:27:31 +0000.943598][2a5a] OpenSlesOutput:Stop playout

[091:447] [2022-05-15 17:27:31 +0000.947344][2a5a] DeviceStop: Done


[091:447] [2022-05-15 17:27:31 +0000.947489][2a5a] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[091:452] [2022-05-15 17:27:31 +0000.952960][2af8]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[091:457] [2022-05-15 17:27:31 +0000.957452][2a56] stop recording
[091:457] [2022-05-15 17:27:31 +0000.957550][2a56]
RecordingSessionInternalSimple:destroy media processers
[091:457] [2022-05-15 17:27:31 +0000.957595][2a56] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[091:457] [2022-05-15 17:27:31 +0000.957625][2a56] H264Encode::flushing hareware
Encoder
[091:465] [2022-05-15 17:27:31 +0000.965555][2a56] Flush time:50626364 enter.

[091:465] [2022-05-15 17:27:31 +0000.965653][2a56] H264Encoder encoder flush


[091:465] [2022-05-15 17:27:31 +0000.965690][2a56] flush output queue
[091:795] [2022-05-15 17:27:32 +0000.295811][2a56] Flush leave. expire time = 330
ms

[091:795] [2022-05-15 17:27:32 +0000.296046][2a56] ~H264EncodeWrap:


[091:797] [2022-05-15 17:27:32 +0000.297988][2a56] ~H264Encode:
[091:797] [2022-05-15 17:27:32 +0000.298055][2a56] teardownCompressionSession:
H264Encode::destroying Encoder
[091:797] [2022-05-15 17:27:32 +0000.298091][2a56] Release time:50626696 enter.

[091:798] [2022-05-15 17:27:32 +0000.298347][2a56] Release:


MediaCodecVideoEncoder::Release _inited:1
[091:798] [2022-05-15 17:27:32 +0000.298400][2a56] Destroy time:50626697 enter.

[091:798] [2022-05-15 17:27:32 +0000.298436][2a56] H264Encoder encoderDestroy


[091:798] [2022-05-15 17:27:32 +0000.298472][2a56]
AndroidMediaCodecVideoEncoder::release env: 0x7aa42b7840
[091:798] [2022-05-15 17:27:32 +0000.298513][2a56]
AndroidMediaCodecVideoEncoder::Destroy
[091:842] [2022-05-15 17:27:32 +0000.342289][2a56] Destroy leave. expire time = 44
ms

[091:842] [2022-05-15 17:27:32 +0000.342580][2a56] Release leave. expire time = 45


ms

[091:842] [2022-05-15 17:27:32 +0000.342625][2a56] ~AndroidHwAvcEncoder


time:50626741 enter.

[091:842] [2022-05-15 17:27:32 +0000.342791][2a56] Release time:50626741 enter.

[091:842] [2022-05-15 17:27:32 +0000.342858][2a56] Release:


MediaCodecVideoEncoder:: has been released before, just return
[091:842] [2022-05-15 17:27:32 +0000.342962][2a56] Release leave. expire time = 0
ms

[091:842] [2022-05-15 17:27:32 +0000.342998][2a56] ~AndroidMediaCodecVideoEncoder


[091:842] [2022-05-15 17:27:32 +0000.343028][2a56] ~WrapAndroidMediaCodec
time:50626741 enter.

[091:842] [2022-05-15 17:27:32 +0000.343061][2a56] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[091:843] [2022-05-15 17:27:32 +0000.343105][2a56] video hevc hw codec


destructor:0x7a59f7b7d0

[091:843] [2022-05-15 17:27:32 +0000.343193][2a56] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[091:843] [2022-05-15 17:27:32 +0000.343258][2a56] teardownCompressionSession:


H264Encode::destroyed Encoder
[091:843] [2022-05-15 17:27:32 +0000.343293][2a56]
RecordingSessionInternalSimple:destroy aac encoder output!
[091:843] [2022-05-15 17:27:32 +0000.343321][2a56] AACSWEncode destructor
[091:851] [2022-05-15 17:27:32 +0000.351974][2afa] MP4 close file successfully
[091:852] [2022-05-15 17:27:32 +0000.352215][2afa] Recording session Internal:
notify recording ok
[091:852] [2022-05-15 17:27:32 +0000.352255][2afa] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_1652635642301/
record_video_50623272.mp4
[091:852] [2022-05-15 17:27:32 +0000.352292][2afa] OnRecordFinish:
[091:860] [2022-05-15 17:27:32 +0000.360408][2a57] DestroyPipelineAndFilters
time:50626759 enter.

[091:862] [2022-05-15 17:27:32 +0000.363078][2a57] UnbindInputFilter 0x7a2d842440


this 0x7a10180b80
[091:863] [2022-05-15 17:27:32 +0000.363154][2a57] UnbindInputFilter 0x7a10180b80
this 0x7a2f2c66d8
[091:863] [2022-05-15 17:27:32 +0000.363177][2a57] filter: filter pipeline destroy
this: 0x7a2f2c6640
[091:863] [2022-05-15 17:27:32 +0000.363284][2a57] ClearVideoOfSources: recodring
total frames:0
[091:863] [2022-05-15 17:27:32 +0000.363325][2a57] ClearVideoOfSources:
[091:863] [2022-05-15 17:27:32 +0000.363361][2a57] GPUImageProcessing destruct.
[091:863] [2022-05-15 17:27:32 +0000.363411][2a57] destroy TrivalImageDrawer
0x7a2f3a9f00
[091:863] [2022-05-15 17:27:32 +0000.363450][2a57] The shader has been initialize,
clean up them.

[091:864] [2022-05-15 17:27:32 +0000.364696][2a57] ~OpenGLFrameBuffer:


[091:864] [2022-05-15 17:27:32 +0000.364826][2a57] ~OpenGLFrameBuffer:
[091:864] [2022-05-15 17:27:32 +0000.364900][2a57] ~OpenGLFrameBuffer:
[091:864] [2022-05-15 17:27:32 +0000.364965][2a57] ~OpenGLFrameBuffer:
[091:864] [2022-05-15 17:27:32 +0000.365032][2a57] ~OpenGLFrameBuffer:
[091:865] [2022-05-15 17:27:32 +0000.365157][2a57] ~OpenGLFrameBuffer:
[091:865] [2022-05-15 17:27:32 +0000.365599][2a57] GPUImageProcessing destruct
finish.
[091:865] [2022-05-15 17:27:32 +0000.365667][2a57] GPURGBAFrame destruct.
[091:865] [2022-05-15 17:27:32 +0000.365854][2a57] destroy OpenGLRenderProgram
0x7a10180898
[091:865] [2022-05-15 17:27:32 +0000.365890][2a57] ~CameraSource time:50626764
enter.

[091:865] [2022-05-15 17:27:32 +0000.365916][2a57] ~CameraSource leave. expire


time = 0 ms

[091:866] [2022-05-15 17:27:32 +0000.367067][2a57] DestroyPipelineAndFilters


leave. expire time = 6 ms

[093:433] [2022-05-15 17:27:33 +0000.933804][6c7a] SetOrientation:


MediaFilterCamera:: SetOrientation: 90
[093:433] [2022-05-15 17:27:33 +0000.933873][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera orientation: 90
[093:433] [2022-05-15 17:27:33 +0000.933999][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StartRecordingJni:
[093:436] [2022-05-15 17:27:33 +0000.936266][2a57] MediaFilterCamera, recording
file context:0x7b180f8d80 input texture:7
[093:436] [2022-05-15 17:27:33 +0000.936364][2a57] construct OpenGLRenderProgram
0x7a10180498
[093:436] [2022-05-15 17:27:33 +0000.936435][2a57] CropFilter::SetOrientation
orientation: 90
[093:436] [2022-05-15 17:27:33 +0000.936482][2a57] filter: filter pipeline
construtc this: 0x7a2f33da40
[093:436] [2022-05-15 17:27:33 +0000.936528][2a57] filter: filter pipeline2 update
pattern: 1
[093:436] [2022-05-15 17:27:33 +0000.936574][2a57] CameraSource::source_id_:10
[093:438] [2022-05-15 17:27:33 +0000.938256][2a57] SetPlayLoop: AudioSource
SetPlayLoop 0
[093:438] [2022-05-15 17:27:33 +0000.938396][2a57]
Warning(media_filter_camera.cc:483): seekPos:5629
[093:438] [2022-05-15 17:27:33 +0000.938465][2a57] BindInputFilter 0x7a2d842440
this 0x7a10180780
[093:438] [2022-05-15 17:27:33 +0000.938556][2a57] BindInputFilter 0x7a10180780
this 0x7a2f33dad8
[093:438] [2022-05-15 17:27:33 +0000.938696][2a57] SetParamForFilter time:50628337
enter.

[093:438] [2022-05-15 17:27:33 +0000.938748][2a57] SetParamForFilter: Params video


index is: 2
[093:438] [2022-05-15 17:27:33 +0000.938821][2a57] SetParamForFilter: Params seek
pos is: 2
[093:438] [2022-05-15 17:27:33 +0000.938870][2a57] crop filter video index:2
folderpath: /data/user/0/com.android.camera/no_backup/vv/template/vv.artslow/
movie_mode: 0
[093:438] [2022-05-15 17:27:33 +0000.938913][2a57] Error(crop_filter.cc:395):
CropFilter config path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//config.json
[093:439] [2022-05-15 17:27:33 +0000.939303][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:439] [2022-05-15 17:27:33 +0000.939350][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:439] [2022-05-15 17:27:33 +0000.939394][2a57]
exp_des.start:0exp_des.end:3540exp_des.expressionstr:0.5
[093:439] [2022-05-15 17:27:33 +0000.939442][2a57]
exp_des.start:0exp_des.end:3540exp_des.expressionstr:0.5
[093:439] [2022-05-15 17:27:33 +0000.939600][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:439] [2022-05-15 17:27:33 +0000.939652][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:439] [2022-05-15 17:27:33 +0000.939687][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:439] [2022-05-15 17:27:33 +0000.939885][2a57]
exp_des.start:0exp_des.end:3540exp_des.expressionstr:0.75
[093:439] [2022-05-15 17:27:33 +0000.939924][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:439] [2022-05-15 17:27:33 +0000.940010][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:439] [2022-05-15 17:27:33 +0000.940060][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:440] [2022-05-15 17:27:33 +0000.940105][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:440] [2022-05-15 17:27:33 +0000.940197][2a57]
Warning(parse_template_json.cc:45): json parament no found the parament
[093:440] [2022-05-15 17:27:33 +0000.940250][2a57]
Warning(parse_template_json.cc:95): json parament no found the parament
[093:440] [2022-05-15 17:27:33 +0000.940293][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
filterpath
[093:440] [2022-05-15 17:27:33 +0000.940332][2a57] CropFilter::ConfigExtraFiles
Video filter default path:
/data/user/0/com.android.camera/no_backup/vv/template/vv.artslow//filter.png
[093:440] [2022-05-15 17:27:33 +0000.940376][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
imagepath
[093:440] [2022-05-15 17:27:33 +0000.940419][2a57]
Warning(parse_template_json.cc:119): json parament no found the operatorname:
videopath
[093:441] [2022-05-15 17:27:33 +0000.941746][2a57] SetParamForFilter leave. expire
time = 3 ms

[093:441] [2022-05-15 17:27:33 +0000.941907][2a57] OnOutputSizeChanged width 1920


height 1080
[093:441] [2022-05-15 17:27:33 +0000.941956][2a57] OpenGLFrameBuffer: width:1920
height:1080
[093:441] [2022-05-15 17:27:33 +0000.941996][2a57] OpenGLFrameBuffer: width:1920
height:1080
[093:441] [2022-05-15 17:27:33 +0000.942021][2a57] OpenGLFrameBuffer: width:1920
height:1080
[093:441] [2022-05-15 17:27:33 +0000.942068][2a57] OpenGLFrameBuffer: width:1920
height:1080
[093:442] [2022-05-15 17:27:33 +0000.942128][2a57] OpenGLFrameBuffer: width:1920
height:1080
[093:442] [2022-05-15 17:27:33 +0000.942170][2a57] OpenGLFrameBuffer: width:1920
height:1080
[093:442] [2022-05-15 17:27:33 +0000.942198][2a57] construct TrivalImageDrawer
0x7a2f3a9f00
[093:442] [2022-05-15 17:27:33 +0000.942264][2a57] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7a2f3a9f00 context 0x7a3b12ab00
[093:442] [2022-05-15 17:27:33 +0000.942308][2a57] setupGLES:
[093:446] [2022-05-15 17:27:33 +0000.946263][2a57] OpenGLRenderProgram::Initialize.
[093:446] [2022-05-15 17:27:33 +0000.946344][2a57] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[093:446] [2022-05-15 17:27:33 +0000.946377][2a57] 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
[093:446] [2022-05-15 17:27:33 +0000.946436][2a57] Init open gl render:
0x7a10180498
[093:446] [2022-05-15 17:27:33 +0000.946486][2a57] Fragement shader path:
[093:446] [2022-05-15 17:27:33 +0000.946527][2a57] Fragement shader path:
[093:446] [2022-05-15 17:27:33 +0000.946561][2a57] create opengl program object.
[093:446] [2022-05-15 17:27:33 +0000.946584][2a57] create shader: vertex
[093:446] [2022-05-15 17:27:33 +0000.946921][2a57] create shader: fragment
[093:459] [2022-05-15 17:27:33 +0000.959877][2a57] External image path is empty!
[093:459] [2022-05-15 17:27:33 +0000.959967][2a57] Error(crop_filter.cc:464): Init
the image texture failed.
[093:459] [2022-05-15 17:27:33 +0000.959993][2a57] OpenGLRenderProgram::Initialize
success.
[093:459] [2022-05-15 17:27:33 +0000.960050][2a57] Setup the OpenGL result:1
[093:460] [2022-05-15 17:27:33 +0000.960492][2a56] start recording, file
path:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50628359.mp4
[093:460] [2022-05-15 17:27:33 +0000.960667][2a56] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50628359.mp4 fileFd: -1 audio_timescale:44100 video_timescale:90000
[093:460] [2022-05-15 17:27:33 +0000.960712][2a56] 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
[093:460] [2022-05-15 17:27:33 +0000.960796][2a56] 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_165263564230
1/record_video_50628359.mp4 fileFD: -1
[093:461] [2022-05-15 17:27:33 +0000.961185][2a56] MP4
file:/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_165263564230
1/record_video_50628359.mp4 is opened successfully
[093:461] [2022-05-15 17:27:33 +0000.961230][2a56] setupMediaProcessers:
[093:461] [2022-05-15 17:27:33 +0000.961257][2a56]
RecordingSessionInternalSimple:setup media processers.
[093:461] [2022-05-15 17:27:33 +0000.961278][2a56] construct AAC encoder
[093:461] [2022-05-15 17:27:33 +0000.961477][2a56] H264Encoder creating:
superfast011818
[093:461] [2022-05-15 17:27:33 +0000.961521][2a56] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:14680064 useHWEncoder:0
[093:461] [2022-05-15 17:27:33 +0000.961911][2a56] H264Encode::GetMachineModel is
Mi 10
[093:461] [2022-05-15 17:27:33 +0000.961953][2a56] H264Encoder machine_mode is:Mi
10
[093:461] [2022-05-15 17:27:33 +0000.961994][2a56] setupCompressionSession:
[093:461] [2022-05-15 17:27:33 +0000.962039][2a56] H264Encode::creating hareware
Encoder
[093:461] [2022-05-15 17:27:33 +0000.962087][2a56] AndroidHwAvcEncoder
time:50628360 enter.

[093:462] [2022-05-15 17:27:33 +0000.962284][2a56] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b35e21540 address:0x7a06511050
[093:462] [2022-05-15 17:27:33 +0000.962401][2a56] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[093:462] [2022-05-15 17:27:33 +0000.962439][2a56] The video avc hw codec address
is 0x7a59f7bf48
[093:462] [2022-05-15 17:27:33 +0000.962518][2a56] AndroidHwAvcEncoder leave.
expire time = 1 ms

[093:462] [2022-05-15 17:27:33 +0000.962557][2a56] RegisterEncodeCompleteCallback


time:50628361 enter.

[093:462] [2022-05-15 17:27:33 +0000.962663][2a56] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[093:462] [2022-05-15 17:27:33 +0000.962709][2a56] InitEncode time:50628361 enter.

[093:462] [2022-05-15 17:27:33 +0000.962867][2a56] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[093:462] [2022-05-15 17:27:33 +0000.962912][2a56] Create time:50628361 enter.

[093:462] [2022-05-15 17:27:33 +0000.962949][2a56] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:14680064 usingVbrMode:1
[093:462] [2022-05-15 17:27:33 +0000.962993][2a56]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 14680064, usingVbr: 1, VideoEncoder: 0x7b0b014740
[093:463] [2022-05-15 17:27:33 +0000.963150][2a56]
supported_type:image/vnd.android.heic
[093:463] [2022-05-15 17:27:33 +0000.963206][2a56] supported_type:video/avc
[093:463] [2022-05-15 17:27:33 +0000.963239][2a56] name:OMX.qcom.video.encoder.avc
mime:video/avc
[093:463] [2022-05-15 17:27:33 +0000.963290][2a56] hwCodecPrefix :OMX.qcom.
[093:463] [2022-05-15 17:27:33 +0000.963328][2a56] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[093:463] [2022-05-15 17:27:33 +0000.963370][2a56] mediacodec_createCodecByName
time:50628362 enter.

[093:463] [2022-05-15 17:27:33 +0000.963406][2a56] WrapAndroidMediaCodec


time:50628362 enter.

[093:463] [2022-05-15 17:27:33 +0000.963522][2a56] WrapAndroidMediaCodec leave.


expire time = 0 ms

[093:460] [2022-05-15 17:27:33 +0000.960687][2b87] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7b0ae82898
[093:470] [2022-05-15 17:27:33 +0000.970291][2a58]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[093:472] [2022-05-15 17:27:33 +0000.972286][2a56] mediacodec_createCodecByName
leave. expire time = 9 ms

[093:472] [2022-05-15 17:27:33 +0000.972349][2a56] WrapAndroidMediaFromat


time:50628371 enter.

[093:472] [2022-05-15 17:27:33 +0000.972413][2a56] WrapAndroidMediaFromat leave.


expire time = 0 ms
[093:501] [2022-05-15 17:27:34 +0000.1365][2a56] Destroy time:50628400 enter.

[093:501] [2022-05-15 17:27:34 +0000.1442][2a56] WrapAndroidMediaFromat:: Destroy


[093:501] [2022-05-15 17:27:34 +0000.1468][2a56] Destroy leave. expire time = 0 ms

[093:501] [2022-05-15 17:27:34 +0000.1489][2a56] ~WrapAndroidMediaFromat


time:50628400 enter.

[093:501] [2022-05-15 17:27:34 +0000.1532][2a56] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[093:501] [2022-05-15 17:27:34 +0000.1554][2a56] Create leave. expire time = 39 ms

[093:501] [2022-05-15 17:27:34 +0000.1584][2a56] isSemiPlanarSupport time:50628400


enter.

[093:501] [2022-05-15 17:27:34 +0000.1624][2a56] H264Encoder isSemiPlanarSupport


[093:501] [2022-05-15 17:27:34 +0000.1667][2a56] isSemiPlanarSupport leave. expire
time = 0 ms

[093:501] [2022-05-15 17:27:34 +0000.1706][2a56] creat hw H264Encoder success,


isSemiPlanar:1
[093:501] [2022-05-15 17:27:34 +0000.1827][2a56] InitEncode leave. expire time =
39 ms

[093:501] [2022-05-15 17:27:34 +0000.1866][2a56] H264Encode::created Encoder


[093:501] [2022-05-15 17:27:34 +0000.1888][2a56] H264Encode:: H264 encoder created.
[093:501] [2022-05-15 17:27:34 +0000.1907][2a56] H264 encoder created.
[093:501] [2022-05-15 17:27:34 +0000.1925][2a56]
RecordingSessionInternalSimple:created avc encoder avc: 0x7aa42b7840
[093:501] [2022-05-15 17:27:34 +0000.1947][2a56] setOutput:
[093:501] [2022-05-15 17:27:34 +0000.1991][2a56]
RecordingSessionInternalSimple:encoder set output to muxer!
[093:501] [2022-05-15 17:27:34 +0000.2031][2a56] request a key frame
[093:501] [2022-05-15 17:27:34 +0000.2072][2a56] H264Encode:: request a key frame
[093:502] [2022-05-15 17:27:34 +0000.2131][2a57] Start:
[093:502] [2022-05-15 17:27:34 +0000.2274][2a5a] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[093:502] [2022-05-15 17:27:34 +0000.2322][2a5a] Reset: history total size: 98
[093:502] [2022-05-15 17:27:34 +0000.2368][2a5a] DeviceStart:
audioDevice_:0x7aa4426000
[093:502] [2022-05-15 17:27:34 +0000.2404][2a5a] DeviceStart: time profile playout
init before
[093:502] [2022-05-15 17:27:34 +0000.2446][2a5a] DeviceStart: time profile playout
init end
[093:502] [2022-05-15 17:27:34 +0000.2480][2a5a] OpenSlesOutput:Start playout

[093:502] [2022-05-15 17:27:34 +0000.3018][2a5a] Create the opensl output player.


streamtype before:0

[093:502] [2022-05-15 17:27:34 +0000.3068][2a5a] Create the opensl output player.


streamtype after:3

[093:527] [2022-05-15 17:27:34 +0000.27137][2a5a] Enqueue opensl buffer size:1764


[093:542] [2022-05-15 17:27:34 +0000.42700][2a58]
Warning(media_filter_camera.cc:431): media pull audio frame failed:4
[093:566] [2022-05-15 17:27:34 +0000.66198][2a5a] DeviceStart: time profile playout
all end
[093:566] [2022-05-15 17:27:34 +0000.66299][2a5a] operator(): Audio playback
started.
[093:567] [2022-05-15 17:27:34 +0000.67173][2b8d] NeedMorePlayData: Scale the
volume to zero now!
[093:579] [2022-05-15 17:27:34 +0000.79552][2a57] begine recode to first frame
spend time:143
[093:579] [2022-05-15 17:27:34 +0000.79646][2a57] add frame because frame interval.
[093:579] [2022-05-15 17:27:34 +0000.79825][2a57]
TrivalImageDrawer::SetOrientation m_orientation_: 90
[093:579] [2022-05-15 17:27:34 +0000.79865][2a57]
GPUImageProcessing::SetOrientation orientation: 90
[093:580] [2022-05-15 17:27:34 +0000.80411][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180498
[093:600] [2022-05-15 17:27:34 +0000.100719][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180498
[093:617] [2022-05-15 17:27:34 +0000.117616][2b86]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[093:618] [2022-05-15 17:27:34 +0000.119058][2a58] 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:0x7a10180800
[093:624] [2022-05-15 17:27:34 +0000.124210][2a57] drawYUV420 render
OpenGLRenderProgram:0x7a10180498
[093:633] [2022-05-15 17:27:34 +0000.133180][2a57] The convert RGB to YUV take 7
[093:676] [2022-05-15 17:27:34 +0000.176489][2b81] FFMpeg=> [mp3 @ 0x7a2ec62600]
Current FFmpeg version git-2021-06-16-97cea6f

[093:694] [2022-05-15 17:27:34 +0000.194696][2b82] success seekto


avformat_seek_file to: 5629000
[093:694] [2022-05-15 17:27:34 +0000.194832][2b82] Drop one audio frame for seekto,
pkt_dts 79252992 audio_seek_pos_: 5629000
[093:695] [2022-05-15 17:27:34 +0000.195835][2a5a] First audio frame rendering
[093:696] [2022-05-15 17:27:34 +0000.196229][2b87] add aac audio track with id:1
[093:708] [2022-05-15 17:27:34 +0000.208611][2b87] audio start ts:0
[093:708] [2022-05-15 17:27:34 +0000.208728][2b87] the audio frame has been written
into MP4 file
[093:708] [2022-05-15 17:27:34 +0000.208842][2b86] h264 add frame header cdr flag
[093:709] [2022-05-15 17:27:34 +0000.209554][2b86] h264 add frame header cdr flag
[093:709] [2022-05-15 17:27:34 +0000.209947][2b86] Received key frame:0
[093:709] [2022-05-15 17:27:34 +0000.210006][2b86] H264Encode:: get a sps pps
header!headerSize:32
[093:710] [2022-05-15 17:27:34 +0000.210577][2b87] get the H.264 SPS parameter
[093:710] [2022-05-15 17:27:34 +0000.210840][2b87] add video track with id:2
[093:711] [2022-05-15 17:27:34 +0000.211931][2b87] get the H.264 PPS parameter
[093:714] [2022-05-15 17:27:34 +0000.214258][2b87] get the H.264 IDR frame
[093:714] [2022-05-15 17:27:34 +0000.214329][2b87] resss:true
[093:714] [2022-05-15 17:27:34 +0000.214351][2b87] video start ts:0
[093:715] [2022-05-15 17:27:34 +0000.215858][2b87] the video frame has been written
into MP4 file
[093:764] [2022-05-15 17:27:34 +0000.264450][2b86] Push an pts:221 to dts queue.
[093:791] [2022-05-15 17:27:34 +0000.291903][1f88] video render surface render a
frame
[093:793] [2022-05-15 17:27:34 +0000.293548][2a57] CropFilter::OnVideoFrame
outputtexture :11
[093:793] [2022-05-15 17:27:34 +0000.293646][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[093:793] [2022-05-15 17:27:34 +0000.294008][2b8d]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[093:803] [2022-05-15 17:27:34 +0000.303582][2b86] last dts:177 currentPts:221
ppsOrSPS:0 queue length:2
[093:803] [2022-05-15 17:27:34 +0000.303790][2b86] DTS queue for
Generator:0x7b0ae82ab8 265
[094:028] [2022-05-15 17:27:34 +0000.528677][2a57] CameraSource::PushExtraFrame
pkt_dts: 621, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a2d842300
[094:135] [2022-05-15 17:27:34 +0000.635519][2a57] The convert RGB to YUV take 6
[094:236] [2022-05-15 17:27:34 +0000.736366][2a57] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[094:294] [2022-05-15 17:27:34 +0000.794944][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[094:460] [2022-05-15 17:27:34 +0000.960354][2a58] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[094:632] [2022-05-15 17:27:35 +0000.133047][2a57] The convert RGB to YUV take 4
[094:635] [2022-05-15 17:27:35 +0000.136067][2a57] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10983 diff: 18
[094:642] [2022-05-15 17:27:35 +0000.142256][2b86] DTS queue for
Generator:0x7b0ae82ab8 1375
[094:684] [2022-05-15 17:27:35 +0000.184987][2a5a] The audio playback speed:100
(1/100)
[094:684] [2022-05-15 17:27:35 +0000.185279][2a5a] lipsync_debug: The current
played audio timestamp is:1103(1/50)
[094:792] [2022-05-15 17:27:35 +0000.293036][1f88] video render surface render a
frame
[094:793] [2022-05-15 17:27:35 +0000.293708][2a57] CropFilter::OnVideoFrame
outputtexture :11
[094:793] [2022-05-15 17:27:35 +0000.293831][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[094:834] [2022-05-15 17:27:35 +0000.334177][2b8d]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[094:994] [2022-05-15 17:27:35 +0000.494252][2a57] CameraSource::PushExtraFrame
pkt_dts: 1908, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a2d842300
[095:097] [2022-05-15 17:27:35 +0000.598056][2b86] Push an pts:1996 to dts queue.
[095:130] [2022-05-15 17:27:35 +0000.630412][2a57] The convert RGB to YUV take 3
[095:137] [2022-05-15 17:27:35 +0000.637892][2b86] last dts:1952 currentPts:1996
ppsOrSPS:0 queue length:2
[095:293] [2022-05-15 17:27:35 +0000.793863][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[095:358] [2022-05-15 17:27:35 +0000.858685][2a57] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[095:358] [2022-05-15 17:27:35 +0000.858770][2a57] GPUImageProcessing: input frame
width2160 X 3840
[095:359] [2022-05-15 17:27:35 +0000.859164][2a57] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[095:359] [2022-05-15 17:27:35 +0000.859217][2a57] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[095:369] [2022-05-15 17:27:35 +0000.869297][2b86] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2307 pts:2307
[095:473] [2022-05-15 17:27:35 +0000.973844][2b86] DTS queue for
Generator:0x7b0ae82ab8 2484
[095:630] [2022-05-15 17:27:36 +0000.131077][2a57] The convert RGB to YUV take 3
[095:637] [2022-05-15 17:27:36 +0000.137558][2b86] h264 add frame header cdr flag
[095:637] [2022-05-15 17:27:36 +0000.137927][2b86] Received key frame:2661
[095:676] [2022-05-15 17:27:36 +0000.176420][2b87] get the H.264 IDR frame
[095:713] [2022-05-15 17:27:36 +0000.214040][2a58] FilterPipeline2::OnAudioFrame
pts 2207 last_audio_timestamp_ 2207
[095:795] [2022-05-15 17:27:36 +0000.295768][1f88] video render surface render a
frame
[095:796] [2022-05-15 17:27:36 +0000.296328][2a57] CropFilter::OnVideoFrame
outputtexture :11
[095:796] [2022-05-15 17:27:36 +0000.296455][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[095:798] [2022-05-15 17:27:36 +0000.298381][2b8d]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[095:806] [2022-05-15 17:27:36 +0000.306112][2b86] SendFrame
encodedImage._timeStamp:2869encodedImage->_length:73056
[095:958] [2022-05-15 17:27:36 +0000.458519][2a57] CameraSource::PushExtraFrame
pkt_dts: 3181, width: 2160, height: 3840, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7a2d842300
[095:999] [2022-05-15 17:27:36 +0000.499982][2b86] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3180
[096:000] [2022-05-15 17:27:36 +0000.500107][2b86] push video frame to H264
encoder. (100 frame for one log)

[096:000] [2022-05-15 17:27:36 +0000.500161][2b86] push video frame to H264


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

[096:000] [2022-05-15 17:27:36 +0000.500193][2b86] H264Encode::push video frame to


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

[096:000] [2022-05-15 17:27:36 +0000.500260][2b86] The input pts:3180 fps:30


[096:036] [2022-05-15 17:27:36 +0000.536986][2b86] H264Encode::H264SWEncoder get
callback, length:74320 type:1 nalType:1length:74316
[096:127] [2022-05-15 17:27:36 +0000.627142][2a57] The convert RGB to YUV take 5
[096:162] [2022-05-15 17:27:36 +0000.662890][2b83]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2623queue_audio_frame_:1
[096:292] [2022-05-15 17:27:36 +0000.792410][2a57] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[096:297] [2022-05-15 17:27:36 +0000.797587][2a5a] Warning(audio_playback.cc:734):
operator(): Audio playback paused.
[096:297] [2022-05-15 17:27:36 +0000.797730][2a57] OnNeedStopRecording:
[096:298] [2022-05-15 17:27:36 +0000.798259][6c7a]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_StopRecordingJni:
[096:298] [2022-05-15 17:27:36 +0000.798438][2a57] operator(): Stop
[096:298] [2022-05-15 17:27:36 +0000.798612][2a57] Stop:
[096:298] [2022-05-15 17:27:36 +0000.798681][2a5a] DeviceStop:
audioDevice_:0x7aa4426000
[096:298] [2022-05-15 17:27:36 +0000.798763][2a5a] OpenSlesOutput:Stop playout

[096:300] [2022-05-15 17:27:36 +0000.800708][2a5a] DeviceStop: Done


[096:300] [2022-05-15 17:27:36 +0000.800876][2a5a] Warning(audio_playback.cc:716):
operator(): Audio playback stopped.
[096:302] [2022-05-15 17:27:36 +0000.802126][2b86]
MediaFilterCamera::WriteVideoFrametoMP4_w quit
[096:308] [2022-05-15 17:27:36 +0000.808472][2a56] stop recording
[096:308] [2022-05-15 17:27:36 +0000.808568][2a56]
RecordingSessionInternalSimple:destroy media processers
[096:308] [2022-05-15 17:27:36 +0000.808597][2a56] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[096:308] [2022-05-15 17:27:36 +0000.808621][2a56] H264Encode::flushing hareware
Encoder
[096:308] [2022-05-15 17:27:36 +0000.808862][2a56] Flush time:50631207 enter.

[096:308] [2022-05-15 17:27:36 +0000.808920][2a56] H264Encoder encoder flush


[096:308] [2022-05-15 17:27:36 +0000.808948][2a56] flush output queue
[096:309] [2022-05-15 17:27:36 +0000.809788][2a56] DTS queue for
Generator:0x7b0ae82ab8
[096:632] [2022-05-15 17:27:37 +0000.132429][2a56] Flush leave. expire time = 324
ms

[096:632] [2022-05-15 17:27:37 +0000.132681][2a56] ~H264EncodeWrap:


[096:632] [2022-05-15 17:27:37 +0000.132752][2a56] ~H264Encode:
[096:632] [2022-05-15 17:27:37 +0000.132800][2a56] teardownCompressionSession:
H264Encode::destroying Encoder
[096:632] [2022-05-15 17:27:37 +0000.132869][2a56] Release time:50631531 enter.

[096:633] [2022-05-15 17:27:37 +0000.133152][2a56] Release:


MediaCodecVideoEncoder::Release _inited:1
[096:633] [2022-05-15 17:27:37 +0000.133220][2a56] Destroy time:50631532 enter.

[096:633] [2022-05-15 17:27:37 +0000.133375][2a56] H264Encoder encoderDestroy


[096:633] [2022-05-15 17:27:37 +0000.133431][2a56]
AndroidMediaCodecVideoEncoder::release env: 0x7a59cf6a80
[096:633] [2022-05-15 17:27:37 +0000.133479][2a56]
AndroidMediaCodecVideoEncoder::Destroy
[096:693] [2022-05-15 17:27:37 +0000.193194][2a56] Destroy leave. expire time = 60
ms

[096:693] [2022-05-15 17:27:37 +0000.193438][2a56] Release leave. expire time = 61


ms

[096:693] [2022-05-15 17:27:37 +0000.193492][2a56] ~AndroidHwAvcEncoder


time:50631592 enter.

[096:693] [2022-05-15 17:27:37 +0000.193671][2a56] Release time:50631592 enter.

[096:693] [2022-05-15 17:27:37 +0000.193722][2a56] Release:


MediaCodecVideoEncoder:: has been released before, just return
[096:693] [2022-05-15 17:27:37 +0000.193758][2a56] Release leave. expire time = 0
ms

[096:693] [2022-05-15 17:27:37 +0000.193791][2a56] ~AndroidMediaCodecVideoEncoder


[096:693] [2022-05-15 17:27:37 +0000.193822][2a56] ~WrapAndroidMediaCodec
time:50631592 enter.

[096:693] [2022-05-15 17:27:37 +0000.193856][2a56] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[096:693] [2022-05-15 17:27:37 +0000.193890][2a56] video hevc hw codec


destructor:0x7a59f7bf48

[096:693] [2022-05-15 17:27:37 +0000.193967][2a56] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[096:693] [2022-05-15 17:27:37 +0000.194018][2a56] teardownCompressionSession:


H264Encode::destroyed Encoder
[096:693] [2022-05-15 17:27:37 +0000.194054][2a56]
RecordingSessionInternalSimple:destroy aac encoder output!
[096:693] [2022-05-15 17:27:37 +0000.194081][2a56] AACSWEncode destructor
[096:698] [2022-05-15 17:27:37 +0000.198170][2b87] MP4 close file successfully
[096:698] [2022-05-15 17:27:37 +0000.198235][2b87] Recording session Internal:
notify recording ok
[096:698] [2022-05-15 17:27:37 +0000.198286][2b87] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/vv/workspace/vv.artslow_1652635642301/
record_video_50628359.mp4
[096:698] [2022-05-15 17:27:37 +0000.198328][2b87] OnRecordFinish:
[096:699] [2022-05-15 17:27:37 +0000.200065][2a57] DestroyPipelineAndFilters
time:50631598 enter.

[096:700] [2022-05-15 17:27:37 +0000.200968][2a57] UnbindInputFilter 0x7a2d842440


this 0x7a10180780
[096:700] [2022-05-15 17:27:37 +0000.201069][2a57] UnbindInputFilter 0x7a10180780
this 0x7a2f33dad8
[096:701] [2022-05-15 17:27:37 +0000.201134][2a57] filter: filter pipeline destroy
this: 0x7a2f33da40
[096:701] [2022-05-15 17:27:37 +0000.201239][2a57] ClearVideoOfSources: recodring
total frames:0
[096:704] [2022-05-15 17:27:37 +0000.204551][2a57] ClearVideoOfSources:
[096:704] [2022-05-15 17:27:37 +0000.204634][2a57] GPUImageProcessing destruct.
[096:704] [2022-05-15 17:27:37 +0000.204695][2a57] destroy TrivalImageDrawer
0x7a2f3a9f00
[096:704] [2022-05-15 17:27:37 +0000.204728][2a57] The shader has been initialize,
clean up them.

[096:704] [2022-05-15 17:27:37 +0000.205065][2a57] ~OpenGLFrameBuffer:


[096:705] [2022-05-15 17:27:37 +0000.205231][2a57] ~OpenGLFrameBuffer:
[096:705] [2022-05-15 17:27:37 +0000.205365][2a57] ~OpenGLFrameBuffer:
[096:705] [2022-05-15 17:27:37 +0000.205456][2a57] ~OpenGLFrameBuffer:
[096:706] [2022-05-15 17:27:37 +0000.206485][2a57] ~OpenGLFrameBuffer:
[096:706] [2022-05-15 17:27:37 +0000.206578][2a57] ~OpenGLFrameBuffer:
[096:706] [2022-05-15 17:27:37 +0000.207021][2a57] GPUImageProcessing destruct
finish.
[096:706] [2022-05-15 17:27:37 +0000.207092][2a57] GPURGBAFrame destruct.
[096:707] [2022-05-15 17:27:37 +0000.207289][2a57] destroy OpenGLRenderProgram
0x7a10180498
[096:707] [2022-05-15 17:27:37 +0000.207332][2a57] ~CameraSource time:50631606
enter.

[096:707] [2022-05-15 17:27:37 +0000.207363][2a57] ~CameraSource leave. expire


time = 0 ms

[096:710] [2022-05-15 17:27:37 +0000.210573][2a57] DestroyPipelineAndFilters


leave. expire time = 11 ms

[099:744] [2022-05-15 17:27:40 +0000.244407][6c7a]


Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[099:744] [2022-05-15 17:27:40 +0000.244830][6c7a] ~MediaFilterCamera time:50634643
enter.

[099:747] [2022-05-15 17:27:40 +0000.247195][6c7a] Stop:


[099:750] [2022-05-15 17:27:40 +0000.250703][2a5a] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[099:759] [2022-05-15 17:27:40 +0000.259409][2a56] stop recording
[099:759] [2022-05-15 17:27:40 +0000.259538][2a56] we have stopped recording before
[099:767] [2022-05-15 17:27:40 +0000.267232][6c7a] Stop:
[099:767] [2022-05-15 17:27:40 +0000.267658][2a5a] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[099:768] [2022-05-15 17:27:40 +0000.268870][6c7a] DeviceRelease:
audioDevice_:0x7aa4426000
[099:768] [2022-05-15 17:27:40 +0000.268958][6c7a] OpenSlesOutput:Stop playout

[099:768] [2022-05-15 17:27:40 +0000.269029][6c7a] DeviceRelease: Release the


webrtc device object.
[099:770] [2022-05-15 17:27:40 +0000.270658][6c7a] OpenSlesOutput destruct.
[099:770] [2022-05-15 17:27:40 +0000.270801][6c7a] DeviceRelease: Done
[099:781] [2022-05-15 17:27:40 +0000.281268][6c7a] DestroyPipelineAndFilters
time:50634680 enter.

[099:781] [2022-05-15 17:27:40 +0000.281452][6c7a] DestroyPipelineAndFilters


leave. expire time = 0 ms

[099:781] [2022-05-15 17:27:40 +0000.281491][6c7a] ~MediaFilterCamera leave.


expire time = 37 ms

[099:782] [2022-05-15 17:27:40 +0000.283085][6c7a] ~GLESContext:


[099:792] [2022-05-15 17:27:40 +0000.292729][6c7a] GLESContext destruct finish.
[099:792] [2022-05-15 17:27:40 +0000.292904][6c7a] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[099:794] [2022-05-15 17:27:40 +0000.294632][6c7a] global uninited!
[099:794] [2022-05-15 17:27:40 +0000.294931][6c7a] clear AppID 123
[099:794] [2022-05-15 17:27:40 +0000.295005][6c7a] UnRegister JVM for Xplatform
util
[099:794] [2022-05-15 17:27:40 +0000.295047][6c7a] Dispose::unregister webrtc video
engine
[099:794] [2022-05-15 17:27:40 +0000.295078][6c7a] Init the android object with
jvm:0x0 env:0x0 context:0x0

[099:795] [2022-05-15 17:27:40 +0000.295121][6c7a] SetAndroidMediaCodecObjects


time:50634694 enter.

[099:795] [2022-05-15 17:27:40 +0000.295156][6c7a] ClearAndroidMediaCodecObjects


time:50634694 enter.

[099:795] [2022-05-15 17:27:40 +0000.295194][6c7a] Cl

You might also like

pFad - Phonifier reborn

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

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


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy