ffmpeg-light alternatives and similar packages
Based on the "Codec" category.
Alternatively, view ffmpeg-light alternatives based on common mentions on social networks and blogs.
-
binary-serialise-cbor
Binary serialisation in the CBOR format -
zip-archive
Native Haskell library for working with zip archives -
utf8-string
Support for reading and writing UTF8 Strings in Haskell -
postgresql-binary
Encoders and decoders for the PostgreSQL's binary format -
multihash-serialise
Haskell libraries for interacting with IPFS -
HCodecs
A library to read, write and manipulate MIDI, WAVE, and SoundFont2 files -
html-entities
A codec library for HTML-escaped text and HTML-entities -
zip-stream
Haskell ZIP archive streaming processing using conduit -
friday-juicypixels
Convert between friday and juicypixels types -
hs-zstd
Bindings to the Zstandard library to make it usable from the Haskell programming language. -
threefish
Haskell implementation of the Threefish block cipher and the Skein hash function built on it. -
activitystreams-aeson
Basic library for working with Activity Streams -
libvorbis
Haskell binding for libvorbis, for decoding Ogg Vorbis audio files -
bzlib-conduit
Streaming compression/decompression via conduits. -
logic-TPTP
Import, export etc. for TPTP, a syntax for first-order logic -
streaming-brotli
Streaming interface for Brotli (RFC7932) compression
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ffmpeg-light or a related project?
README
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 initFFmpeg
(getFrame, cleanup) <- imageReader (File "myVideo.mov")
(fmap ImageRGB8 <$> getFrame) <* cleanup
A demonstration of creating an animation using the
Rasterific
library
may be found in
demo/Raster.hs
. A
weird animated variation of the Rasterific
logo is the result:
Note that encoding an animation to a modern video codec like h264 can result in even smaller files. But those files can't be embedded in a README on github.
Tested on OS X 10.9.2 with FFmpeg 2.2.1 installed via homebrew.
Debian and Ubuntu users: Your package manager's ffmpeg
package is actually a not-quite-compatible fork of the ffmpeg
project. To use ffmpeg-light
, run the included ffmpeg-ubuntu-compile.sh
script as regular (non-root) user. This builds the ffmpeg libraries locally. Configure your projects that depend on ffmpeg-light
with a modified PKG_CONFIG_PATH
:
PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" cabal configure --disable-shared my-project
There are signs that the next Ubuntu release will come with the original ffmpeg
and development packages.