[FFmpeg-user] Why are absolute paths for concat unsafe?

Shriramana Sharma samjnaa at gmail.com
Fri Jan 20 15:45:13 EET 2017


Hello. I wanted to concat a few files. I came upon
https://trac.ffmpeg.org/wiki/Concatenate. It says to use concat
demuxer (among other options). But when I used it I came upon "Unsafe
file name" error. Googling for a solution to this I came upon:

http://superuser.com/questions/1069556/ffmpeg-concat-demuxer-unsafe-file-name.
https://ffmpeg.org/ffmpeg-formats.html#Options.

I then discovered:

https://ffmpeg.org/pipermail/ffmpeg-devel/2013-February/138400.html
https://github.com/FFmpeg/FFmpeg/commit/6d680d20ad8bf786f541bec1545bec7778b8776c

Tracing this back I could go up to:

https://ffmpeg.org/pipermail/ffmpeg-devel/2012-December/135553.html

But still I am not sure why exactly absolute paths are considered
unsafe. I would like an explanation for this. Thank you!

-- 
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा


More information about the ffmpeg-user mailing list