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

Fixes #9 and More #16

Merged
merged 4 commits into from
Oct 19, 2024
Merged

Fixes #9 and More #16

merged 4 commits into from
Oct 19, 2024

Conversation

WheheoHu
Copy link
Collaborator

重构 Refactor:

  • 使用f-string处理字符串格式输出

    Handling string format output using f-string

  • 重构时间码输出函数,减少代码重复

    Refactor the time code output function to reduce code duplication

添加 Add:

  • 添加get_audio_sample_count 方法用于正确输出TC时间戳下的音频采样数, 解决issue #9

    Add get_audio_sample_count method for correctly outputting the count of audio samples at TC timestamps,solve issue #9

弃用 Deprecate:

  • 使用functools.singledispatchmethod 代替 dispatch.InstanceMethodDispatch

    Usefunctools.singledispatchmethod instead of dispatch.InstanceMethodDispatch

Remove all code for timerange
@OwenYou OwenYou merged commit 79f0e5d into OwenYou:main Oct 19, 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

Successfully merging this pull request may close these issues.

Add audio sample count calculation function while maintain precision of the timestamp
2 participants