تخطَّ إلى المحتوى

media-processing

هذا المحتوى غير متوفر بلغتك بعد.

FFmpeg-based video encoding, transcoding, and adaptive streaming pipeline. Pro plugin.

Requires: Basic license tier or higher. nself license set nself_pro_...

Terminal window
nself license set nself_pro_xxxxx...
nself plugin install media-processing

Provides a Rust-based FFmpeg wrapper service for video encoding and transcoding. Produces HLS and DASH adaptive streams, MP4 outputs, and thumbnail images. Manages an upload pipeline with real-time progress tracking so clients can poll or subscribe to job status during long transcode operations.

Env VarDefaultDescription
MEDIA_PROCESSING_PORT3088Media processing service port
MEDIA_PROCESSING_WORKERS4Number of concurrent transcode workers
MEDIA_FFMPEG_PATH/usr/bin/ffmpegPath to the FFmpeg binary
MEDIA_OUTPUT_PATHnoneFilesystem path for transcoded output files
PortPurpose
3088Media processing REST API

9 tables added to your Postgres database:

  • np_media_processing_jobs: transcode job records
  • np_media_processing_profiles: encoding profile definitions
  • np_media_processing_outputs: completed output file records
  • np_media_processing_segments: HLS/DASH segment metadata
  • np_media_processing_manifests: adaptive streaming manifests
  • np_media_processing_thumbnails: generated thumbnail records
  • np_media_processing_uploads: upload pipeline state
  • np_media_processing_progress: real-time job progress tracking
  • np_media_processing_errors: transcode error log
RouteTarget
/media/Media processing API