using dataclass, codec statistics

This commit is contained in:
2022-02-26 00:14:42 +01:00
parent 5aa710156c
commit 06279c07ba
2 changed files with 157 additions and 2 deletions

View File

@ -17,7 +17,7 @@
![alt text](https://git.mosad.xyz/localhorst/media_management_scripts/raw/commit/e67c26a2bcbc6be4674bd0e852254d2afb481ea5/codec_visualizer/demo_output.png "demo output image")
# check_resolution
# check_metadata
## Usage
@ -34,11 +34,24 @@
## Requirements
- ffmpeg
- pip3 install tqdm
## Demo
```
The_Movie_01.mkv | 2:18:21 | 1.57 GiB | h264 | 1920x1080
The_Movie_02.mkv | 1:52:11 | 1.92 GiB | h264 | 1916x798
The_Movie_03.mkv | 2:23:11 | 1.05 GiB | av1 | 1920x804
...
The_Movie_04.mkv | 2:18:24 | 1.21 GiB | h264 | 720x560
TODO
h264 | 3 files | 87.7%
hevc | 8 files | 6.3%
mpeg4 | 11 files | 2.7%
av1 | 10 files | 2.4%
vp9 | 4 files | 1.0%
total 36 files
```
# convert
TODO