Displaying 1 result from an estimated 1 matches for "clip_file".
Did you mean:
clifile
2011 Jul 11
0
stuck with permissions in using FileUtils
...I get an issue -trying to write back the transcoded
video from a tmp directory into the PaperClip path
the original uploaded video 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...