Includes FFmpeg-backed import/export nodes, master presets, sequence export, metadata probe, image batch to latent bridge, codec preset and audio mux utilities, packaging files, workflows, and baseline tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
20 lines
471 B
Python
20 lines
471 B
Python
import os
|
|
import sys
|
|
|
|
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
|
|
|
|
from core.command_builder import build_video_command
|
|
|
|
|
|
def test_build_video_command_has_codec_and_output():
|
|
cmd = build_video_command(
|
|
ffmpeg_path="ffmpeg",
|
|
input_pattern="/tmp/frame_%06d.png",
|
|
output_path="out.mp4",
|
|
fps=24,
|
|
profile_name="youtube_h264",
|
|
overwrite=True,
|
|
)
|
|
assert "-c:v" in cmd
|
|
assert cmd[-1] == "out.mp4"
|