0
0
Fork 0

Fix videos with unsupported colorspace not being transcoded (#13242)

This commit is contained in:
ThibG 2020-03-10 11:58:40 +01:00 committed by GitHub
parent abd8394880
commit 2c6099125d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 8 deletions

View file

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