diff options
| author | 2022-12-22 11:48:28 +0100 | |
|---|---|---|
| committer | 2022-12-22 11:48:28 +0100 | |
| commit | 1659f75ae6e491355e1d32f0f5e8b956ef70a797 (patch) | |
| tree | 0cc7aba9d8c98ee0163488121328e9cd0c6b32c2 /internal/media/test | |
| parent | [bugfix] fix media create error not being checked (#1283) (diff) | |
| download | gotosocial-1659f75ae6e491355e1d32f0f5e8b956ef70a797.tar.xz | |
[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
Diffstat (limited to 'internal/media/test')
| -rw-r--r-- | internal/media/test/longer-mp4-original.mp4 | bin | 0 -> 109549 bytes |
| -rw-r--r-- | internal/media/test/longer-mp4-processed.mp4 | bin | 0 -> 109549 bytes |
| -rw-r--r-- | internal/media/test/longer-mp4-thumbnail.jpg | bin | 0 -> 3784 bytes |
| -rw-r--r-- | internal/media/test/not-an.mp4 | bin | 0 -> 1819035 bytes |
4 files changed, 0 insertions, 0 deletions
diff --git a/internal/media/test/longer-mp4-original.mp4 b/internal/media/test/longer-mp4-original.mp4 Binary files differnew file mode 100644 index 000000000..cfb596612 --- /dev/null +++ b/internal/media/test/longer-mp4-original.mp4 diff --git a/internal/media/test/longer-mp4-processed.mp4 b/internal/media/test/longer-mp4-processed.mp4 Binary files differnew file mode 100644 index 000000000..cfb596612 --- /dev/null +++ b/internal/media/test/longer-mp4-processed.mp4 diff --git a/internal/media/test/longer-mp4-thumbnail.jpg b/internal/media/test/longer-mp4-thumbnail.jpg Binary files differnew file mode 100644 index 000000000..e77534950 --- /dev/null +++ b/internal/media/test/longer-mp4-thumbnail.jpg diff --git a/internal/media/test/not-an.mp4 b/internal/media/test/not-an.mp4 Binary files differnew file mode 100644 index 000000000..9bc8a7638 --- /dev/null +++ b/internal/media/test/not-an.mp4 |
