Skip to content

works great but get s blurry after 7-8 seconds #28

Description

@3a1b2c3

works great but ghost and gets blurry after 7-8 seconds , can i change parameters to fix it?

boxing_streamv2v.mp4

@echo off
setlocal enableextensions
REM ==========================================================================
REM StreamDiffusionV2 (Wan2.1 causal-DMD v2v) on boxing.mp4.
REM Prompt-driven (no ref image).
REM Usage: boxing_streamv2v.bat (default prompt below)
REM boxing_streamv2v.bat (override the whole prompt)
REM Output: this folder\boxing_streamv2v.mp4
REM ==========================================================================
set "SDV2=C:\workspace\world\StreamDiffusionV2"
set "HERE=%~dp0"
set "SRC=%HERE%boxing.mp4"
set "OUT=%HERE%boxing_streamv2v.mp4"

if not exist "%SRC%" ( echo ERROR: source not found: %SRC% & exit /b 1 )
if not exist "%SDV2%\run_streamdiffusionv2.bat" ( echo ERROR: StreamDiffusionV2 launcher not found & exit /b 1 )

set "PROMPT=%*"
if "%PROMPT%"=="" set "PROMPT=two boxers fighting in a boxing ring, muscular athletes, dynamic punches, photorealistic, cinematic lighting, sharp focus, high detail"

REM Force the StreamDiffusionV2 venv + repo root (immune to stale %~dp0 / env).
set "SDV2_VENV=%SDV2%.venv"
set "SDV2_ROOT=%SDV2%"

REM NOISE=<0..1>: higher repaints more from the prompt (less source shows through).
REM Lower = more of the sharp source survives = LESS end-of-clip blur. 0.7 is a
REM good sharpness/stylization balance; raise toward 0.95 for heavier restyle.
if not defined NOISE set "NOISE=0.7"
REM NOTE: leave the sink knobs at their config defaults (num_sink=5, adapt_sink=0.2,
REM step=2). Raising --adapt-sink (e.g. 0.3) or --step (>2) crashes the KV-cache
REM eviction bookkeeping (evict_idx underflow -> IndexError). NOISE is the safe lever.

call "%SDV2%\run_streamdiffusionv2.bat" --skip-download --noise-scale %NOISE% --input "%SRC%" --prompt "%PROMPT%" --output "%OUT%"
set "EXIT_CODE=%ERRORLEVEL%"

echo.
echo ============================================================
if %EXIT_CODE%==0 (
echo RESULT: %OUT%
) else (
echo FAILED ^(exit %EXIT_CODE%^) -- no result written
)
echo ============================================================
exit /b %EXIT_CODE%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions