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

go :: IO (Maybe DynamicImage)
go = do (getFrame, cleanup) <- imageReader "myVideo.mov"
        (fmap ImageRGB8 <$> getFrame) <* cleanup

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

Versions 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 (info)
Change log CHANGELOG.md
Dependencies base (>=4.6 && <5), ffmpeg-light, JuicyPixels (==3.1.*), linear, mtl (>=2.1.3 && <2.2), Rasterific, transformers (==0.3.*), 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
Source repo head: git clone http://github.com/acowley/ffmpeg-light.git
Uploaded by AnthonyCowley at Thu Apr 24 04:39:00 UTC 2014
Distributions NixOS:0.12.2.2
Executables raster, demo
Downloads 7573 total (98 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
builddemo

Build demo executable

DisabledAutomatic
buildrasterdemo

Build Rasterific demo executable

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees