-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
201 additions
and
29 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"label": "双重折叠" | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
id: Notes | ||
title: 笔记索引 | ||
sidebar_position: 1 | ||
sidebar_label: Easy | ||
sidebar_class_name: green | ||
tags: [note, index] | ||
--- | ||
|
||
略 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
docs/markdown/_category_.json → docs/3Notes/2markdown/_category_.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"label": "MarkDown", | ||
"position": 4, | ||
"position": 2, | ||
"link": { | ||
"type": "doc", | ||
"id": "MarkDown" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
id: blender | ||
title: Blender操作 | ||
sidebar_class_name: green | ||
tags: [note, blender] | ||
--- | ||
|
||
`s + MM` 移动视图 | ||
|
||
`MM` 旋转视角 | ||
|
||
`小键盘1 3 7 9` 正交视图切换 | ||
|
||
`A` 全选 | ||
|
||
`L` 关联选择 | ||
|
||
`c + L` 关联菜单 | ||
|
||
`G` 移动 | ||
|
||
`S` 缩放 | ||
|
||
`R` 旋转 | ||
|
||
`s + D` 复制物体 | ||
|
||
`X` 删除 | ||
|
||
`N` 右侧工具栏 | ||
|
||
`s + N` 编辑模式法线向内 | ||
|
||
`c + a + Q` 正交三视图 | ||
|
||
`a + LM` 循环选择 | ||
|
||
`c + LM`最短路径选择 | ||
|
||
|
||
|
||
`a + Z` 透视模式 | ||
|
||
|
||
|
||
`E` 挤出 | ||
|
||
`I` 内插 | ||
|
||
`c + B` 倒角 | ||
|
||
`c + R` 环切 | ||
|
||
`M` 合并 | ||
|
||
`v` 断开(右键线,细分) | ||
|
||
`F` 填充(面,偶数边栅格填充) | ||
|
||
`K` 切刀 | ||
|
||
`c + J` 合并物体 | ||
|
||
`c + E` 边菜单-桥接 | ||
|
||
`P` 分离菜单 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"label": "NodeJS", | ||
"label": "Notes", | ||
"position": 3, | ||
"link": { | ||
"type": "doc", | ||
"id": "NodeJS" | ||
"id": "Notes" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
--- | ||
id: ffmpeg | ||
title: ffmpeg操作 | ||
sidebar_class_name: green | ||
tags: [note, ffmpeg] | ||
--- | ||
|
||
```bash | ||
ffmpeg -i "2024-03-07 18-27-40 1920x1080 H.mkv" | ||
-c:v h264_nvenc | ||
-preset slow | ||
-crf 20 -r 30 | ||
"2024-03-07 18-27-40 1920x1080 HZ.mkv" | ||
``` | ||
|
||
`-loglevel error` 日志级别 | ||
|
||
`-f concat`拼接 | ||
|
||
`-i` 输入文件 | ||
|
||
`-c:v h264_nvenc/hevc_nvenc` 编解码器:视频**同等参数下,硬解码率不如软解** | ||
|
||
`-codecs` 查看可用编码器 | ||
|
||
`-preset` 预设 | ||
|
||
**视频质量(无损0-51最差)** | ||
|
||
`-qp` 固定QP量化,研究用途 | ||
|
||
`-crf` 固定码率因子,动态QP,文件存储,尽可能好的效果 | ||
|
||
`-b/b:a/b:v` CBR固定码率,同下,流媒体 | ||
|
||
VBR动态码率,同下,流媒体,动静场景 | ||
|
||
ABR平均码率,同下,流媒体,阿里云默认 | ||
|
||
**---** | ||
|
||
`-r` fps | ||
|
||
`-b/b:a/b:v` bitrate | ||
|
||
`eg. -b 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k` | ||
|
||
`-vf/af` 视频/音频过滤器(滤镜) | ||
|
||
`-vn/an/sn/dn` 删除视频轨/音轨/字幕/数据流 | ||
|
||
`-ss 00:00:00` 片段起始位置 | ||
|
||
`-t 00:00:05` 片段结束位置 | ||
|
||
`-c` 直接拷贝原始数据(而不是重新编码) | ||
|
||
`-y` 在不询问的情况下覆盖输出文件 | ||
|
||
`-pass 2` 二次编码 | ||
|
||
|
||
|
||
|
||
|
||
## Eg. | ||
|
||
### 创建视频缩略图 | ||
|
||
```bash | ||
ffmpeg -i input.mp4 -vf "fps=1/10,scale=-2:720" thumbnail-%03d.jpg | ||
``` | ||
|
||
### 添加水印 | ||
|
||
```bash | ||
ffmpeg -i input.mp4 -i input.jpg -filter_complex "overlay=100:100" output.mp4 | ||
``` | ||
|
||
### 高质量GIF动图 | ||
|
||
```bash | ||
ffmpeg -i input.mp4 | ||
-ss 0 -t 3 | ||
-filter_complex [0:v]fps=15,scale=-1:256,split[a][b];[a]palettegen[p];[b][p]paletteuse | ||
output.gif | ||
``` | ||
|
||
### 屏幕录制 | ||
|
||
```bash | ||
ffmpeg -hide_banner | ||
-loglevel error | ||
-stats -f gdigrab | ||
-framerate 60 | ||
-offset_x 0 -offset_y 0 | ||
-video_size 1920x1080 | ||
-draw_mouse 1 | ||
-i desktop | ||
-c:v h264_nvenc | ||
-r 60 -pix_fmt yuv420p | ||
-y screen_record.mp4 | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
[ffmpeg命令(格式支持)](https://zhuanlan.zhihu.com/p/663671239) | ||
|
||
[ffmpeg常用功能](https://blog.csdn.net/suiyueruge1314/article/details/131949399) | ||
|
||
[ffmpeg参考文档](https://avmedia.0voice.com/?id=40523) | ||
|
||
[FFmpeg 常用选项功能说明](https://blog.csdn.net/weixin_30251829/article/details/97397870) | ||
|
||
[ffmpeg官方英文文档](https://ffmpeg.org/documentation.html) | ||
|
||
[FFmpeg X264编码参数](https://zhuanlan.zhihu.com/p/485519347) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.