You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think your analysis is all correct. I guess we'd put this in the Decode module, and we have to do something sensible for when the open input is a camera. We've got checkStreams which seems relevant to the caveat suggested by the SO answer you found. The last consideration would be to try to ensure we give an answer back in a friendly way (perhaps a Ratio).
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
The text was updated successfully, but these errors were encountered: