Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- withAvFile :: (MonadMask m, MonadIO m) => String -> AvFormat m a -> m a
- nbStreams :: MonadIO m => AvFormat m Int
- formatName :: MonadIO m => AvFormat m String
- formatMetadata :: MonadIO m => AvFormat m AVDictionary
- duration :: MonadIO m => AvFormat m Int64
- data AvStreamT m a
- withStream :: MonadIO m => Int -> AvStreamT (AvFormat m) a -> AvFormat m a
- codecContext :: MonadIO m => AvStreamT m (Maybe AVCodecContext)
- codecName :: MonadIO m => AVCodecContext -> AvStreamT m String
- codecMediaTypeName :: MonadIO m => AVCodecContext -> AvStreamT m String
- streamBitrate :: MonadIO m => AVCodecContext -> AvStreamT m Int
- streamMetadata :: MonadIO m => AvStreamT m AVDictionary
- codec :: MonadIO m => AVCodecContext -> AvStreamT m (Maybe AVCodec)
- streamImageSize :: MonadIO m => AVCodecContext -> AvStreamT m (Int, Int)
- dictFoldM_ :: MonadIO m => ((String, String) -> m ()) -> AVDictionary -> m ()
Files
withAvFile :: (MonadMask m, MonadIO m) => String -> AvFormat m a -> m a Source #
formatName :: MonadIO m => AvFormat m String Source #
formatMetadata :: MonadIO m => AvFormat m AVDictionary Source #
Streams
Instances
MonadTrans AvStreamT Source # | |
Defined in Codec.FFmpeg.Probe | |
Monad m => MonadReader AVStream (AvStreamT m) Source # | |
Monad m => Monad (AvStreamT m) Source # | |
Functor m => Functor (AvStreamT m) Source # | |
Applicative m => Applicative (AvStreamT m) Source # | |
Defined in Codec.FFmpeg.Probe | |
MonadIO m => MonadIO (AvStreamT m) Source # | |
Defined in Codec.FFmpeg.Probe |
codecContext :: MonadIO m => AvStreamT m (Maybe AVCodecContext) Source #
codecMediaTypeName :: MonadIO m => AVCodecContext -> AvStreamT m String Source #
streamBitrate :: MonadIO m => AVCodecContext -> AvStreamT m Int Source #
streamMetadata :: MonadIO m => AvStreamT m AVDictionary 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 #