Skip to content

fmichael1/AudioDetails.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

AudioDetails.js

Overview

AudioDetails.js is a Node.js script that provides a detailed analysis of the audio stream within a video file. It outputs information such as the audio codec, bitrate, sample rate, and channels, and calculates the audio stream's size as a percentage of the overall video file size.

Prerequisites

  • Node.js
  • FFmpeg: This script requires FFmpeg to be installed and added to the system's PATH.

Installation

Clone this repository or download the AudioDetails.js file directly.

git clone https://github.com/yourusername/AudioDetails.js.git
cd AudioDetails.js

Usage

Run the script from the command line by passing the path to the video file as an argument:

node AudioDetails.js path/to/your/video.mp4

Output

The script outputs the following audio stream details of the provided video file:

  • Codec
  • Bitrate
  • Sample Rate
  • Channels
  • Size of audio streams in MB
  • Total size of video file in MB
  • Percentage of audio stream size relative to the entire video file

About

AudioDetails.js extracts and displays audio specifications and size from a video file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published