Fix videos with unsupported colorspace not being transcoded (#13242)
This commit is contained in:
parent
abd8394880
commit
2c6099125d
2 changed files with 11 additions and 8 deletions
|
@ -78,8 +78,9 @@ class MediaAttachment < ApplicationRecord
|
|||
}.freeze
|
||||
|
||||
VIDEO_PASSTHROUGH_OPTIONS = {
|
||||
video_codec_whitelist: ['h264'],
|
||||
audio_codec_whitelist: ['aac', nil],
|
||||
video_codecs: ['h264'],
|
||||
audio_codecs: ['aac', nil],
|
||||
colorspaces: ['yuv420p'],
|
||||
options: {
|
||||
format: 'mp4',
|
||||
convert_options: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue