Nghia Nguyen
Joined
Activity
Hi Chris,
That's the video I was talking about. It copies files and transcoding with background jobs; exactly what we need. One thing missing is saving all the transcoded videos to a dedicated network drive.
Is there away for me to set up Shrine so that it uses a network drive as the 'store' directory? I'm fooling around with the Samba URL, it's obviously wrong.
Shrine.storages = {
cache: Shrine::Storage::FileSystem.new("public", prefix: "uploads/cache"), # temporary
store: Shrine::Storage::FileSystem.new("smb://xxx/yyy/") # permanent
}
Hi Chris,
I'm following the introduction video where show the usage of Shrine and FFMPEG. What I'm trying to do is having the users upload the videos, then transcode them to MP4 and save to a dedicated server for videos. That way, the videos are ready to stream whenever.
Being new to Rails, I don't quite know how to do it. How do I kick off the transcoding jobs in the background as soon as the user upload the video?
Thanks in advance if you can help.
-James