|
|
@ -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
|