FFMPEG generating media info fine. i am not sure if FFMPEG can generate follow type media info. this media info generate by media info app. and media info is really in depth. it has CLI feature. so may be it will be easy to implement? one of site admin asking to add media info like this way actually.
Code:
https://mediaarea.net/en/MediaInfo/Download/Windows
Code:
General
Unique ID : 219813431444435059121971475779363865497 (0xA55E86E824D6BF41AECD27D621050399)
Complete name : Personal.Affairs.2016.1080p.AMZN.WEB-DL.H.264-Candial.mkv
Format : Matroska
Format version : Version 4
File size : 24.6 MiB
Duration : 1 min 0 s
Overall bit rate : 3 397 kb/s
Encoded date : UTC 2021-06-26 22:40:30
Writing application : mkvmerge v6.6.0 ('The Edge Of The In Between') built on Dec 1 2013 17:55:00
Writing library : libebml v1.3.0 + libmatroska v1.4.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1 min 0 s
Bit rate : 2 945 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 25.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan type, store method : Interleaved fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.057
Stream size : 21.4 MiB (87%)
Default : Yes
Forced : No
Color range : Limited
Statistics Tags Issue : mkvmerge v8.8.0 ('Wind at my back') 64bit 2021-06-26 22:21:22 / mkvmerge v6.6.0 ('The Edge Of The In Between') built on Dec 1 2013 17:55:00 2021-06-26 22:40:30
FromStats_BitRate : 3637321
FromStats_Duration : 01:09:54.920000000
FromStats_FrameCount : 104873
FromStats_StreamSize : 1907284070
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : A_AC3
Duration : 1 min 0 s
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : 280 ms
Stream size : 2.79 MiB (11%)
Language : English
Service kind : Complete Main
Default : Yes
Forced : No
Statistics Tags Issue : mkvmerge v8.8.0 ('Wind at my back') 64bit 2021-06-26 22:21:22 / mkvmerge v6.6.0 ('The Edge Of The In Between') built on Dec 1 2013 17:55:00 2021-06-26 22:40:30
FromStats_BitRate : 384000
FromStats_Duration : 01:09:54.912000000
FromStats_FrameCount : 131091
FromStats_StreamSize : 201355776
Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Language : English
Default : No
Forced : No
Statistics Tags Issue : mkvmerge v8.8.0 ('Wind at my back') 64bit 2021-06-26 22:21:22 / mkvmerge v6.6.0 ('The Edge Of The In Between') built on Dec 1 2013 17:55:00 2021-06-26 22:40:30
FromStats_BitRate : 0
FromStats_Duration : 194361:41:20.152000000
FromStats_FrameCount : 2864
FromStats_StreamSize : 100884