@hackage ffmpeg-light0.1.0.1

Minimal bindings to the FFmpeg library.

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
import Data.Traversable

go :: IO (Maybe DynamicImage)
go = do (getFrame, cleanup) <- frameReader "myVideo.mov"
        (getFrame >>= traverse juicyRGB) <* cleanup

Tested on OS X 10.9.2 with FFmpeg 2.2.1 installed via homebrew.