Commit Graph
15 Commits
Author SHA1 Message Date
Jedrzej Kosinski 4664081a2a version bump 2024-08-07 16:46:07 -05:00
Jedrzej Kosinski 9e841a5b88 version bump 2024-08-06 17:35:47 -05:00
snomiao b253112553 chore(licence-update): Update PyProject Toml - License 2024-08-02 23:03:35 +00:00
Austin Mroz 7c313fd9fb Merge ytdl_support, audio QOL 2024-07-30 02:36:13 -05:00
Jedrzej Kosinski 7b934a81c7 version bump 2024-07-11 22:00:48 -05:00
Austin Mroz 962e8e86ef Migrate from VHS_AUDIO to built-in AUDIO
Merge branch 'audio_format'
2024-07-05 18:38:53 -05:00
Austin Mroz 0037f49aee Add check for null in cg-use-everywhere workaround
Resolves #241
2024-06-30 23:02:54 -05:00
Austin Mroz 23d822c423 Add timestamps to image requests to prevent caching
Bump version
2024-06-29 03:02:13 -05:00
Austin Mroz aab731d702 Merge #220
The nodes are more Kosinkadink's area, but the changes are good and I
don't foresee them causing any issues

Bump version
2024-06-18 16:27:08 -05:00
Austin Mroz b70a173d5e Reduce console spam, ffmpeg_gif split filter
There were still intermittent errors and console spam from a transcoded
advanced preview being interrupted before it could finish.Connection
errors are also caught now.

ffmpeg does not appear to handle transparency as expected for gif
creation. Transparent areas will show the previous frame, or a portion
of it. A deep dive into trying to find configuration options to fix this
did not result in solutions that functioned on my machine, but did
introduce me to the ffmpeg split filter.

Split allows for a single ffmpeg execution to generate a palette and
utilize the palette for creating the output gif without requiring a temp
file. However, the video data must be buffered in memory by ffmpeg.
Quick testing seems to show that ffmpeg uses 4 bytes per pixel
of buffered frame data.

The ramifications for memory usage are nuanced, but wind up preferable.
The increased memory per pixel of ffmpeg's buffering only results in
(approximated) 3% memory increase over the whole workflow, but remove
the need for a tempfile, a second subprocess call, and allow for
imperfect Meta Batch support which can only extend the total frame count
by 5-6x. It's a reduction in moving parts for underwhelming memory
characteristics in both the best and worst case. Additionally, it likely
actually addresses the issue the original requester saw in #160

The actual code for allowing pre-passes is left in for now and will
likely be re-evaluated for other uses or pruned at a later time.

Actually bump version.
2024-06-07 00:38:34 -05:00
Austin Mroz aad82e9cfe Revert in_place exif_transpose, f16 loads
in_place requires a fairly recent version of pillow and performing the
performance benefit of it is minimal.

Loading as float16 does break other nodes so the change is getting
reverted.

Resolves #226
2024-06-06 11:59:53 -05:00
Austin Mroz 1ab2027165 Merge branch 'develop'
Also bump version
2024-06-05 23:47:41 -05:00
Austin Mroz acbf789291 Workaround for audio with ffmpeg 7.0
ffmpeg 7.0 seems to introduce a regression where shortest doesn't apply
until the entire audio stream has been processed. When combined with
apad, this means audio transcoding never completes.

As a workaround, a maximum duration for the audio with pad has been
added as well as framework to track the total number of frames written
across multiple meta batches.

See #213
2024-05-23 14:44:32 -05:00
Robin Huang 1c08dac5b7 Added publisher id. 2024-05-16 21:39:12 -07:00
Robin Huang 26381e923e Add pyproject.toml for Custom Node Registry. 2024-05-16 21:22:26 -07:00