视频转码问题

courseware
daiao 5 years ago
parent f2f0a4cbeb
commit c362b83d8c

@ -15,5 +15,6 @@ namespace :video_transcode do
end end
puts "###########转码个数:#{i.size}" puts "###########转码个数:#{i.size}"
puts "###########id,file_url, codecnamne:#{i}" puts "###########id,file_url, codecnamne:#{i}"
Video.where(transcoded: false).update_all(transcoded: true)
end end
end end
Loading…
Cancel
Save