Перейти к содержимому
TakoAPI
Назад к навыкам

mediaproc

от psyb0t

Media & Streaming
—Ещё нет оценок
Ваша оценка

Кратко

Process media files (video, audio, images) via a locked-down SSH container.

Описание

Что делает этот навык

Runs ffmpeg, sox, and ImageMagick commands over SSH through a locked-down container. Supports video transcoding, audio processing, and image manipulation. File upload, processing, and download go through a shell wrapper script using two environment variables.

Keeps media processing tools in an isolated SSH container rather than installed on the host, removing shell injection risk and local dependency conflicts.

Когда его использовать

  • Transcoding a video file to H.264 for web playback
  • Extracting an audio track from a recorded video
  • Resizing or thumbnailing product images in batch
  • Normalizing audio levels before publishing a podcast episode
  • Generating a preview frame from a video at a specific timestamp

Пример сценария

ВВОД

User asks: convert input.mp4 to H.264 and download the result

АГЕНТ
  1. 1

    Upload input.mp4 to the container using 'put input.mp4'

  2. 2

    Run ffmpeg with libx264 to transcode to output.mp4

  3. 3

    Download output.mp4 from the container using 'get output.mp4'

  4. 4

    Remove input.mp4 and output.mp4 from the container to clean up

ВЫВОД

output.mp4 saved locally, encoded in H.264

Требования

  • MEDIAPROC_HOST environment variable
  • MEDIAPROC_PORT environment variable
  • Running mediaproc Docker instance (self-hosted)

Установка

clawhub install psyb0t/mediaproc

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки