Skip to content

Commit

Permalink
doc: 备份文章;
Browse files Browse the repository at this point in the history
  • Loading branch information
01Petard committed Jan 10, 2025
1 parent 23cbb40 commit 4e87cf8
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions docs/杂谈/关于yt-dlp.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,28 @@ git rm --cached -r ..idea\

代理服务器:`https://sslvpn.zjut.edu.cn/`

用户名:`学号`

密码:`密码`

# 手动给视频超分辨率

1.`ffmpeg`截取帧

```shell
ffmpeg -i .\tmp.mp4 -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 .\tmp_in_1440\frame%08d.jpg
```

2. 用超分工具超分,我常用的是cugan和esrgan

```shell
.\realesrgan-ncnn-vulkan.exe -i tmp_in_1080 -o tmp_out_1080 -n realesr-animevideov3 -s 2 -f jpg
```

3.`ffmpeg`合并帧

```shell
ffmpeg -i .\tmp_out_1080\frame%08d.jpg -i .\1080.mp4 -map 0:v:0 -map 1:a:0 -c:a copy -c:v libx264 -r 24 -pix_fmt yuv420p output_w_audio.mp4
```


0 comments on commit 4e87cf8

Please sign in to comment.