MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / init_input_info_from_args

Function init_input_info_from_args

lightx2v/utils/input_info.py:582–586  ·  view source on GitHub ↗
(task, args, **overrides)

Source from the content-addressed store, hash-verified

580
581 This ensures the result satisfies the VAE stride constraint: (n-1) % 4 == 0
582
583 Args:
584 duration_seconds: Video duration in seconds
585 fps: Target frames per second (default 16)
586
587 Returns:
588 Frame count that satisfies VAE stride constraint
589

Callers 2

generateMethod · 0.90
generateMethod · 0.90

Calls 1

from_argsMethod · 0.80

Tested by

no test coverage detected