
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
subtitle-burner-cli
Advanced tools
A Node.js CLI tool to extract subtitles from MP4 videos and burn them into the video with customizable font size.
npm install -g subtitle-burner
npm install subtitle-burner
macOS:
brew install ffmpeg
Ubuntu/Debian:
sudo apt update
sudo apt install ffmpeg
Windows: Download from FFmpeg official website and add to PATH.
subtitle-burner -i video.mp4
subtitle-burner -i video.mp4 -f 16
subtitle-burner -i video.mp4 -o output-video.mp4
subtitle-burner -i video.mp4 --keep-temp
subtitle-burner -i video.mp4 --temp-dir ./my-temp
| Option | Alias | Description | Default |
|---|---|---|---|
--input | -i | Input MP4 file path | Required |
--output | -o | Output MP4 file path | Auto-generated |
--fontsize | -f | Subtitle font size | 14 |
--temp-dir | Temporary directory for subtitle extraction | ./temp | |
--keep-temp | Keep temporary subtitle files | false | |
--help | -h | Show help | |
--version | -V | Show version number |
If no output file is specified, the tool will automatically generate a name:
video.mp4video-burned-fs14.mp4 (with 14px font)subtitle-burner -i "my-video.mp4"
subtitle-burner -i "my-video.mp4" -f 18
subtitle-burner -i "my-video.mp4" -o "final-video.mp4"
subtitle-burner -i "my-video.mp4" -f 12 -o "social-media-video.mp4"
const { extractSubtitles, burnSubtitles } = require('subtitle-burner');
async function processVideo() {
try {
// Extract subtitles
const subtitleFile = await extractSubtitles('input.mp4', './temp');
// Burn subtitles with custom font size
const outputFile = await burnSubtitles('input.mp4', subtitleFile, 'output.mp4', 16);
console.log('Processing complete:', outputFile);
} catch (error) {
console.error('Error:', error.message);
}
}
processVideo();
The tool will check for:
MIT License - see LICENSE file for details.
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)If you encounter any issues:
Create an issue on GitHub for bug reports or feature requests.
FAQs
Extract and burn subtitles from MP4 videos with customizable font size
We found that subtitle-burner-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.