There is an example in the FFmpeg documentation describing how to use a custom buffer as input, instead of a file or device.
Would it be possible to wrap the relevant ffmpeg api-functions used in the example?
Perhaps support a new InputSource type, like Buffer ByteString (Lazy, strict or something conduit/pipe/stream-like?)
I would be glad to help, here, as I have a use-case where extracting frames from videos in a streaming fashion is desirable (preferably without touching the disk)
There is an example in the FFmpeg documentation describing how to use a custom buffer as input, instead of a file or device.
Would it be possible to wrap the relevant
ffmpegapi-functions used in the example?Perhaps support a new InputSource type, like
Buffer ByteString(Lazy, strict or something conduit/pipe/stream-like?)I would be glad to help, here, as I have a use-case where extracting frames from videos in a streaming fashion is desirable (preferably without touching the disk)