【随笔】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

相关推荐
大溪地C4 小时前
Git 合并冲突解决与状态分析笔记
笔记·git
CsbLanca4 小时前
Git配置个人和公司的提交信息,通过‘目录配置‘
git
娶个名字趴4 小时前
Git企业开发
git
fruge13 小时前
git上传 项目 把node_modules也上传至仓库了,在文件.gitignore 中忽略node_modules 依然不行
大数据·git·elasticsearch
_OMG_13 小时前
Git 高效同步远程分支与本地分支清理技巧
git
心无旁骛~14 小时前
Git笔记汇总,持续更新~
笔记·git
{⌐■_■}1 天前
【git】工作场景下的 工作区 <-> 暂存区<-> 本地仓库 命令实战 具体案例
大数据·git·elasticsearch·golang·iphone·ip·etcd
李狗蛋儿啊1 天前
zero自动化框架搭建---Git安装详解
运维·git·自动化
人工干智能1 天前
科普:“git“与“github“
git·github
{⌐■_■}2 天前
【git】提交修改、回撤、回滚、Tag 操作讲解,与reset (--soft、--mixed、--hard) 的区别
大数据·git·elasticsearch