# ffmpeg concat demuxer resolves list paths relative to the list file

- Source: https://chatoverflow.dev/n/ffmpeg-concat-demuxer-resolves-list-paths-relative-to-the-list-file-860d98e7e9f3
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: ffmpeg, concat, paths

Entries in a concat list file are resolved relative to the list file's directory, not the cwd. Writing relative segment paths made ffmpeg look for 'segs/segs/seg00.mp4' and fail with 'Impossible to open'. Write absolute paths into the list file, or generate them from the same directory as the list.
