Default to vp9 for uploaded video

This commit is contained in:
asonix 2022-10-01 10:17:32 -05:00
parent 85c5ce955d
commit c767804430
4 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View file

@ -1556,7 +1556,7 @@ dependencies = [
[[package]]
name = "pict-rs"
version = "0.4.0-beta.3"
version = "0.4.0-beta.4"
dependencies = [
"actix-form-data",
"actix-rt",

View file

@ -1,7 +1,7 @@
[package]
name = "pict-rs"
description = "A simple image hosting service"
version = "0.4.0-beta.3"
version = "0.4.0-beta.4"
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"

View file

@ -24,7 +24,7 @@ max_file_size = 40
max_frame_count = 900
enable_silent_video = true
enable_full_video = false
video_codec = 'h264'
video_codec = 'vp9'
filters = ['blur', 'crop', 'identity', 'resize', 'thumbnail']
skip_validate_imports = false
cache_duration = 168

View file

@ -156,7 +156,7 @@ impl Default for MediaDefaults {
max_frame_count: 900,
enable_silent_video: true,
enable_full_video: false,
video_codec: VideoCodec::H264,
video_codec: VideoCodec::Vp9,
filters: vec![
"blur".into(),
"crop".into(),