Trace
Trace
Trace
206453][50f8] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-02-
12 14:58:32 +0000
[000:138] [2024-02-12 14:58:32 +0000.206938][50f8] set AppID=123 old AppID=-1
[000:138] [2024-02-12 14:58:32 +0000.206992][50f8] Init the android object with
jvm:0xb400007afc090380 env:0x7a33e1d600 context:0x7ae1586bb8
[014:052] [2024-02-12 14:58:46 +0000.120838][5709] h264 add frame header cdr flag
[014:053] [2024-02-12 14:58:46 +0000.121346][5709] Received key frame:2000
[014:057] [2024-02-12 14:58:46 +0000.126121][570a] get the H.264 IDR frame
[014:065] [2024-02-12 14:58:46 +0000.133585][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[014:065] [2024-02-12 14:58:46 +0000.133742][5324] NeedProcessTexture time:67947689
enter.
[017:953] [2024-02-12 14:58:50 +0000.22002][5719] h264 add frame header cdr flag
[017:954] [2024-02-12 14:58:50 +0000.22540][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[017:954] [2024-02-12 14:58:50 +0000.22843][5324] NeedProcessTexture time:67951578
enter.
[046:058] [2024-02-12 14:59:18 +0000.126475][5777] h264 add frame header cdr flag
[046:058] [2024-02-12 14:59:18 +0000.127049][5777] Received key frame:2756
[046:064] [2024-02-12 14:59:18 +0000.132620][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[046:064] [2024-02-12 14:59:18 +0000.132761][5324] NeedProcessTexture time:67979688
enter.
[047:959] [2024-02-12 14:59:20 +0000.27806][5789] h264 add frame header cdr flag
[047:961] [2024-02-12 14:59:20 +0000.29454][5789] h264 add frame header cdr flag
[047:961] [2024-02-12 14:59:20 +0000.29959][5789] Received key frame:0
[047:961] [2024-02-12 14:59:20 +0000.30019][5789] H264Encode:: get a sps pps
header!headerSize:32
[047:962] [2024-02-12 14:59:20 +0000.30448][578a] get the H.264 SPS parameter
[047:962] [2024-02-12 14:59:20 +0000.30737][578a] add video track with id:2
[047:963] [2024-02-12 14:59:20 +0000.31880][578a] get the H.264 PPS parameter
[047:964] [2024-02-12 14:59:20 +0000.32677][5789] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:44 pts:44
[047:964] [2024-02-12 14:59:20 +0000.33283][578a] get the H.264 IDR frame
[047:965] [2024-02-12 14:59:20 +0000.33470][578a] resss:true
[047:965] [2024-02-12 14:59:20 +0000.33511][578a] video start ts:0
[047:967] [2024-02-12 14:59:20 +0000.35589][578a] the video frame has been written
into MP4 file
[047:968] [2024-02-12 14:59:20 +0000.36626][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[047:968] [2024-02-12 14:59:20 +0000.36716][5324] NeedProcessTexture time:67981592
enter.
[049:972] [2024-02-12 14:59:22 +0000.40907][5789] h264 add frame header cdr flag
[049:973] [2024-02-12 14:59:22 +0000.41374][5789] Received key frame:2711
[049:979] [2024-02-12 14:59:22 +0000.47774][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[049:979] [2024-02-12 14:59:22 +0000.47888][5324] NeedProcessTexture time:67983603
enter.
[052:033] [2024-02-12 14:59:24 +0000.102066][5799] h264 add frame header cdr flag
[052:034] [2024-02-12 14:59:24 +0000.102787][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[052:034] [2024-02-12 14:59:24 +0000.103067][5324] NeedProcessTexture time:67985658
enter.
[053:996] [2024-02-12 14:59:26 +0000.65219][5799] h264 add frame header cdr flag
[053:997] [2024-02-12 14:59:26 +0000.65671][5799] Received key frame:2756
[054:003] [2024-02-12 14:59:26 +0000.72286][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[054:004] [2024-02-12 14:59:26 +0000.73002][5324] NeedProcessTexture time:67987628
enter.
[057:709] [2024-02-12 14:59:29 +0000.777535][57a9] h264 add frame header cdr flag
[057:710] [2024-02-12 14:59:29 +0000.778919][57a9] Received key frame:2755
[057:719] [2024-02-12 14:59:29 +0000.787700][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[057:719] [2024-02-12 14:59:29 +0000.788334][5324] NeedProcessTexture time:67991343
enter.
[059:696] [2024-02-12 14:59:31 +0000.765126][57c9] h264 add frame header cdr flag
[059:697] [2024-02-12 14:59:31 +0000.766142][57c9] h264 add frame header cdr flag
[059:698] [2024-02-12 14:59:31 +0000.766853][57c9] Received key frame:0
[059:698] [2024-02-12 14:59:31 +0000.766964][57c9] H264Encode:: get a sps pps
header!headerSize:32
[059:699] [2024-02-12 14:59:31 +0000.767526][57ca] get the H.264 SPS parameter
[059:699] [2024-02-12 14:59:31 +0000.767858][57ca] add video track with id:2
[059:700] [2024-02-12 14:59:31 +0000.768743][57ca] get the H.264 PPS parameter
[059:708] [2024-02-12 14:59:31 +0000.776688][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[059:708] [2024-02-12 14:59:31 +0000.776852][5324] NeedProcessTexture time:67993332
enter.
[083:134] [2024-02-12 14:59:55 +0000.203211][5875] add aac audio track with id:1
[083:136] [2024-02-12 14:59:55 +0000.205221][5871] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[083:138] [2024-02-12 14:59:55 +0000.206901][5871]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[083:142] [2024-02-12 14:59:55 +0000.210616][5875] audio start ts:0
[083:143] [2024-02-12 14:59:55 +0000.211391][5875] the audio frame has been written
into MP4 file
[083:232] [2024-02-12 14:59:55 +0000.300442][5874] Error(video_source.cc:241):
VideoSource not start to decode audio
[083:261] [2024-02-12 14:59:55 +0000.329651][5871] h264 add frame header cdr flag
[083:262] [2024-02-12 14:59:55 +0000.330656][5871] h264 add frame header cdr flag
[083:263] [2024-02-12 14:59:55 +0000.331975][5871] Received key frame:10
[083:264] [2024-02-12 14:59:55 +0000.332732][5871] H264Encode:: get a sps pps
header!headerSize:31
[083:264] [2024-02-12 14:59:55 +0000.333335][5875] get the H.264 SPS parameter
[083:265] [2024-02-12 14:59:55 +0000.333925][5875] add video track with id:2
[083:266] [2024-02-12 14:59:55 +0000.334996][5875] get the H.264 PPS parameter
[083:269] [2024-02-12 14:59:55 +0000.337594][5875] get the H.264 IDR frame
[083:269] [2024-02-12 14:59:55 +0000.337763][5875] resss:true
[083:269] [2024-02-12 14:59:55 +0000.337822][5875] video start ts:10
[083:269] [2024-02-12 14:59:55 +0000.337966][5875] the video frame has been written
into MP4 file
[083:377] [2024-02-12 14:59:55 +0000.445516][5871] DTS queue for
Generator:0x7adde2f8b8 312 356 400 445 489 533 622 666
[083:394] [2024-02-12 14:59:55 +0000.463292][5874] Error(video_source.cc:241):
VideoSource not start to decode audio
[083:589] [2024-02-12 14:59:55 +0000.657880][5874] Error(video_source.cc:241):
VideoSource not start to decode audio
[083:607] [2024-02-12 14:59:55 +0000.675401][5871] Push an pts:1022 to dts queue.
[083:612] [2024-02-12 14:59:55 +0000.680512][5864] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79bcf06600] Current FFmpeg version git-2021-06-16-
97cea6f
[087:878] [2024-02-12 14:59:59 +0000.946720][5871] h264 add frame header cdr flag
[087:879] [2024-02-12 14:59:59 +0000.947513][5871] Received key frame:10947
[087:887] [2024-02-12 14:59:59 +0000.955464][5875] get the H.264 IDR frame
[087:904] [2024-02-12 14:59:59 +0000.973368][5871] SendFrame
encodedImage._timeStamp:11036encodedImage->_length:68080
[087:907] [2024-02-12 14:59:59 +0000.975912][5873] TransformFilter3::OnDataUpdated
progress_ 0.801802
[087:915] [2024-02-12 14:59:59 +0000.984036][5873] ReadDataFromeAHardwareBuffer
time:68021539 enter.
[168:394] [2024-02-12 15:01:20 +0000.462561][5e77] h264 add frame header cdr flag
[168:395] [2024-02-12 15:01:20 +0000.463432][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[168:395] [2024-02-12 15:01:20 +0000.463537][5324] NeedProcessTexture time:68102019
enter.
[175:401] [2024-02-12 15:01:27 +0000.469506][5eb3] h264 add frame header cdr flag
[175:403] [2024-02-12 15:01:27 +0000.471858][5eb3] h264 add frame header cdr flag
[175:404] [2024-02-12 15:01:27 +0000.472502][5eb3] Received key frame:0
[175:404] [2024-02-12 15:01:27 +0000.472627][5eb3] H264Encode:: get a sps pps
header!headerSize:32
[175:404] [2024-02-12 15:01:27 +0000.473043][5eb4] get the H.264 SPS parameter
[175:405] [2024-02-12 15:01:27 +0000.473772][5eb4] add video track with id:2
[175:406] [2024-02-12 15:01:27 +0000.475193][5eb4] get the H.264 PPS parameter
[175:410] [2024-02-12 15:01:27 +0000.479286][5eb4] get the H.264 IDR frame
[175:411] [2024-02-12 15:01:27 +0000.479519][5eb4] resss:true
[175:411] [2024-02-12 15:01:27 +0000.479562][5eb4] video start ts:0
[175:411] [2024-02-12 15:01:27 +0000.479854][5eb4] the video frame has been written
into MP4 file
[175:413] [2024-02-12 15:01:27 +0000.481745][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[175:413] [2024-02-12 15:01:27 +0000.481922][5324] NeedProcessTexture time:68109037
enter.
[209:914] [2024-02-12 15:02:01 +0000.982680][6015] h264 add frame header cdr flag
[209:916] [2024-02-12 15:02:01 +0000.984700][6015] h264 add frame header cdr flag
[209:916] [2024-02-12 15:02:01 +0000.985151][6015] Received key frame:0
[209:916] [2024-02-12 15:02:01 +0000.985216][6015] H264Encode:: get a sps pps
header!headerSize:32
[209:917] [2024-02-12 15:02:01 +0000.985422][6016] get the H.264 SPS parameter
[209:917] [2024-02-12 15:02:01 +0000.985967][6016] add video track with id:2
[209:918] [2024-02-12 15:02:01 +0000.986766][6016] get the H.264 PPS parameter
[209:918] [2024-02-12 15:02:01 +0000.987333][6016] get the H.264 IDR frame
[209:919] [2024-02-12 15:02:01 +0000.987444][6016] resss:true
[209:919] [2024-02-12 15:02:01 +0000.987476][6016] video start ts:0
[209:919] [2024-02-12 15:02:01 +0000.987726][6016] the video frame has been written
into MP4 file
[209:919] [2024-02-12 15:02:01 +0000.988153][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[209:919] [2024-02-12 15:02:01 +0000.988307][5324] NeedProcessTexture time:68143543
enter.
[211:859] [2024-02-12 15:02:03 +0000.927808][6015] h264 add frame header cdr flag
[211:860] [2024-02-12 15:02:03 +0000.928848][6015] Received key frame:2000
[211:866] [2024-02-12 15:02:03 +0000.935171][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[211:867] [2024-02-12 15:02:03 +0000.935404][5324] NeedProcessTexture time:68145491
enter.
[216:011] [2024-02-12 15:02:08 +0000.79726][6026] h264 add frame header cdr flag
[216:012] [2024-02-12 15:02:08 +0000.80499][6026] Received key frame:2000
[216:022] [2024-02-12 15:02:08 +0000.91019][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[216:022] [2024-02-12 15:02:08 +0000.91132][5324] NeedProcessTexture time:68149646
enter.
[216:022] [2024-02-12 15:02:08 +0000.91328][5ffa] ==== NeedProcessTexture
[216:035] [2024-02-12 15:02:08 +0000.104010][5324] NeedProcessTexture leave.
expire time = 13 ms
[219:408] [2024-02-12 15:02:11 +0000.476711][6039] h264 add frame header cdr flag
[219:410] [2024-02-12 15:02:11 +0000.478463][6039] h264 add frame header cdr flag
[219:410] [2024-02-12 15:02:11 +0000.479036][6039] Received key frame:0
[219:410] [2024-02-12 15:02:11 +0000.479134][6039] H264Encode:: get a sps pps
header!headerSize:32
[219:411] [2024-02-12 15:02:11 +0000.479475][603a] get the H.264 SPS parameter
[219:411] [2024-02-12 15:02:11 +0000.479804][603a] add video track with id:2
[219:412] [2024-02-12 15:02:11 +0000.480589][603a] get the H.264 PPS parameter
[219:414] [2024-02-12 15:02:11 +0000.482455][603a] get the H.264 IDR frame
[219:414] [2024-02-12 15:02:11 +0000.482609][603a] resss:true
[219:414] [2024-02-12 15:02:11 +0000.482635][603a] video start ts:0
[219:414] [2024-02-12 15:02:11 +0000.482746][603a] the video frame has been written
into MP4 file
[219:416] [2024-02-12 15:02:11 +0000.484526][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[219:416] [2024-02-12 15:02:11 +0000.484662][5324] NeedProcessTexture time:68153040
enter.
[250:880] [2024-02-12 15:02:42 +0000.949139][609e] h264 add frame header cdr flag
[250:882] [2024-02-12 15:02:42 +0000.951004][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[250:882] [2024-02-12 15:02:42 +0000.951130][5324] NeedProcessTexture time:68184506
enter.
[256:770] [2024-02-12 15:02:48 +0000.838645][60c3] h264 add frame header cdr flag
[256:771] [2024-02-12 15:02:48 +0000.839706][60c3] h264 add frame header cdr flag
[256:772] [2024-02-12 15:02:48 +0000.840554][60c3] Received key frame:0
[256:772] [2024-02-12 15:02:48 +0000.840652][60c3] H264Encode:: get a sps pps
header!headerSize:32
[256:772] [2024-02-12 15:02:48 +0000.841095][60c4] get the H.264 SPS parameter
[256:773] [2024-02-12 15:02:48 +0000.841653][60c4] add video track with id:2
[256:774] [2024-02-12 15:02:48 +0000.843063][60c4] get the H.264 PPS parameter
[256:775] [2024-02-12 15:02:48 +0000.843703][60c4] get the H.264 IDR frame
[256:775] [2024-02-12 15:02:48 +0000.843907][60c4] resss:true
[256:775] [2024-02-12 15:02:48 +0000.843987][60c4] video start ts:0
[256:775] [2024-02-12 15:02:48 +0000.844322][60c4] the video frame has been written
into MP4 file
[256:777] [2024-02-12 15:02:48 +0000.845608][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[256:777] [2024-02-12 15:02:48 +0000.845767][5324] NeedProcessTexture time:68190401
enter.
[259:322] [2024-02-12 15:02:51 +0000.390824][60d3] h264 add frame header cdr flag
[259:323] [2024-02-12 15:02:51 +0000.391758][60d3] h264 add frame header cdr flag
[259:325] [2024-02-12 15:02:51 +0000.393502][60d3] Received key frame:0
[259:325] [2024-02-12 15:02:51 +0000.393639][60d3] H264Encode:: get a sps pps
header!headerSize:32
[259:325] [2024-02-12 15:02:51 +0000.393961][60d4] get the H.264 SPS parameter
[259:326] [2024-02-12 15:02:51 +0000.394515][60d4] add video track with id:2
[259:327] [2024-02-12 15:02:51 +0000.395643][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[259:327] [2024-02-12 15:02:51 +0000.395763][5324] NeedProcessTexture time:68192951
enter.
[285:991] [2024-02-12 15:03:18 +0000.60321][6155] h264 add frame header cdr flag
[285:992] [2024-02-12 15:03:18 +0000.61337][6155] h264 add frame header cdr flag
[285:993] [2024-02-12 15:03:18 +0000.62191][6155] Received key frame:0
[285:993] [2024-02-12 15:03:18 +0000.62308][6155] DTS queue for
Generator:0x7a29122eb8 33 67
[285:994] [2024-02-12 15:03:18 +0000.62360][6155] H264Encode:: get a sps pps
header!headerSize:32
[285:995] [2024-02-12 15:03:18 +0000.64412][6156] get the H.264 SPS parameter
[285:996] [2024-02-12 15:03:18 +0000.65290][6156] add video track with id:2
[285:998] [2024-02-12 15:03:18 +0000.66748][6156] get the H.264 PPS parameter
[285:998] [2024-02-12 15:03:18 +0000.67328][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[285:999] [2024-02-12 15:03:18 +0000.67519][5324] NeedProcessTexture time:68219623
enter.
[290:430] [2024-02-12 15:03:22 +0000.498334][6167] add aac audio track with id:1
[290:439] [2024-02-12 15:03:22 +0000.508197][6167] audio start ts:0
[290:440] [2024-02-12 15:03:22 +0000.508365][6167] the audio frame has been written
into MP4 file
[290:444] [2024-02-12 15:03:22 +0000.512414][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[290:445] [2024-02-12 15:03:22 +0000.513510][5324] NeedProcessTexture time:68224069
enter.
[290:505] [2024-02-12 15:03:22 +0000.573434][6166] h264 add frame header cdr flag
[290:506] [2024-02-12 15:03:22 +0000.574691][6166] h264 add frame header cdr flag
[290:507] [2024-02-12 15:03:22 +0000.575691][6166] Received key frame:0
[290:507] [2024-02-12 15:03:22 +0000.575807][6166] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[290:507] [2024-02-12 15:03:22 +0000.575875][6166] H264Encode:: get a sps pps
header!headerSize:32
[290:507] [2024-02-12 15:03:22 +0000.576327][6167] get the H.264 SPS parameter
[290:508] [2024-02-12 15:03:22 +0000.576813][6167] add video track with id:2
[290:509] [2024-02-12 15:03:22 +0000.577750][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[290:509] [2024-02-12 15:03:22 +0000.577883][5324] NeedProcessTexture time:68224133
enter.
[292:466] [2024-02-12 15:03:24 +0000.534534][6166] h264 add frame header cdr flag
[292:467] [2024-02-12 15:03:24 +0000.535341][6166] Received key frame:2000
[292:475] [2024-02-12 15:03:24 +0000.543977][6167] get the H.264 IDR frame
[292:480] [2024-02-12 15:03:24 +0000.549067][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[292:480] [2024-02-12 15:03:24 +0000.549183][5324] NeedProcessTexture time:68226104
enter.
[294:100] [2024-02-12 15:03:26 +0000.168985][61a2] h264 add frame header cdr flag
[294:105] [2024-02-12 15:03:26 +0000.173493][61a2] h264 add frame header cdr flag
[294:105] [2024-02-12 15:03:26 +0000.174007][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[294:105] [2024-02-12 15:03:26 +0000.174136][5324] NeedProcessTexture time:68227729
enter.
[296:027] [2024-02-12 15:03:28 +0000.96314][61a2] h264 add frame header cdr flag
[296:028] [2024-02-12 15:03:28 +0000.97023][61a2] Received key frame:2000
[296:044] [2024-02-12 15:03:28 +0000.112937][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[296:044] [2024-02-12 15:03:28 +0000.113148][5324] NeedProcessTexture time:68229668
enter.
[300:103] [2024-02-12 15:03:32 +0000.171364][61d0] h264 add frame header cdr flag
[300:103] [2024-02-12 15:03:32 +0000.172225][61d0] Received key frame:2000
[300:115] [2024-02-12 15:03:32 +0000.184302][5324]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_NeedProcessTextureJni:
[300:116] [2024-02-12 15:03:32 +0000.184585][5324] NeedProcessTexture time:68233740
enter.