Christian Fazzini
Christian Fazzini

Reputation: 19723

Carrierwave video thumbnail

I am using the carrierwave gem (http://github.com/jnicklas/carrierwave) for ruby on rails.

How do I go about creating thumbnails for video uploads?

In my previous implementation with Paperclip, I was using FFMPEG. How / where should this be done in Carrierwave?

There aren't too many useful resources on Google on this. Perhaps, someone with more experience can provide feedback.

Has anyone attempted to do this. Do share!

Upvotes: 3

Views: 2991

Answers (2)

Christian Fazzini
Christian Fazzini

Reputation: 19723

I have got it working as mentioned

It seems that the processing via ffmpeg needs to be done before model.save

Upvotes: 0

shingara
shingara

Reputation: 46914

It's not implemented actually on Carrierwave. So you need code it yourself by some process action in your Upload Class.

Upvotes: 0

Related Questions