Opened 7 months ago

Closed 7 months ago

#10719 closed defect (worksforme)

https://trac.ffmpeg.org/wiki/Concatenate fails when file names contain '

Reported by: iconoclasthero Owned by:
Priority: normal Component: documentation
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
In this documentation for concat, it does not state that the ephermerially-generated file list must not contain any 's or the process will fail. This might be a larger issue with ffmpeg (per the consensus opinion at #bash/irc), however it should at least be noted that if you have certain special characters, e.g., ', the <(file ...) process fails.

Change History (7)

comment:1 by Cigaes, 7 months ago

Resolution: invalid
Status: newclosed

“special characters and spaces must be escaped with backslash or single quotes” and the documentation has a section about escaping.

comment:2 by iconoclasthero, 7 months ago

No where in the text of the referenced documentation (i.e., for concatenation) does it state that. In fact, the words "character" and "space" do not appear in it.

Further, spaces do work with the "<(file ...) process.

Why is it so hard just to add it there so people know what is going on?

Last edited 7 months ago by iconoclasthero (previous) (diff)

comment:3 by iconoclasthero, 7 months ago

Resolution: invalid
Status: closedreopened

comment:4 by Elon Musk, 7 months ago

From docs: https://ffmpeg.org/ffmpeg-formats.html#concat-1

3.5.1 Syntax
The script is a text file in extended-ASCII, with one directive per line. Empty lines, leading spaces and lines starting with ’#’ are ignored. The following directive is recognized:

file path
Path to a file to read; special characters and spaces must be escaped with backslash or single quotes.

All subsequent file-related directives apply to that file.

comment:5 by Elon Musk, 7 months ago

Resolution: invalid
Status: reopenedclosed

comment:6 by iconoclasthero, 7 months ago

Resolution: invalid
Status: closedreopened

comment:7 by iconoclasthero, 7 months ago

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.