Extend image_name_template to allow timestamp - #395
Conversation
I see in your PR you've already used the Thank you for the PR! |
Veldhoen
commented
Apr 29, 2024
Thanks for replying so fast, even though my PR was still a draft. I'll make sure to address the issues you mentioned, hopefully later today. |
…ithub.com:Veldhoen/PySceneDetect into 394-extend-image-name-template-to-allow-timestamp
Veldhoen
commented
Apr 30, 2024
Rebased on Documentation still needs to be updated to explain these extensions. |
Breakthrough
left a comment
There was a problem hiding this comment.
Looks like the test_save_images test is failing on Windows, will approve once fixed. Thank you!
| IMAGE_NUMBER=image_num_format % (j + 1), | ||
| FRAME_NUMBER=image_timecode.get_frames(), | ||
| TIMESTAMP_MS=int(image_timecode.get_seconds() * 1000), | ||
| TIMECODE=image_timecode.get_timecode()), |
There was a problem hiding this comment.
Timecodes need to be formatted specially as not all operating systems support : in paths. Please replace them with ;as is done when splitting videos:
TIMECODE=image_timecode.get_timecode().replace(":", ";")This is most likely why test_save_images is failing on the Windows build currently.
Uh oh!
There was an error while loading. Please reload this page.
Veldhoen
commented
May 2, 2024
I applied the requested changes, and extended docstring. Hope this will do! |
Breakthrough
commented
May 3, 2024
Much appreciated, approved. Thank you for the PR! |
Veldhoen
commented
May 6, 2024
@Breakthrough When do you plan to release 0.6.4? I created a pre-release of my fork to be able to use the functionality right away, but I'd like to use a proper release at some point, of course. |
Breakthrough
commented
May 8, 2024
I'm hoping to wrap up the next release by the end of this month. If for whatever reason you need this sooner in production, I can consider pushing a pre-release to PyPI. |
Veldhoen
commented
May 14, 2024
If you can make it by the end of this month, that would be great. Until then we'll be fine with my ad hoc pre-release. Thanks! |
Veldhoen
commented
Jun 7, 2024
@Breakthrough do you have any updates concerning the release of 0.6.4? Would be much appreciated :) |
All feature work is complete, just finishing up testing and preparing the release. The new version should be out within a day or two. |
Fixes#394