ffmpeg-light-0.11.1: Minimal bindings to the FFmpeg library.

Safe HaskellNone
LanguageHaskell2010

Codec.FFmpeg.Probe

Contents

Synopsis

Files

withAvFile :: (MonadMask m, MonadIO m) => String -> AvFormat m a -> m a Source

nbStreams :: MonadIO m => AvFormat m Int Source

formatName :: MonadIO m => AvFormat m String Source

duration :: MonadIO m => AvFormat m Int64 Source

Streams

withStream :: MonadIO m => Int -> AvStreamT (AvFormat m) a -> AvFormat m a Source

streamImageSize :: MonadIO m => AVCodecContext -> AvStreamT m (Int, Int) Source

Gives the (width, height) of a video stream in pixels, not accounting for the pixel aspect ratio.

Dictionaries

dictFoldM_ :: MonadIO m => ((String, String) -> m ()) -> AVDictionary -> m () Source