85f6356025
Fix images with trailing bytes failing to upload
2024-02-03 19:50:00 -06:00
7eba45f37e
cargo fix & cargo fmt
2024-02-03 18:19:14 -06:00
50e31f96da
It compiles again
2024-02-03 18:18:13 -06:00
cf7c753e65
Pass a State value around rather than a bunch of arguments
2024-02-03 13:31:54 -06:00
5805eb0aed
Enable configuring imagemagick security policy from pictrs
2024-01-31 21:32:01 -06:00
b938b09901
Apply cargo fix
2023-12-22 20:54:02 -06:00
5624671cbf
Rework ProcessRead to require a closure for using the internal AsyncRead
2023-12-22 20:52:58 -06:00
bd0b89b165
Clean spans a bit
2023-12-15 22:34:45 -06:00
7b5a3020fa
Don't rely on global state for tmp_dir
2023-10-07 11:32:36 -05:00
fff4afe105
Start working on per-server temporary directory
2023-10-06 19:42:24 -05:00
6c921817e1
Enable thumbnailing animations, use dynamic dispatch for a number of async readers
2023-09-24 11:54:16 -05:00
ba3a23ed43
Add error codes
2023-09-01 20:51:01 -05:00
0b70ca49e4
clippy
2023-08-30 21:00:15 -05:00
b48a9233b2
Remove transcode from animation to video, make video transcoding 'optional'
...
Video transcoding still happens, but in many cases the video stream is able to be copied verbatim rather than being decoded & encoded
2023-08-30 20:37:54 -05:00
fee4ed1e3e
Add process timeout
2023-08-05 12:41:06 -05:00
b1bbc6b159
Attempt adding quality settings to pict-rs
2023-07-17 17:45:26 -05:00
ec6c9aac1e
Better discovery validation, proper invoking of imagemagick
2023-07-13 19:21:57 -05:00
2c22f2ee3a
It compiles and runs, but doesn't work
2023-07-13 17:42:21 -05:00
33b83f97f2
It compiles
...
Need to reinstate media limits
2023-07-13 13:48:59 -05:00
ad1837f9dd
VERY BROKEN: start replacing parts of pict-rs
2023-07-12 22:12:21 -05:00
a3a986638d
Improve gif handling.
...
- Allow a fast-path exif cleaning if we'd re-encode a gif to a gif
- Use single-frame palettes to better map transparency from frame to frame
Unrelated:
- decrease ffmpeg logging when creating thumbnails
2023-06-19 14:25:31 -05:00
40f57be0c7
Allow uploading small gifs
2023-02-04 17:32:36 -06:00
7037ee5791
Support auto-orienting photos
2022-10-15 11:13:24 -05:00
669b3fb86f
Fix webp metadata stripping, more tracing cleanup
2022-10-01 22:47:52 -05:00
718f09c43a
Clean tracing, simplify validation, rename InputFormat -> VideoFormat
2022-10-01 21:17:18 -05:00
d86d9a3228
Put proper file extension on videos
2022-09-30 20:00:14 -05:00
8eb2293808
Enable selecting video and audio codecs for uploaded media
2022-09-30 19:38:11 -05:00
80c83eb491
Add ffprobe for details inspection - vastly improve video detection speed
2022-09-25 20:39:09 -05:00
5449bb82f1
Better identify video uploads with ffprobe
2022-09-25 19:34:51 -05:00
890478e794
Support audio in uploaded videos, allow webm uploads
2022-09-25 18:16:37 -05:00
99d042f36e
Allow disabling gif/mp4
2022-03-29 11:04:56 -05:00
3792a8923a
Finish redoing config probably
2022-03-27 23:27:07 -05:00
26a2401027
Use tmp files for mp4s
2021-10-23 14:14:12 -05:00
6f04595c3b
Remove unneeded mime conversions
2021-10-23 12:35:07 -05:00
4aefc0403a
Remove more boxes
2021-10-20 20:13:39 -05:00
23e6657208
Re-enable skipping validation on import, strip when converting to prescribed format
2021-09-26 11:02:19 -05:00
5d3e6f50b3
Instrument better with Tracing
2021-09-13 20:22:42 -05:00
08c3169d3f
Fewer streams
2021-09-04 12:42:40 -05:00
1119ed740e
WIP: Try to pass AsyncRead types around instead of Streams
2021-09-03 19:53:53 -05:00
ee215bfa5e
Version v0.3.0-alpha.21-in-mem
2021-08-31 11:02:30 -05:00
c1d4e3b87e
Start work on piping bytes around from memory instead of going to disk and back
2021-08-30 21:19:47 -05:00
d4733321ed
Version v0.3.0-alpha.13-shell-out-r3
2021-08-28 20:37:53 -05:00
edd6bb4a60
Replace all bindings with calls to external binaries
2021-08-28 17:15:14 -05:00
a746793187
Enable mp4 with ffmpeg
2020-06-24 11:58:46 -05:00
6dab3b30e8
Purge image
2020-06-16 18:13:22 -05:00
0fef7abc67
Validate with magickwand
2020-06-16 16:34:37 -05:00
df85faff8b
Start work on webp support
2020-06-16 15:55:24 -05:00
154914e61a
Use rexiv2 for metadata removal
2020-06-14 21:41:45 -05:00
24f09408fb
Further clean tracing logs
2020-06-14 13:56:42 -05:00
3b4c5b646a
Do better logging
2020-06-14 10:07:31 -05:00