2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-23 03:41:23 +00:00

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]] [[package]]
name = "pict-rs" name = "pict-rs"
version = "0.4.0-beta.3" version = "0.4.0-beta.4"
dependencies = [ dependencies = [
"actix-form-data", "actix-form-data",
"actix-rt", "actix-rt",

View file

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

View file

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

View file

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