added -vn to ffmpeg function

This commit is contained in:
silvernode 2013-08-03 13:28:51 -05:00
parent af4e9c2c56
commit c21b96fd81

View File

@ -114,7 +114,7 @@ function ffmpeg(tmpPath, dirD)
local subSpaces = string.gsub(dirD, " ", "\\ ") local subSpaces = string.gsub(dirD, " ", "\\ ")
local codec = "ffmpeg -i "..tmpPath.." -acodec "..gFormat.." -ac 2 -ab 192k -y "..subSpaces local codec = "ffmpeg -i "..tmpPath.." -acodec "..gFormat.." -ac 2 -ab 192k -vn -y "..subSpaces
print(format) print(format)
local flag = convert_mp3.go(codec, tmpPath) local flag = convert_mp3.go(codec, tmpPath)