Skip to content

Commit

Permalink
feat: 视频插帧
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahui92 committed Apr 10, 2024
1 parent 08c311f commit 11a56a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion source/_posts/4.AI/Real-ESRGAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: 画质增强
# toc: true
---


# 简介
* 作用:可将图片的画质变清晰和增大分辨率,目前只对动漫有效(色块重复多的图片),其它场景效果不大,特定场景需要自己训练,比如人像修复
* 性能:GPU.2060大致是1张图片修复1s
Expand All @@ -12,7 +13,6 @@ title: 画质增强
* [waifu2x GUI](https://github.com/AaronFeng753/Waifu2x-Extension-GUI)
* chrome插件:Anime SR


# 例子
转换视频需要搭配`ffmpeg`来使用,先将视频转成图片,再进行画质增强
```sh
Expand All @@ -30,3 +30,7 @@ realesrgan-ncnn-vulkan.exe -i tmp_frames -o out_frames -n realesr-animevideov3 -
# 图片转视频
ffmpeg -i out_frames/frame%08d.jpg -i video_split.mp4 -map 0:v:0 -map 1:a:0 -c:a copy -c:v libx264 -r 23.976 -pix_fmt yuv420p output_video_split.mp4
```


# 视频插帧
* [ECCV2022-RIFE](https://github.com/hzwer/ECCV2022-RIFE)

0 comments on commit 11a56a7

Please sign in to comment.