Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import skvideo.io
- reader = skvideo.io.FFmpegReader(filename,
- inputdict={},
- outputdict={})
- def gen_frames():
- for frame in reader.nextFrame():
- yield frame
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement