FFmpeg 用显卡解码编码
先看看当前 ffmpeg 支持那些编解码器。ffmpeg -codecsDEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_qsv h264_cuvid) (encoders: libx264 libx264rgb h264_amf h264_mf h264_nvenc h264_qsv) DEV.L
微星主板 B450M Mortar Max 不认 5xxx CPU
新买了个 5700x ,插上去 EZDEBUG 亮 CPU 红灯。
自定义 Nginx 日志
如果使用了 Cloudflare, 就可以给日志加一个 IP 归属地。
Debian ping: google.com: Temporary failure in name resolution
Here is the solution.
Typecho 升级后无法登录后台
Typecho 升级后无法登录后台,输入密码后仍然跳转登录界面,怎么办? 清 Cookie 。
Scaleway Elastic Metal EM-A410X-SSD
Just another benchmark.
Hetzner Cloud Dedicated vCPU CCX23
I intended to use it to encode video files, but it was too slow. The encode speed was only 9 fps. As a comparison, my PC with 5600G encodes is at 74 fps.
Handbrake 视频编码器对比
记录 CPU 和 GPU 编码的速度、压缩率。
Nginx customize error page
If you want to customize error page, here is how:
BadMethodCallException in Laravel-admin after adding accessor to model
After adding a accessor to my model, Laravel-admin shows the above error when creating a post.
法语形容词阴阳变化
阳性变阴性,一般加e,当然也有特殊规则。副词就是阴性单数形式加ment,也有例外。
Use tar to pack each directory into seperate file
It's easy.