I have a pretty standard model where you can upload videos - so far so good. The video gets uploaded and is also displayed on the show view. Alle seems to be fine....but:
I cannot get a preview fo to work.
ActiveStorage::Blob.last.previewable?
--> false
ActiveStorage::Blob.video?
--> true
FFMPEG is installed on the system and in the gem file
which ffmpeg
--> /usr/local/bin/ffmpeg
gem 'streamio-ffmpeg'
And of course if I run preview directly, I get an error
ActiveStorage::Blob.last.preview(resize: "200x200>").processed
--> ActiveStorage::UnpreviewableError (ActiveStorage::UnpreviewableError)
Previewers is having video included
Rails.application.config.active_storage.previewers
--> [ActiveStorage::Previewer::PopplerPDFPreviewer, ActiveStorage::Previewer::MuPDFPreviewer, ActiveStorage::Previewer::VideoPreviewer]
I also tried different video formats, but nothing works and I am out of ideas where to look. Anybody had the same issue?