YuvWater:android camera 视频水印

上传者: 42132359 | 上传时间: 2022-05-09 15:42:39 | 文件大小: 1.4MB | 文件类型: ZIP
YuvWater android camera 视频水印 详情见博客: 视频录制目录: /sdcard/yuvVideo ,请手动在设置加相机和存储权限。 如果添加其它的文字水印?如yyyy年mm月dd日 0、右上角进生成yuv页,然后画你想添加的文字,得到文字年月日的yuv数组 1、在YuvOsdUtils.c 的initOsd 方法中,把生成的年月日数组添加到mNumArrays中,参考数字的添加方式 2、在getIndex中,根据jchar c 返回index。这里的index就是添加的index,中文无法\u7528c='\u5e74'方式,你需要debug 获取到中文对应的数字 4、在CreateNumberAct 中是通过画bitmap是得到文字的,不同文字宽高会不一样,不好统一计算,所以文字会有切边现象,实际上图片的来源可以是任何地方,如ps的一张文字图片,只要调用bitmapToGrayNV

文件下载

资源详情

[{"title":"( 51 个子文件 1.4MB ) YuvWater:android camera 视频水印","children":[{"title":"YuvWater-master","children":[{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.43KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 234B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"local.properties <span style='color:#111;'> 393B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 949B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":"CMakeLists.txt <span style='color:#111;'> 713B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 751B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"wzh","children":[{"title":"yuvwater","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 377B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 985B </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"wzh","children":[{"title":"yuvwater","children":[{"title":"monitor","children":[{"title":"CameraWrapper.java <span style='color:#111;'> 7.95KB </span>","children":null,"spread":false},{"title":"MediaCodecManager.java <span style='color:#111;'> 11.83KB </span>","children":null,"spread":false},{"title":"MuxerData.java <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"MonitorVideoManager.java <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"MuxerManager.java <span style='color:#111;'> 6.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"utils","children":[{"title":"Utils.java <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"FileUtil.java <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"JavaTest.java <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"ThreadManager.java <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"Logger1.java <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"CreateNumberAct.java <span style='color:#111;'> 5.41KB </span>","children":null,"spread":false},{"title":"jni","children":[{"title":"YuvOsdUtils.java <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false}],"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 6.41KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"cpp","children":[{"title":"YuvOsdUtils.h <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"YuvOsdUtils.c <span style='color:#111;'> 33.51KB </span>","children":null,"spread":false}],"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 71B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 10.43KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"act_create_num.xml <span style='color:#111;'> 887B </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"item_image_view.xml <span style='color:#111;'> 235B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-anydpi-v26","children":[{"title":"ic_launcher.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"ic_launcher_round.xml <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.47KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 15.16KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 9.03KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"wzh","children":[{"title":"yuvwater","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 716B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"gradle.properties <span style='color:#111;'> 726B </span>","children":null,"spread":false},{"title":"app-debug_demo.apk <span style='color:#111;'> 1.49MB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 15B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明