GoToSocial/internal/media/test
kim cde2fb6244
[feature] support processing of (many) more media types (#3090)
* initial work replacing our media decoding / encoding pipeline with ffprobe + ffmpeg

* specify the video codec to use when generating static image from emoji

* update go-storage library (fixes incompatibility after updating go-iotools)

* maintain image aspect ratio when generating a thumbnail for it

* update readme to show go-ffmpreg

* fix a bunch of media tests, move filesize checking to callers of media manager for more flexibility

* remove extra debug from error message

* fix up incorrect function signatures

* update PutFile to just use regular file copy, as changes are file is on separate partition

* fix remaining tests, remove some unneeded tests now we're working with ffmpeg/ffprobe

* update more tests, add more code comments

* add utilities to generate processed emoji / media outputs

* fix remaining tests

* add test for opus media file, add license header to utility cmds

* limit the number of concurrently available ffmpeg / ffprobe instances

* reduce number of instances

* further reduce number of instances

* fix envparsing test with configuration variables

* update docs and configuration with new media-{local,remote}-max-size variables
2024-07-12 09:39:47 +00:00
..
Frantz-Fanon-The-Wretched-of-the-Earth-1965.pdf [feature] Media attachment placeholders (#2331) 2023-11-10 19:29:26 +01:00
big-panda.gif [bugfix] Wrap media reader in length reader to determine length if no `content-length` given (#848) 2022-09-24 11:11:47 +02:00
birdnest-original.mp4 [bugfix] Parse video metadata more accurately; allow Range in fileserver (#1342) 2023-01-16 16:19:17 +01:00
birdnest-processed.mp4 [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
birdnest-thumbnail.jpg [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
gts_pixellated-original.png [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
gts_pixellated-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
longer-mp4-original.mp4 [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
longer-mp4-processed.mp4 [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
longer-mp4-thumbnail.jpg [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
nb-flag-original.webp [feature] Allow webp emoji uploads / derefs (#2484) 2024-01-05 13:39:53 +01:00
nb-flag-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
not-an.mp4 [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
rainbow-original.png Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
rainbow-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-jpeg-1x1px-white.jpg [bugfix] allow store smaller PNG image than 261 bytes (#2263) (#2298) 2023-10-25 14:58:45 +02:00
test-jpeg-processed.jpg update media processing (#244) 2021-09-23 11:13:11 +02:00
test-jpeg-thumbnail.jpg [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-jpeg.jpg Api/v1/accounts (#8) 2021-04-01 20:46:45 +02:00
test-mp4-original.mp4 [feature] Enable basic video support (mp4 only) (#1274) 2022-12-17 04:38:56 +00:00
test-mp4-processed.mp4 [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-mp4-thumbnail.jpg [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-opus-original.opus [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-opus-processed.opus [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-png-alphachannel-1x1px.png [bugfix] allow store smaller PNG image than 261 bytes (#2263) (#2298) 2023-10-25 14:58:45 +02:00
test-png-alphachannel-processed.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-png-alphachannel-thumbnail.jpg [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-png-alphachannel.png [chore] Add two new test images for media processing (#424) 2022-04-24 14:49:37 +02:00
test-png-noalphachannel-processed.png [bugfix] Allow processing of .png files where checksum is not correct (#487) 2022-04-25 14:45:44 +02:00
test-png-noalphachannel-thumbnail.jpg [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-png-noalphachannel.png [chore] Add two new test images for media processing (#424) 2022-04-24 14:49:37 +02:00