ffmpeg-light: 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
go :: IO (Maybe DynamicImage)
go = do (getFrame, cleanup) <- imageReader "myVideo.mov"
(fmap ImageRGB8 <$> getFrame) <* cleanupTested with FFmpeg 3.1 - 4.3.1
Modules
[Index] [Quick Jump]
Flags
Manual Flags
| Name | Description | Default |
|---|---|---|
| builddemo | Build demo executable | Disabled |
| buildrasterdemo | Build Rasterific demo executable | Disabled |
| buildvplaydemo | Build video player demo executable | Disabled |
| buildtranscodedemo | Build transcode demo executable | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- ffmpeg-light-0.13.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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) |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.6 && <5), bytestring, either, exceptions, JuicyPixels (>=3.2 && <3.4), monad-loops, mtl (>=2.2.1 && <2.3), text, transformers (>=0.4.1 && <0.6), vector (>=0.10.9 && <0.13) [details] |
| Tested with | ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.2, ghc ==8.6.5, ghc ==8.8.4 |
| License | BSD-3-Clause |
| Copyright | Copyright (C) 2018 Anthony Cowley |
| Author | Anthony Cowley |
| Maintainer | acowley@gmail.com |
| Uploaded | by AnthonyCowley at 2020-10-26T18:03:32Z |
| Category | Codec |
| Home page | http://github.com/acowley/ffmpeg-light |
| Bug tracker | http://github.com/acowley/ffmpeg-light/issues |
| Source repo | head: git clone http://github.com/acowley/ffmpeg-light.git |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | transcode, vplay, raster, demo |
| Downloads | 22211 total (128 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user [build log] All reported builds failed as of 2020-10-26 [all 2 reports] |