Hi, I am trying to upload videos in my Rails application using the gem
Paperclip-av-transcoder. The videos are being uploaded to my application
successfully but the thumbnails are not being generated.
Here's my code:-
has_attached_file :movie,
:url =>
":assets_host/system/:class/:attachment/:id/:style/:filename",
:path =>
":rails_root/public/system/:class/:attachment/:id/:style/:filename",
:medium => { :geometry => "640x480", :format => 'mov', :streaming
=> true },
:thumb => { :geometry => "200x200", :format => 'png', :time => 1 },
:processors => [:transcoder], :swallow_stderr => false
Can anyone please guide me why is it not generating the
thumbnails ?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/073c75e946a441f17cc45f1b5609c5a6%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment