[FFmpeg-trac] #5629(avformat:new): Concat format relative path
FFmpeg
trac at avcodec.org
Fri Jun 10 21:10:21 CEST 2016
#5629: Concat format relative path
----------------------------------+----------------------------------
Reporter: Mista_D | Type: defect
Status: new | Priority: normal
Component: avformat | Version: 3.0.2
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+----------------------------------
Providing relative path in concat file, fails to read file marking it as
"Unsafe file name"
$echo file "../free/test2500.ts" >test.txt
$ffmpeg -f concat -i t1 -f null -
ffmpeg version N-80123-gd74cc61 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration: --enable-static --enable-postproc --enable-gpl --enable-
avfilter --enable-libx265 --enable-libx264 --enable-libfdk-aac --enable-
pthreads -- enable-
swscale --enable-runtime-cpudetect --extra-ldflags=-static --disable-
shared --disable-encoder=libgsm --disable-decoder=libgsm --disable-doc
--enable-version3 --enable-nonfree --en
able-libvpx --pkg-config-flags=--static
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 43.100 / 57. 43.100
libavformat 57. 37.101 / 57. 37.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.100 / 6. 46.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[concat @ 0x1ca08c60] Unsafe file name '../free/test2500.ts'
t1: Operation not permitted
Please advise on providing a concat file link to ffmpeg using relative
path...
The process is intended for a live web service, so "-safe 0" is not
preferred for security reasons.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5629>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list