【随笔】git - gource使用方案

1.安装

1.下载https://gource.io/

2.使用 Chocolatey 包管理器安装 FFmpeg

clike 复制代码
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

3.使用 Chocolatey 安装 FFmpeg

在 PowerShell 中运行(管理员)

clike 复制代码
choco install ffmpeg

4.检查 FFmpeg 是否安装成功:

clike 复制代码
ffmpeg -version

2.准备生成的项目根目录运行

clike 复制代码
gource -2560x1440 -s 0.3 --auto-skip-seconds 1 --max-file-lag 0.05 --multi-sampling --highlight-users -o - | ffmpeg -y -r 30 -f image2pipe -vcodec ppm -i - -vcodec libx265 -preset slow -pix_fmt yuv420p -crf 16 -threads 0 -bf 0 -movflags +faststart gource.mp4

视频会在项目根目录下生成

END

相关推荐
春日见3 小时前
GIT操作大全(个人开发与公司开发)
开发语言·驱动开发·git·matlab·docker·计算机外设·个人开发
Ama_tor4 小时前
将本地的 Electron 项目上传到 Gitee(码云)的 Git 操作流程
git·electron·gitee
笑鸿的学习笔记5 小时前
git笔记之--abort和--quit参数详解
笔记·git
Z.风止5 小时前
Large Model-learning(1)
开发语言·笔记·git·python·学习
Be for thing5 小时前
分支管理与冲突解决
git·学习
极地星光5 小时前
从零到一搭建 **多仓库项目(Repo Manager 架构)** 完整步骤
git·架构
原来是猿6 小时前
进程间通信(三):命名管道
linux·服务器·网络·git
幸福从心动开始6 小时前
脱单不是拖,爱要主动说——写给还在“git commit -m ‘等缘分’”的程序员
git
弹简特9 小时前
【测试基础】11-软件测试之测试方案编写&测试报告编写&Git工具安装
git·功能测试
吴声子夜歌1 天前
TypeScript——泛型
前端·git·typescript