Skip to content

Commit

Permalink
fix media uploads with ffmpeg 5 (mastodon#21191)
Browse files Browse the repository at this point in the history
  • Loading branch information
dead10ck authored and Nonexistent committed Jan 11, 2023
1 parent 5c1768c commit 26ee3c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/media_attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 26ee3c0

Please sign in to comment.