From e472354242ff65aeda7338b8ae3687a80bc7fc3d Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Sat, 16 Jan 2021 17:51:00 +0800 Subject: [PATCH] commit new ffmpeg.sh --- tools/ffmpeg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ffmpeg.sh b/tools/ffmpeg.sh index 0db58c5..c7f479b 100644 --- a/tools/ffmpeg.sh +++ b/tools/ffmpeg.sh @@ -92,7 +92,7 @@ ffmpeg -i "" out.mp4 # 下载视频 # 组合用法 ############################################################################## -# 给 gif 加上静音音轨并转换成 mp4 +# 给 gif 加上静音音轨并转换成 mp4,手机上还可以加一个 -pix_fmt yuv420p ffmpeg -f lavfi -i anullsrc -i in.gif -c:v libx264 -c:a aac -shortest out.mp4