{"id":14985044,"url":"https://github.com/zhaoss/weixinrecordeddemo","last_synced_at":"2025-05-15T16:08:27.301Z","repository":{"id":41176484,"uuid":"83506597","full_name":"Zhaoss/WeiXinRecordedDemo","owner":"Zhaoss","description":"仿微信视频拍摄UI, 基于ffmpeg的视频录制编辑","archived":false,"fork":false,"pushed_at":"2020-11-16T09:40:18.000Z","size":46423,"stargazers_count":2254,"open_issues_count":11,"forks_count":468,"subscribers_count":61,"default_branch":"master","last_synced_at":"2025-04-07T21:14:58.717Z","etag":null,"topics":["android","ffmpeg","java","video"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zhaoss.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-01T03:21:08.000Z","updated_at":"2025-03-24T08:07:41.000Z","dependencies_parsed_at":"2022-09-03T12:00:38.739Z","dependency_job_id":null,"html_url":"https://github.com/Zhaoss/WeiXinRecordedDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhaoss%2FWeiXinRecordedDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhaoss%2FWeiXinRecordedDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhaoss%2FWeiXinRecordedDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zhaoss%2FWeiXinRecordedDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zhaoss","download_url":"https://codeload.github.com/Zhaoss/WeiXinRecordedDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247730069,"owners_count":20986404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","ffmpeg","java","video"],"created_at":"2024-09-24T14:10:10.243Z","updated_at":"2025-04-07T21:15:07.028Z","avatar_url":"https://github.com/Zhaoss.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### v4.4 修复在某些手机上录制出的视频时间会变短(自动补帧)\n### v4.3 使用libyuv库进行视频帧的旋转和镜像, 优化录制性能\n### v4.0 更新ffmpeg库文件,适配target26以上版本,使用Camera源+MediaCodec编码录制视频和音频,优化编码速度\n### v3.0 增加点击拍照功能, 优化项目结构\n### v2.5 增加剪切时长功能, 优化交互\n### v2.4 大幅优化, 使用前后摄像头拍摄视频时, 合成视频过慢的问题 (感谢@bertsir)\n### v2.3 增加摄像头切换和闪光灯开启功能, 修复前置摄像头拍摄出来画面颠倒等bug\n\u003cbr /\u003e \n\n```\n功能概括: \n\n1.基于ffmpeg的视频分段拍摄及合成;\n\n2.自定义拍摄按钮, 显示多段视频拍摄进度, 和删除视频段落模式;\n\n3.自定义view, 实现手绘涂鸦;\n\n4.自定义可触摸旋转缩放位移的表情文字view;\n\n5.仿微信裁剪图片控件, 自定义View实现功能;\n\n6.基于ffmpeg改变视频速度(加速或者减速);\n\n7.基于ffmpeg裁剪视频宽高;\n\n8.基于ffmpeg的图片和视频合成处理;\n\n9.基于ffmpeg剪切视频时长.\n\n10.基于ffmpeg拍照.\n```\n\n# [如果想了解实现思路, 这里有详细源码分析讲解](https://juejin.im/post/5d6ce742e51d456206115a5b)\n\n![image](https://github.com/Zhaoss/WeiXinRecordedDemo/blob/master/Image/img1.png?raw=true)\n![image](https://github.com/Zhaoss/WeiXinRecordedDemo/blob/master/Image/img2.png?raw=true)\n\n### \u003ca href=\"https://github.com/LanSoSdk/LanSoEditor_common\" target=\"_blank\"\u003e本项目使用的ffmpeg库是LanSoEditor\u003ca\u003e\n* * *   \n\u003cbr /\u003e \n\n# MIT License\nCopyright (c) 2017 Zhaoss (838198688@qq.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaoss%2Fweixinrecordeddemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaoss%2Fweixinrecordeddemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaoss%2Fweixinrecordeddemo/lists"}