Skip to content

DeveKing7/viewRecord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

viewRecord

对指定view的区域内内容转成视频,可设置录制时间的时长,帧率。质量等。

demo自带帧速监测,内存监测,保证录制时的app也可以正常的流程的进行其他操作。

#define kScreenScale (2) //2为视频录制的倍数,必须为2的倍数,倍数越大,画质越清晰,占用内存越大。 建议为1或者2

_frameRate=10;//默认帧率为10。

此demo进行多次修改和优化,针对多次录制内存暴增、录制某些带动画view时部分视图黑屏的问题等进行了修复,欢迎使用和交流。

如果觉得还不错,请点一个小星星多多支持,谢谢。

You can set the recording time and frame rate to convert content into video in the specified view area. Quality, etc.

Demo has its own frame rate monitoring and memory monitoring to ensure that the APP can also carry out other operations in the normal process when recording.

#define kScreenScale (2) //2 is a multiple of 2 for video recording, the larger the multiple, the clearer the picture quality, the larger the memory. The recommended value is 1 or 2

_frameRate=10; // The default frame rate is 10.

This demo has been modified and optimized for many times, for many times to record memory explosion, recording some of the views of the black screen problems, etc. Welcome to use and exchange.

If you feel good, please click a little star to support, thank you.

About

将指定view的区域内内容转成视频,可指定录制时间,也可以手动终止。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors