0
내 레일 앱에 비디오를 업로드하는 데 paperclip-ac-transcoder gem을 사용하고 있습니다. 이제 동영상이 애플리케이션 경로에 성공적으로 저장되었지만 미리보기 이미지가 생성되지 않습니다. 또한 video_tag는 동영상을 표시하기 위해 작동하지 않습니다.레일 클립 앱에서 축소판을 생성하지 않는 Paperclip-av-transcoder
다음은 내 코드입니다 : - 비디오 태그를 들어 나는 다음과 같은 사용하고
has_attached_file :movie,
:url => ":assets_host/system/:class/:attachment/:id/:style/:filename",
:path => ":rails_root/public/system/:class/:attachment/:id/:style/:filename",
:medium => { :geometry => "640x480", :format => 'mov', :streaming => true },
:thumb => { :geometry => "100x100#", :format => 'png', :time => 10 },
:processors => [:transcoder], :swallow_stderr => false
: -
<%= video_tag "#{:rails_root}/public/system/sources/uploaded_movies/movies/10/original/MyMov.mov", :size => "320x240", :controls => true %>
안내하시기 바랍니다.
미리 감사드립니다.
아니 답변 친애하는 회원 ?? 도움이 안돼 ?? – Metal
이것은 젬의 알려진 문제점입니다. https://github.com/ruby-av/paperclip-av-transcoder/issues/2 –