ChillingVan / AndroidInstantVideo

展现Android硬编码下的视频数据流动,可以对视频做处理,例如加滤镜,加水印等,做直播推流(用RTMP)。 Show the stream of Android video hardware encode, including video processing and video publishing by RTMP.
Apache License 2.0
718 stars 196 forks source link

第二次录制mp4muxer出现黑屏问题。 #20

Closed yesbutter closed 6 years ago

yesbutter commented 6 years ago

when i started the first recorder,it was no problem。 but when the second,don't close the mp4muxeractivity,the video is all black,only has vioce. i think it is something error in restart recorder.but i can't in short time to understand the project.

in the same time i want to try pause recorder the video,but the aacEncoder don't find pause,when i try restart it occur bug.

ChillingVan commented 6 years ago

I will have a try and fix it. And this is a show case. Sorry I did not make it work well for all the cases.

ChillingVan commented 6 years ago

Fixed. But mp4 recorder cannot be paused because it must generate a new file. You need to merge the new file and the old file.