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

can I get frame image filename in imiter when using ffmpeg plugin? #1076

Closed
zshnb opened this issue Apr 16, 2024 · 0 comments
Closed

can I get frame image filename in imiter when using ffmpeg plugin? #1076

zshnb opened this issue Apr 16, 2024 · 0 comments

Comments

@zshnb
Copy link

zshnb commented Apr 16, 2024

background

I want to know every frame's time in video

explain

I try to use below code to go throuth the whole frame

reader = imageio.imiter('/path')
for im in reader:
    print(im)


in ffmpeg if I add -frame-pts then ffmpeg will append frameNumber to filename like 234.jpg
can I also get the filename in iter?
if not how can I get the frame's time in video?

@zshnb zshnb closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant