Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

video2jpeg jpg, use ffmpeg

video to jpeg jpg, mp4, h264 and so.

Video one frame convert to jpeg jpg.

for lua or openresty .

use ffmpeg libs

test.lua:

local video2jpeg = require("video2jpeg")

video2jpeg.out2jpeg(0.1, "./a.mp4", "b.jpg")

function out2jpeg args:

  1. time point, float type.

  2. video source path.

  3. to jpeg file path.

return:

0 is succeed.

minus is error.

About

video to jpeg jpg ,Video one frame convert to jpeg jpg , for lua and openresty

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages