Skip to content

a Lua implementation for video handler on linux.

License

Notifications You must be signed in to change notification settings

wond4/videoHandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Video Handler

a Lua implementation for x264 video handler on linux.

dependency

need ffmpeg with x264 on linux. test on centos7 and you can get a compiled ffmpeg in ffmpeg_x264.7z.

feature

  • get info from video.
  • get some captures.
  • transform video to some resolutions.

usage

in your lua files:

-- import
local videoHandler = require("videoHandler")
-- instantiate
local video = videoHandler:new()
-- set path.
video:setPath("001.pm4")
-- get info(duration, width, height).
print(video:getInfo())
-- get captures.
video:capture()
-- transform.
video:fitHeight()

About

a Lua implementation for video handler on linux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages