Skip to content

command to list or show webm and mkv streams and sizes and bitrate

Notifications You must be signed in to change notification settings

kanliot/mkv-stream-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

mkv-stream-size

This perl script prints out the bitrate of each mkv stream in Kbps.
The computer will require mkvinfo by mkvtoolnix (free software for creating mkv files)

Usage: mkv-stream-size file1.mkv [file2.webm] ...

Installation:

download the single script and run it after installing mkvinfo from mkvtoolnix

mkvinfo's track-info is slow for large files so this program is slow for large files.

Sample output:

Is.Van.Gogh.A.Genius.mkv	2282.1 Kbps (657M/0:39:16) (MB/duration)
            MPEG4/ISO/AVC video	1720.9 Kbps
                      AAC audio	140.3 Kbps
                  AAC spa audio	138.3 Kbps
                  AAC fre audio	138.8 Kbps
                  AAC jpn audio	139.3 Kbps

tested with mkvinfo v.35.
mkv-stream-size was printing size in MiB (2^20), but I believe every other tool uses MB (10^6) so, now uses 1MB=1000000 bytes.

About

command to list or show webm and mkv streams and sizes and bitrate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages