mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Pixelfed's media allowlist exposed `video/mov`, but PHP/finfo reports `video/quicktime` for actual .mov files. Even when the mime cleared validation, the post-upload pipeline only dispatched processing for `video/mp4`, leaving quicktime media without a thumbnail or playable URL. This fixes both halves: - Replace the bogus `video/mov` string with `video/quicktime` (and add `video/x-m4v`) in the admin allowlist (Vue + server validator) and StoryFetch's mime-to-extension table. Admin checkbox parser maps `video/quicktime`/`video/x-m4v` (and the legacy `video/mov`) back onto the existing `mov` key for backwards compat. - Add `VideoPipeline\VideoTranscode` job that remuxes/encodes quicktime/m4v to H.264+AAC mp4 (with `+faststart` for web playback), updates the Media row, and chains into the existing `VideoThumbnail` job. ComposeController and ApiV2Controller dispatch it for `video/quicktime` and `video/x-m4v` uploads. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
2 months ago | |
|---|---|---|
| .. | ||
| V1 | 7 months ago | |
| AdminApiController.php | ||
| ApiController.php | 7 months ago | |
| ApiV1Controller.php | 4 months ago | |
| ApiV1Dot1Controller.php | 4 months ago | |
| ApiV2Controller.php | 2 months ago | |
| BaseApiController.php | 5 months ago | |