Skip to content

utunnels/mjpeg-player-for-LOVE-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mjpeg-player-for-LOVE-engine

This is a mjpeg player for LÖVE engine (http://love2d.org/).

How to use

require "mjpegplayer"

function love.load()
  mplayer = VideoPlayer.create("path_to_your_movie_folder")
  mplayer:start()
end

function love.update(dt)
  mplayer:play()
end

function love.draw()
  mplayer:draw()
end

Files:

mjpegplayer.lua - single-threaded version.

mjpegplayermt.lua - multi-threaded version.

mjpegdecoder.lua - decoder thread for mjpegplayermt.lua.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages