files size

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
sturmtruppen
Posts: 6
Joined: Fri Sep 06, 2024 9:39 am

files size

Post by sturmtruppen »

Description of problem or question:

HI,
sorry but I am not an expert in this program, I would like to ask you 2 questions:
- How to always obtain the same size when converting each file?
- How to reduce the color intensity of converted files?
Bye and thanks.

Steps to reproduce the problem (If Applicable):

HandBrake version (e.g., 1.0.0):

1.8.1

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

Microsoft Windows NT 10.0.22631.0

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all


HandBrake 1.8.1 (2024062200)
OS: Microsoft Windows NT 10.0.22631.0
CPU: AMD Ryzen 7 2700 Eight-Core Processor          
Ram: 32692 MB, 
GPU Information:
  NVIDIA GeForce 210  - 21.21.13.4201
Screen: 1920x1080
Temp Dir: C:\Users\giann\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake\
Data Dir: C:\Users\giann\AppData\Roaming\HandBrake

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

 # Starting Encode ...

[09:03:19] base preset: Super HQ 1080p30 Surround (Modified)
[09:03:19] Remote Process started with Process ID: 11372 using port: 8038. Max Allowed Instances: 1
[09:03:19] Worker: Starting HandBrake Engine ...
[09:03:19] Worker: Parent Process Id 11056
[09:03:19] Worker: Starting Web Server on port 8038 ...
[09:03:19] Worker: Starting Listener: 1
[09:03:19] Worker: Server Started
[09:03:20] Worker: Disconnected worker monitoring enabled!
[09:03:20] Compile-time hardening features are enabled
Cannot load nvEncodeAPI64.dll
[09:03:20] VCE: Init Failed
[09:03:20] vcn: not available on this system
[09:03:20] qsv: not available on this system
[09:03:20] hb_init: starting libhb thread
[09:03:20] Starting work at: Fri Sep 06 09:03:20 2024
[09:03:20] 1 job(s) to process
[09:03:20] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0,
        "Encoder": "copy:ac3",
        "Gain": 0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 1,
        "DitherMethod": 0
      },
      {
        "Bitrate": 160,
        "DRC": 0,
        "Encoder": "av_aac",
        "Gain": 0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 2,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3"
    ],
    "FallbackEncoder": "av_aac"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Capitolo 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\giann\\Videos\\Starship Troopers 01. Fanteria Dello Spazio (Paul Verhoeven, 1997).mkv",
    "Options": {
      "IpodAtom": false,
      "Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 6,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 4,
        "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": 20,
        "Settings": {
          "crop-bottom": "42",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "42",
          "height": "1080",
          "width": "1920"
        }
      },
      {
        "ID": 11,
        "Settings": {
          "mode": "2",
          "rate": "27000000/1126125"
        }
      }
    ]
  },
  "PAR": {
    "Num": 180,
    "Den": 173
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "J:\\eMule\\Incoming\\Da comprimere\\Starship Troopers 01. Fanteria dello spazio (Paul Verhoeven, 1997).mkv",
    "HWDecode": 0
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": false,
        "Default": true,
        "Forced": true,
        "ID": 3,
        "Offset": 0,
        "Track": 2
      },
      {
        "Burn": false,
        "Default": false,
        "Forced": false,
        "ID": 2,
        "Offset": 0,
        "Track": 1,
        "Name": "SDH"
      }
    ]
  },
  "Video": {
    "Encoder": "x265",
    "Level": "auto",
    "MultiPass": true,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "auto",
    "Quality": 22,
    "QSV": {
      "Decode": false
    },
    "HardwareDecode": 0
  }
}
[09:03:20] CPU: Unknown
[09:03:20]  - logical processor count: 16
[09:03:20] Intel Quick Sync Video support: no
[09:03:20] hb_scan: path=J:\eMule\Incoming\Da comprimere\Starship Troopers 01. Fanteria dello spazio (Paul Verhoeven, 1997).mkv, title_index=1
Input #0, matroska,webm, from 'J:\eMule\Incoming\Da comprimere\Starship Troopers 01. Fanteria dello spazio (Paul Verhoeven, 1997).mkv':
  Metadata:
    encoder         : libebml v1.4.4 + libmatroska v1.7.1
    creation_time   : 2023-11-10T20:30:26.000000Z
  Duration: 02:09:35.51, start: 0.000000, bitrate: 72392 kb/s
  Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
      Metadata:
        BPS             : 69674301
        DURATION        : 02:09:28.761000000
        NUMBER_OF_FRAMES: 186264
        NUMBER_OF_BYTES : 67660374870
        SOURCE_ID       : 001011
        _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres NON-OFFICIAL') 32-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-11-10 20:30:26
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      Side data:
        DOVI configuration record: version: 1.0, profile: 7, level: 6, rpu flag: 1, el flag: 1, bl flag: 1, compatibility id: 6
  Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
      Metadata:
        title           : Commentary by director Paul Verhoeven and writer Ed Neumeier
        BPS             : 192000
        DURATION        : 02:09:28.768000000
        NUMBER_OF_FRAMES: 242774
        NUMBER_OF_BYTES : 186450432
        _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres NON-OFFICIAL') 32-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-11-10 20:30:26
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:2(ita): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
      Metadata:
        BPS             : 448000
        DURATION        : 02:09:35.488000000
        NUMBER_OF_FRAMES: 242984
        NUMBER_OF_BYTES : 435427328
        _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres NON-OFFICIAL') 32-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-11-10 20:30:26
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:3(eng): Audio: flac, 48000 Hz, 7.1, s16
      Metadata:
        BPS             : 2133134
        DURATION        : 02:09:28.762000000
        NUMBER_OF_FRAMES: 80925
        NUMBER_OF_BYTES : 2071477230
        _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres NON-OFFICIAL') 32-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-11-10 20:30:26
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:4(eng): Subtitle: subrip (srt)
      Metadata:
        BPS             : 52
        DURATION        : 01:58:26.225000000
        NUMBER_OF_FRAMES: 1346
        NUMBER_OF_BYTES : 46250
        _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres NON-OFFICIAL') 32-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-11-10 20:30:26
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:5(eng): Subtitle: subrip (srt)
      Metadata:
        title           : SDH
        BPS             : 53
        DURATION        : 02:02:01.915000000
        NUMBER_OF_FRAMES: 1550
        NUMBER_OF_BYTES : 48872
        _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres NON-OFFICIAL') 32-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-11-10 20:30:26
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:6(ita): Subtitle: dvd_subtitle (dvdsub), 1920x1080
      Metadata:
        BPS             : 6790
        DURATION        : 01:58:51.714000000
        NUMBER_OF_FRAMES: 1186
        NUMBER_OF_BYTES : 6053317
        _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres NON-OFFICIAL') 32-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-11-10 20:30:26
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:7(ita): Subtitle: subrip (srt) (default)
      Metadata:
        BPS             : 0
        DURATION        : 01:59:16.457000000
        NUMBER_OF_FRAMES: 30
        NUMBER_OF_BYTES : 497
        _STATISTICS_WRITING_APP: mkvmerge v79.0 ('Funeral Pyres NON-OFFICIAL') 32-bit
        _STATISTICS_WRITING_DATE_UTC: 2023-11-10 20:30:26
        _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
  Stream #0:8: Video: mjpeg (Baseline), yuvj444p(pc, bt470bg/unknown/unknown), 394x500 [SAR 96:96 DAR 197:250], 90k tbr, 90k tbn (attached pic)
      Metadata:
        filename        : poster.jpg
        mimetype        : image/jpeg
