I'm trying to get the duration of an input. I think something like what's done here: https://stackoverflow.com/questions/6451814/how-to-use-libavcodec-ffmpeg-to-find-duration-of-video-file. Is this exposed? I suspect something needs to added here? https://hackage.haskell.org/package/ffmpeg-light-0.12.0/docs/Codec-FFmpeg-Types.html#t:AVFormatContext
I'm trying to get the duration of an input. I think something like what's done here: https://stackoverflow.com/questions/6451814/how-to-use-libavcodec-ffmpeg-to-find-duration-of-video-file. Is this exposed? I suspect something needs to added here? https://hackage.haskell.org/package/ffmpeg-light-0.12.0/docs/Codec-FFmpeg-Types.html#t:AVFormatContext