Compression size difference with and without Quick Sync Video

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
parag_ca
Posts: 1
Joined: Sun Dec 09, 2018 4:50 am

Compression size difference with and without Quick Sync Video

Post by parag_ca »

Why my Compression size is more with Quick Sync Video and how to make it equivalent to H.264(x264)
Input file size: 20.2 GB
Video:
Length: 03:05:52
Frame width: 1920
Frame height: 1080
Data Rate: 15000kbps
Total Bitrate: 15384kbps
Frame Rate: 25 frames/second
Audio Bitrate: 384kbps
Channels: 2
Audio Sample Rate: 48 kHz

HandBrake version (1.1.2):
For Video codec: H.264 (x264)
Frame Rate: 30 (Peak Framerate)
Encoder Preset: Placebo
Constant Quality: 30 RF

Output File size: 824 MB
Video:
Length: 03:05:52
Frame width: 1920
Frame height: 1080
Data Rate: 459kbps
Total Bitrate: 614kbps
Frame Rate: 25 frames/second
Audio Bitrate: 154kbps
Channels: 2
Audio Sample Rate: 48 kHz

For Video codec: H.264 (Intel QSV)
Frame Rate: Same as Source (Variable Framerate)
Encoder Preset: Quality
Constant Quality: 30 QP

Output File size: 1.6 GB
Video:
Length: 03:05:52
Frame width: 1920
Frame height: 1080
Data Rate: 1075kbps
Total Bitrate: 1229kbps
Frame Rate: 25 frames/second
Audio Bitrate: 154kbps
Channels: 2
Audio Sample Rate: 48 kHz


For Video codec: H.264 (Intel QSV)
Frame Rate: Same as Source (Variable Framerate)
Encoder Preset: Quality
Average Bitrate: 200

Output File size: 1.11 GB
Video:
Length: 03:05:52
Frame width: 1920
Frame height: 1080
Data Rate: 696kbps
Total Bitrate: 850kbps
Frame Rate: 25 frames/second
Audio Bitrate: 154kbps
Channels: 2
Audio Sample Rate: 48 kHz




Operating system and version (Windows 7 Professional):




HandBrake Activity Log

Code: Select all

HandBrake 1.1.2 (2018090500) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Ram: 8079 MB, 
GPU Information:
  Intel(R) HD Graphics 630 - 21.20.16.4508
Screen: 1360x768
Temp Dir: C:\Users\i7 7700k\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\i7 7700k\AppData\Roaming\HandBrake

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


# Starting Encode ...

[08:57:42] hb_init: starting libhb thread
[08:57:42] 1 job(s) to process
[08:57:42] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "F:\\IDM\\Oct'18\\Class 23 - 1080p Oct 18.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "E:\\Final Output\\Oct 2018\\Class 23 Oct'18.mpg"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "placebo",
    "Profile": "main",
    "Quality": 30.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[08:57:42] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[08:57:42]  - Intel microarchitecture Kaby Lake
[08:57:42]  - logical processor count: 8
[08:57:42] Intel Quick Sync Video support: yes
[08:57:42]  - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[08:57:42]  - H.264 encoder: yes
[08:57:42]     - preferred implementation: hardware (any) via D3D11
[08:57:42]     - capabilities (hardware):  breftype vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[08:57:42]  - H.265 encoder: no
[08:57:42] hb_scan: path=E:\Final Output\Oct 2018\Class 23 Oct'18.mpg, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\Final Output\Oct 2018\Class 23 Oct'18.mpg
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[08:57:42] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[08:57:42] dvd: not a dvd - trying as a stream/file instead
[08:57:42] file is MPEG Program Stream
[08:57:42] Probing 3 unknown streams
[08:57:42]     Probe: Found stream mpeg2video. stream id 0xe0-0x0
[08:57:42] Found the following streams
[08:57:42]     Video Streams :
[08:57:42]       0xe0-0x0 type MPEG2 (0x2)
[08:57:42]     Audio Streams :
[08:57:42]       0xc0-0x0 type MPEG2 (0x4)
[08:57:42]     Subtitle Streams :
[08:57:42]     Other Streams :
[08:57:42] stream id 0xc0 (type 0x4 substream 0x0) audio 0xc0
[08:57:42] scan: decoding previews for title 1
[08:57:42] file is MPEG Program Stream
[08:57:42] Probing 3 unknown streams
[08:57:42]     Probe: Found stream mpeg2video. stream id 0xe0-0x0
[08:57:42] scan: audio 0xc0: mp2, rate=48000Hz, bitrate=200000 Unknown (MPEG) (2.0 ch)
[08:57:43] stream: 371 good frames, 0 errors (0%)
[08:57:43] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[08:57:43] libhb: scan thread found 1 valid title(s)
[08:57:43] Skipping subtitle scan.  No suitable subtitle tracks.
[08:57:43] starting job
[08:57:43] decomb filter thread started for segment 0
[08:57:43] decomb filter thread started for segment 1
[08:57:43] decomb filter thread started for segment 2
[08:57:43] decomb filter thread started for segment 4
[08:57:43] decomb filter thread started for segment 5
[08:57:43] decomb filter thread started for segment 7
[08:57:43] decomb filter thread started for segment 6
[08:57:43] decomb filter thread started for segment 3
[08:57:43] decomb check thread started for segment 0
[08:57:43] decomb check thread started for segment 2
[08:57:43] decomb check thread started for segment 5
[08:57:43] decomb check thread started for segment 4
[08:57:43] decomb check thread started for segment 6
[08:57:43] mask filter thread started for segment 2
[08:57:43] decomb check thread started for segment 3
[08:57:43] mask filter thread started for segment 3
[08:57:43] mask filter thread started for segment 5
[08:57:43] mask filter thread started for segment 6
[08:57:43] decomb check thread started for segment 7
[08:57:43] mask filter thread started for segment 7
[08:57:43] mask filter thread started for segment 4
[08:57:43] decomb check thread started for segment 1
[08:57:43] mask filter thread started for segment 0
[08:57:43] mask filter thread started for segment 1
[08:57:43] mask erode thread started for segment 0
[08:57:43] mask erode thread started for segment 2
[08:57:43] mask erode thread started for segment 3
[08:57:43] mask erode thread started for segment 4
[08:57:43] mask erode thread started for segment 5
[08:57:43] mask erode thread started for segment 6
[08:57:43] mask erode thread started for segment 1
[08:57:43] mask erode thread started for segment 7
[08:57:43] mask dilate thread started for segment 0
[08:57:43] mask dilate thread started for segment 1
[08:57:43] mask dilate thread started for segment 2
[08:57:43] mask dilate thread started for segment 3
[08:57:43] mask dilate thread started for segment 4
[08:57:43] mask dilate thread started for segment 5
[08:57:43] mask dilate thread started for segment 6
[08:57:43] mask dilate thread started for segment 7
[08:57:43] yadif thread started for segment 0
[08:57:43] yadif thread started for segment 1
[08:57:43] yadif thread started for segment 2
[08:57:43] yadif thread started for segment 3
[08:57:43] yadif thread started for segment 4
[08:57:43] yadif thread started for segment 5
[08:57:43] yadif thread started for segment 6
[08:57:43] yadif thread started for segment 7
[08:57:43] work: track 1, dithering not supported by codec
[08:57:43] work: only 1 chapter, disabling chapter markers
[08:57:43] job configuration:
[08:57:43]  * source
[08:57:43]    + E:\Final Output\Oct 2018\Class 23 Oct'18.mpg
[08:57:43]    + title 1, chapter(s) 1 to 1
[08:57:43]  * destination
[08:57:43]    + F:\IDM\Oct'18\Class 23 - 1080p Oct 18.mp4
[08:57:43]    + container: MPEG-4 (libavformat)
[08:57:43]  * video track
[08:57:43]    + decoder: mpeg2video
[08:57:43]      + bitrate 15000 kbps
[08:57:43]    + filters
[08:57:43]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[08:57:43]      + Decomb (mode=39)
[08:57:43]      + Framerate Shaper (mode=2:rate=27000000/900000)
[08:57:43]        + frame rate: 25.000 fps -> peak rate limited to 30.000 fps
[08:57:43]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[08:57:43]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[08:57:43]    + Output geometry
[08:57:43]      + storage dimensions: 1920 x 1080
[08:57:43]      + pixel aspect ratio: 1 : 1
[08:57:43]      + display dimensions: 1920 x 1080
[08:57:43]    + encoder: H.264 (libx264)
[08:57:43]      + preset:  placebo
[08:57:43]      + profile: main
[08:57:43]      + level:   4.0
[08:57:43]      + quality: 30.00 (RF)
[08:57:43]  * audio track 1
[08:57:43]    + decoder: Unknown (MPEG) (2.0 ch) (track 1, id 0xc0)
[08:57:43]      + bitrate: 200 kbps, samplerate: 48000 Hz
[08:57:43]    + mixdown: Stereo
[08:57:43]    + encoder: AAC (libavcodec)
[08:57:43]      + bitrate: 160 kbps, samplerate: 48000 Hz
[08:57:43] file is MPEG Program Stream
[08:57:43] Probing 3 unknown streams
[08:57:43]     Probe: Found stream mpeg2video. stream id 0xe0-0x0
[08:57:43] sync: expecting 278811 video frames
[08:57:43] encx264: encoding at constant RF 30.000000
[08:57:43] encx264: unparsed options: level=4.0:ref=4:bframes=16:b-adapt=2:direct=auto:analyse=all:8x8dct=0:me=tesa:merange=24:subme=11:trellis=2:fast-pskip=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0
[08:57:43] sync: first pts video is 0
[08:57:43] sync: first pts audio 0xc0 is 0
hb_ps_read_packet: error (32)
hb_ps_read_packet: error (32)
hb_ps_read_packet: error (32)
[09:05:04] reader: done. 1 scr changes
[09:05:14] work: average encoding speed for job is 11.514053 fps
[09:05:14] comb detect: heavy 965 | light 1292 | uncombed 2851 | total 5108
[09:05:14] decomb: deinterlaced 965 | blended 1292 | unfiltered 2851 | total 5108
[09:05:14] vfr: 5108 frames output, 0 dropped and 0 duped for CFR/PFR
[09:05:14] vfr: lost time: 0 (0 frames)
[09:05:14] vfr: gained time: 0 (0 frames) (0 not accounted for)
[09:05:14] stream: 190243 good frames, 0 errors (0%)
[09:05:14] mp2-decoder done: 8495 frames, 0 decoder errors
[09:05:14] mpeg2video-decoder done: 5108 frames, 0 decoder errors
[09:05:14] sync: got 5108 frames, 278811 expected
[09:05:14] sync: framerate min 12.500 fps, max 25.000 fps, avg 24.995 fps
x264 [info]: frame I:23    Avg QP:24.90  size: 50362
x264 [info]: frame P:1122  Avg QP:28.65  size:  9594
x264 [info]: frame B:3963  Avg QP:29.94  size:  2661
x264 [info]: consecutive B-frames:  2.3%  3.0% 12.0% 16.4% 10.1% 40.3%  3.8%  3.1%  3.3%  1.6%  1.5%  0.7%  0.0%  0.8%  0.3%  0.3%  0.3%
x264 [info]: mb I  I16..4: 30.7%  0.0% 69.3%
x264 [info]: mb P  I16..4:  5.0%  0.0%  6.9%  P16..4: 10.6%  5.7%  1.2%  0.3%  0.0%    skip:70.2%
x264 [info]: mb B  I16..4:  0.6%  0.0%  0.6%  B16..8: 10.4%  1.8%  0.2%  direct: 0.5%  skip:85.8%  L0:44.8% L1:53.0% BI: 2.2%
x264 [info]: direct mvs  spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 16.0% 14.1% 1.5% inter: 1.2% 0.5% 0.0%
x264 [info]: i16 v,h,dc,p: 21% 41%  7% 32%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 10% 60%  1%  3%  3%  2%  2%  3%
x264 [info]: i8c dc,h,v,p: 16% 69% 11%  4%
x264 [info]: Weighted P-Frames: Y:6.6% UV:6.1%
x264 [info]: ref P L0: 55.0% 12.4% 23.4%  8.6%  0.6%  0.0%
x264 [info]: ref B L0: 87.0% 10.5%  2.6%
x264 [info]: ref B L1: 95.3%  4.7%
x264 [info]: kb/s:879.36
[09:05:14] mux: track 0, 5108 frames, 22466784 bytes, 879.33 kbps, fifo 4096
[09:05:14] mux: track 1, 9557 frames, 3680157 bytes, 144.04 kbps, fifo 8192
[09:05:14] libhb: work result = 5

# Encode Completed ...

Code: Select all

HandBrake 1.1.2 (2018090500) - 64bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
Ram: 8079 MB, 
GPU Information:
  Intel(R) HD Graphics 630 - 21.20.16.4508
Screen: 1360x768
Temp Dir: C:\Users\i7 7700k\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\i7 7700k\AppData\Roaming\HandBrake

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


# Starting Encode ...

[09:08:28] hb_init: starting libhb thread
[09:08:28] 1 job(s) to process
[09:08:28] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "F:\\IDM\\Oct'18\\Class 23 - 1080p Oct 18QSV200with22.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "E:\\Final Output\\Oct 2018\\Class 23 Oct'18 again.mpg"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 256,
    "Level": "auto",
    "Bitrate": 200,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "quality",
    "Profile": "auto",
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[09:08:28] CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
[09:08:28]  - Intel microarchitecture Kaby Lake
[09:08:28]  - logical processor count: 8
[09:08:28] Intel Quick Sync Video support: yes
[09:08:28]  - Intel Media SDK hardware: API 1.19 (minimum: 1.3)
[09:08:28]  - H.264 encoder: yes
[09:08:28]     - preferred implementation: hardware (any) via D3D11
[09:08:28]     - capabilities (hardware):  breftype vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[09:08:28]  - H.265 encoder: no
[09:08:28] hb_scan: path=E:\Final Output\Oct 2018\Class 23 Oct'18 again.mpg, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\Final Output\Oct 2018\Class 23 Oct'18 again.mpg
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
[09:08:28] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[09:08:28] dvd: not a dvd - trying as a stream/file instead
[09:08:28] file is MPEG Program Stream
[09:08:29] Probing 3 unknown streams
[09:08:29]     Probe: Found stream mpeg2video. stream id 0xe0-0x0
[09:08:29] Found the following streams
[09:08:29]     Video Streams :
[09:08:29]       0xe0-0x0 type MPEG2 (0x2)
[09:08:29]     Audio Streams :
[09:08:29]       0xc0-0x0 type MPEG2 (0x4)
[09:08:29]     Subtitle Streams :
[09:08:29]     Other Streams :
[09:08:29] stream id 0xc0 (type 0x4 substream 0x0) audio 0xc0
[09:08:29] scan: decoding previews for title 1
[09:08:29] file is MPEG Program Stream
[09:08:29] Probing 3 unknown streams
[09:08:29]     Probe: Found stream mpeg2video. stream id 0xe0-0x0
[09:08:29] scan: audio 0xc0: mp2, rate=48000Hz, bitrate=200000 Unknown (MPEG) (2.0 ch)
[09:08:29] stream: 371 good frames, 0 errors (0%)
[09:08:29] scan: 10 previews, 1920x1080, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[09:08:29] libhb: scan thread found 1 valid title(s)
[09:08:29] Skipping subtitle scan.  No suitable subtitle tracks.
[09:08:29] starting job
[09:08:29] decomb filter thread started for segment 0
[09:08:29] decomb filter thread started for segment 1
[09:08:29] decomb filter thread started for segment 2
[09:08:29] decomb filter thread started for segment 4
[09:08:29] decomb filter thread started for segment 3
[09:08:29] decomb filter thread started for segment 5
[09:08:29] decomb filter thread started for segment 6
[09:08:29] decomb filter thread started for segment 7
[09:08:29] decomb check thread started for segment 0
[09:08:29] decomb check thread started for segment 1
[09:08:29] decomb check thread started for segment 2
[09:08:29] decomb check thread started for segment 3
[09:08:29] decomb check thread started for segment 4
[09:08:29] decomb check thread started for segment 5
[09:08:29] decomb check thread started for segment 6
[09:08:29] decomb check thread started for segment 7
[09:08:29] mask filter thread started for segment 0
[09:08:29] mask filter thread started for segment 1
[09:08:29] mask filter thread started for segment 2
[09:08:29] mask filter thread started for segment 3
[09:08:29] mask filter thread started for segment 4
[09:08:29] mask filter thread started for segment 5
[09:08:29] mask filter thread started for segment 6
[09:08:29] mask filter thread started for segment 7
[09:08:29] mask erode thread started for segment 0
[09:08:29] mask erode thread started for segment 1
[09:08:29] mask erode thread started for segment 2
[09:08:29] mask erode thread started for segment 3
[09:08:29] mask erode thread started for segment 4
[09:08:29] mask erode thread started for segment 5
[09:08:29] mask erode thread started for segment 6
[09:08:29] mask erode thread started for segment 7
[09:08:29] mask dilate thread started for segment 0
[09:08:29] mask dilate thread started for segment 1
[09:08:29] mask dilate thread started for segment 2
[09:08:29] mask dilate thread started for segment 3
[09:08:29] mask dilate thread started for segment 4
[09:08:29] mask dilate thread started for segment 5
[09:08:29] mask dilate thread started for segment 6
[09:08:29] mask dilate thread started for segment 7
[09:08:29] yadif thread started for segment 0
[09:08:29] yadif thread started for segment 1
[09:08:29] yadif thread started for segment 3
[09:08:29] yadif thread started for segment 2
[09:08:29] yadif thread started for segment 4
[09:08:29] yadif thread started for segment 5
[09:08:29] yadif thread started for segment 6
[09:08:29] yadif thread started for segment 7
[09:08:29] work: track 1, dithering not supported by codec
[09:08:29] work: only 1 chapter, disabling chapter markers
[09:08:29] job configuration:
[09:08:29]  * source
[09:08:29]    + E:\Final Output\Oct 2018\Class 23 Oct'18 again.mpg
[09:08:29]    + title 1, chapter(s) 1 to 1
[09:08:29]  * destination
[09:08:29]    + F:\IDM\Oct'18\Class 23 - 1080p Oct 18QSV200with22.mp4
[09:08:29]    + container: MPEG-4 (libavformat)
[09:08:29]  * video track
[09:08:29]    + decoder: mpeg2video
[09:08:29]      + bitrate 15000 kbps
[09:08:29]    + filters
[09:08:29]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[09:08:29]      + Decomb (mode=39)
[09:08:29]      + Framerate Shaper (mode=2)
[09:08:29]        + frame rate: 25.000 fps -> peak rate limited to 25.000 fps
[09:08:29]      + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[09:08:29]        + source: 1920 * 1080, crop (0/0/0/0): 1920 * 1080, scale: 1920 * 1080
[09:08:29]    + Output geometry
[09:08:29]      + storage dimensions: 1920 x 1080
[09:08:29]      + pixel aspect ratio: 1 : 1
[09:08:29]      + display dimensions: 1920 x 1080
[09:08:29]    + encoder: H.264 (Intel Media SDK)
[09:08:29]      + preset:  quality
[09:08:29]      + profile: auto
[09:08:29]      + level:   auto
[09:08:29]      + bitrate: 200 kbps, pass: 0
[09:08:29]  * audio track 1
[09:08:29]    + decoder: Unknown (MPEG) (2.0 ch) (track 1, id 0xc0)
[09:08:29]      + bitrate: 200 kbps, samplerate: 48000 Hz
[09:08:29]    + mixdown: Stereo
[09:08:29]    + encoder: AAC (libavcodec)
[09:08:29]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:08:29] file is MPEG Program Stream
[09:08:29] Probing 3 unknown streams
[09:08:29]     Probe: Found stream mpeg2video. stream id 0xe0-0x0
[09:08:29] sync: expecting 278811 video frames
[09:08:29] encqsvInit: using encode-only path
[09:08:29] encqsvInit: H.264/AVC High profile @ level 4.0
[09:08:29] encqsvInit: TargetUsage 2 AsyncDepth 0
[09:08:29] encqsvInit: GopRefDist 3 GopPicSize 25 NumRefFrame 3
[09:08:29] encqsvInit: BFramesMax 2 BRefType off
[09:08:29] encqsvInit: AdaptiveI unknown (auto) AdaptiveB unknown (auto)
[09:08:29] encqsvInit: RateControlMethod VBR TargetKbps 895 MaxKbps 895 BufferSizeInKB 375 InitialDelayInKB 375
[09:08:29] encqsvInit: ExtBRC unknown (auto)
[09:08:29] encqsvInit: MBBRC unknown (auto)
[09:08:29] encqsvInit: Trellis unknown (auto)
[09:08:29] sync: first pts video is 0
[09:08:29] sync: first pts audio 0xc0 is 0
[09:08:30] qsv_enc_init: using 'hardware (1) via D3D11' implementation, API: 1.19
[09:08:51] encqsv: BPyramid off not respected (delay: 2)
[10:53:55] reader: done. 1 scr changes
[10:53:57] work: average encoding speed for job is 44.062481 fps
[10:53:57] comb detect: heavy 37979 | light 78021 | uncombed 162800 | total 278800
[10:53:57] decomb: deinterlaced 37979 | blended 78021 | unfiltered 162800 | total 278800
[10:53:57] vfr: 278800 frames output, 0 dropped and 0 duped for CFR/PFR
[10:53:57] vfr: lost time: 0 (0 frames)
[10:53:57] vfr: gained time: 0 (0 frames) (0 not accounted for)
[10:53:58] stream: 10377170 good frames, 0 errors (0%)
[10:53:58] mp2-decoder done: 464668 frames, 0 decoder errors
[10:53:58] mpeg2video-decoder done: 278800 frames, 0 decoder errors
[10:53:58] sync: got 278800 frames, 278811 expected
[10:53:58] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
[10:53:58] mux: track 0, 278800 frames, 970286891 bytes, 696.04 kbps, fifo 4096
[10:53:58] mux: track 1, 522752 frames, 215337163 bytes, 154.47 kbps, fifo 8192
[10:53:58] libhb: work result = 0

# Encode Completed ...
User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Compression size difference with and without Quick Sync Video

Post by s55 »

The Quality Scales are RF and QP for x264 and QSV H.264 respectively. They are not quite the same scale.
Adjust the QSV one to a higher number to reduce file size.

Note, QSV only supports a small subset of features that x264 does, so typically you'll need to have a higher bitrate or quality level (thus larger file) to achieve similar quality levels.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Compression size difference with and without Quick Sync Video

Post by Woodstock »

In my experimentation with QSV, I found that simply changing the encoder on a given preset resulted in about a 5% increase in size for a QSV result. My experiment lasted only a few days - the size/quality advantage of x264 vs qsv_h264 convinced me that I'll spend the CPU cycles, and let handbrake finish when it finishes.

How long it takes for handbrake to finish is less important when you're not waiting on it to queue the next encode. :)
Post Reply