Skip to content

Fix concat() path mangling on Windows - #13

Merged
TroyHernandez merged 2 commits into
mainfrom
fix-concat-windows-paths
Jun 20, 2026
Merged

Fix concat() path mangling on Windows#13
TroyHernandez merged 2 commits into
mainfrom
fix-concat-windows-paths

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor

Forward-slash paths in the concat demuxer list file so Windows paths aren't mangled by ffmpeg's backslash escaping. Also fixes render_timeline()'s stream-copy path, which routes through concat(). No new dependency, no API change. All 81 tests pass. Version bump 0.1.0.6 -> 0.1.0.7.

The concat demuxer treats backslash as an escape character inside a
quoted path, so a Windows path like C:\Users\... written verbatim into
the list file gets mangled. Translate to forward slashes (ffmpeg accepts
them on Windows), matching what .subtitles_filter() already does. Also
fixes render_timeline()'s stream-copy path, which routes through concat().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant