[FFmpeg-trac] #6076(avformat:new): concatdec format doesn't allow spaces in file names
FFmpeg
trac at avcodec.org
Thu Jan 12 22:26:14 EET 2017
#6076: concatdec format doesn't allow spaces in file names
-----------------------------------+--------------------------------------
Reporter: MWisBest | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: concatdec | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+--------------------------------------
Summary of the bug:
The concat(dec) format doesn't allow spaces in file names unless the
"-safe 0" argument is passed, as it deems spaces to be an "unsafe
character". The problem is allowing unsafe file names (by passing the
-safe 0 argument) ''also'' enables support for absolute paths, whereas
"safe" file names may only be relative paths. Spaces are an everyday
occurrence in file and folder names and should be allowed by default
without having to enable support for absolute file paths.
How to reproduce:
{{{
% ffmpeg -f concat -i playlist.txt ... output
ffmpeg version N-83049-ge71b811 (built on 2017/01/11)
}}}
Example "unsafe" playlist.txt:
{{{
file 01\ .flac
file 02.flac
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6076>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list