Displaying 1 result from an estimated 1 matches for "clip_dir".
2011 Jul 11
0
stuck with permissions in using FileUtils
...file is stored into the :url => "/system/
clips/:data/65/original/swing.avi",
in the delayed_job, I get the clip :
clip = Clip.find(65)
@clip_file = clip.data.path # => ( ".. rails/myapp/public/
system/clips/data/65/original/NickFaldo.avi" )
@clip_dir = File.dirname(@clip_file) # => (".. /ls/myapp/
public/system/clips/data/65/original" )
basename = File.basename(@clip_file, File.extname(@clip_file))
# => NickFaldo
the ffmpeg transcoding process, is writing an output file into the tmp
dir , without any problem
@...