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

Simple Block timestamp going negative when time given explicitly using add function #64

Open
imhimanshujain opened this issue Mar 26, 2020 · 3 comments

Comments

@imhimanshujain
Copy link

image

When I try to create video out of images by providing explicitly providing 4000 as second parameter to Whammy.Video().add function, whammy is creating simpleblocks with negative timestamps.

@imhimanshujain imhimanshujain changed the title Frame timestamp going negative when time given explicitly using add function Simple Block timestamp going negative when time given explicitly using add function Mar 26, 2020
@Jannchie
Copy link

I found that timecode overflows into a negative number when it exceeds 32767

@Jannchie
Copy link

Well, I think I've found a solution. The problem is that the timeline scale is too small.The source code is set at 1e6, which results in a timestamp range of only 32 seconds.We can fix this by magnifying this value and shrinking the duration value.

@Jannchie
Copy link

Jannchie commented Oct 8, 2020

#68 I used the information you provided to fix the BUG

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

2 participants