Open lohqua opened 9 years ago
This is video, it's never been easy 😊 more video, more resources will be used. You should use active job to transcode your videos in separate process of your web server
On Wed, Jun 10, 2015, 20:55 lohqua notifications@github.com wrote:
If I have it set up to transcode whatever is uploaded to mp4 and the file uploaded is mp4, paperclip redundantly transcodes it wasting a lot of server resources.
— Reply to this email directly or view it on GitHub https://github.com/ruby-av/paperclip-av-transcoder/issues/24.
Ya know, if there was ANY documentation at all, things like this wouldn't be an issue. ActiveJob doesn't remove the fact that files are being redundantly transcoded.
This issues is not related to this gem
On Wed, Jun 10, 2015, 21:05 lohqua notifications@github.com wrote:
Ya know, if there was ANY documentation at all, things like this wouldn't be an issue.
— Reply to this email directly or view it on GitHub https://github.com/ruby-av/paperclip-av-transcoder/issues/24#issuecomment-110858262 .
It is since it is this gem behaving in a very inefficient manner.
smh
This gem behaving like any other processor for paperclip, so please, read paperclip documentation, how to achieve processing with active job
On Wed, Jun 10, 2015, 21:09 lohqua notifications@github.com wrote:
It is since it is this gem behaving in a very inefficient manner.
smh
— Reply to this email directly or view it on GitHub https://github.com/ruby-av/paperclip-av-transcoder/issues/24#issuecomment-110859197 .
:+1:
If you're creating extra styles, then yes, transcoding is expected regardless of original file format. However, if you want to only save a transcoded file, so you use the :original
style, and the format is the same, it should definitely be a no-op!
If I have it set up to transcode whatever is uploaded to mp4 and the file uploaded is mp4, paperclip redundantly transcodes it wasting a lot of server resources.