You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: a % in an output directory or file name is read as an image-sequence pattern (wrong file name returned or ffmpeg error) #238
Paths with % are rare but legal (Windows user names, "50% speed" folders, SCREENCAST_HOME). When they appear, tools either fail cryptically or return a path that doesn't exist.
Evidence
src/tools/sampleFrames.ts:169: join(dir, "frame_%05d.png"). An outputDir containing %1 makes ffmpeg fail and write a literal frame_%05d.png.
src/tools/contactSheet.ts:138, buildSampleAtTimestampArgs and buildTileArgs write single PNGs. ffmpeg's image2 muxer expands b%dx.png to b1x.png, so the tool returns b%dx.png, which doesn't exist.
Escape % as %% in the directory and base parts of sequence patterns (verified working), and add -update 1 to every single-image output so the name stays literal (verified).
Done when
Unit tests cover % in dirs and names for sample_frames, contact_sheet, screenshot-from-video and tile builders. The returned paths exist.
Activity
fix: full-target capture, % in output paths, odd compress width, exac…