$ luarocks install veo luarocks install veo
local veo = require("veo")
local video = veo.open("path/to/your/video.mp4")
if video then
print("Filename:", video.filename)
print("Width:", video.width)
print("Height:", video.height)
print("Duration:", video.duration) -- in seconds
print("Frame Rate:", video.frame_rate)
video:close()
else
print("Error opening video file.")
end
local veo = require("veo")
local video = veo.open("path/to/your/video.mp4")
Versions
Dependencies
lua >= 5.1