commit be441263c6f846e019503ad8f1e23fb07d71907a parent ebec6531a8f8e111a8cd01b3de4a67bb9cc2204b Author: sin <sin@2f30.org> Date: Fri, 14 Apr 2017 14:09:30 +0100 Stop warning about unsafe filenames Diffstat:
M | ytconv | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ytconv b/ytconv @@ -48,7 +48,7 @@ if [[ "$1" != "-t" ]]; then [[ -z "$aac_codec" ]] && (ffmpeg -codecs 2> /dev/null | grep libfaac > /dev/null) && aac_codec="libfaac" [[ -z "$aac_codec" ]] && aac_codec="aac" - ffmpeg -loop 1 -i ${TMP_IMG} -f concat -i ${TMP_ALIST} -shortest -pix_fmt yuvj420p -c:a ${aac_codec} -b:a 512k -ar 96k -c:v libx264 -strict -2 out.mp4 + ffmpeg -loop 1 -i ${TMP_IMG} -f concat -safe 0 -i ${TMP_ALIST} -shortest -pix_fmt yuvj420p -c:a ${aac_codec} -b:a 512k -ar 96k -c:v libx264 -strict -2 out.mp4 ret=$? rm -rf ${TMP_DIR}