You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an example of how it might look in the end:
class VideoUploader < CarrierWave::Uploader::Base
include CarrierWave::Video
process encode_video: [:mp4, { progress_block: Proc.new {|progress| puts progress} } ]
end
If you wanted it to send a method to the object with the uploader, you'd have to check that the scope worked out. That might look like this:
class VideoUploader < CarrierWave::Uploader::Base
include CarrierWave::Video
process encode_video: [:mp4, { callbacks: { progress: :progress_method } ]
end
I can't remember if the ffmpeg2theora binary gives any progress as I'm not actively developing this anymore.
How i can control progress in percents of large file transcoding ?
The text was updated successfully, but these errors were encountered: