Compare commits
5 Commits
experiment
...
master
Author | SHA1 | Date | |
---|---|---|---|
7687396bf7 | |||
6e5e9db796 | |||
be4a1551aa | |||
7f7d137304 | |||
8435ea7155 |
@ -177,8 +177,8 @@ function ffmpeg(tmpPath, dirD)
|
||||
if gFormat == ".mp3" then gFormat = "libmp3lame" end
|
||||
if gFormat == ".ogg" then gFormat = "libvorbis" end
|
||||
if gFormat == ".flac" then gFormat = "flac" end
|
||||
|
||||
local subSpaces = string.gsub(dirD, " ", "\\ ")
|
||||
local subSymbols = string.gsub(dirD, "'", "")
|
||||
local subSpaces = string.gsub(subSymbols, " ", "\\ ")
|
||||
local codec = "ffmpeg -i "..tmpPath.." -acodec "..gFormat.." -ac 2 -ab "..gBitrate.." -vn -y "..subSpaces
|
||||
|
||||
local flag = convert_mp3.go(codec, tmpPath)
|
||||
|
Loading…
x
Reference in New Issue
Block a user