Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0n1con3/video-codec-analyzer
Optimize video encoding with codec insights using ffmpeg.
https://github.com/0n1con3/video-codec-analyzer
android bsd codec converting ffmpeg ffmpeg-script ffmpeg-wrapper linux macos movies multimedia series wsl wsl2
Last synced: about 17 hours ago
JSON representation
Optimize video encoding with codec insights using ffmpeg.
- Host: GitHub
- URL: https://github.com/0n1con3/video-codec-analyzer
- Owner: 0n1cOn3
- License: epl-2.0
- Created: 2024-03-24T06:02:01.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-03-24T06:14:39.000Z (8 months ago)
- Last Synced: 2024-03-24T07:20:50.197Z (8 months ago)
- Topics: android, bsd, codec, converting, ffmpeg, ffmpeg-script, ffmpeg-wrapper, linux, macos, movies, multimedia, series, wsl, wsl2
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Video Codec Analyzer 🎥💻
This Bash script analyzes video files in the current directory to provide insights on codecs, helping you optimize your video encoding process.
## Features
- 💡 **Codec Analysis**: Determine the best and worst codecs based on video duration.
- 📊 **Common Codec Analysis**: Identify the most common codec among your video files.## Usage
1. Ensure you have `ffprobe` installed.
2. Simply run the script in your video directory:```bash
./video_codec_analyzer.sh█████ █████ ███ █████ █████████ ████
░░███ ░░███ ░░░ ░░███ ███░░░░░███ ░░███
░███ ░███ ████ ███████ ██████ ██████ ░███ ░███ ████████ ██████ ░███ █████ ████ █████ ██████ ████████
░███ ░███░░███ ███░░███ ███░░██████░░███ ░███████████░░███░░███ ░░░░░███ ░███░░███ ░███ ███░░ ███░░███░░███░░███
░░███ ███ ░███ ░███ ░███ ░███████░███ ░███ ░███░░░░░███ ░███ ░███ ███████ ░███ ░███ ░███░░█████ ░███████ ░███ ░░░
░░░█████░ ░███ ░███ ░███ ░███░░░ ░███ ░███ ░███ ░███ ░███ ░███ ███░░███ ░███ ░███ ░███ ░░░░███░███░░░ ░███
░░███ █████░░████████░░██████░░██████ █████ █████████ █████░░█████████████░░███████ ██████ ░░██████ █████
░░░ ░░░░░ ░░░░░░░░ ░░░░░░ ░░░░░░ ░░░░░ ░░░░░░░░░ ░░░░░ ░░░░░░░░░░░░░ ░░░░░███░░░░░░ ░░░░░░ ░░░░Progress: [==================================================================================================== ] 100%
Best Codec: hevc (10464.037000 seconds)
Worst Codec: h264 (4940.960000 seconds)
Analyzing the most common codec...
Progress: [==================================================================================================== ] 100%Most Common Codec: h264 (found in 9 files)
Ideal for good quality and small files: libx264```
## About
This script utilizes `ffprobe` to extract codec information from video files (`.mp4` and `.mkv`). It then analyzes this data to identify the best and worst codecs based on video duration, as well as the most common codec found in the directory.Feel free to contribute or report issues on [GitHub](https://github.com/0n1cOn3/Video-Codec-Analyzer).
Happy video encoding! 🚀