gotosocial/internal/typeutils
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
..
astointernal.go [chore] Add interaction policy gtsmodels (#3075) 2024-07-11 15:44:29 +01:00
astointernal_test.go [chore] Add interaction policy gtsmodels (#3075) 2024-07-11 15:44:29 +01:00
converter.go [feature] User muting (#2960) 2024-06-06 16:38:02 +00:00
converter_test.go feature: filters v2 server-side warning/hiding (#2793) 2024-05-06 12:49:08 +01:00
defaulticons.go [feature] Implement profile API (#2926) 2024-05-29 12:57:44 +02:00
frontendtointernal.go [feature] Implement Filter API v2 (#2936) 2024-05-31 12:55:56 +02:00
internal.go [chore] Add interaction policy gtsmodels (#3075) 2024-07-11 15:44:29 +01:00
internaltoas.go [chore] media and emoji refactoring (#3000) 2024-06-26 16:01:16 +01:00
internaltoas_test.go [bugfix] Deref stats async, serve stub collections if handshaking (#2990) 2024-06-11 11:54:59 +02:00
internaltofrontend.go [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
internaltofrontend_test.go [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
internaltorss.go [chore]: Bump github.com/gorilla/feeds from 1.1.2 to 1.2.0 (#3035) 2024-06-24 09:04:27 +00:00
internaltorss_test.go [chore] Add interaction policy gtsmodels (#3075) 2024-07-11 15:44:29 +01:00
util.go [feature] do not uncache status / emoji media if attached status is bookmarked (#2956) 2024-06-06 11:44:43 +01:00
util_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00
wrap.go [bugfix] return 400 Bad Request on more cases of malformed AS data (#2399) 2023-11-30 16:22:34 +00:00
wrap_test.go [feature] Federate status language in and out (#2366) 2023-11-21 15:13:30 +01:00