Log in

View Full Version : MediaInfo(Lib) 0.7 - Reading information about media files


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 [34]

Zenitram
26th February 2019, 22:33
@Zenitram: When does MediaInfo report an jpg as Video and when as Image?

IIRC 24 images with file names in a sequence (001, 002... 024), still activated by default because lot of my sponsors use that in their video workflow (yeah, 1 file per frame...) and more and more camera stops to use such file naming and replace them by the date/time. For the moment there is no decision to change the default behavior.

is there a way to force detecting jpg always as Image or Video ?

MediaInfo --File_TestContinuousFileName=0 YourFileName.ext
(doable also with API with MediaInfo::Option())

Selur
27th February 2019, 16:48
Thanks for the info :)

stax76
27th April 2019, 03:26
@Zenitram

I just want to let you know that I use MediaInfo in my recent project mpv.net (a media player for Windows) and there wasn't any problems and I don't remember any problems using it in staxrip all the years, it's fast and reliable. In staxrip it's used in countless locations, in mpv.net it is used to show some on screen info and to show info in the context menu.

https://postimg.cc/t1NGJF1z

https://github.com/stax76/mpv.net#context-menu

https://github.com/stax76/mpv.net#architecture

thanks, danke, merci! :thanks:

mariner
14th May 2019, 11:40
HLG support

Greetings.
The Japan Geographic youtube channel is now playing ARIB STD-B67 encoded streams. Other channels use PQ encoding. But mediainfo only show vp92 for the downloaded clips. Can such info be added in future versions?
Many thanks and best regards,

Aleksoid1978
14th May 2019, 13:10
HLG support

Greetings.
The Japan Geographic youtube channel is now playing ARIB STD-B67 encoded streams. Other channels use PQ encoding. But mediainfo only show vp92 for the downloaded clips. Can such info be added in future versions?
Many thanks and best regards,

Can you give a link for this channel.

mariner
15th May 2019, 08:53
JAPAN GEOGRAPHIC
https://www.youtube.com/channel/UCoqBrV0_SEIUbwdAfYnAk2g/videos

Selur
15th August 2019, 16:09
Since when and why did mediainfo change reporting TrueHD combi stream as
Format : TrueHD / AC-3
and switched to:
Format : AC-3
and how to know whether a stream is 'AC-3' or 'TrueHD / AC-3' ?

Cu Selur

stax76
15th August 2019, 17:20
Since when and why did mediainfo change reporting TrueHD combi stream as

It probably happened when the major version changed from 18 to 19.

Asmodian
15th August 2019, 21:55
and how to know whether a stream is 'AC-3' or 'TrueHD / AC-3' ?


Unlike a DTS core the AC-3 tracks in these streams are simply AC-3 tracks, there is nothing different about them. It really is just a second audio track muxed into the file along with the TrueHD one so it is better to report them that way. You can rip the AC-3 out and only have the TrueHD track or vice-versa.

Zenitram
21st August 2019, 19:01
Since when and why did mediainfo change reporting TrueHD combi stream as
Format : TrueHD / AC-3
and switched to:
Format : AC-3
and how to know whether a stream is 'AC-3' or 'TrueHD / AC-3' ?


There was a big change last year in how to present AC-3 / E-AC-3 / TrueHD streams.

For pure TrueHD, they are listed now as:


Format : MLP FBA
Format/Info : Meridian Lossless Packing FBA
Commercial name : Dolby TrueHD


"MLP FBA" is the technical name preferred by Dolby Inc for naming this technology, and we list "TrueHD" as the commercial name now.

For interleaved TrueHD / AC-3, looks like we forgot this case while moving to the new display, I need to find a good way for displaying it. At whatever is the outcome, one thing sure is that MLP FBA should be displayed, the "best" stream should be listed for sure (here MLP FBA over AC-3 because lossless is better than lossy).

Zenitram
21st August 2019, 19:22
ARIB STD-B67 [...] PQ [...] But mediainfo only show vp92 for the downloaded clips

vp92 is not on the same line as ARIB STD-B67 or PQ, so misleading report.
I guess that you mean that "vp92" files (actually "VP9" content, I guess, and vp92 is just not recognized by MediaInfo so displayed as is) don't have transfer_characteristics related info.

Please provide a file (not a link to a youtube channel page).
If I read well the VP9 spec (https://www.webmproject.org/vp9/#hdr10-metadata-handling), HDR10+ info is in the container (WebM) and it would be relevant for me to support that (WebM still used by Google), currently it is not supported (looks like they don't use the same method than Matroska), but if it is in the VP9 bitstream I would be less motivated (VP9 is abandoned in favor of AV1...)

SeeMoreDigital
21st August 2019, 19:27
"MLP FBA" is the technical name preferred by Dolby Inc for naming this technology, and we list "TrueHD" as the commercial name now.I wonder why Dolby went for that?!

I recently found this Dolby TrueHD high-level bitstream description - Dolby Developer (https://developer.dolby.com/globalassets/technology/dolby-truehd/dolbytruehdhighlevelbitstreamdescription.pdf) [.pdf file] documentation but I can't seem to find out what FBA stands for...

Zenitram
22nd August 2019, 10:07
I can't seem to find out what FBA stands for...

You see in that doc "referred to in this document as the FBA syntax." ;-)

FBA and FBB are the last 12 bits of the magic sync value (0xF8726FBA / 0xF8726FBB).
IIUC FBB syntax is the first one (before Dolby buys Meridian Audio (https://en.wikipedia.org/wiki/Meridian_Audio) related technology) then Dolby updated the bistream syntax and has set FBA instead of FBB in the magic value for their version.

I don't have access to Meridian FBB spec, so difficult to know the exact purpose of the modified bit (was it planned or not? ...), but I was said that technical people working on MLP use the "FBA" term for speaking about the Dolby version.

-QfG-
16th September 2019, 21:27
Small question about 'MasteringDisplay_ColorPrimaries', what to use for R, G, B, WP, when it only reports 'Display P3'?

The only solution i know for100% correct values is to index the file with DGIndexNV and look at the MASTERING Line. Problem, you need a Nvidea GTX 1050 or higher.

mariner
24th September 2019, 01:59
vp92 is not on the same line as ARIB STD-B67 or PQ, so misleading report.
I guess that you mean that "vp92" files (actually "VP9" content, I guess, and vp92 is just not recognized by MediaInfo so displayed as is) don't have transfer_characteristics related info.

Please provide a file (not a link to a youtube channel page).
If I read well the VP9 spec (https://www.webmproject.org/vp9/#hdr10-metadata-handling), HDR10+ info is in the container (WebM) and it would be relevant for me to support that (WebM still used by Google), currently it is not supported (looks like they don't use the same method than Matroska), but if it is in the VP9 bitstream I would be less motivated (VP9 is abandoned in favor of AV1...)
Thanks for the kind reply, Zenitram.
Both PQ and HLG are now reported correctly for these vp92 clips. Many thanks and best regards,

Atak_Snajpera
18th October 2019, 18:50
Why DTS-MA is reported as DTS instead of DTS XLL?
MediaInfoA_Get(Handle_, streamkind, 0, PChar('Format'), 1, 0)

stax76
18th October 2019, 20:26
Post full media of that file.

Atak_Snajpera
19th October 2019, 14:32
Post full media of that file.

General
ID : 1 (0x1)
Complete name : E:\_Video_Samples\m2ts\Wanted_DTSMA.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 102 MiB
Duration : 33 s 200 ms
Overall bit rate mode : Variable
Overall bit rate : 25.7 Mb/s
Maximum Overall bit rate : 35.5 Mb/s

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : 27
Duration : 32 s 616 ms
Bit rate mode : Variable
Maximum bit rate : 32.3 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Muxing mode : Stream extension
Codec ID : 134
Duration : 32 s 853 ms
Bit rate mode : Variable
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Delay relative to video : 3 ms
Language : English



However MediaInfoA_Get returns just DTS string.

stax76
28th October 2019, 22:57
It's because 'Format' shows the format family name. Take a look at the raw view:

https://i.postimg.cc/2j4kT4J9/Untitled.png

stax76
6th November 2019, 12:52
The raw text summary has a column width limit of 32 characters, larger parameters are trimmed:


MasteringDisplay_ColorPrimaries_ : Stream
MasteringDisplay_Luminance_Sourc : Stream


I would like to request the removal of this limit by increasing the column width from 32 to 40 like in normal view:


MasteringDisplay_ColorPrimaries_Source : Stream

Selur
11th April 2020, 08:07
Small request: Would be nice if MediaInfo would report the rotation flags of mkv files.
I created a file using:
mkvmerge --ui-language en -o "E:\Output\source with rotation flag.mkv" --global-tags "E:\Temp\source with rotation flag_08_56_54_1010__06.xml" -d 0 --default-track 0:yes --projection-type 0:0 --projection-pose-roll 0:90 --track-name 0:"VideoHandle" --language 0:en --default-duration 0:2984100/100000fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --no-chapters --compression -1:none --forced-track 0:yes --no-audio --no-subtitles --timecodes 0:"E:\Temp\timecodeV2_08_56_54_1010.tc" "E:\Temp\08_56_54_1010_03.264"
'--projection-type 0:0 --projection-pose-roll 0:90' adds the rotation info, but MediaInfo doesn't report the rotation like it does for mp4.

Cu Selur

jriker1
5th January 2021, 18:29
So I'm finding a weird thing iwth the latest version of Premiere Pro 2020 on Windows. Encoding:



HEVC (H.265)

Match Source

Software Encoding

Profile: Main 10

Level: 6.2

Tier: High

Check Rec 2020 Color Primaries

Check High Dynamic Range

Check Include HDR10 Metadata

Color primaries: Rec2020

Luminance Min: 0.005

Liminance Max: 4000

Constant Light Levels Maximum: 4000

Constant Light Levels Average: 1166

CBR encoded



OK so that's the settings for both encodes. One is the full hour and a half movie that returns in MediaInfo:



Video
Count : 378
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
Inform : English, 20.0 Mb/s, 3840*1600 (2.40:1), at 23.976 (24000/1001) FPS, HEVC (Main 10@L6.2@High)
ID : 1
ID : 1
Format : HEVC
Format : HEVC
Format/Info : High Efficiency Video Coding
Format/Url : http://www.itu.int
Commercial name : HEVC
Format profile : Main 10@L6.2@High
Internet media type : video/H265
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Codec ID/Url : http://www.itu.int/
Duration : 5262257
Duration : 1 h 27 min
Duration : 1 h 27 min 42 s 257 ms
Duration : 1 h 27 min
Duration : 01:27:42.257
Duration : 01:27:43;14
Duration : 01:27:42.257 (01:27:43;14)
Bit rate : 19998744
Bit rate : 20.0 Mb/s
Width : 3840
Width : 3 840 pixels
Height : 1600
Height : 1 600 pixels
Sampled_Width : 3840
Sampled_Height : 1600
Pixel aspect ratio : 1.000
Display aspect ratio : 2.400
Display aspect ratio : 2.40:1
Rotation : 0.000
Frame rate mode : CFR
Frame rate mode : Constant
Frame rate : 23.976
Frame rate : 23.976 (24000/1001) FPS
FrameRate_Num : 24000
FrameRate_Den : 1001
Frame count : 126168
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 10
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.136
Stream size : 13154829406
Stream size : 12.3 GiB (100%)
Stream size : 12 GiB
Stream size : 12 GiB
Stream size : 12.3 GiB
Stream size : 12.25 GiB
Stream size : 12.3 GiB (100%)
Proportion of this stream : 0.99988
Language : en
Language : English
Language : English
Language : en
Language : eng
Language : en
Encoded date : UTC 2021-01-05 12:22:00
Tagged date : UTC 2021-01-05 12:22:00
colour_description_present : Yes
colour_description_present_Source : Stream
Color range : Full
colour_range_Source : Stream
Color primaries : BT.2020
colour_primaries_Source : Stream
Transfer characteristics : PQ
transfer_characteristics_Source : Stream
Matrix coefficients : BT.2020 non-constant
matrix_coefficients_Source : Stream
Codec configuration box : hvcC

Go back to Media Encoder and use the same settings just reset the project and encode a brief duration. This returns in MediaInfo:



Video
Count : 378
Count of stream of this kind : 1
Kind of stream : Video
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
Inform : English, 20.0 Mb/s, 3840*1600 (2.40:1), at 23.976 (24000/1001) FPS, HEVC (Main 10@L6.2@High), HDR10
ID : 1
ID : 1
Format : HEVC
Format : HEVC
Format/Info : High Efficiency Video Coding
Format/Url : http://www.itu.int
Commercial name : HEVC
Format profile : Main 10@L6.2@High
HDR format : SMPTE ST 2086
HDR format : SMPTE ST 2086, HDR10 compatible
HDR_Format_Commercial : HDR10
HDR_Format_Compatibility : HDR10
Internet media type : video/H265
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Codec ID/Url : http://www.itu.int/
Duration : 131131
Duration : 2 min 11 s
Duration : 2 min 11 s 131 ms
Duration : 2 min 11 s
Duration : 00:02:11.131
Duration : 00:02:11;04
Duration : 00:02:11.131 (00:02:11;04)
Bit rate : 20008316
Bit rate : 20.0 Mb/s
Width : 3840
Width : 3 840 pixels
Height : 1600
Height : 1 600 pixels
Sampled_Width : 3840
Sampled_Height : 1600
Pixel aspect ratio : 1.000
Display aspect ratio : 2.400
Display aspect ratio : 2.40:1
Rotation : 0.000
Frame rate mode : CFR
Frame rate mode : Constant
Frame rate : 23.976
Frame rate : 23.976 (24000/1001) FPS
FrameRate_Num : 24000
FrameRate_Den : 1001
Frame count : 3144
Color space : YUV
Chroma subsampling : 4:2:0
Chroma subsampling : 4:2:0
Bit depth : 10
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.136
Stream size : 327964146
Stream size : 313 MiB (100%)
Stream size : 313 MiB
Stream size : 313 MiB
Stream size : 313 MiB
Stream size : 312.8 MiB
Stream size : 313 MiB (100%)
Proportion of this stream : 0.99986
Language : en
Language : English
Language : English
Language : en
Language : eng
Language : en
Encoded date : UTC 2021-01-05 17:06:57
Tagged date : UTC 2021-01-05 17:06:57
colour_description_present : Yes
colour_description_present_Source : Stream
Color range : Full
colour_range_Source : Stream
Color primaries : BT.2020
colour_primaries_Source : Stream
Transfer characteristics : PQ
transfer_characteristics_Source : Stream
Matrix coefficients : BT.2020 non-constant
matrix_coefficients_Source : Stream
Mastering display color primaries : BT.2020
MasteringDisplay_ColorPrimaries_Source : Stream
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
MasteringDisplay_Luminance_Source : Stream
Maximum Content Light Level : 4000 cd/m2
MaxCLL_Source : Stream
Maximum Frame-Average Light Level : 1166 cd/m2
MaxFALL_Source : Stream
Codec configuration box : hvcC

So you will see on the short one there is HDR_Format info where the other there isn't. Also the short one has all the light level and liminance info but the long one doesn't. Identical encodes. Even the same source, just the duration encoded is different. Anyone know what's going on?

PCU
18th January 2021, 21:14
Why does MediaInfo not show the Bink Video info?

kuchikirukia
27th June 2021, 17:57
Can we get a new listing for whether the Original MKV track flag is set?

https://matroska.org/technical/notes.html

This is going to be important moving forward as the changes to the Default flag mean it cannot be used to differentiate between the original and dubs as they all count as Default tracks. The Original flag is the correct way to mark the original track.

shae
22nd February 2022, 23:51
Any suggestions for a GUI which handles full-scanning best, hopefully including scan progress indication?

MediaInfoGUI doesn't do it well, and appears to read the whole file into memory.

MediaInfo.NET is okay but very minimalistic.

filler56789
6th October 2022, 20:43
current version = 22.09

Changelog:
Version 22.09, 2022-10-04
-------------
+ Italian language update
+ USAC: IOD and sampling rate coherency checking
+ ADM: support of nested objects and complementary objects
+ AC-4: Display of Custom downmix targets
+ IAB: Parsing of IAB bitstream and ADM-like output
+ Frame rate: store FrameRate_Num/Den also for integer values
+ MPEG-4/MOV: support of time codes >30 fps
+ MOV/MPEG-4: List of QuickTime time code discontinuities
+ Dolby Vision: add info about more profiles
x Text streams: show stream frame rate if not same as container frame rate
x CDP: fix rounding of frame rate
x SCC: fix of CEA-608 FirstDisplay_Delay_Frames
x SCC: fix TimeCode_Last
x MPEG-4/MOV: last time code value for all kind of QuickTime time codes
x MOV/MPEG-4: Fix frame count for NDF non-integer frame rates
x JSON: fix invalid output in some corner cases
x Several other parsing bug/crash fixes (thanks to fuzzing by users)

(source: https://www.videohelp.com/software/MediaInfo )

-QfG-
8th October 2022, 10:16
Is it possible to add Auro3D classification on DTS-HD MA streams?

ID : 4
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Codec ID : A_DTS
Duration : 1 h 58 min
Bit rate mode : Variable
Bit rate : 4 562 kb/s
Channel(s) : 8 channels
Channel layout : C L R LFE Lb Rb Lss Rss
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 3.77 GiB (5%)
Title : Deutsch DTS-HD MA 7.1 (UHD Blu-ray)
Language : German
Default : No
Forced : No

For example, this is a valid Auro3D stream.

tormento
12th October 2022, 15:14
Is there a way to change text output font? I have tried with ResourceHacker but can't find the place.

war59312
29th December 2022, 18:45
AV1 Netflix samples:

http://download.opencontent.netflix.com/?prefix=AV1/Chimera/

Would be sweet if MediaInfo supported the .obu files.

-QfG-
30th December 2022, 03:31
I wrote this to the support but i do it here, too:

In version 22.12 the entry under video "BitsPixel_Frame" is changed to "Bits-Pixel_Frame". I use a PHP script to read via a JSON file all video informations. But the "-" is a problem in PHP, this will be called as an function :(.

Example (older version)

$json["bitrate"] = $video[0]->BitRate_String." => ".$video[0]->BitsPixel_Frame." Bits/(Pixel*Frame)";

works fine.

Example (v22.12)

$json["bitrate"] = $video[0]->BitRate_String." => ".$video[0]->Bits-Pixel_Frame." Bits/(Pixel*Frame)";

crashing, because the "-"

Is there any chance to rallback to "BitsPixel_Frame" in JSON output?

oniiz86
11th April 2023, 10:58
I wrote this to the support but i do it here, too:

In version 22.12 the entry under video "BitsPixel_Frame" is changed to "Bits-Pixel_Frame". I use a PHP script to read via a JSON file all video informations. But the "-" is a problem in PHP, this will be called as an function :(.

Example (older version)

$json["bitrate"] = $video[0]->BitRate_String." => ".$video[0]->BitsPixel_Frame." Bits/(Pixel*Frame)";

works fine.

Example (v22.12)

$json["bitrate"] = $video[0]->BitRate_String." => ".$video[0]->Bits-Pixel_Frame." Bits/(Pixel*Frame)";

crashing, because the "-"

Is there any chance to rallback to "BitsPixel_Frame" in JSON output?
@-QfG- I was wondering if you were able to confirm if this issue has been fixed in the latest v23.04 release?

@-QfG- It looks to have been fixed with the v23.03 MediaInfo release, according to the changelog, https://mediaarea.net/MediaInfo/ChangeLog
x JSON/XML: Remove minus sign from element names

Lan4
8th May 2023, 16:08
Are there versions of MediaInfo with normal text scaling for modern operating systems? Now the text is very small, or the text is blurry when scaling.

hajj_3
11th May 2023, 08:15
Are there versions of MediaInfo with normal text scaling for modern operating systems? Now the text is very small, or the text is blurry when scaling.

https://github.com/stax76/MediaInfo.NET/releases

Lan4
14th May 2023, 20:48
https://github.com/stax76/MediaInfo.NET/releases
Thank you. This is a quality app and good job!

Thunderbolt8
19th May 2023, 23:06
is there any update for mediainfo v22.04?

Perenista
19th June 2023, 06:22
is there a way to...

1) Open more than one file at the same time, to gather the informations about it

and

2) Remove the file path, or just leave its name, on the result?