首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Android端推流时本地录制,调用stopRecord()停止fail,生成本地文件不能播放?

Android端推流时本地录制,调用stopRecord()停止fail,生成本地文件不能播放?

提问于 2019-05-08 10:18:53
回答 0关注 0查看 621

log:

05-08 09:57:36.868 D/TXLivePusher(20577): liteav_api stopRecord

05-08 09:57:36.868 D/TXCMP4HWMuxer(20577): stop. start flag = true, video key frame set = true

05-08 09:57:36.868 D/MPEG4Writer(20577): Video track stopping

05-08 09:57:36.868 D/MPEG4Writer(20577): Video track source stopping

05-08 09:57:36.868 D/MPEG4Writer(20577): Video track stopped status:0

05-08 09:57:36.868 I/MPEG4Writer(20577): Received total/0-length (293/0) buffers and encoded 293 frames. - Video

05-08 09:57:36.868 E/MPEG4Writer(20577): The number of recorded samples is 0

05-08 09:57:36.868 D/MPEG4Writer(20577): Audio track stopping

05-08 09:57:36.868 D/MPEG4Writer(20577): Audio track source stopping

05-08 09:57:36.868 D/MPEG4Writer(20577): Audio track stopped status:0

05-08 09:57:36.868 W/MPEG4Writer(20577): 0-duration samples found: 1

05-08 09:57:36.868 W/MPEG4Writer(20577): 0-duration samples found: 1

05-08 09:57:36.868 I/MPEG4Writer(20577): Received total/0-length (0/0) buffers and encoded 0 frames. - Audio

05-08 09:57:36.868 I/MPEG4Writer(20577): Audio track drift time: 0 us

05-08 09:57:36.868 D/MPEG4Writer(20577): Duration from tracks range is [0, 14694000] us

05-08 09:57:36.868 D/MPEG4Writer(20577): Stopping writer thread

05-08 09:57:36.868 D/MPEG4Writer(20577): 0 chunks are written in the last batch

05-08 09:57:36.868 D/MPEG4Writer(20577): Writer thread stopped

05-08 09:57:36.868 E/TXCMP4HWMuxer(20577): muxer stop/release exception: java.lang.IllegalStateException: Failed to stop the muxer

05-08 09:57:36.868 W/TXLivePusher(20577): start record

05-08 09:57:36.868 D/MainActivity(20577): onRecordComplete. errcode = -1, errmsg = record video failed, output = null, cover = null

05-08 09:57:36.868 W/TXLivePusher(20577): record complete fail

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档