bit_depth - stoyanovgeorge/ffmpeg GitHub Wiki
You can check the bit depth of a specific video using the following command:
$ ffprobe -i <input> &> bitdepth.log && \
grep -i video bitdepth.log && \
rm bitdepth.log
This will show you information about the bit-depth of the input.