H264j
A pure JAVA H264 Decoder ported from FFmpeg (libavcodec) library.
Install / Use
/learn @twilightdema/H264jREADME
A pure JAVA H264 Decoder ported from FFmpeg (libavcodec) library.
Everything is re-implemented in pure JAVA language. h264j can decode Baseline / Main / Extend / High profile.
To build the project,
cd h264j
mvn package
Your built JAR file should be in target directory
To run the project,
Use JAVA to run com.twilight.h264.player.H264Player with parameter H264 Raw File
You can use sample H264 Raw files in /h264j/sample_clips directory.
Example
java -cp h264j-1.0-SNAPSHOT.jar com.twilight.h264.player.H264Player ../../h264j/sample_clips/admiral.264
Decoder source code, those are ported from FFmpeg, are in package com.twilight.h264.decoder.
Package com.twilight.h264.util provides utility classes for JAVA system (and some for J2ME).
To use decoder, please see example in class com.twilight.h264.player.H264Player.
Enjoy :)
Chulayuth A.
Related Skills
node-connect
340.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.1kCommit, push, and open a PR
