search for: videothumbnail

Displaying 2 results from an estimated 2 matches for "videothumbnail".

Did you mean: video_thumbnail
2009 Aug 17
0
Paperclip: processor proc not firing
...:default_style => :full, :url => "/ uploads/:attachment/:id/:style.:content_type_extension", :processors => lambda { |a| a.video? ? [ :video_thumbnail ] : [ :thumbnail ] } I''m completely stumped here, the VideoThumbnail class is never called, even though it''s loaded correctly etc. Been looking and debugging Paperclip itself, hoping to find something in the plugin, but to no avail. The proc does fire though: when I replace a.video? with a.image?, I can see ffmpeg firing for all images in the tests...
2010 Oct 01
20
Paperclip not executing FFMPEG properly
Im using a customs processor to run ffmpeg on a video to create a thumbnail. So far so good. Except when I do: cmd = "-i #{@file.path} -f flv -s 320x240 ~/Downloads/foobar/q.flv" success = Paperclip.run(''ffmpeg'', cmd) Console is reporting: ffmpeg ''-i /var/folders/uL/uL0bYOOZEZaJH5E+BmDJVE+++TI/-Tmp-/stream, 16824,1.mpeg -f flv -s 320x240