Search for MP4 having "bit depth=10-bit"

Discussion related to "Everything" 1.5 Alpha.
Post Reply
w64bit
Posts: 253
Joined: Wed Jan 09, 2013 9:06 am

Search for MP4 having "bit depth=10-bit"

Post by w64bit »

Is there any way to search for MP4 having "bit depth=10-bit"?
void
Developer
Posts: 16751
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for MP4 having "bit depth=10-bit"

Post by void »

The MP4 header always reports 24bit (which really means the video is in color with no alpha)

The real bit depth is stored in the codec's private data.
It's not easy to parse all available codecs for this information.
I have put on my TODO list to gather the bit depth for common codecs. (and maybe add a HDR property)
Thank you for the suggestion.

There might be existing Windows Property System properties that gather this information already.
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Search for MP4 having "bit depth=10-bit"

Post by therube »

Command line version of MediaInfo (as I suppose other utilities can also do).

Code: Select all

C:\TMP\BRU\spaces>mediainfo.exe test.mp4 | grep -i depth
Bit depth                                : 10 bits
(For some reason, ffprobe does not seem to see 10-bit files?)
Post Reply