Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env luajit
- local name = arg[1] or "list.txt"
- local file = io.open(name, "r")
- for line in file:lines() do
- os.execute("ffmpeg -i \"" .. line .. "\" -vf scale=1280:0 \"" .. line:sub(1, line:find(".", 1, true) - 1) .. ".mp4\"")
- os.execute("sleep " .. (15 * 60))
- end
- file:close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement