Video is not compressed

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
JeAn-PhI13
Posts: 8
Joined: Wed Jun 03, 2020 6:57 am

Video is not compressed

Post by JeAn-PhI13 »

Description of problem or question:
Hello,

I use the game bar present in Windows 10 (shortcut keys Windows and G) the video is of good quality.
the video produced is an MP4 file at 30 FPS
for a little over 17 minutes I get a 1.24 GB file
I would like to reduce the weight of this video without losing its resolution (1920 * 1048), I tried several configuration (preset) without obtaining a satisfactory result

HandBrake version (e.g., 1.0.0):

1.3.2


Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):

Windows 10 PRO version 1909

https://ibb.co/rGpzvDV

Image
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Video is not compressed

Post by rollin_eng »

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Video is not compressed

Post by Woodstock »

Without the logs, we have a "cool story" with no evidence. We do not even know what "satisfactory result" means in your context.
JeAn-PhI13
Posts: 8
Joined: Wed Jun 03, 2020 6:57 am

Re: Video is not compressed

Post by JeAn-PhI13 »

rollin_eng wrote: Wed Jun 03, 2020 10:57 am Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
my HB logs below :

Code: Select all

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Ram: 16213 MB, 
GPU Information:
  Radeon (TM) Pro WX 4150 Graphics - 26.20.11024.6001
  Intel(R) HD Graphics 630 - 25.20.100.6472
Screen: 1920x1200
Temp Dir: D:\Users\XXXXX\AppData\Local\Temp\
Install Dir: D:\HandBrake
Data Dir: C:\Users\XXXXX\AppData\Roaming\HandBrake

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


# Starting Encode ...

[10:08:45] base preset: Fast 1080p30 (Modified)
[10:08:45] hb_init: starting libhb thread
[10:08:45] Starting work at: Mon Jun 08 10:08:45 2020
[10:08:45] 1 job(s) to process
[10:08:45] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 128,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapitre1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "D:\\Users\\XXXXX\\Videos\\ 2020-06-03 18-52-56-1.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "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": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Users\\XXXXXX\\Videos\\Captures\\ 2020-06-03 18-52-56.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryfast",
    "Profile": "main",
    "Quality": 20.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[10:08:45] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
[10:08:45]  - Intel microarchitecture Kaby Lake
[10:08:45]  - logical processor count: 8
[10:08:45] hb_scan: path=D:\Users\XXXXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Users\XXXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4
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
src/libbluray/bluray.c:2585: nav_get_title_list(D:\Users\XXXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4\) failed
[10:08:45] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[10:08:45] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Users\XXXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2020-06-03T17:08:27.000000Z
    artist          : Microsoft Game DVR
    title           :
  Duration: 00:15:31.75, start: 0.000000, bitrate: 10523 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 10378 kb/s, 30.01 fps, 60 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2020-06-03T17:08:27.000000Z
      handler_name    : VideoHandler
      encoder         : AVC Coding
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 131 kb/s (default)
    Metadata:
      creation_time   : 2020-06-03T17:08:27.000000Z
      handler_name    : SoundHandler
[10:08:45] scan: decoding previews for title 1
[10:08:45] scan: audio 0x1: aac, rate=44100Hz, bitrate=131673 Unknown (AAC LC) (2.0 ch) (131 kbps)
[10:08:46] scan: 10 previews, 1920x1080, 30.014 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[10:08:46] libhb: scan thread found 1 valid title(s)
[10:08:46] Skipping subtitle scan.  No suitable subtitle tracks.
[10:08:46] Starting Task: Encoding Pass
[10:08:46] Skipping crop/scale filter
[10:08:46] work: only 1 chapter, disabling chapter markers
[10:08:46] job configuration:
[10:08:46]  * source
[10:08:46]    + D:\Users\XXXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4
[10:08:46]    + title 1, chapter(s) 1 to 1
[10:08:46]    + container: mov,mp4,m4a,3gp,3g2,mj2
[10:08:46]    + data rate: 10523 kbps
[10:08:46]  * destination
[10:08:46]    + D:\Users\XXXXX\Videos\ 2020-06-03 18-52-56-1.m4v
[10:08:46]    + container: MPEG-4 (libavformat)
[10:08:46]      + optimized for HTTP streaming (fast start)
[10:08:46]      + align initial A/V stream timestamps
[10:08:46]  * video track
[10:08:46]    + decoder: h264
[10:08:46]      + bitrate 10378 kbps
[10:08:46]    + filters
[10:08:46]      + 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)
[10:08:46]      + Decomb (mode=39)
[10:08:46]      + Framerate Shaper (mode=1:rate=27000000/900000)
[10:08:46]        + frame rate: 30.014 fps -> constant 30.000 fps
[10:08:46]    + Output geometry
[10:08:46]      + storage dimensions: 1920 x 1080
[10:08:46]      + pixel aspect ratio: 1 : 1
[10:08:46]      + display dimensions: 1920 x 1080
[10:08:46]    + encoder: H.264 (libx264)
[10:08:46]      + preset:  veryfast
[10:08:46]      + profile: main
[10:08:46]      + level:   4.0
[10:08:46]      + quality: 20.00 (RF)
[10:08:46]      + color profile: 1-1-1
[10:08:46]  * audio track 1
[10:08:46]    + decoder: Unknown (AAC LC) (2.0 ch) (131 kbps) (track 1, id 0x1)
[10:08:46]      + bitrate: 131 kbps, samplerate: 44100 Hz
[10:08:46]    + mixdown: Stereo
[10:08:46]    + dither: none
[10:08:46]    + encoder: AAC (libavcodec)
[10:08:46]      + bitrate: 128 kbps, samplerate: 44100 Hz
[10:08:46] sync: expecting 27965 video frames
[10:08:46] encx264: min-keyint: 30, keyint: 300
[10:08:46] encx264: encoding at constant RF 20.000000
[10:08:46] encx264: unparsed options: level=4.0:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10
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, 4:2:0, 8-bit
[10:08:46] sync: first pts video is 0
[10:08:46] sync: first pts audio 0x1 is 0
[10:08:46] sync: "Chapitre1" (1) at frame 2 time 2998
[10:18:12] reader: done. 1 scr changes
[10:18:12] work: average encoding speed for job is 49.336697 fps
[10:18:12] comb detect: heavy 666 | light 5177 | uncombed 22123 | total 27966
[10:18:12] decomb: deinterlaced 666 | blended 5177 | unfiltered 22123 | total 27966
[10:18:12] vfr: 27954 frames output, 17 dropped and 5 duped for CFR/PFR
[10:18:12] vfr: lost time: 0 (0 frames)
[10:18:12] vfr: gained time: 0 (0 frames) (0 not accounted for)
[10:18:13] aac-decoder done: 40127 frames, 0 decoder errors
[10:18:13] h264-decoder done: 27965 frames, 0 decoder errors
[10:18:13] sync: got 27966 frames, 27965 expected
[10:18:13] sync: framerate min 4.462 fps, max 116.279 fps, avg 30.013 fps
x264 [info]: frame I:109   Avg QP:20.20  size:189843
x264 [info]: frame P:10217 Avg QP:22.95  size: 73285
x264 [info]: frame B:17628 Avg QP:25.01  size: 31983
x264 [info]: consecutive B-frames: 11.7%  8.6% 12.0% 67.6%
x264 [info]: mb I  I16..4: 15.1%  0.0% 84.9%
x264 [info]: mb P  I16..4: 12.1%  0.0% 24.6%  P16..4: 29.0% 13.2%  6.8%  0.0%  0.0%    skip:14.2%
x264 [info]: mb B  I16..4:  4.1%  0.0%  5.3%  B16..8: 26.5% 12.4%  2.2%  direct: 9.1%  skip:40.4%  L0:50.1% L1:36.9% BI:13.0%
x264 [info]: coded y,uvDC,uvAC intra: 62.3% 67.7% 22.8% inter: 17.9% 17.7% 1.3%
x264 [info]: i16 v,h,dc,p: 26% 47% 15% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 32% 14%  5%  6%  5%  7%  4%  5%
x264 [info]: i8c dc,h,v,p: 44% 32% 18%  6%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.1%
x264 [info]: kb/s:11446.63
[10:18:15] mux: track 0, 27954 frames, 1333241840 bytes, 11446.18 kbps, fifo 512
[10:18:15] mux: track 1, 40128 frames, 15092392 bytes, 129.57 kbps, fifo 1024
[10:18:16] Finished work at: Mon Jun 08 10:18:16 2020
[10:18:16] libhb: work result = 0

# Encode Completed ...
Last edited by Anonymous on Mon Jun 08, 2020 8:28 am, edited 1 time in total.
Reason: Logs in between [code][/code] blocks please
JeAn-PhI13
Posts: 8
Joined: Wed Jun 03, 2020 6:57 am

Re: Video is not compressed

Post by JeAn-PhI13 »

Woodstock wrote: Wed Jun 03, 2020 12:40 pm Without the logs, we have a "cool story" with no evidence. We do not even know what "satisfactory result" means in your context.
I never thought that we had to provide a log for each request.
a satisfactory result for me is to have results similar to what we can see on different tutorials available on the Internet namely a reduction in the weight of the file ranging from 2 to 10 times less than the original weight by keeping a image size identical to the original and an FPS of 30
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Video is not compressed

Post by rollin_eng »

Change your encoder preset from veryfast to slow or veryslow. Maybe bump your RF to 22.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Video is not compressed

Post by Woodstock »

When you ask questions about how handbrake handles a particular source, nothing can be done without logs.

A noisy source is NOT going to see large reductions in size without significant filtering (to remove noise) or reduction of quality. A 1080p anime might see 80-90% reduction (not much detail), while an action movie with lots of motion and detail, on the same settings, would be hard pressed to see 50% size reduction.

Even things like treating a progressive scan source as interlaced affects the size, as the encoder tries to make up for interlacing that really isn't there. On this particular source, you should experiment with setting deinterlace to NONE and turning off Comb Detect.
JeAn-PhI13
Posts: 8
Joined: Wed Jun 03, 2020 6:57 am

Re: Video is not compressed

Post by JeAn-PhI13 »

rollin_eng wrote: Mon Jun 08, 2020 11:26 am Change your encoder preset from veryfast to slow or veryslow. Maybe bump your RF to 22.
ok i am testing this
JeAn-PhI13
Posts: 8
Joined: Wed Jun 03, 2020 6:57 am

Re: Video is not compressed

Post by JeAn-PhI13 »

Woodstock wrote: Mon Jun 08, 2020 2:04 pm When you ask questions about how handbrake handles a particular source, nothing can be done without logs.

A noisy source is NOT going to see large reductions in size without significant filtering (to remove noise) or reduction of quality. A 1080p anime might see 80-90% reduction (not much detail), while an action movie with lots of motion and detail, on the same settings, would be hard pressed to see 50% size reduction.

Even things like treating a progressive scan source as interlaced affects the size, as the encoder tries to make up for interlacing that really isn't there. On this particular source, you should experiment with setting deinterlace to NONE and turning off Comb Detect.
ok i will test this too
JeAn-PhI13
Posts: 8
Joined: Wed Jun 03, 2020 6:57 am

Re: Video is not compressed

Post by JeAn-PhI13 »

rollin_eng wrote: Mon Jun 08, 2020 11:26 am Change your encoder preset from veryfast to slow or veryslow. Maybe bump your RF to 22.
Hello,

the result is that the output file is identical or even larger than the input file so it's not that yet

Code: Select all

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Ram: 16213 MB, 
GPU Information:
  Radeon (TM) Pro WX 4150 Graphics - 26.20.11024.6001
  Intel(R) HD Graphics 630 - 25.20.100.6472
Screen: 1920x1200
Temp Dir: D:\Users\XXXX\AppData\Local\Temp\
Install Dir: D:\HandBrake
Data Dir: C:\Users\XXXX\AppData\Roaming\HandBrake

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


# Starting Encode ...

[04:43:43] base preset: Fast 1080p30 (Modified)
[16:43:43] hb_init: starting libhb thread
[16:43:43] Starting work at: Mon Jun 08 16:43:43 2020
[16:43:43] 1 job(s) to process
[16:43:43] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapitre1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "D:\\Users\\XXXX\\Videos\\ 2020-06-03 18-52-56-1(1).m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "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": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Users\\XXXX\\Videos\\Captures\\ 2020-06-03 18-52-56.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryslow",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:43:43] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
[16:43:43]  - Intel microarchitecture Kaby Lake
[16:43:43]  - logical processor count: 8
[16:43:43] hb_scan: path=D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4
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
src/libbluray/bluray.c:2585: nav_get_title_list(D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4\) failed
[16:43:43] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[16:43:43] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2020-06-03T17:08:27.000000Z
    artist          : Microsoft Game DVR
    title           :
  Duration: 00:15:31.75, start: 0.000000, bitrate: 10523 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 10378 kb/s, 30.01 fps, 60 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2020-06-03T17:08:27.000000Z
      handler_name    : VideoHandler
      encoder         : AVC Coding
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 131 kb/s (default)
    Metadata:
      creation_time   : 2020-06-03T17:08:27.000000Z
      handler_name    : SoundHandler
[16:43:44] scan: decoding previews for title 1
[16:43:44] scan: audio 0x1: aac, rate=44100Hz, bitrate=131673 Unknown (AAC LC) (2.0 ch) (131 kbps)
[16:43:44] scan: 10 previews, 1920x1080, 30.014 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[16:43:44] libhb: scan thread found 1 valid title(s)
[16:43:44] Skipping subtitle scan.  No suitable subtitle tracks.
[16:43:44] Starting Task: Encoding Pass
[16:43:44] Skipping crop/scale filter
[16:43:44] work: only 1 chapter, disabling chapter markers
[16:43:44] job configuration:
[16:43:44]  * source
[16:43:44]    + D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4
[16:43:44]    + title 1, chapter(s) 1 to 1
[16:43:44]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:43:44]    + data rate: 10523 kbps
[16:43:44]  * destination
[16:43:44]    + D:\Users\XXXX\Videos\ 2020-06-03 18-52-56-1(1).m4v
[16:43:44]    + container: MPEG-4 (libavformat)
[16:43:44]      + optimized for HTTP streaming (fast start)
[16:43:44]      + align initial A/V stream timestamps
[16:43:44]  * video track
[16:43:44]    + decoder: h264
[16:43:44]      + bitrate 10378 kbps
[16:43:44]    + filters
[16:43:44]      + 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)
[16:43:44]      + Decomb (mode=39)
[16:43:44]      + Framerate Shaper (mode=1:rate=27000000/900000)
[16:43:44]        + frame rate: 30.014 fps -> constant 30.000 fps
[16:43:44]    + Output geometry
[16:43:44]      + storage dimensions: 1920 x 1080
[16:43:44]      + pixel aspect ratio: 1 : 1
[16:43:44]      + display dimensions: 1920 x 1080
[16:43:44]    + encoder: H.264 (libx264)
[16:43:44]      + preset:  veryslow
[16:43:44]      + profile: main
[16:43:44]      + level:   4.0
[16:43:44]      + quality: 22.00 (RF)
[16:43:44]      + color profile: 1-1-1
[16:43:44]  * audio track 1
[16:43:44]    + decoder: Unknown (AAC LC) (2.0 ch) (131 kbps) (track 1, id 0x1)
[16:43:44]      + bitrate: 131 kbps, samplerate: 44100 Hz
[16:43:44]    + mixdown: Stereo
[16:43:44]    + dither: none
[16:43:44]    + encoder: AAC (libavcodec)
[16:43:44]      + bitrate: 160 kbps, samplerate: 44100 Hz
[16:43:44] sync: expecting 27965 video frames
[16:43:44] encx264: min-keyint: 30, keyint: 300
[16:43:44] encx264: encoding at constant RF 22.000000
[16:43:44] encx264: unparsed options: level=4.0:ref=4:bframes=8:b-adapt=2:direct=auto:analyse=all:8x8dct=0:me=umh:merange=24:subme=10:trellis=2: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, 4:2:0, 8-bit
[16:43:44] sync: first pts video is 0
[16:43:44] sync: first pts audio 0x1 is 0
[16:43:44] sync: "Chapitre1" (1) at frame 2 time 2998
[17:38:06] reader: done. 1 scr changes
[17:38:12] work: average encoding speed for job is 8.555453 fps
[17:38:13] comb detect: heavy 666 | light 5177 | uncombed 22123 | total 27966
[17:38:13] decomb: deinterlaced 666 | blended 5177 | unfiltered 22123 | total 27966
[17:38:13] vfr: 27954 frames output, 17 dropped and 5 duped for CFR/PFR
[17:38:13] vfr: lost time: 0 (0 frames)
[17:38:13] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:38:13] aac-decoder done: 40127 frames, 0 decoder errors
[17:38:13] h264-decoder done: 27965 frames, 0 decoder errors
[17:38:13] sync: got 27966 frames, 27965 expected
[17:38:13] sync: framerate min 4.373 fps, max 116.279 fps, avg 30.013 fps
x264 [info]: frame I:97    Avg QP:22.81  size:178625
x264 [info]: frame P:9017  Avg QP:26.05  size: 61828
x264 [info]: frame B:18840 Avg QP:29.73  size: 24508
x264 [info]: consecutive B-frames:  7.3%  6.9% 23.5% 38.2% 14.4%  7.4%  1.3%  0.5%  0.4%
x264 [info]: mb I  I16..4: 23.2%  0.0% 76.8%
x264 [info]: mb P  I16..4: 12.6%  0.0% 16.4%  P16..4: 36.4% 13.2%  6.0%  0.4%  0.1%    skip:15.0%
x264 [info]: mb B  I16..4:  3.2%  0.0%  3.2%  B16..8: 38.9% 10.0%  2.1%  direct: 4.3%  skip:38.4%  L0:57.6% L1:37.7% BI: 4.7%
x264 [info]: direct mvs  spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 55.2% 60.5% 16.5% inter: 17.1% 15.9% 1.6%
x264 [info]: i16 v,h,dc,p: 21% 44% 13% 23%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 17% 11%  6% 10%  8% 12%  8% 16%
x264 [info]: i8c dc,h,v,p: 36% 37% 16% 10%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.1%
x264 [info]: ref P L0: 68.2% 13.9% 11.9%  5.3%  0.7%
x264 [info]: ref B L0: 91.3%  7.1%  1.6%
x264 [info]: ref B L1: 96.9%  3.1%
x264 [info]: kb/s:8899.39
[17:38:13] mux: track 0, 27954 frames, 1036552065 bytes, 8899.03 kbps, fifo 1024
[17:38:13] mux: track 1, 40128 frames, 18939101 bytes, 162.60 kbps, fifo 1024
[17:38:13] Finished work at: Mon Jun 08 17:38:13 2020
[17:38:13] libhb: work result = 0

# Encode Completed ...
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Video is not compressed

Post by JohnAStebbins »

According to your log, the cumulative bitrate of your original is 10509 kbps and the cumulative bitrate of the encoded video is 9061 kbps. So if the encoded file is not somewhat smaller, then your source video lies about it's bitrate.

In any case, this is a pretty high bitrate for HD video. So I'm wondering if your video is very noisy, grainy, shaky or otherwise has a ton of motion? If there is a lot of grain or other kinds of noise, you can use one of the denoise filters to "clean" it and reduce the file size. If the problem is shaky video, HandBrake doesn't have a filter for that and all you can really do is increase the RF value more till you obtain the desired file size.
JeAn-PhI13
Posts: 8
Joined: Wed Jun 03, 2020 6:57 am

Re: Video is not compressed

Post by JeAn-PhI13 »

Woodstock wrote: Mon Jun 08, 2020 2:04 pm When you ask questions about how handbrake handles a particular source, nothing can be done without logs.

A noisy source is NOT going to see large reductions in size without significant filtering (to remove noise) or reduction of quality. A 1080p anime might see 80-90% reduction (not much detail), while an action movie with lots of motion and detail, on the same settings, would be hard pressed to see 50% size reduction.

Even things like treating a progressive scan source as interlaced affects the size, as the encoder tries to make up for interlacing that really isn't there. On this particular source, you should experiment with setting deinterlace to NONE and turning off Comb Detect.
Hello,

the result is that the output file is slightly smaller but it's not that yet

Code: Select all

HandBrake 1.3.2 (2020050300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
Ram: 16213 MB, 
GPU Information:
  Radeon (TM) Pro WX 4150 Graphics - 26.20.11024.6001
  Intel(R) HD Graphics 630 - 25.20.100.6472
Screen: 1920x1200
Temp Dir: D:\Users\XXXX\AppData\Local\Temp\
Install Dir: D:\HandBrake
Data Dir: C:\Users\XXXX\AppData\Roaming\HandBrake

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


# Starting Encode ...

[04:07:47] base preset: Fast 1080p30 (Modified)
[16:07:47] hb_init: starting libhb thread
[16:07:47] Starting work at: Tue Jun 09 16:07:47 2020
[16:07:47] 1 job(s) to process
[16:07:47] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 128,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapitre1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "D:\\Users\\XXXX\\Videos\\ 2020-06-03 18-52-56-1.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": "av_mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "D:\\Users\\XXXX\\Videos\\Captures\\ 2020-06-03 18-52-56.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryslow",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:07:47] CPU: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
[16:07:47]  - Intel microarchitecture Kaby Lake
[16:07:47]  - logical processor count: 8
[16:07:47] hb_scan: path=D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4
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
src/libbluray/bluray.c:2585: nav_get_title_list(D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4\) failed
[16:07:47] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
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
[16:07:47] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2020-06-03T17:08:27.000000Z
    artist          : Microsoft Game DVR
    title           :
  Duration: 00:15:31.75, start: 0.000000, bitrate: 10523 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 10378 kb/s, 30.01 fps, 60 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2020-06-03T17:08:27.000000Z
      handler_name    : VideoHandler
      encoder         : AVC Coding
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 131 kb/s (default)
    Metadata:
      creation_time   : 2020-06-03T17:08:27.000000Z
      handler_name    : SoundHandler
[16:07:47] scan: decoding previews for title 1
[16:07:47] scan: audio 0x1: aac, rate=44100Hz, bitrate=131673 Unknown (AAC LC) (2.0 ch) (131 kbps)
[16:07:47] scan: 10 previews, 1920x1080, 30.014 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[16:07:47] libhb: scan thread found 1 valid title(s)
[16:07:47] Skipping subtitle scan.  No suitable subtitle tracks.
[16:07:47] Starting Task: Encoding Pass
[16:07:47] Skipping crop/scale filter
[16:07:47] work: only 1 chapter, disabling chapter markers
[16:07:47] job configuration:
[16:07:47]  * source
[16:07:47]    + D:\Users\XXXX\Videos\Captures\ 2020-06-03 18-52-56.mp4
[16:07:47]    + title 1, chapter(s) 1 to 1
[16:07:47]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:07:47]    + data rate: 10523 kbps
[16:07:47]  * destination
[16:07:47]    + D:\Users\XXXX\Videos\ 2020-06-03 18-52-56-1.m4v
[16:07:47]    + container: MPEG-4 (libavformat)
[16:07:47]      + optimized for HTTP streaming (fast start)
[16:07:47]      + align initial A/V stream timestamps
[16:07:47]  * video track
[16:07:47]    + decoder: h264
[16:07:47]      + bitrate 10378 kbps
[16:07:47]    + filter
[16:07:47]      + Framerate Shaper (mode=1:rate=27000000/900000)
[16:07:47]        + frame rate: 30.014 fps -> constant 30.000 fps
[16:07:47]    + Output geometry
[16:07:47]      + storage dimensions: 1920 x 1080
[16:07:47]      + pixel aspect ratio: 1 : 1
[16:07:47]      + display dimensions: 1920 x 1080
[16:07:47]    + encoder: H.264 (libx264)
[16:07:47]      + preset:  veryslow
[16:07:47]      + profile: main
[16:07:47]      + level:   4.0
[16:07:47]      + quality: 22.00 (RF)
[16:07:47]      + color profile: 1-1-1
[16:07:47]  * audio track 1
[16:07:47]    + decoder: Unknown (AAC LC) (2.0 ch) (131 kbps) (track 1, id 0x1)
[16:07:47]      + bitrate: 131 kbps, samplerate: 44100 Hz
[16:07:47]    + mixdown: Stereo
[16:07:47]    + dither: none
[16:07:47]    + encoder: AAC (libavcodec)
[16:07:47]      + bitrate: 128 kbps, samplerate: 44100 Hz
[16:07:47] sync: expecting 27965 video frames
[16:07:47] encx264: min-keyint: 30, keyint: 300
[16:07:47] encx264: encoding at constant RF 22.000000
[16:07:47] encx264: unparsed options: level=4.0:ref=4:bframes=8:b-adapt=2:direct=auto:analyse=all:8x8dct=0:me=umh:merange=24:subme=10:trellis=2: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, 4:2:0, 8-bit
[16:07:47] sync: first pts video is 0
[16:07:47] sync: first pts audio 0x1 is 0
[16:07:47] sync: "Chapitre1" (1) at frame 2 time 2998
[16:59:56] reader: done. 1 scr changes
[17:00:02] work: average encoding speed for job is 8.919470 fps
[17:00:02] vfr: 27954 frames output, 17 dropped and 5 duped for CFR/PFR
[17:00:02] vfr: lost time: 0 (0 frames)
[17:00:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:00:02] aac-decoder done: 40127 frames, 0 decoder errors
[17:00:02] h264-decoder done: 27965 frames, 0 decoder errors
[17:00:02] sync: got 27966 frames, 27965 expected
[17:00:02] sync: framerate min 4.462 fps, max 116.279 fps, avg 30.013 fps
x264 [info]: frame I:96    Avg QP:22.70  size:178825
x264 [info]: frame P:9228  Avg QP:26.07  size: 60840
x264 [info]: frame B:18630 Avg QP:29.73  size: 24176
x264 [info]: consecutive B-frames:  8.2%  6.9% 24.0% 37.5% 14.1%  7.3%  1.2%  0.4%  0.4%
x264 [info]: mb I  I16..4: 23.0%  0.0% 77.0%
x264 [info]: mb P  I16..4: 12.5%  0.0% 16.1%  P16..4: 36.6% 13.0%  5.9%  0.4%  0.1%    skip:15.3%
x264 [info]: mb B  I16..4:  3.2%  0.0%  3.2%  B16..8: 38.7%  9.8%  2.1%  direct: 4.2%  skip:38.8%  L0:58.3% L1:37.0% BI: 4.7%
x264 [info]: direct mvs  spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 55.0% 60.3% 16.5% inter: 16.9% 15.5% 1.6%
x264 [info]: i16 v,h,dc,p: 21% 43% 13% 22%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 18% 12%  6% 10%  8% 12%  7% 16%
x264 [info]: i8c dc,h,v,p: 37% 37% 16% 10%
x264 [info]: Weighted P-Frames: Y:0.1% UV:0.1%
x264 [info]: ref P L0: 68.7% 13.8% 11.7%  5.1%  0.7%  0.0%
x264 [info]: ref B L0: 91.5%  7.0%  1.5%
x264 [info]: ref B L1: 96.9%  3.1%
x264 [info]: kb/s:8834.43
[17:00:03] mux: track 0, 27954 frames, 1028986215 bytes, 8834.08 kbps, fifo 1024
[17:00:03] mux: track 1, 40128 frames, 15092392 bytes, 129.57 kbps, fifo 1024
[17:00:03] Finished work at: Tue Jun 09 17:00:03 2020
[17:00:03] libhb: work result = 0

# Encode Completed ...

mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Video is not compressed

Post by mduell »

Unrelated to your video issues, reencoding the audio rather than passing it through is not particularly sensible.
rollin_eng
Veteran User
Posts: 4840
Joined: Wed May 04, 2011 11:06 pm

Re: Video is not compressed

Post by rollin_eng »

Just keep increasing your RF, you will lose quality but get smaller files.
JeAn-PhI13
Posts: 8
Joined: Wed Jun 03, 2020 6:57 am

Re: Video is not compressed

Post by JeAn-PhI13 »

JohnAStebbins wrote: Tue Jun 09, 2020 2:30 pm According to your log, the cumulative bitrate of your original is 10509 kbps and the cumulative bitrate of the encoded video is 9061 kbps. So if the encoded file is not somewhat smaller, then your source video lies about it's bitrate.

In any case, this is a pretty high bitrate for HD video. So I'm wondering if your video is very noisy, grainy, shaky or otherwise has a ton of motion? If there is a lot of grain or other kinds of noise, you can use one of the denoise filters to "clean" it and reduce the file size. If the problem is shaky video, HandBrake doesn't have a filter for that and all you can really do is increase the RF value more till you obtain the desired file size.
my video is a capture of a game session in battle royal mode using the Xbox Game Bar on Windows 10 accessible from the shortcut Win + G
I will test the denoise filters and I would come and give the results
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Video is not compressed

Post by mduell »

Denoise probably isn't going to help for game footage. It's motion not noise driving the bitrate.

You can reduce file size by reducing quality; each 6 points higher on the RF scale should roughly halve the video bitrate. Once you get to the low 30s, start dropping video resolution instead.
Post Reply