Last 12 weeks · 0 commits
1 of 6 standards met
Changes The ' was escaped as \\', but ffmpeg does no escape processing inside single quotes — ' just closes the quote. This broke the debug overlay for any word with an apostrophe (it's, don't, we're, etc.). Replaced with the close-escape-reopen idiom ('\'') which is ffmpeg's documented approach. Closes https://github.com/wesbos/syntax-supercut-studio/issues/1
Summary escapes as , but ffmpeg's quoting rules state that inside single quotes, all characters are literal — there is no escape mechanism. The simply closes the quote, causing a parse error for any text containing an apostrophe. File , line 24 What happens For input , the code produces: ffmpeg's parser treats everything between as literal with no escape processing. So it reads as the value, the next closes the quote, and is leftover garbage that breaks the filter. From ffmpeg docs: "All characters enclosed between '' are included literally in the parsed string. The quote character ' itself cannot be quoted, so you may need to close the quote and escape it." Fix Close the quote, emit a backslash-escaped quote (outside quotes, is a literal ), then reopen: This produces — which ffmpeg parses correctly as . Impact Any English contraction ("it's", "don't", "we're") in a matched transcript word crashes ffmpeg when debug overlay is enabled. Affects both and pipelines.
Repository: wesbos/syntax-supercut-studio. Description: Local SvelteKit app for rendering transcript supercuts Stars: 110, Forks: 20. Primary language: TypeScript. Languages: TypeScript (64.1%), Svelte (27.9%), CSS (7.4%), HTML (0.5%), JavaScript (0.2%). Open PRs: 0, open issues: 0. Last activity: 3mo ago. Community health: 28%. Top contributors: wesbos, imevanc.