JuliaIO / VideoIO.jl

Reading and writing of video files in Julia via ffmpeg
https://juliaio.github.io/VideoIO.jl/stable
Other
126 stars 53 forks source link

Get previous frame (one frame backwards) #248

Open yakir12 opened 4 years ago

yakir12 commented 4 years ago

While read gets the next frame, it would be very useful to be able to retrieve the previous one.

I understand that this is not trivial for some codecs, but it would be cool if VideoIO.jl provided this functionality for all formats. Ultimately, it would be used in a video player, but I imagine other applications might also find this useful.

Since I've more or less failed at implementing this, I thought it would be good to submit this issue here, both as a placeholder but also as an encouragement for anyone who feels up for the task.