[GH-ISSUE #4238] [Issue]: Support video length and FPS macros in ComfyUI profiles #2294

Closed
opened 2026-10-21 05:47:03 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4238

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Allow ComfyUI Connection Profiles to send video length in seconds and FPS through workflow variable macros instead of using a fixed frame count at 16 FPS.

Expected behavior

ComfyUI workflows should receive video length through %length_s% and frame rate through %fps%, improving compatibility with video nodes that use FPS-based settings.

Actual behavior

Video length is represented as a fixed number of frames calculated at a fixed 16 FPS.

Steps to reproduce

  1. Create or use a ComfyUI Connection Profile for a video workflow.
  2. Configure a ComfyUI video node that expects video length and FPS values.
  3. Observe that the profile uses a fixed frame count at 16 FPS instead of providing %length_s% and %fps% workflow variables.

Environment

  • Marinara Engine version: v2.3.4 (build b7545a6)
  • Install type: other (Podman)
  • OS + version: Linux; version not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

Most ComfyUI video-related nodes are based on FPS. Requested workflow variable macros: %length_s% for length in seconds and %fps% for frame rate.

Discord thread: [FR] ComfyUI Video FPS & Length
Discord thread link: https://discord.com/channels/1417099416812392641/1531930692567699467
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-29T07:45:39.004Z] m;aemoifmpfmmafe: Hi,

Instead of the video length in terms of fixed no. of frames fixed at 16fps for the ComfyUI Connection Profile, I would like to request for the values with the workflow variable macros to be sent instead to improve the integration workflows:

- length (in seconds) - %length_s%
- fps - %fps%

Most of the ComfyUI video related nodes are based on fps instead.

Release: v2.3.4
Build: b7545a6
Install: Linux / Podman
[Discord message: https://discord.com/channels/1417099416812392641/1531930692567699467/1531930692567699467]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4238 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Allow ComfyUI Connection Profiles to send video length in seconds and FPS through workflow variable macros instead of using a fixed frame count at 16 FPS. ## Expected behavior ComfyUI workflows should receive video length through %length_s% and frame rate through %fps%, improving compatibility with video nodes that use FPS-based settings. ## Actual behavior Video length is represented as a fixed number of frames calculated at a fixed 16 FPS. ## Steps to reproduce 1. Create or use a ComfyUI Connection Profile for a video workflow. 2. Configure a ComfyUI video node that expects video length and FPS values. 3. Observe that the profile uses a fixed frame count at 16 FPS instead of providing %length_s% and %fps% workflow variables. ## Environment - Marinara Engine version: v2.3.4 (build b7545a6) - Install type: other (Podman) - OS + version: Linux; version not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context Most ComfyUI video-related nodes are based on FPS. Requested workflow variable macros: %length_s% for length in seconds and %fps% for frame rate. Discord thread: [FR] ComfyUI Video FPS & Length Discord thread link: https://discord.com/channels/1417099416812392641/1531930692567699467 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-29T07:45:39.004Z] m;aemoifmpfmmafe: Hi, Instead of the video length in terms of fixed no. of frames fixed at 16fps for the ComfyUI Connection Profile, I would like to request for the values with the workflow variable macros to be sent instead to improve the integration workflows: - length (in seconds) - %length_s% - fps - %fps% Most of the ComfyUI video related nodes are based on fps instead. Release: v2.3.4 Build: b7545a6 Install: Linux / Podman [Discord message: https://discord.com/channels/1417099416812392641/1531930692567699467/1531930692567699467] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:47:03 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2294
No description provided.