The ffmpeg-light package

[Tags:bsd3, 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

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

Tested with FFmpeg 3.1

Properties

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
Change log CHANGELOG.md
Dependencies base (>=4.6 && <4.10), either, exceptions, JuicyPixels (==3.2.*), mtl (>=2.2.1 && <2.3), transformers (>=0.4.1 && <0.6), vector (>=0.10.9 && <0.13) [details]
License BSD3
Copyright Copyright (C) 2014 Anthony Cowley
Author Anthony Cowley
Maintainer acowley@gmail.com
Stability Unknown
Category Codec
Home page http://github.com/acowley/ffmpeg-light
Bug tracker http://github.com/acowley/ffmpeg-light/issues
Source repository head: git clone http://github.com/acowley/ffmpeg-light.git
Uploaded Mon Jan 16 18:39:29 UTC 2017 by AnthonyCowley
Distributions NixOS:0.11.3
Downloads 3228 total (19 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2017-01-16 [all 3 reports]

Modules

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

Flags

NameDescriptionDefaultType
builddemoBuild demo executableDisabledManual
buildrasterdemoBuild Rasterific demo executableDisabledManual

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