[09:03:20] scan: decoding previews for title 1
[09:03:20] scan: audio 0x1: ac3, rate=48000Hz, bitrate=192000 English (AC3, 2.0 ch, 192 kbps)
[09:03:20] scan: audio 0x3: flac, rate=48000Hz, bitrate=1 English (FLAC, 7.1 ch)
[09:03:20] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 italiano (AC3, 5.1 ch, 448 kbps)
[09:03:29] using container PAR 1:1
[09:03:29] scan: 10 previews, 3840x2160, 23.976 fps, autocrop = 42/42/0/0, aspect 16:9, PAR 1:1, color profile: 9-16-9, chroma location: topleft
[09:03:29] scan: mastering display metadata: r(0.7080,0.2920) g(0.1700,0.7970) b(0.1310 0.0460) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
[09:03:29] scan: content light level: max_cll=4342, max_fall=2342
[09:03:29] scan: dolby vision configuration record: version: 1.0, profile: 7, level: 6, rpu flag: 1, el flag: 1, bl flag: 1, compatibility id: 6
[09:03:29] libhb: scan thread found 1 valid title(s)
[09:03:29] Starting Task: Encoding Pass
[09:03:29] work: track 2, dithering not supported by codec
[09:03:29] work: only 1 chapter, disabling chapter markers
[09:03:29] job configuration:
[09:03:29]  * source
[09:03:29]    + J:\eMule\Incoming\Da comprimere\Starship Troopers 01. Fanteria dello spazio (Paul Verhoeven, 1997).mkv
[09:03:29]    + title 1, chapter(s) 1 to 1
[09:03:29]    + container: matroska,webm
[09:03:29]    + data rate: 72392 kbps
[09:03:29]  * destination
[09:03:29]    + C:\Users\giann\Videos\Starship Troopers 01. Fanteria Dello Spazio (Paul Verhoeven, 1997).mkv
[09:03:29]    + container: Matroska (libavformat)
[09:03:29]  * video track
[09:03:29]    + decoder: hevc 10-bit (yuv420p10le)
[09:03:29]    + filters
[09:03: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:03:29]      + Decomb (mode=39)
[09:03:29]      + Framerate Shaper (mode=2:rate=27000000/1126125)
[09:03:29]        + frame rate: 23.976 fps -> peak rate limited to 23.976 fps
[09:03:29]      + Crop and Scale (width=1920:height=1080:crop-top=42:crop-bottom=42:crop-left=0:crop-right=0)
[09:03:29]        + source: 3840 * 2160, crop (42/42/0/0): 3840 * 2076, scale: 1920 * 1080
[09:03:29]      + Format (format=yuv420p)
[09:03:29]    + Output geometry
[09:03:29]      + storage dimensions: 1920 x 1080
[09:03:29]      + pixel aspect ratio: 180 : 173
[09:03:29]      + display dimensions: 1997 x 1080
[09:03:29]    + encoder: H.265 (libx265)
[09:03:29]      + preset:  fast
[09:03:29]      + profile: auto
[09:03:29]      + level:   auto
[09:03:29]      + quality: 22.00 (RF)
[09:03:29]      + color profile: 9-16-9
[09:03:29]      + color range: tv
[09:03:29]      + chroma location: topleft
[09:03:29]      + mastering display metadata: r(0.7080,0.2920) g(0.1700,0.7970) b(0.1310 0.0460) wp(0.3127, 0.3290) min_luminance=0.005000, max_luminance=4000.000000
[09:03:29]      + content light level: max_cll=4342, max_fall=2342
[09:03:29]  * subtitle track 1, italiano (VOBSUB) (track 2, id 0x6, Picture) -> Passthrough, Forced Only, Default
[09:03:29]  * subtitle track 2, English (UTF-8) (track 1, id 0x5, Text) -> Passthrough
[09:03:29]    + name: SDH
[09:03:29]  * audio track 1
[09:03:29]    + decoder: italiano (AC3, 5.1 ch, 448 kbps) (track 2, id 0x2)
[09:03:29]      + bitrate: 448 kbps, samplerate: 48000 Hz
[09:03:29]    + AC3 Passthru
[09:03:29]  * audio track 2
[09:03:29]    + decoder: English (FLAC, 7.1 ch) (track 3, id 0x3)
[09:03:29]      + samplerate: 48000 Hz
[09:03:29]    + mixdown: Stereo
[09:03:29]    + encoder: AAC (libavcodec)
[09:03:29]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:03:29] sync: expecting 186425 video frames
x265 [info]: HEVC encoder version 3.6+1-aa7f602f7
x265 [info]: build info [Windows][GCC 13.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Turning on repeat-headers for HDR compatibility
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 16 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 4 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias  : 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 15 / 4 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 2 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-22.0 / 0.60
x265 [info]: tools: rd=2 psy-rd=2.00 rskip mode=1 signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock sao
[09:03:30] sync: first pts video is 0
[09:03:30] sync: "Capitolo 1" (1) at frame 1 time 0
[09:03:30] sync: first pts audio 0x2 is 1980
[09:03:30] sync: first pts audio 0x3 is 0
[09:03:59] sync: first pts subtitle 0x5 is 1711710
[12:16:59] reader: done. 1 scr changes
[12:17:02] work: average encoding speed for job is 16.039024 fps
[12:17:02] comb detect: heavy 764 | light 3768 | uncombed 181732 | total 186264
[12:17:02] decomb: deinterlaced 764 | blended 3768 | unfiltered 181732 | total 186264
[12:17:02] vfr: 186264 frames output, 0 dropped and 0 duped for CFR/PFR
[12:17:02] vfr: lost time: 0 (0 frames)
[12:17:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[12:17:02] ac3-decoder done: 242984 frames, 0 decoder errors
[12:17:02] flac-decoder done: 80925 frames, 0 decoder errors
[12:17:02] hevc-decoder done: 186264 frames, 0 decoder errors
[12:17:02] sync: got 186264 frames, 186425 expected
[12:17:02] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x265 [info]: frame I:   1922, Avg QP:22.50  kb/s: 22893.71
x265 [info]: frame P:  37445, Avg QP:23.69  kb/s: 11050.98
x265 [info]: frame B: 146897, Avg QP:27.00  kb/s: 3866.13
x265 [info]: Weighted P-Frames: Y:2.7% UV:1.6%
encoded 186264 frames in 11613.00s (16.04 fps), 5506.85 kb/s, Avg QP:26.29
[12:17:03] mux: track 0, 186264 frames, 5352929914 bytes, 5507.44 kbps, fifo 4096
[12:17:03] mux: track 1, 242984 frames, 435427328 bytes, 448.00 kbps, fifo 4096
[12:17:03] mux: track 2, 364161 frames, 158086661 bytes, 162.65 kbps, fifo 8192
[12:17:03] mux: track 3, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[12:17:03] mux: track 4, 1550 frames, 84962 bytes, 0.09 kbps, fifo 16
[12:17:03] Finished work at: Fri Sep 06 12:17:03 2024
[12:17:03] libhb: work result = 0

 # Job Completed!

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

Re: files size

Post by rollin_eng »

Why are you converting the video if you want it the same size?
mduell
Veteran User
Posts: 8324
Joined: Sat Apr 21, 2007 8:54 pm

Re: files size

Post by mduell »

sturmtruppen wrote: Fri Sep 06, 2024 11:51 amHI,
sorry but I am not an expert in this program, I would like to ask you 2 questions:
- How to always obtain the same size when converting each file?
- How to reduce the color intensity of converted files?
Always use the same bitrate for the same file length.

Use the grayscale filter.
sturmtruppen
Posts: 6
Joined: Fri Sep 06, 2024 9:39 am

Re: files size

Post by sturmtruppen »

rollin_eng wrote: Fri Sep 06, 2024 6:17 pm Why are you converting the video if you want it the same size?
Thanks for your reply.
I don't want each video at its original size, but I want each video to be around 4.5GB
rollin_eng
Veteran User
Posts: 4942
Joined: Wed May 04, 2011 11:06 pm

Re: files size

Post by rollin_eng »

Google for a video bitrate calculator.
mduell
Veteran User
Posts: 8324
Joined: Sat Apr 21, 2007 8:54 pm

Re: files size

Post by mduell »

sturmtruppen wrote: Sat Sep 07, 2024 5:25 am
rollin_eng wrote: Fri Sep 06, 2024 6:17 pm Why are you converting the video if you want it the same size?
Thanks for your reply.
I don't want each video at its original size, but I want each video to be around 4.5GB
Is each video the same length?
sturmtruppen
Posts: 6
Joined: Fri Sep 06, 2024 9:39 am

Re: files size

Post by sturmtruppen »

no, each file is different size, up to ~25 GB...
Post Reply