@hackage ffmpeg-light0.14.1
Minimal bindings to the FFmpeg library.
Installation
Tested Compilers
Dependencies (9)
- JuicyPixels >=3.1 && <3.4
- base >=4.6 && <5
- bytestring
- either
- exceptions
- mtl >=2.2.1 && <2.3 Show all…
Dependents (1)
@hackage/acme-everything
Package Flags
builddemo
(off by default)
Build demo executable
buildrasterdemo
(off by default)
Build Rasterific demo executable
buildvplaydemo
(off by default)
Build video player demo executable
buildtranscodedemo
(off by default)
Build transcode demo executable
buildaudioextractdemo
(off by default)
Build audio-extract demo executable
buildaudiosindemo
(off by default)
Build audio-sin demo executable
Stream frames from an encoded video, or stream frames to
a video output file. To read the first frame from
an h264-encoded file into a JuicyPixels
Maybe DynamicImage,
import Codec.FFmpeg
import Codec.Picture
import Control.Applicative
go :: IO (Maybe DynamicImage)
go = do (getFrame, cleanup) <- imageReader "myVideo.mov"
(fmap ImageRGB8 <$> getFrame) <* cleanupTested with FFmpeg 3.1 - 3.4.2