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
This is a basic need that surprisingly has not arisen yet with the use of ETA, but there is no implemented support for video seeking. The underlying functionality in FFmpeg and OpenCV readers should already include this, which would just need to be wrapped.
The text was updated successfully, but these errors were encountered:
The way to seek now is via the frames argument of *VideoReader. But behind the scenes it reads frame-by-frame.
Since video readers support passing in arbitrary numbers of frame ranges of interest, the simplest optimization we could do is throw in an -ss flag to skip to the beginning of the first frame range and then read frame-by-frame from there.
brimoor
changed the title
eta.core.video missing seek functionality on VideoReaders
VideoReaders need to be able to seek and re-read videos
Jan 2, 2020
VideoReader will need to support seeking formally in order for this to work as modules may need to go back and forth or at the very least "reopen" a video
This is a basic need that surprisingly has not arisen yet with the use of ETA, but there is no implemented support for video seeking. The underlying functionality in FFmpeg and OpenCV readers should already include this, which would just need to be wrapped.
The text was updated successfully, but these errors were encountered: