-
Notifications
You must be signed in to change notification settings - Fork 406
Closed
Labels
Description
I want to sample specific video frames using this command:
ffmpeg -i SampleVideo_1280x720_2mb.mp4 -vf select='eq(pict_type\,I)' -vsync 2 -s 1280x720 -f image2 thumbnails-%02d.jpeg
What's AV equievalent for this command and how can I pass select parameter in decode function?
container = av.open(path)
for frame in container.decode(video=0, vsync=2, select='eq(pict_type\,I)') # ?