Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpeg-like vsync logic #225

Closed
kharazi opened this issue May 13, 2017 · 2 comments
Closed

FFmpeg-like vsync logic #225

kharazi opened this issue May 13, 2017 · 2 comments

Comments

@kharazi
Copy link

kharazi commented May 13, 2017

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)') # ?
@kharazi kharazi changed the title Question about your wrapper to ffmpeg Question about wrapper parameters May 13, 2017
@mikeboers
Copy link
Member

Unfortunately, the vsync parameter is not a simple one, and contains a ton of logic that we have not implemented. It would be great if we did, but that is out of scope for a long time.

I'm going to retitle this issue and leave it here.

@mikeboers mikeboers changed the title Question about wrapper parameters FFmpeg-like vsync logic May 30, 2017
@mikeboers mikeboers mentioned this issue Aug 27, 2017
10 tasks
@mikeboers mikeboers added triage and removed feature labels Aug 27, 2017
@github-actions
Copy link

github-actions bot commented Apr 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants