站点导航和公告
发表于 更新于 本文字数: 513 阅读时长 ≈ 2 分钟
浏览器
图像浏览器
杀软
后期特效
问题:无法启用Docker Desktop,提示报错Docker Unexpected error
。
原因:之前有安装并卸载过Docker Desktop。重新安装Docker Desktop有可能触发此问题。
解决方法:
1 | wsl --unregister docker-desktop |
[1] Docker Unexpected error[EB/OL]. https://github.com/docker/for-win/issues/14034.
当花费大量时间却无法解决一个问题时,若非紧急状态,建议先将该问题放一边。等到放松或者忙完另外一件事情甚至于明天再重新去思考解决这个问题。
ffmpeg -i input.avi -metadata key=value -codec copy output.avi
ffprobe "file" #查看metadata
1 | ffmpeg.exe -h -> help.txt # 打印帮助文件 |
1 | -c:v h264_nvenc -rc:v vbr_hq -cq:v 19 -b:v 2500k -maxrate:v 5000k -profile:v high |
1 | ffmpeg -f concat -i filelist.txt -c copy output.mp4 |
常见于 Non-monotonous DTS in output stream
完美的解决方式暂未找到,网上的解决方法基本为:先转为 mts 文件,后转为 mp4。(本质是重新编码,确实可以解决时间戳错误,但也会劣化音质和画质。)
This is just a warning, not an error. You can safely ignore it when using ffmpeg from the command-line, and you don't have to fix anything.
The warning occurs when converting from a yuv420p source to JPEG, which makes ffmpeg choose yuvj420p as output format. That format is required for writing files with the mjpeg encoder.
These two pixel formats have different color ranges: the former is from 16–235, which is "limited range" (also called "MPEG" range), the latter defaults to 0–255, which is "full range". The warning is meant for using FFmpeg as a library in your own code (like here). See also the comments on this question.
R.I.P