[FFmpeg-user] FFMeg Concat giving "unsafe file name" error on new server install

Steven Burns steven at looklisten.com
Tue Mar 29 17:36:49 CEST 2016


First time posting to this list, hoping someone may have a suggestion for an error I’m getting with a FFmpeg project.

Quick history - the application I have running is working fine on the original server Ubuntu 14.04.  I was cloning the process to a second server for a backup but one step in the process is failing for a reason I can’t seem to find documentation on:  

FFmpeg Log:

ffmpeg -y -f concat -i /media/storage1/pcs/pcsScripts/userVideos/225/files.txt -c copy /media/storage1/pcs/pcsScripts/userVideos/225/composit.mp4 -loglevel debug
ffmpeg version N-79139-gde1a0d4 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
  configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 30.100 / 57. 30.100
  libavformat    57. 29.101 / 57. 29.101
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 40.102 /  6. 40.102
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'concat'.
Reading option '-i' ... matched as input file with argument '/media/storage1/pcs/pcsScripts/userVideos/225/files.txt'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '/media/storage1/pcs/pcsScripts/userVideos/225/composit.mp4' ... matched as output file.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file /media/storage1/pcs/pcsScripts/userVideos/225/files.txt.
Applying option f (force format) with argument concat.
Successfully parsed a group of options.
Opening an input file: /media/storage1/pcs/pcsScripts/userVideos/225/files.txt.
[file @ 0x3c12f00] Setting default whitelist 'file,crypto'
[concat @ 0x3c12740] Unsafe file name '/media/scratch1/userVideos/225/usershot1.mp4'
[AVIOContext @ 0x3c12e00] Statistics: 486 bytes read, 0 seeks
/media/storage1/pcs/pcsScripts/userVideos/225/files.txt: Operation not permitted

File Permissions:
-rw-rw-rw- 1 looklisten looklisten 486 Mar 29 07:53 /media/storage1/pcs/pcsScripts/userVideos/225/files.txt

rw-rw-rw- 1 looklisten looklisten 195K Mar 29 07:24 /media/scratch1/userVideos/225/usershot1.mp4


The same process with same permissions and settings is working on the original box - Anyone experienced similar or have suggestions on what I could be missing?


-

Steven Burns
Director of Backend Development
Look Listen

+1 678 522 7534 Mobile
+1 770 818 5654 Fax
steven at looklisten.com



More information about the ffmpeg-user mailing list