tonydeng/fmj

FMJ (FFMpeg for Java)。通过Java调用FFMpeg命令的方式来对音视频进行处理(获取信息、截图等等)。

What it solves

For Java developers who need to work with audio and video files, dealing with native FFmpeg binaries directly can be tedious and error-prone. FMJ simplifies this by letting you run FFmpeg commands from Java code, so you can get media info, take snapshots, and perform other common tasks without writing platform-specific glue code.

How it works

FMJ is essentially a thin wrapper around the FFmpeg command-line tool. It executes FFmpeg commands on your behalf and captures the results, so your Java application can interact with FFmpeg's features programmatically. The README explains that you must install FFmpeg separately (supported on Linux, macOS, and Windows) and make sure the ffmpeg executable is available in your system's PATH. FMJ then lets you invoke FFmpeg operations—like extracting metadata or grabbing a frame—through Java calls.

Who it’s for

Java developers who build applications that need to process audio or video files and prefer a simple, command-based integration with FFmpeg rather than manually spawning processes or using complex JNI bindings.

Highlights

  • Java-friendly way to run FFmpeg commands for audio/video processing
  • Covers common tasks like retrieving media information and taking screenshots
  • Cross-platform: works with FFmpeg installed via yum, apt, brew, or manual setup on Windows
  • Backed by CI and static analysis badges (Travis, SonarCloud) for code quality visibility

Related

  • Project
  • Project
  • Project
  • Project