Chunk output video paths, in play order.
Lines of that list, file '<basename>' with each apostrophe escaped, in play order.
Path of the concat-demuxer list file the host writes, beside the output.
Ffmpeg argument vector that concatenates the chunk videos with stream copy.
Final video path, the whole plan's outputPath.
The plan for stitching encoded chunk videos back into one video with ffmpeg's concat demuxer and stream copy.
The host writes
concatListLinestoconcatListPathand runs ffmpeg withffmpegArgs. The list holds chunk basenames because the demuxer resolves a relative entry against the list file's directory, which is also the chunk outputs' directory. Successful stream-copy concatenation requires the host's actual encoded streams to be compatible; a planned argument vector alone does not prove that condition.