aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/helpers/media_helper.ex
AgeCommit message (Collapse)Author
2022-02-25Copyright bump for 2022Sean King
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-09-26Adjusted MediaProxyControllerTest to gracefully fail on missing ↵Ivan Tashkinov
dependencies. Installation docs update. Added ffmpeg/imagemagick checks to launch checks (if media preview proxy is enabled). Added documentation on installing optional media / graphics packages (imagemagick, ffmpeg, exiftool).
2020-09-17[#2497] Configurability of :min_content_length (preview proxy). Refactoring, ↵Ivan Tashkinov
documentation, tests.
2020-09-16[#2497] Media preview proxy: misc. improvements (`static` param support, ↵Ivan Tashkinov
dynamic fifo pipe path), refactoring.
2020-09-09[#2497] Added missing alias, removed legacy `:adapter` option specification ↵Ivan Tashkinov
for HTTP.get/_.
2020-09-05[#2497] Adjusted media proxy preview invalidation. Allowed client-side ↵Ivan Tashkinov
caching for media preview. Adjusted prewarmer to fetch only proxiable URIs. Removed :preview pool in favor of existing :media one. Misc. refactoring.
2020-09-05[#2497] Made media preview proxy fall back to media proxy instead of to ↵Ivan Tashkinov
source url. Adjusted tests. Refactoring.
2020-09-03URL passed to helper is already MediaProxyMark Felder
Set :preview pool on the request
2020-08-30CredoMark Felder
2020-08-30Support PNG previews to preserve alpha channelsMark Felder
2020-08-28Rewrite MP4/MOV binaries to be faststarthref
In some cases, MP4/MOV files can have the data _before_ the meta-data. Thus, ffmpeg (and all similar tools) cannot really process the input if it's given over stdin/streaming/pipes. BUT I REALLY DON'T WANT TO MAKE TEMPORARY FILES so here we go, an implementation of qtfaststart in elixir.
2020-08-27Keep args construction within video/image scopes instead of mangling down in ↵Mark Felder
fifo town
2020-08-27Try to trick ffmpeg into working with this named pipeMark Felder
2020-08-27ffmpeg needs input from fifo path, not stdinMark Felder
2020-08-27Attempt at supporting video thumbnails via ffmpegMark Felder
2020-08-26Move arg for images to the list so we can reuse these fifo functions for videosMark Felder
2020-08-26Rename to make it obvious this is for images not videosMark Felder
2020-08-26Change method of convert using stdout, make progressive jpegsMark Felder
2020-08-26Remove auto-orient; don't use it on previews, only originalsMark Felder
2020-08-26Use mkfifo to feed ImageMagickhref
2020-08-25Try specifying fd0, force jpg outMark Felder
2020-08-25Allow both stdin and stdoutMark Felder
2020-08-25Switch to imagemagick, only support videosMark Felder
2020-08-21Remove newline for linterhref
2020-08-21Fix truncated imageshref
2020-08-21[#2497] Media preview proxy: added `quality` config setting, adjusted ↵Ivan Tashkinov
width/height defaults.
2020-08-18[#2497] Added video preview proxy. Switched from exexec to Port.Ivan Tashkinov
2020-05-21[#2497] Customized `exexec` launch to support root operation (currently ↵Ivan Tashkinov
required by Gitlab CI).
2020-05-21[#2497] Image preview proxy: image resize & background color fix with ffmpeg ↵Ivan Tashkinov
-filter_complex.
2020-05-20[#2497] Image preview proxy: implemented ffmpeg-based resizing, removed eimp ↵Ivan Tashkinov
& mogrify-based resizing.