gotosocial/internal/media
tobi 1659f75ae6
[feature] For video attachments, store + return fps, bitrate, duration (#1282)
* start messing about with different mp4 metadata extraction

* heyyooo it works

* add test cow

* move useful multierror to gtserror package

* error out if video doesn't seem to be a real mp4

* test parsing mkv in disguise as mp4

* tidy up error handling

* remove extraneous line

* update framerate formatting

* use float32 for aspect

* fixy mctesterson
2022-12-22 11:48:28 +01:00
..
test [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
image.go [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
manager.go [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch (#1221) 2022-12-10 21:43:11 +00:00
manager_test.go [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
media_test.go [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch (#1221) 2022-12-10 21:43:11 +00:00
png-stripper.go [bugfix] Allow processing of .png files where checksum is not correct (#487) 2022-04-25 14:45:44 +02:00
processingemoji.go [feature] PATCH /api/v1/admin/custom_emojis/{id} endpoint (#1061) 2022-11-24 18:12:07 +00:00
processingmedia.go [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
prunemeta.go [feature] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01:00
prunemeta_test.go [chore] bump gruf/go-store to v2 (#953) 2022-11-05 11:10:19 +00:00
pruneorphaned.go [bugfix] Avoid accidentally marking changed emojis as orphaned + pruning them (#1188) 2022-11-30 16:20:57 +01:00
pruneorphaned_test.go [feature] Add admin media prune orphaned CLI command (#1146) 2022-11-25 17:23:42 +00:00
pruneremote.go [feature] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01:00
pruneremote_test.go [feature] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01:00
pruneunusedlocal.go [feature] allow uncaching of other media types (#1234) 2022-12-12 12:22:19 +01:00
pruneunusedlocal_test.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
refetch.go [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch (#1221) 2022-12-10 21:43:11 +00:00
refetch_test.go [feature] Start implementing refetch of lost media files via /api/v1/admin/media_refetch (#1221) 2022-12-10 21:43:11 +00:00
types.go [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
util.go [feature] Enable basic video support (mp4 only) (#1274) 2022-12-17 04:38:56 +00:00
video.go [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00