gotosocial/internal/media/ffmpeg
kim 3db2d42247 [chore] ffmpeg webassembly fiddling (#4454)
This disables ffmpeg / ffprobe support on platforms where the wazero compiler is not available. The slowness introduced is hard to pindown for admins (and us!), so it's easier to just return an error message linking to docs on attempted media processing. It still allows the instance to run, just erroring if anything other than a jpeg is attempted to be processed. This should hopefully make it easier for users to notice these issues.

Also further locks down our wazero 'allowFiles' fs and other media code to address: https://codeberg.org/superseriousbusiness/gotosocial/issues/4408

relates to: https://codeberg.org/superseriousbusiness/gotosocial/issues/4427
also relates to issues raised in #gotosocial-help on matrix

closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4408

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4454
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2025-09-24 15:12:25 +02:00
..
args.go [feature/OFFICIALLY UNSUPPORTED] add nowasm build tag to disable building with WebAssembly (#3429) 2024-10-14 11:59:12 +02:00
exec_nowasm.go adds support for build specifically without wasm ffmpeg (#3732) 2025-02-03 12:42:06 +00:00
ffmpeg.go adds support for build specifically without wasm ffmpeg (#3732) 2025-02-03 12:42:06 +00:00
ffmpeg_nowasm.go adds support for build specifically without wasm ffmpeg (#3732) 2025-02-03 12:42:06 +00:00
ffprobe.go adds support for build specifically without wasm ffmpeg (#3732) 2025-02-03 12:42:06 +00:00
ffprobe_nowasm.go adds support for build specifically without wasm ffmpeg (#3732) 2025-02-03 12:42:06 +00:00
runner.go [feature/OFFICIALLY UNSUPPORTED] add nowasm build tag to disable building with WebAssembly (#3429) 2024-10-14 11:59:12 +02:00
wasm.go [chore] ffmpeg webassembly fiddling (#4454) 2025-09-24 15:12:25 +02:00