Skip to content

feat: add FfmpegTimeDuration type - #94

Merged
nathanbabcock merged 2 commits into
nathanbabcock:mainfrom
Neisvestney:feat/time-duration
Dec 17, 2025
Merged

feat: add FfmpegTimeDuration type#94
nathanbabcock merged 2 commits into
nathanbabcock:mainfrom
Neisvestney:feat/time-duration

Conversation

@Neisvestney

Copy link
Copy Markdown
Contributor

Add FfmpegTimeDuration type represents a ffmpeg time duration described in FFmpeg documentation

This type wraps an i64 internally, representing time in microseconds, similar to how FFmpeg handles time durations internally.
Provides functions like from_str, to_string and other utilities

@nathanbabcock

Copy link
Copy Markdown
Owner

Looks really nice. I'll take a closer look tomorrow. I'm curious what's the use case that motivated this?

Thank you for the PR!

@Neisvestney

Copy link
Copy Markdown
Contributor Author

Pure unemployment power :)
But seriously, I'm using your library for a personal project.

@nathanbabcock
nathanbabcock merged commit 57e08ed into nathanbabcock:main Dec 17, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants