Page 1 of 7 12345 ... LastLast
Results 1 to 10 of 62
  1. Collapse Details
    MJPEG Encoder Research, no questions here
    #1
    Senior Member
    Join Date
    Nov 2008
    Posts
    171
    Default
    For pros and testers only!


    Quote Originally Posted by tester13 View Post
    Did you tried to contact JPEGSnoop author?
    It is actively developed, as I understand.
    I don't think it's a JPEGsnoop problem but rather a problem with PapasArts MJPEG file therefore my request for a more normal 720p file.

    Quote Originally Posted by tester13 View Post
    You can try to change MJPEG values and see at quantization tables yourself.
    Sorry I don't have a GH1.

    Here are the quantisation tables of an unaltered GH1 according to JPEGsnoop. The smaller the numbers the lower the compression.
    http://www.dvxuser.com/V6/picture.ph...pictureid=3413
    Attached Images Attached Images
    Last edited by Martin Koch; 06-12-2010 at 07:52 AM.


     

  2. Collapse Details
    #2
    Senior Member
    Join Date
    Nov 2008
    Posts
    171
    Default
    And here's the Pentax K-7 which already has a high bitrate MJPEG codec.

    http://www.dvxuser.com/V6/picture.ph...pictureid=3414
    Attached Images Attached Images
    Last edited by Martin Koch; 06-12-2010 at 07:53 AM.


     

  3. Collapse Details
    #3
    Bronze Member
    Join Date
    Apr 2010
    Posts
    2,415
    Default
    Quote Originally Posted by Martin Koch View Post
    And here's the Pentax K-7 which already has a high bitrate MJPEG codec.
    Thanks, you can look at GH1 photo tables using different quality settings.
    Also look at TZ5 footage, as it seems as all MJPEG and JPEG implementation is identical.
    Btw, you can buy used TZ5 on ebay for cheap now, it is very good and versatile camera.

    P.S. One tip - do not use attachments - use Member Upload center and insert provided links, so non-members can view your pictures.


     

  4. Collapse Details
    MJPEG Encoder Research, no questions here
    #4
    Bronze Member
    Join Date
    Apr 2010
    Posts
    2,415
    Default
    Tables:

    Code:
     
    High quality
     
      Define a Quantization Table.
      OFFSET: 0x00007602
      Table length = 132
      ----
      Precision=8 bits
      Destination ID=0 (Luminance)
        DQT, Row #0:   1   1   1   1   1   1   2   2 
        DQT, Row #1:   1   1   1   1   1   1   2   2 
        DQT, Row #2:   1   1   1   1   1   1   2   2 
        DQT, Row #3:   1   1   1   1   2   2   3   3 
        DQT, Row #4:   1   1   1   2   2   2   2   3 
        DQT, Row #5:   1   1   2   2   2   3   2   3 
        DQT, Row #6:   1   2   3   2   3   3   3   3 
        DQT, Row #7:   2   2   3   3   3   3   3   3 
        Approx quality factor = 98.01 (scaling=3.98 variance=3.69)
      ----
      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   3   3   3   3   3   3   3 
        DQT, Row #4:   2   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.23 variance=0.48)
    
    Lower quality
    *** Marker: DQT (xFFDB) ***
      Define a Quantization Table.
      OFFSET: 0x00007602
      Table length = 132
      ----
      Precision=8 bits
      Destination ID=0 (Luminance)
        DQT, Row #0:   2   2   2   2   5   4   9   9 
        DQT, Row #1:   2   2   2   2   4   7   9   9 
        DQT, Row #2:   2   2   4   4   4   7  12  11 
        DQT, Row #3:   2   4   4   5   9  11  16  16 
        DQT, Row #4:   2   4   5   9  11  12   9  18 
        DQT, Row #5:   7   5   9  11  12  16  12  16 
        DQT, Row #6:   4  11  14  12  16  18  16  14 
        DQT, Row #7:  11  12  14  14  18  18  16  16 
        Approx quality factor = 92.07 (scaling=15.85 variance=15.32)
      ----
      Precision=8 bits
      Destination ID=1 (Chrominance)
        DQT, Row #0:   4   2   4   4  16  16  16  16 
        DQT, Row #1:   4   4   7   9  16  16  16  16 
        DQT, Row #2:   4   7  11  16  16  16  16  16 
        DQT, Row #3:   4  16  16  16  16  16  16  16 
        DQT, Row #4:  11  16  16  16  16  16  16  16 
        DQT, Row #5:  16  16  16  16  16  16  16  16 
        DQT, Row #6:  16  16  16  16  16  16  16  16 
        DQT, Row #7:  16  16  16  16  16  16  16  16 
        Approx quality factor = 91.74 (scaling=16.51 variance=8.99)
    
    1280 preview
     Precision=8 bits
      Destination ID=0 (Luminance)
        DQT, Row #0:   4   4   4   4  12   8  19  19 
        DQT, Row #1:   4   4   4   4   8  16  19  19 
        DQT, Row #2:   4   4   8   8   8  16  27  23 
        DQT, Row #3:   4   8   8  12  19  23  35  35 
        DQT, Row #4:   4   8  12  19  23  27  19  39 
        DQT, Row #5:  16  12  19  23  27  35  27  35 
        DQT, Row #6:   8  23  31  27  35  39  35  31 
        DQT, Row #7:  23  27  31  31  39  39  35  35 
        Approx quality factor = 83.09 (scaling=33.82 variance=75.87)
      ----
      Precision=8 bits
      Destination ID=1 (Chrominance)
        DQT, Row #0:   8   4   8   8  35  35  35  35 
        DQT, Row #1:   8   8  16  19  35  35  35  35 
        DQT, Row #2:   8  16  23  35  35  35  35  35 
        DQT, Row #3:   8  35  35  35  35  35  35  35 
        DQT, Row #4:  23  35  35  35  35  35  35  35 
        DQT, Row #5:  35  35  35  35  35  35  35  35 
        DQT, Row #6:  35  35  35  35  35  35  35  35 
        DQT, Row #7:  35  35  35  35  35  35  35  35 
        Approx quality factor = 82.11 (scaling=35.77 variance=46.49)
    
    848 preview
     Precision=8 bits
      Destination ID=0 (Luminance)
        DQT, Row #0:   4   4   4   4  12   8  20  20 
        DQT, Row #1:   4   4   4   4   8  16  20  20 
        DQT, Row #2:   4   4   8   8   8  16  28  24 
        DQT, Row #3:   4   8   8  12  20  24  36  36 
        DQT, Row #4:   4   8  12  20  24  28  20  40 
        DQT, Row #5:  16  12  20  24  28  36  28  36 
        DQT, Row #6:   8  24  32  28  36  40  36  32 
        DQT, Row #7:  24  28  32  32  40  40  36  36 
        Approx quality factor = 82.73 (scaling=34.55 variance=78.31)
      ----
      Precision=8 bits
      Destination ID=1 (Chrominance)
        DQT, Row #0:   8   4   8   8  36  36  36  36 
        DQT, Row #1:   8   8  16  20  36  36  36  36 
        DQT, Row #2:   8  16  24  36  36  36  36  36 
        DQT, Row #3:   8  36  36  36  36  36  36  36 
        DQT, Row #4:  24  36  36  36  36  36  36  36 
        DQT, Row #5:  36  36  36  36  36  36  36  36 
        DQT, Row #6:  36  36  36  36  36  36  36  36 
        DQT, Row #7:  36  36  36  36  36  36  36  36 
        Approx quality factor = 81.67 (scaling=36.65 variance=46.37)
     
    640 preview
     
    *** Marker: DQT (xFFDB) ***
      Define a Quantization Table.
      OFFSET: 0x00007602
      Table length = 132
      ----
      Precision=8 bits
      Destination ID=0 (Luminance)
        DQT, Row #0:   3   3   3   3  10   7  16  16 
        DQT, Row #1:   3   3   3   3   7  13  16  16 
        DQT, Row #2:   3   3   7   7   7  13  23  20 
        DQT, Row #3:   3   7   7  10  16  20  29  29 
        DQT, Row #4:   3   7  10  16  20  23  16  33 
        DQT, Row #5:  13  10  16  20  23  29  23  29 
        DQT, Row #6:   7  20  26  23  29  33  29  26 
        DQT, Row #7:  20  23  26  26  33  33  29  29 
        Approx quality factor = 85.95 (scaling=28.10 variance=56.76)
      ----
      Precision=8 bits
      Destination ID=1 (Chrominance)
        DQT, Row #0:   7   3   7   7  29  29  29  29 
        DQT, Row #1:   7   7  13  16  29  29  29  29 
        DQT, Row #2:   7  13  20  29  29  29  29  29 
        DQT, Row #3:   7  29  29  29  29  29  29  29 
        DQT, Row #4:  20  29  29  29  29  29  29  29 
        DQT, Row #5:  29  29  29  29  29  29  29  29 
        DQT, Row #6:  29  29  29  29  29  29  29  29 
        DQT, Row #7:  29  29  29  29  29  29  29  29 
        Approx quality factor = 85.10 (scaling=29.80 variance=31.70)
     
    320 preview 
     
    *** Marker: DQT (xFFDB) ***
      Define a Quantization Table.
      OFFSET: 0x00007602
      Table length = 132
      ----
      Precision=8 bits
      Destination ID=0 (Luminance)
        DQT, Row #0:   3   3   3   3  10   7  16  16 
        DQT, Row #1:   3   3   3   3   7  13  16  16 
        DQT, Row #2:   3   3   7   7   7  13  23  20 
        DQT, Row #3:   3   7   7  10  16  20  29  29 
        DQT, Row #4:   3   7  10  16  20  23  16  33 
        DQT, Row #5:  13  10  16  20  23  29  23  29 
        DQT, Row #6:   7  20  26  23  29  33  29  26 
        DQT, Row #7:  20  23  26  26  33  33  29  29 
        Approx quality factor = 85.95 (scaling=28.10 variance=56.76)
      ----
      Precision=8 bits
      Destination ID=1 (Chrominance)
        DQT, Row #0:   7   3   7   7  29  29  29  29 
        DQT, Row #1:   7   7  13  16  29  29  29  29 
        DQT, Row #2:   7  13  20  29  29  29  29  29 
        DQT, Row #3:   7  29  29  29  29  29  29  29 
        DQT, Row #4:  20  29  29  29  29  29  29  29 
        DQT, Row #5:  29  29  29  29  29  29  29  29 
        DQT, Row #6:  29  29  29  29  29  29  29  29 
        DQT, Row #7:  29  29  29  29  29  29  29  29 
        Approx quality factor = 85.10 (scaling=29.80 variance=31.70)
    Last edited by Vitaliy Kiselev; 06-12-2010 at 07:23 AM.


     

  5. Collapse Details
    #5
    Bronze Member
    Join Date
    Apr 2010
    Posts
    2,415
    Default
    Here's how MJPEG quality works in GH1:

    For each resolution we have following structure:
    MJPEG_mode04_1280x720:.
    .long 0 !
    .word 0x80 ! quality
    .word 0x85 ! table index
    .long 8 ! some buffer estimator
    .word 0x6E
    .word 0x92
    .long 6 ! <second
    .word 0x64
    .word 0x96
    .long 4 ! <third
    .word 0x5C
    .word 0x9B
    .long 0
    .word 0
    .word 0

    Table index is index within 1024 size table of byte type values.
    First part (starting with leading 0 dword) is used to estimate main quality (both quality and table index affect bitrate).
    All other parts have lower quality values and are used to dynamically reduce bitrate, as I understand (as we have buffer and upon buffer overflow problems we move to next part).
    This is my current understanding.
    I believe that all Q tables are implemented in pure hardware.


     

  6. Collapse Details
    Ok, here is my contribution
    #6
    Senior Member
    Join Date
    Jun 2009
    Posts
    117
    Default
    QUALITY SETTINGS [ 384, 330, 300, 276 ]
    TABLE SETTINGS [ 24, 24, 24, 24 ]

    No 1080p or anything like that just standard 720p mjpeg 30fps
    File is 79.1 mbps according to Quick-time
    3.36 pTool set

    Original File to come...


    I think this is the correct table?

    Define a Quantization Table.
    OFFSET: 0x00007602
    Table length = 132
    ----
    Precision=8 bits
    Destination ID=0 (Luminance)
    DQT, Row #0: 1 1 1 1 2 1 3 3
    DQT, Row #1: 1 1 1 1 1 2 3 3
    DQT, Row #2: 1 1 1 1 1 2 4 3
    DQT, Row #3: 1 1 1 2 3 3 5 5
    DQT, Row #4: 1 1 2 3 3 4 3 6
    DQT, Row #5: 2 2 3 3 4 5 4 5
    DQT, Row #6: 1 3 5 4 5 6 5 5
    DQT, Row #7: 3 4 5 5 6 6 5 5
    Approx quality factor = 97.27 (scaling=5.47 variance=2.65)
    ----
    Precision=8 bits
    Destination ID=1 (Chrominance)
    DQT, Row #0: 1 1 1 1 5 5 5 5
    DQT, Row #1: 1 1 2 3 5 5 5 5
    DQT, Row #2: 1 2 3 5 5 5 5 5
    DQT, Row #3: 1 5 5 5 5 5 5 5
    DQT, Row #4: 3 5 5 5 5 5 5 5
    DQT, Row #5: 5 5 5 5 5 5 5 5
    DQT, Row #6: 5 5 5 5 5 5 5 5
    DQT, Row #7: 5 5 5 5 5 5 5 5
    Approx quality factor = 97.48 (scaling=5.04 variance=0.70)
    Last edited by IanB; 06-12-2010 at 01:02 PM.


     

  7. Collapse Details
    #7
    Member
    Join Date
    May 2010
    Location
    NJ, USA
    Posts
    97
    Default
    Camera Settings:

    Color: DYN iExposure: off
    Mode: Shutter Priority ISO: 100

    Patch Settings:

    MJPEG Resolution Unpatched (Standard 1080x720)
    MJPEG Framerate Unpatched (30fps)

    MJPEG Quality: 320>220>200>184
    MJPEG Table: 24>24>24>24

    No other MJPEG patches applied.

    ----------------------------------------------------------------

    Clip 1)
    http://www.jerseyforged.com/samplecl...s/P1000586.JPG

    Quicktime Reports Video at: 57.71 mbps

    Code:
     
    *** Marker: DQT (xFFDB) ***
    Define a Quantization Table.
    OFFSET: 0x00007602
    Table length = 132
    ----
    Precision=8 bits
    Destination ID=0 (Luminance)
    DQT, Row #0: 4 4 4 4 11 8 19 19 
    DQT, Row #1: 4 4 4 4 8 15 19 19 
    DQT, Row #2: 4 4 8 8 8 15 26 23 
    DQT, Row #3: 4 8 8 11 19 23 34 34 
    DQT, Row #4: 4 8 11 19 23 26 19 38 
    DQT, Row #5: 15 11 19 23 26 34 26 34 
    DQT, Row #6: 8 23 30 26 34 38 34 30 
    DQT, Row #7: 23 26 30 30 38 38 34 34 
    Approx quality factor = 83.44 (scaling=33.13 variance=68.50)
    ----
    Precision=8 bits
    Destination ID=1 (Chrominance)
    DQT, Row #0: 8 4 8 8 34 34 34 34 
    DQT, Row #1: 8 8 15 19 34 34 34 34 
    DQT, Row #2: 8 15 23 34 34 34 34 34 
    DQT, Row #3: 8 34 34 34 34 34 34 34 
    DQT, Row #4: 23 34 34 34 34 34 34 34 
    DQT, Row #5: 34 34 34 34 34 34 34 34 
    DQT, Row #6: 34 34 34 34 34 34 34 34 
    DQT, Row #7: 34 34 34 34 34 34 34 34 
    Approx quality factor = 82.58 (scaling=34.84 variance=40.56)
     
    *** Marker: SOF0 (Baseline DCT) (xFFC0) ***
    OFFSET: 0x00007688
    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)
    Full Results Here --> http://www.jerseyforged.com/samplecl...000586.JPG.txt


    Clip 2)
    http://www.jerseyforged.com/samplecl...s/P1000587.JPG

    Quicktime Reports Video at 54.71 mbps

    Code:
     
    *** Marker: DQT (xFFDB) ***
    Define a Quantization Table.
    OFFSET: 0x00007602
    Table length = 132
    ----
    Precision=8 bits
    Destination ID=0 (Luminance)
    DQT, Row #0: 1 1 1 1 2 1 3 3 
    DQT, Row #1: 1 1 1 1 1 2 3 3 
    DQT, Row #2: 1 1 1 1 1 2 4 3 
    DQT, Row #3: 1 1 1 2 3 3 5 5 
    DQT, Row #4: 1 1 2 3 3 4 3 5 
    DQT, Row #5: 2 2 3 3 4 5 4 5 
    DQT, Row #6: 1 3 4 4 5 5 5 4 
    DQT, Row #7: 3 4 4 4 5 5 5 5 
    Approx quality factor = 97.33 (scaling=5.34 variance=2.68)
    ----
    Precision=8 bits
    Destination ID=1 (Chrominance)
    DQT, Row #0: 1 1 1 1 5 5 5 5 
    DQT, Row #1: 1 1 2 3 5 5 5 5 
    DQT, Row #2: 1 2 3 5 5 5 5 5 
    DQT, Row #3: 1 5 5 5 5 5 5 5 
    DQT, Row #4: 3 5 5 5 5 5 5 5 
    DQT, Row #5: 5 5 5 5 5 5 5 5 
    DQT, Row #6: 5 5 5 5 5 5 5 5 
    DQT, Row #7: 5 5 5 5 5 5 5 5 
    Approx quality factor = 97.48 (scaling=5.04 variance=0.70)
     
    *** Marker: SOF0 (Baseline DCT) (xFFC0) ***
    OFFSET: 0x00007688
    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)

    Full results here-->>
    http://www.jerseyforged.com/samplecl...000587.JPG.txt
    Last edited by GrgurMG; 06-12-2010 at 01:06 PM.


     

  8. Collapse Details
    #8
    Default
    ptool 3.36 settings:

    ticked mjpeg size 1280m->1920m
    ticked mjpeg encoder 1280m->1920m
    mjpeg quality 512>352>220>200
    mjpeg table 24 24 24 24




    JPEGsnoop 1.4.2 by Calvin Hass
    http://www.impulseadventure.com/photo/
    -------------------------------------

    Filename: [\\.psf\Home\Desktop\DCIM\100_PANA\P1000439.MOV]
    Filesize: [57282294] Bytes



    *** Marker: DQT (xFFDB) ***
    Define a Quantization Table.
    OFFSET: 0x00007F02
    Table length = 132
    ----
    Precision=8 bits
    Destination ID=0 (Luminance)
    DQT, Row #0: 1 1 1 1 2 1 3 3
    DQT, Row #1: 1 1 1 1 1 2 3 3
    DQT, Row #2: 1 1 1 1 1 2 4 3
    DQT, Row #3: 1 1 1 2 3 3 5 5
    DQT, Row #4: 1 1 2 3 3 4 3 5
    DQT, Row #5: 2 2 3 3 4 5 4 5
    DQT, Row #6: 1 3 4 4 5 5 5 4
    DQT, Row #7: 3 4 4 4 5 5 5 5
    Approx quality factor = 97.33 (scaling=5.34 variance=2.68)
    ----
    Precision=8 bits
    Destination ID=1 (Chrominance)
    DQT, Row #0: 1 1 1 1 5 5 5 5
    DQT, Row #1: 1 1 2 3 5 5 5 5
    DQT, Row #2: 1 2 3 5 5 5 5 5
    DQT, Row #3: 1 5 5 5 5 5 5 5
    DQT, Row #4: 3 5 5 5 5 5 5 5
    DQT, Row #5: 5 5 5 5 5 5 5 5
    DQT, Row #6: 5 5 5 5 5 5 5 5
    DQT, Row #7: 5 5 5 5 5 5 5 5
    Approx quality factor = 97.48 (scaling=5.04 variance=0.70)
    Last edited by Vitaliy Kiselev; 06-12-2010 at 01:17 PM.


     

  9. Collapse Details
    #9
    Senior Member
    Join Date
    Nov 2008
    Posts
    171
    Default
    GrgurMG I think that is exactly the kind of report tester13 needs ONLY that you should analyze a frame in the actual .MOV file not a still photo.


     

  10. Collapse Details
    #10
    Bronze Member
    Join Date
    Apr 2010
    Posts
    2,415
    Default
    Quote Originally Posted by Martin Koch View Post
    GrgurMG I think that is exactly the kind of report tester13 needs ONLY that you should analyze a frame in the actual .MOV file not a still photo.
    I requested to analyse JPG image made for each MOV.
    It is made using same sampling, same resolution, etc.
    So many information about its Q table can be useful.

    I don't get how to make JPEGsnoop to work with GH1 MOV files.
    It needs some modifications.


     

Page 1 of 7 12345 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •