Skip to content

About

Custom FFmpeg builds and packaging for NoMercy MediaServer

Topics

Resources

Contributing

Security policy

Stars

6 stars

Watchers

1 watching

Forks

Latest commit

 

History

341 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NoMercy FFmpeg

CI/CD Pipeline npm License: MIT

NoMercy FFmpeg is a custom build of FFmpeg 9.1. It is tuned for the MediaServer, not for general use. For standard FFmpeg binaries, see ffmpeg.org. The licence terms are on the License page.

It is not stock FFmpeg. It adds filters, muxers, input protocols and patches that the official build does not have. It ships as one self-contained archive per platform, with the codec libraries built in.

The full documentation is in the Wiki. This page is the overview.

Download

Get the archive for your platform from the Releases page. See Installation for details.

Quick start:

tar -xzf ffmpeg-9.1-linux-x86_64-v*.tar.gz   # the name ends in the release tag
./ffmpeg -version

From Node.js, run npm install @nomercy-entertainment/ffmpeg-static. See npm-Package.

Platforms

Seven platforms: Linux (x86_64, aarch64), Windows (x86_64, ARM64), macOS (x86_64, Apple Silicon) and FreeBSD (x86_64). Linux x86_64 needs glibc 2.35 or newer. See Platforms.

Components

Every NoMercy-only component has its own Wiki page.

Filters

Muxers

  • spritevtt — writes thumbnails as one tiled sprite sheet plus a WebVTT map for scrubbing previews. Muxer-Sprite-Sheet
  • chapters_vtt — writes the chapters of a file as a WebVTT file. Muxer-Chapter-VTT
  • vobsub — writes DVD bitmap subtitles as an .idx and .sub pair. Muxer-VOBsub

Protocols

  • dvdread: — reads a DVD title as one byte stream through libdvdread. Protocol-dvdread
  • omnidrive: — reads a disc sector by sector from an OmniDrive optical drive. Protocol-OmniDrive

Other patches

  • Whisper language detection — the whisper filter reports the detected language in metadata and JSON output. Whisper-Language-Detection
  • Whisper word timestamps — word-level timestamps, prompt and beam search for whisper. Whisper-Word-Timestamps
  • Auto-create directories — every local file opened for writing through the file protocol gets its missing parent directories: the main output, segment, HLS, image2 and tee outputs, and muxer side files; pipe: and network protocols are untouched. Files ffmpeg writes outside the file protocol get their folders too: the two-pass log (-passlogfile, also with libx264), -report, -vstats_file, filter stats files such as psnr, ssim or loudnorm, the stats, csv and dump files libx264 and libx265 write themselves, and the libvmaf log. Files opened only for reading never create a folder. Auto-Create-Directories
  • AACS and BD+ — reads encrypted Blu-ray discs through bluray: with a built-in key database. AACS-and-BDplus
  • HLS master playlist — the hls muxer writes a master playlist that meets Apple's HLS rules. HLS-Master-Playlist
  • Subtitle OCR — ocr_subtitle converts DVD and Blu-ray bitmap subtitles to WebVTT with Tesseract. Subtitles-OCR
  • HEVC alpha — ffprobe reports yuva420p for HEVC video with a transparent layer. HEVC-Alpha

Acceleration

  • GPU acceleration — whisper, stemsplit and lyricsalign can run on a GPU through Vulkan: whisper by default, stemsplit RoFormer when the GPU computes like the CPU, lyricsalign only with use_gpu=1. macOS uses Metal. GPU-Acceleration
  • Metal — the GPU path on Apple Silicon, and on Intel Macs whose default GPU is a discrete one that reports Metal 3. Metal
  • CPU instruction sets — ggml is built per instruction-set level and on most platforms picks one at run time. CPU-Instruction-Sets

Bundled libraries

x264, x265, SVT-AV1, libvpx, libopus, libass, libbluray, whisper.cpp, Tesseract and more. See Codecs-and-Libraries.

Contributing

Open an issue first. A pull request comes after the proposal is agreed: fork, then open the PR into dev. Fork PRs get no build or test run. Maintainers build and test them. Read CONTRIBUTING.md and the Contributing page. The build is explained in Architecture, Building-Locally, Adding-or-Updating-a-Library, Testing and CI-and-Releases.

Security

Report a vulnerability privately, as described in SECURITY.md. More on the Security page. Known unfixed findings are listed in docs/security/known-unfixed.md.

License

This project is licensed under the MIT License - see the LICENSE file and the License page for details. Note that the compiled FFmpeg binaries themselves are built with --enable-gpl --enable-nonfree and are intended for internal use.

About

NoMercy Entertainment builds media streaming and processing software.

About

Custom FFmpeg builds and packaging for NoMercy MediaServer

Topics

Resources

Contributing

Security policy

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages