Title: Parsing error for `Fraction` FFmpeg option arguments · Issue #59 · python-ffmpegio/python-ffmpegio · GitHub
Open Graph Title: Parsing error for `Fraction` FFmpeg option arguments · Issue #59 · python-ffmpegio/python-ffmpegio
X Title: Parsing error for `Fraction` FFmpeg option arguments · Issue #59 · python-ffmpegio/python-ffmpegio
Description: The following is a natural way to code the start & stop time (or duration) options to specify the exact frame time: from_frame = 0 to_frame = 100 fps = ff.probe.video_streams_basic(infile)[0]["frame_rate"] ff.transcode( infile, outfile, ...
Open Graph Description: The following is a natural way to code the start & stop time (or duration) options to specify the exact frame time: from_frame = 0 to_frame = 100 fps = ff.probe.video_streams_basic(infile)[0]["fram...
X Description: The following is a natural way to code the start & stop time (or duration) options to specify the exact frame time: from_frame = 0 to_frame = 100 fps = ff.probe.video_streams_basic(infile)[0][&...
Opengraph URL: https://github.com/python-ffmpegio/python-ffmpegio/issues/59
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Parsing error for `Fraction` FFmpeg option arguments","articleBody":"The following is a natural way to code the start & stop time (or duration) options to specify the exact frame time:\n\n```python\nfrom_frame = 0\nto_frame = 100\nfps = ff.probe.video_streams_basic(infile)[0][\"frame_rate\"]\nff.transcode(\n infile,\n outfile,\n ss=from_frame / fps,\n to=to_frame / fps,\n overwrite=True,\n show_log=True,\n)\n```\n\nThe `frame_rate` attribute is often returned as a fraction for video (e.g., `30000/1001`), resulting in `ss` and `to` values to be in fractions as well. Stringifying a Fraction object yields a string of a format: `f'{numerator}/{denominator}'`. This format is not understood by FFmpeg.","author":{"url":"https://github.com/tikuma-lsuhsc","@type":"Person","name":"tikuma-lsuhsc"},"datePublished":"2026-07-07T15:36:58Z","url":"https://github.com/python-ffmpegio/python-ffmpegio/issues/59"}
| 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:12e7f63a-ae1f-f3c6-c432-4adac6e3a5f8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD08:2DE6C5:F6DC8:158FF9:6AFD6C3E |
| html-safe-nonce | b4626970817cbde0d72440b232c08636c78dff7b5ee07773fcfeea0cf0209ebc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDA4OjJERTZDNTpGNkRDODoxNThGRjk6NkFGRDZDM0UiLCJ2aXNpdG9yX2lkIjoiNTY4NDkwMzI0NDAzMTk0NTc5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 40d06e03aefe8f44e281e3866faca005d16f70a038bb402ff2b47968a8e39b44 |
| hovercard-subject-tag | issue:4830002596 |
| 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/59/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ff9fae4c1f95b7dd95887325b85575ba23f0f23665529fd6093f33d0ee0f70d4/python-ffmpegio/python-ffmpegio/issues/59 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ff9fae4c1f95b7dd95887325b85575ba23f0f23665529fd6093f33d0ee0f70d4/python-ffmpegio/python-ffmpegio/issues/59 |
| og:image:alt | The following is a natural way to code the start & stop time (or duration) options to specify the exact frame time: from_frame = 0 to_frame = 100 fps = ff.probe.video_streams_basic(infile)[0]["fram... |
| 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