I found a software called JPEGsnoop. By loading an MJPEG into it I could get the Discrete Quantization Tables used in D-Movie mode. Quality factor is about 75 percent.
Here they are:
I was curious as to whether tables are custom made at Nikon or some sort of standard tables. I saved a JPEG in Paint Shop Pro at 75 quality to compare to. Tables are identical apart from the DC components which are more compressed in the PSP JPEG. I guess Nikon took standard 75% quality tables and changed the DC components to 4.
We can also compare to still image tables (Fine quality). These are significantly less compressed with a highest factor of 3 compared to above factors of over 50.
The BASIC quality setting for stills is using the the same tables as D-movies.
Here they are:
Code:
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x000239C0
Table length = 132
----
Precision=8 bits
Destination ID=0 (Luminance)
DQT, Row #0: 4 6 5 8 12 20 26 31
DQT, Row #1: 6 6 7 10 13 29 30 28
DQT, Row #2: 7 7 8 12 20 29 35 28
DQT, Row #3: 7 9 11 15 26 44 40 31
DQT, Row #4: 9 11 19 28 34 55 52 39
DQT, Row #5: 12 18 28 32 41 52 57 46
DQT, Row #6: 25 32 39 44 52 61 60 51
DQT, Row #7: 36 46 48 49 56 50 52 50
Approx quality factor = 74.94 (scaling=50.12 variance=10.81)
----
Precision=8 bits
Destination ID=1 (Chrominance)
DQT, Row #0: 4 9 12 24 50 50 50 50
DQT, Row #1: 9 11 13 33 50 50 50 50
DQT, Row #2: 12 13 28 50 50 50 50 50
DQT, Row #3: 24 33 50 50 50 50 50 50
DQT, Row #4: 50 50 50 50 50 50 50 50
DQT, Row #5: 50 50 50 50 50 50 50 50
DQT, Row #6: 50 50 50 50 50 50 50 50
DQT, Row #7: 50 50 50 50 50 50 50 50
Approx quality factor = 74.97 (scaling=50.06 variance=11.27)
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
OFFSET: 0x00023A46
Frame header length = 17
Precision = 8
Number of Lines = 720
Samples per Line = 1280
Image Size = 1280 x 720
Raw Image Orientation = Landscape
Number of Img components = 3
Component[1]: ID=0x01, Samp Fac=0x21 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Lum: Y)
Component[2]: ID=0x02, Samp Fac=0x11 (Subsamp 2 x 1), Quant Tbl Sel=0x01 (Chrom: Cb)
Component[3]: ID=0x03, Samp Fac=0x11 (Subsamp 2 x 1), Quant Tbl Sel=0x01 (Chrom: Cr)
Code:
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x00000014
Table length = 67
----
Precision=8 bits
Destination ID=0 (Luminance)
DQT, Row #0: 8 6 5 8 12 20 26 31
DQT, Row #1: 6 6 7 10 13 29 30 28
DQT, Row #2: 7 7 8 12 20 29 35 28
DQT, Row #3: 7 9 11 15 26 44 40 31
DQT, Row #4: 9 11 19 28 34 55 52 39
DQT, Row #5: 12 18 28 32 41 52 57 46
DQT, Row #6: 25 32 39 44 52 61 60 51
DQT, Row #7: 36 46 48 49 56 50 52 50
Approx quality factor = 74.75 (scaling=50.51 variance=0.81)
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x00000059
Table length = 67
----
Precision=8 bits
Destination ID=1 (Chrominance)
DQT, Row #0: 9 9 12 24 50 50 50 50
DQT, Row #1: 9 11 13 33 50 50 50 50
DQT, Row #2: 12 13 28 50 50 50 50 50
DQT, Row #3: 24 33 50 50 50 50 50 50
DQT, Row #4: 50 50 50 50 50 50 50 50
DQT, Row #5: 50 50 50 50 50 50 50 50
DQT, Row #6: 50 50 50 50 50 50 50 50
DQT, Row #7: 50 50 50 50 50 50 50 50
Approx quality factor = 74.74 (scaling=50.52 variance=0.19)
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
OFFSET: 0x0000009E
Frame header length = 17
Precision = 8
Number of Lines = 720
Samples per Line = 1280
Image Size = 1280 x 720
Raw Image Orientation = Landscape
Number of Img components = 3
Component[1]: ID=0x01, Samp Fac=0x22 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Lum: Y)
Component[2]: ID=0x02, Samp Fac=0x11 (Subsamp 2 x 2), Quant Tbl Sel=0x01 (Chrom: Cb)
Component[3]: ID=0x03, Samp Fac=0x11 (Subsamp 2 x 2), Quant Tbl Sel=0x01 (Chrom: Cr)
Code:
*** Marker: DQT (xFFDB) ***
Define a Quantization Table.
OFFSET: 0x0000A5EC
Table length = 132
----
Precision=8 bits
Destination ID=0 (Luminance)
DQT, Row #0: 1 1 1 1 1 1 1 2
DQT, Row #1: 1 1 1 1 1 2 2 2
DQT, Row #2: 1 1 1 1 1 2 2 2
DQT, Row #3: 1 1 1 1 1 2 2 2
DQT, Row #4: 1 1 1 2 2 3 3 2
DQT, Row #5: 1 1 2 2 2 3 3 3
DQT, Row #6: 1 2 2 2 3 3 3 3
DQT, Row #7: 2 3 3 3 3 3 3 3
Approx quality factor = 98.02 (scaling=3.95 variance=3.57)
----
Precision=8 bits
Destination ID=1 (Chrominance)
DQT, Row #0: 1 1 1 1 3 3 3 3
DQT, Row #1: 1 1 1 2 3 3 3 3
DQT, Row #2: 1 1 2 3 3 3 3 3
DQT, Row #3: 1 2 3 3 3 3 3 3
DQT, Row #4: 3 3 3 3 3 3 3 3
DQT, Row #5: 3 3 3 3 3 3 3 3
DQT, Row #6: 3 3 3 3 3 3 3 3
DQT, Row #7: 3 3 3 3 3 3 3 3
Approx quality factor = 98.39 (scaling=3.22 variance=0.43)
*** Marker: SOF0 (Baseline DCT) (xFFC0) ***
OFFSET: 0x0000A672
Frame header length = 17
Precision = 8
Number of Lines = 2848
Samples per Line = 4288
Image Size = 4288 x 2848
Raw Image Orientation = Landscape
Number of Img components = 3
Component[1]: ID=0x01, Samp Fac=0x21 (Subsamp 1 x 1), Quant Tbl Sel=0x00 (Lum: Y)
Component[2]: ID=0x02, Samp Fac=0x11 (Subsamp 2 x 1), Quant Tbl Sel=0x01 (Chrom: Cb)
Component[3]: ID=0x03, Samp Fac=0x11 (Subsamp 2 x 1), Quant Tbl Sel=0x01 (Chrom: Cr)
The BASIC quality setting for stills is using the the same tables as D-movies.
Last edited: