update indentation
parent
c7cae1bf0f
commit
e50cd23407
|
@ -36,17 +36,17 @@ class MediaAttachment < ApplicationRecord
|
||||||
IMAGE_STYLES = { original: '1280x1280>', small: '400x400>' }.freeze
|
IMAGE_STYLES = { original: '1280x1280>', small: '400x400>' }.freeze
|
||||||
AUDIO_STYLES = {
|
AUDIO_STYLES = {
|
||||||
original: {
|
original: {
|
||||||
format: 'mp4',
|
format: 'mp4',
|
||||||
convert_options: {
|
convert_options: {
|
||||||
output: {
|
output: {
|
||||||
filter_complex: '"[0:a]compand,showwaves=s=640x360:mode=line,format=yuv420p[v]"',
|
filter_complex: '"[0:a]compand,showwaves=s=640x360:mode=line,format=yuv420p[v]"',
|
||||||
map: '"[v]" -map 0:a',
|
map: '"[v]" -map 0:a',
|
||||||
threads: 2,
|
threads: 2,
|
||||||
vcodec: 'libx264',
|
vcodec: 'libx264',
|
||||||
acodec: 'aac',
|
acodec: 'aac',
|
||||||
movflags: '+faststart',
|
movflags: '+faststart',
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}.freeze
|
}.freeze
|
||||||
VIDEO_STYLES = {
|
VIDEO_STYLES = {
|
||||||
|
|
Loading…
Reference in New Issue