Browse Source

fix media uploads with ffmpeg 5 (#21191)

pull/1296/head
Skyler Hawthorne 3 years ago committed by GitHub
parent
commit
5b2ff8d32d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      app/models/media_attachment.rb

1
app/models/media_attachment.rb

@ -104,6 +104,7 @@ class MediaAttachment < ApplicationRecord
'c:v' => 'h264',
'maxrate' => '1300K',
'bufsize' => '1300K',
'b:v' => '1300K',
'frames:v' => 60 * 60 * 3,
'crf' => 18,
'map_metadata' => '-1',

Loading…
Cancel
Save