在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):acowley/ffmpeg-light开源软件地址(OpenSource Url):https://github.com/acowley/ffmpeg-light开源编程语言(OpenSource Language):Haskell 92.2%开源软件介绍(OpenSource Introduction):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 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
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 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 |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论