Grab a frame from a "stream"

Issue #7 resolved
created an issue

Hi, I was able to access a RTMP streaming url via ffvideo: (uses identical code to your test in the readme)


codec: h264 duration: -9223372036854.78 bit rate: 0 frame size: 854x480 frame_mode: RGB

But it "freezes" there and I'm unable to use:

frame = vs.get_frame_no(100)

frame = vs.get_frame_at_pts(0) frame.image().save('frame2sec.jpeg')

To save an image.

I then have to kill -9 the process via another terminal. Is there a way to specify duration?

Comments (2)

  1. Log in to comment