Live app with instructions: http://runnable.com/VR3jBtJKSwh21EKs/paperclip-av-transcoder
LoadError in Forem::TopicsController#create
cannot load such file -- /root/rails-repo/lib/paperclip_processors/qtfaststart.rb
Extracted source (around line #274):
272 def require(file)
273 result = false
274 load_dependency(file) { result = super }
275 result
276 end
277 end
photo.rb
class Photo < ActiveRecord::Base
belongs_to :post, :class_name => "Forem::Post"
has_attached_file :attachment,
styles: {
medium: {
format: "mp4",
streaming: true,
# processors: [:ffmpeg, :qtfaststart]
processors: [:transcoder, :qtfaststart]
},
thumbnail: "70x70#"
}
validates_attachment :attachment, presence: true, content_type: {
content_type: ["image/jpg", "image/jpeg", "image/png", "image/gif"]
}
end