Title: [FEAT] add `iter()` to `audio`, `video`, and `media` modules · Issue #58 · python-ffmpegio/python-ffmpegio · GitHub
Open Graph Title: [FEAT] add `iter()` to `audio`, `video`, and `media` modules · Issue #58 · python-ffmpegio/python-ffmpegio
X Title: [FEAT] add `iter()` to `audio`, `video`, and `media` modules · Issue #58 · python-ffmpegio/python-ffmpegio
Description: Currently, read() routines in these modules retrieve the data at once, and streaming access uses open() but the latter requires several lines of code to set up. Look into adding iter() routines to simplify the streaming read interface, e...
Open Graph Description: Currently, read() routines in these modules retrieve the data at once, and streaming access uses open() but the latter requires several lines of code to set up. Look into adding iter() routines to ...
X Description: Currently, read() routines in these modules retrieve the data at once, and streaming access uses open() but the latter requires several lines of code to set up. Look into adding iter() routines to ...
Opengraph URL: https://github.com/python-ffmpegio/python-ffmpegio/issues/58
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEAT] add `iter()` to `audio`, `video`, and `media` modules","articleBody":"Currently, `read()` routines in these modules retrieve the data at once, and streaming access uses `open()` but the latter requires several lines of code to set up. Look into adding `iter()` routines to simplify the streaming read interface, e.g.,\n\nvideo:\n\n```python\nimport ffmpegio as ff\n\nfor frame in ff.video.iter('video.mp4'):\n ... # work with video frame data, one at a time\n```\n\naudio:\n\n```python\nfor frame in ff.audio.iter('audio.mp3', frame_size=1024):\n ... # work with audio samples, 1024 samples at a time\n```\n\nmedia (each stream may not have data available simultaneously):\n\n```python\nfor vframe, aframe in ff.media.iter('video.mp3', streams=['v:0','a:0']):\n if vframe is not None:\n ... # work with video frame\n if aframe is not None:\n ... # work with audio samples roughly associated with one video frame\n```\n","author":{"url":"https://github.com/tikuma-lsuhsc","@type":"Person","name":"tikuma-lsuhsc"},"datePublished":"2026-07-03T16:46:06Z","url":"https://github.com/python-ffmpegio/python-ffmpegio/issues/58"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ec3dafe7-d164-0cd5-ca82-9cd237b4e9dc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD22:301773:E98FB:145BD8:6AFD6C3E |
| html-safe-nonce | add8cf4c538b99711cd32071d0d2c2b01ed0e77e5b0a266ce71fb5caaef50455 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDIyOjMwMTc3MzpFOThGQjoxNDVCRDg6NkFGRDZDM0UiLCJ2aXNpdG9yX2lkIjoiMzE4MTU3NjI1OTg2MzY2OTgyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | da9394bdd7ed74f28384ed3c8dad597640643bc7f792398fca9e6f454c224083 |
| hovercard-subject-tag | issue:4805078487 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-ffmpegio/python-ffmpegio/58/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4212b16ad93671f5f6932398e897bfa8802e7d5e73b023cee9685bc2f090baaa/python-ffmpegio/python-ffmpegio/issues/58 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4212b16ad93671f5f6932398e897bfa8802e7d5e73b023cee9685bc2f090baaa/python-ffmpegio/python-ffmpegio/issues/58 |
| og:image:alt | Currently, read() routines in these modules retrieve the data at once, and streaming access uses open() but the latter requires several lines of code to set up. Look into adding iter() routines to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tikuma-lsuhsc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9985ca2e21b59673104d4d830d4afeb946c67f248f273ab2e824c31c8db46e4a |
| turbo-cache-control | no-preview |
| go-import | github.com/python-ffmpegio/python-ffmpegio git https://github.com/python-ffmpegio/python-ffmpegio.git |
| octolytics-dimension-user_id | 98168493 |
| octolytics-dimension-user_login | python-ffmpegio |
| octolytics-dimension-repository_id | 355600490 |
| octolytics-dimension-repository_nwo | python-ffmpegio/python-ffmpegio |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 355600490 |
| octolytics-dimension-repository_network_root_nwo | python-ffmpegio/python-ffmpegio |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0db9e8d463c3f4540570e6ad3c501a06db9dc02a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width