-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Duration Format With Moviepy #502
Comments
Not sure what you mean. A video clip duration is expressed in seconds in Moviepy. 60.15 means 60 seconds and 15/100. To get the time format you want, you'd write something like (didnt check)
|
Yeah something like this! Let me try it and get back to you. Thanks! |
Done it. For anyone who might need this!
|
@bobozar has a solution. Closing this now. |
should we add a function that will accept seconds and return a string in hh:mm:ss format ? I can add it if others think it might be useful. |
How can I get the video duration in this format- 03:05 or 01:23:05 instead of the default format 60.15 for I hr 15 secs video.
Can seems to even get a template tag for this. Any idea on how to go about this in Python or in Django by saving the default format and change it in template.?
The text was updated successfully, but these errors were encountered: