carrierwave-video
carrierwave-video copied to clipboard
Successfully converted file is not moved from cache to the actual storage directory.
The successfully converted file is not being moved from cache to actual storage directory.
Rails version: 6.1.3.1 Ruby version: 2.6
Steps:
- Let's say file_name.mov (non-mp4) file is uploaded.
- It's encoded into mp4 through carrierwave::video and ffmpeg.
- conversion is successfully completed.
- the file is in the cache directory as file_name.mp4 and the file plays and works correctly.
- file_name.mov in the storage directory is never removed or replaced with the mp4 file.
- mp4 file stays in the cache file forever even after the conversion is done.