ffmpeg-light: Minimal bindings to the FFmpeg library.

[ bsd3, codec, library ] [ Propose Tags ]

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.

Modules

[Last Documentation]

  • Codec
    • Codec.FFmpeg
      • Codec.FFmpeg.Common
      • Codec.FFmpeg.Decode
      • Codec.FFmpeg.Encode
      • Codec.FFmpeg.Enums
      • Internal
        • Codec.FFmpeg.Internal.Debug
      • Codec.FFmpeg.Juicy
      • Codec.FFmpeg.Types

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.2, 0.2.0.1, 0.3, 0.3.0.1, 0.3.1, 0.4, 0.5, 0.6, 0.7, 0.7.1, 0.7.1.1, 0.8, 0.8.1, 0.8.2, 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.11.3, 0.12.0, 0.12.0.1, 0.12.1.0, 0.12.2.0, 0.12.2.1, 0.12.2.2, 0.13.0, 0.14.0, 0.14.1 (info)
Dependencies base (>=4.6 && <5), JuicyPixels (>=3.1 && <3.2), mtl (>=2.1.3 && <2.2), transformers (>=0.3 && <0.4), vector (>=0.10.9 && <0.11) [details]
License BSD-3-Clause
Copyright Copyright (C) 2014 Anthony Cowley
Author Anthony Cowley
Maintainer acowley@gmail.com
Category Codec
Uploaded by AnthonyCowley at 2014-04-19T01:43:32Z
Distributions NixOS:0.14.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 20142 total (80 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-15 [all 7 reports]