Open brettkramer opened 2 years ago
Can you post the encode log? I have logging that explains what the bitrate calculation is doing?
Windows -> Log
I can confirm the issue. I'm using the Intel QSV hardware encoder, but I believe that it happens with anyone. The created file size is not even close to the desired one.
4] hb_init: starting libhb thread [01:05:14] CPU: Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz [01:05:14] - Intel microarchitecture Ivy Bridge [01:05:14] - logical processor count: 8 [01:05:14] Intel Quick Sync Video support: yes, gpu list: 0 [01:05:14] Intel Quick Sync Video integrated adapter with index 0 [01:05:14] - Intel Media SDK hardware: API 1.7 (minimum: 1.3) [01:05:14] - Decode support: h264 hevc (8bit: yes, 10bit: yes) av1 (8bit: yes, 10bit: yes) [01:05:14] - H.264 encoder: yes [01:05:14] - preferred implementation: hardware (1) via D3D11 [01:05:14] - capabilities (hardware): bpyramid vsinfo opt1 opt2+mbbrc+extbrc+trellis [01:05:14] - H.265 encoder: no [01:05:14] hb_scan: path=C:\Users\user1\Desktop\Maleficent.mkv, title_index=1 udfread ERROR: ECMA 167 Volume Recognition failed src/libbluray/disc/disc.c:333: failed opening UDF image C:\Users\user1\Desktop\Maleficent.mkv src/libbluray/disc/disc.c:437: error opening file BDMV\index.bdmv src/libbluray/disc/disc.c:437: error opening file BDMV\BACKUP\index.bdmv src/libbluray/bluray.c:2646: nav_get_title_list(C:\Users\user1\Desktop\Maleficent.mkv) failed [01:05:14] bd: not a bd - trying as a stream/file instead libdvdread: DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdnav: vm: vm: failed to read VIDEO_TS.IFO [01:05:14] dvd: not a dvd - trying as a stream/file instead Input #0, matroska,webm, from 'C:\Users\user1\Desktop\Maleficent.mkv': Metadata: title : Maleficent encoder : libmakemkv v1.17.0 (1.3.10/1.5.2) win(x64-release) creation_time : 2022-08-16T13:13:54.000000Z Duration: 01:37:28.09, start: 0.000000, bitrate: 36072 kb/s Chapters: Chapter #0:0: start 0.000000, end 180.597083 Metadata: title : Chapter 01 Chapter #0:1: start 180.597083, end 490.948792 Metadata: title : Chapter 02 Chapter #0:2: start 490.948792, end 840.756583 Metadata: title : Chapter 03 Chapter #0:3: start 840.756583, end 1150.607792 Metadata: title : Chapter 04 Chapter #0:4: start 1150.607792, end 1559.057500 Metadata: title : Chapter 05 Chapter #0:5: start 1559.057500, end 1989.737750 Metadata: title : Chapter 06 Chapter #0:6: start 1989.737750, end 2310.808500 Metadata: title : Chapter 07 Chapter #0:7: start 2310.808500, end 2601.140208 Metadata: title : Chapter 08 Chapter #0:8: start 2601.140208, end 2816.104958 Metadata: title : Chapter 09 Chapter #0:9: start 2816.104958, end 3071.943875 Metadata: title : Chapter 10 Chapter #0:10: start 3071.943875, end 3258.797208 Metadata: title : Chapter 11 Chapter #0:11: start 3258.797208, end 3517.722542 Metadata: title : Chapter 12 Chapter #0:12: start 3517.722542, end 3718.047667 Metadata: title : Chapter 13 Chapter #0:13: start 3718.047667, end 3909.989417 Metadata: title : Chapter 14 Chapter #0:14: start 3909.989417, end 4196.775917 Metadata: title : Chapter 15 Chapter #0:15: start 4196.775917, end 4540.619417 Metadata: title : Chapter 16 Chapter #0:16: start 4540.619417, end 4663.659000 Metadata: title : Chapter 17 Chapter #0:17: start 4663.659000, end 5144.931458 Metadata: title : Chapter 18 Chapter #0:18: start 5144.931458, end 5318.646667 Metadata: title : Chapter 19 Chapter #0:19: start 5318.646667, end 5848.092250 Metadata: title : Chapter 20 Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc Metadata: BPS-eng : 28040215 DURATION-eng : 01:37:28.092250000 NUMBER_OF_FRAMES-eng: 140214 NUMBER_OF_BYTES-eng: 20497720193 SOURCE_ID-eng : 001011 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) (default) Metadata: title : Surround 7.1 BPS-eng : 4858291 DURATION-eng : 01:37:28.096000000 NUMBER_OF_FRAMES-eng: 548259 NUMBER_OF_BYTES-eng: 3551469088 SOURCE_ID-eng : 001100 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s Metadata: title : Surround 5.1 BPS-eng : 1509000 DURATION-eng : 01:37:28.096000000 NUMBER_OF_FRAMES-eng: 548259 NUMBER_OF_BYTES-eng: 1103097108 SOURCE_ID-eng : 001100 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 320 kb/s Metadata: title : Stereo BPS-eng : 320000 DURATION-eng : 01:37:28.096000000 NUMBER_OF_FRAMES-eng: 182753 NUMBER_OF_BYTES-eng: 233923840 SOURCE_ID-eng : 001101 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:4(fra): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: title : Surround 5.1 BPS-eng : 640000 DURATION-eng : 01:37:28.096000000 NUMBER_OF_FRAMES-eng: 182753 NUMBER_OF_BYTES-eng: 467847680 SOURCE_ID-eng : 001102 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:5(spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s Metadata: title : Surround 5.1 BPS-eng : 640000 DURATION-eng : 01:37:28.096000000 NUMBER_OF_FRAMES-eng: 182753 NUMBER_OF_BYTES-eng: 467847680 SOURCE_ID-eng : 001103 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:6(eng): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 25142 DURATION-eng : 01:30:47.546270833 NUMBER_OF_FRAMES-eng: 2076 NUMBER_OF_BYTES-eng: 17120768 SOURCE_ID-eng : 001200 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:7(fra): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 19566 DURATION-eng : 01:29:13.410562500 NUMBER_OF_FRAMES-eng: 1430 NUMBER_OF_BYTES-eng: 13093731 SOURCE_ID-eng : 001201 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:8(spa): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 18609 DURATION-eng : 01:29:13.368854166 NUMBER_OF_FRAMES-eng: 1474 NUMBER_OF_BYTES-eng: 12452699 SOURCE_ID-eng : 001202 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:9(fra): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 6503 DURATION-eng : 00:01:05.127562500 NUMBER_OF_FRAMES-eng: 10 NUMBER_OF_BYTES-eng: 52947 SOURCE_ID-eng : 001203 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID Stream #0:10(spa): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 1892 DURATION-eng : 00:01:05.127562500 NUMBER_OF_FRAMES-eng: 4 NUMBER_OF_BYTES-eng: 15406 SOURCE_ID-eng : 001204 _STATISTICS_WRITING_APP-eng: MakeMKV v1.17.0 win(x64-release) _STATISTICS_WRITING_DATE_UTC-eng: 2022-08-16 13:13:54 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID [01:05:14] scan: decoding previews for title 1 [01:05:15] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch) [01:05:15] scan: audio 0x2: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps) [01:05:15] scan: audio 0x3: ac3, rate=48000Hz, bitrate=320000 English (AC3) (2.0 ch) (Dolby Surround) (320 kbps) [01:05:15] scan: audio 0x4: ac3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch) (640 kbps) [01:05:15] scan: audio 0x5: ac3, rate=48000Hz, bitrate=640000 espa¤ol (AC3) (5.1 ch) (640 kbps) [01:05:16] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 140/140/0/0, aspect 16:9, PAR 1:1, color profile: 1-1-1, chroma location: left [01:05:16] scan: supported video decoders: avcodec qsv [01:05:16] libhb: scan thread found 1 valid title(s) Calculating bitrate - Title length: 5848.092 seconds Calculating bitrate - Available bytes: 18874368000 Calculating bitrate - Output framerate: 23.976023976023978 Calculating bitrate - Container overhead: 841278 bytes Calculating bitrate - Audio track 1 - Encoder: av_aac Calculating bitrate - Audio track 1 - Output bitrate set at 160 kbps Calculating bitrate - Audio track 1 - 20000 bytes/second Calculating bitrate - Audio track 1 - Audio data is 116961840 bytes Calculating bitrate - Audio track 1 - Overhead is 187 bytes Calculating bitrate - Audio track 2 - Encoder: av_aac Calculating bitrate - Audio track 2 - Output bitrate set at 160 kbps Calculating bitrate - Audio track 2 - 20000 bytes/second Calculating bitrate - Audio track 2 - Audio data is 116961840 bytes Calculating bitrate - Audio track 2 - Overhead is 187 bytes Calculating bitrate - Audio track 3 - Encoder: av_aac Calculating bitrate - Audio track 3 - Output bitrate set at 160 kbps Calculating bitrate - Audio track 3 - 20000 bytes/second Calculating bitrate - Audio track 3 - Audio data is 116961840 bytes Calculating bitrate - Audio track 3 - Overhead is 187 bytes Calculating bitrate - Audio track 4 - Encoder: av_aac Calculating bitrate - Audio track 4 - Output bitrate set at 160 kbps Calculating bitrate - Audio track 4 - 20000 bytes/second Calculating bitrate - Audio track 4 - Audio data is 116961840 bytes Calculating bitrate - Audio track 4 - Overhead is 187 bytes Calculating bitrate - Audio track 5 - Encoder: av_aac Calculating bitrate - Audio track 5 - Output bitrate set at 160 kbps Calculating bitrate - Audio track 5 - 20000 bytes/second Calculating bitrate - Audio track 5 - Audio data is 116961840 bytes Calculating bitrate - Audio track 5 - Overhead is 187 bytes Calculating bitrate - Audio size: 584810135 bytes Calculating bitrate - Available bytes minus container and audio: 18288716587 Calculating bitrate - Bitrate result (kbps): 25018 [01:05:17] Starting work at: Fri Aug 19 01:05:17 2022 [01:05:17] 1 job(s) to process [01:05:17] json job: { "Audio": { "AudioList": [ { "Bitrate": 160, "DRC": 0, "Encoder": "av_aac", "Gain": 0, "Mixdown": 4, "NormalizeMixLevel": false, "Samplerate": 0, "Name": "Surround 7.1", "Track": 0, "DitherMethod": 0 }, { "Bitrate": 160, "DRC": 0, "Encoder": "av_aac", "Gain": 0, "Mixdown": 4, "NormalizeMixLevel": false, "Samplerate": 0, "Name": "Surround 5.1", "Track": 1, "DitherMethod": 0 }, { "Bitrate": 160, "DRC": 0, "Encoder": "av_aac", "Gain": 0, "Mixdown": 4, "NormalizeMixLevel": false, "Samplerate": 0, "Name": "Stereo", "Track": 2, "DitherMethod": 0 }, { "Bitrate": 160, "DRC": 0, "Encoder": "av_aac", "Gain": 0, "Mixdown": 4, "NormalizeMixLevel": false, "Samplerate": 0, "Name": "Surround 5.1", "Track": 3, "DitherMethod": 0 }, { "Bitrate": 160, "DRC": 0, "Encoder": "av_aac", "Gain": 0, "Mixdown": 4, "NormalizeMixLevel": false, "Samplerate": 0, "Name": "Surround 5.1", "Track": 4, "DitherMethod": 0 } ], "CopyMask": [ "copy:aac", "copy:ac3", "copy:eac3", "copy:truehd", "copy:dts", "copy:dtshd", "copy:mp2", "copy:mp3", "copy:flac" ] }, "Destination": { "ChapterList": [ { "Name": "Chapter 1" }, { "Name": "Chapter 2" }, { "Name": "Chapter 3" }, { "Name": "Chapter 4" }, { "Name": "Chapter 5" }, { "Name": "Chapter 6" }, { "Name": "Chapter 7" }, { "Name": "Chapter 8" }, { "Name": "Chapter 9" }, { "Name": "Chapter 10" }, { "Name": "Chapter 11" }, { "Name": "Chapter 12" }, { "Name": "Chapter 13" }, { "Name": "Chapter 14" }, { "Name": "Chapter 15" }, { "Name": "Chapter 16" }, { "Name": "Chapter 17" }, { "Name": "Chapter 18" }, { "Name": "Chapter 19" }, { "Name": "Chapter 20" } ], "ChapterMarkers": true, "AlignAVStart": true, "File": "C:\Users\user1\Videos\Maleficent.part.mkv", "Mp4Options": { "IpodAtom": false, "Mp4Optimize": false }, "Mux": "av_mkv" }, "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": 13, "Settings": { "crop-bottom": "140", "crop-left": "0", "crop-right": "0", "crop-top": "140", "height": "824", "width": "1980" } } ] }, "PAR": { "Num": 824, "Den": 825 }, "Metadata": {}, "SequenceID": 0, "Source": { "Angle": 0, "Range": { "Type": "chapter", "Start": 1, "End": 20 }, "Title": 1, "Path": "C:\Users\user1\Desktop\Maleficent.mkv" }, "Subtitle": { "Search": { "Burn": false, "Default": false, "Enable": false, "Forced": false }, "SubtitleList": [ { "Burn": false, "Default": true, "Forced": false, "ID": 1, "Offset": 0, "Track": 0 }, { "Burn": false, "Default": false, "Forced": false, "ID": 2, "Offset": 0, "Track": 1 }, { "Burn": false, "Default": false, "Forced": false, "ID": 3, "Offset": 0, "Track": 2 }, { "Burn": false, "Default": false, "Forced": false, "ID": 4, "Offset": 0, "Track": 3 }, { "Burn": false, "Default": false, "Forced": false, "ID": 5, "Offset": 0, "Track": 4 } ] }, "Video": { "Encoder": "x264", "Level": "4.0", "Bitrate": 25018, "TwoPass": true, "Turbo": true, "ColorMatrixCode": 0, "Options": "", "Preset": "medium", "Profile": "main", "QSV": { "Decode": false } } } [01:05:17] Starting Task: Analysis Pass [01:05:17] work: track 1, dithering not supported by codec [01:05:17] work: track 2, dithering not supported by codec [01:05:17] work: track 3, dithering not supported by codec [01:05:17] work: track 4, dithering not supported by codec [01:05:17] work: track 5, dithering not supported by codec [01:05:17] job configuration: [01:05:17] source [01:05:17] + C:\Users\user1\Desktop\Maleficent.mkv [01:05:17] + title 1, chapter(s) 1 to 20 [01:05:17] + container: matroska,webm [01:05:17] + data rate: 36072 kbps [01:05:17] destination [01:05:17] + C:\Users\user1\Videos\Maleficent.part.mkv [01:05:17] + container: Matroska (libavformat) [01:05:17] + align initial A/V stream timestamps [01:05:17] + chapter markers [01:05:17] video track [01:05:17] + decoder: h264 8-bit (yuv420p) [01:05:17] + filters [01:05:17] + 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) [01:05:17] + Decomb (mode=39) [01:05:17] + Crop and Scale (width=1980:height=824:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0) [01:05:17] + source: 1920 1080, crop (140/140/0/0): 1920 800, scale: 1980 824 [01:05:17] + Output geometry [01:05:17] + storage dimensions: 1980 x 824 [01:05:17] + pixel aspect ratio: 824 : 825 [01:05:17] + display dimensions: 1977 x 824 [01:05:17] + encoder: H.264 (libx264) [01:05:17] + preset: medium [01:05:17] + profile: main [01:05:17] + level: 4.0 [01:05:17] + bitrate: 25018 kbps, pass: 1 [01:05:17] + fast first pass [01:05:17] + options: ref=1:8x8dct=0:me=dia:trellis=0 [01:05:17] analyse=i4x4 (if originally enabled, else analyse=none) [01:05:17] subq=2 (if originally greater than 2, else subq unchanged) [01:05:17] + color profile: 1-1-1 [01:05:17] + chroma location: left [01:05:17] subtitle track 1, English [PGS] (track 0, id 0x6, Picture) -> Passthrough, Default [01:05:17] subtitle track 2, Francais [PGS] (track 1, id 0x7, Picture) -> Passthrough [01:05:17] subtitle track 3, espa¤ol [PGS] (track 2, id 0x8, Picture) -> Passthrough [01:05:17] subtitle track 4, Francais [PGS] (track 3, id 0x9, Picture) -> Passthrough [01:05:17] subtitle track 5, espa¤ol [PGS] (track 4, id 0xa, Picture) -> Passthrough [01:05:17] audio track 1 [01:05:17] + name: Surround 7.1 [01:05:17] + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1) [01:05:17] + samplerate: 48000 Hz [01:05:17] + mixdown: Stereo [01:05:17] + encoder: AAC (libavcodec) [01:05:17] + bitrate: 160 kbps, samplerate: 48000 Hz [01:05:17] audio track 2 [01:05:17] + name: Surround 5.1 [01:05:17] + decoder: English (DTS) (5.1 ch) (1536 kbps) (track 2, id 0x2) [01:05:17] + bitrate: 1536 kbps, samplerate: 48000 Hz [01:05:17] + mixdown: Stereo [01:05:17] + encoder: AAC (libavcodec) [01:05:17] + bitrate: 160 kbps, samplerate: 48000 Hz [01:05:17] audio track 3 [01:05:17] + name: Stereo [01:05:17] + decoder: English (AC3) (2.0 ch) (Dolby Surround) (320 kbps) (track 3, id 0x3) [01:05:17] + bitrate: 320 kbps, samplerate: 48000 Hz [01:05:17] + mixdown: Stereo [01:05:17] + encoder: AAC (libavcodec) [01:05:17] + bitrate: 160 kbps, samplerate: 48000 Hz [01:05:17] audio track 4 [01:05:17] + name: Surround 5.1 [01:05:17] + decoder: Francais (AC3) (5.1 ch) (640 kbps) (track 4, id 0x4) [01:05:17] + bitrate: 640 kbps, samplerate: 48000 Hz [01:05:17] + mixdown: Stereo [01:05:17] + encoder: AAC (libavcodec) [01:05:17] + bitrate: 160 kbps, samplerate: 48000 Hz [01:05:17] audio track 5 [01:05:17] + name: Surround 5.1 [01:05:17] + decoder: espa¤ol (AC3) (5.1 ch) (640 kbps) (track 5, id 0x5) [01:05:17] + bitrate: 640 kbps, samplerate: 48000 Hz [01:05:17] + mixdown: Stereo [01:05:17] + encoder: AAC (libavcodec) [01:05:17] + bitrate: 160 kbps, samplerate: 48000 Hz [01:05:17] sync: expecting 140213 video frames [01:05:17] encx264: min-keyint: 24, keyint: 240 [01:05:17] encx264: encoding at average bitrate 25018 [01:05:17] encx264: unparsed options: level=4.0:8x8dct=0:vbv-bufsize=25000:vbv-maxrate=20000 x264 [warning]: max bitrate less than average bitrate, assuming CBR x264 [info]: using SAR=824/825 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit [01:05:17] sync: first pts video is 0 [01:05:17] sync: "Chapter 1" (1) at frame 1 time 0 [01:05:17] sync: first pts audio 0x1 is 0 [01:05:17] sync: first pts audio 0x2 is 0 [01:05:17] sync: first pts audio 0x3 is 0 [01:05:17] sync: first pts audio 0x4 is 0 [01:05:17] sync: first pts audio 0x5 is 0 [01:05:35] sync: first pts subtitle 0x6 is 2830320 [01:05:35] sync: first pts subtitle 0x7 is 2830320 [01:05:35] sync: first pts subtitle 0x8 is 2834100 [01:07:21] sync: "Chapter 2" (2) at frame 4334 time 16264998 [01:11:26] sync: "Chapter 3" (3) at frame 11772 time 44185391 [01:16:13] sync: "Chapter 4" (4) at frame 20159 time 75668092 [01:20:05] sync: "Chapter 5" (5) at frame 27588 time 103554701 [01:25:07] sync: "Chapter 6" (6) at frame 37381 time 140315175 [01:30:28] sync: "Chapter 7" (7) at frame 47707 time 179076397 [01:34:34] sync: "Chapter 8" (8) at frame 55405 time 207972765 [01:38:25] sync: "Chapter 9" (9) at frame 62368 time 234110126 [01:41:16] sync: "Chapter 10" (10) at frame 67520 time 253449446 [01:44:31] sync: "Chapter 11" (11) at frame 73654 time 276474948 [01:46:53] sync: "Chapter 12" (12) at frame 78136 time 293299256 [01:50:14] sync: "Chapter 13" (13) at frame 84342 time 316595028 [01:52:46] sync: "Chapter 14" (14) at frame 89145 time 334624290 [01:55:15] sync: "Chapter 15" (15) at frame 93750 time 351910308 [01:58:56] sync: "Chapter 16" (16) at frame 100623 time 377709832 [02:03:16] sync: "Chapter 17" (17) at frame 108869 time 408663255 [02:04:46] sync: "Chapter 18" (18) at frame 111817 time 419729310 [02:11:30] sync: "Chapter 19" (19) at frame 123358 time 463051338 [02:13:48] sync: "Chapter 20" (20) at frame 127521 time 478678200 [02:13:48] sync: first pts subtitle 0x9 is 478775790 [02:13:48] sync: first pts subtitle 0xa is 478775790 [02:19:01] reader: done. 1 scr changes [02:19:04] work: average encoding speed for job is 31.679321 fps [02:19:04] comb detect: heavy 348 | light 3942 | uncombed 135924 | total 140214 [02:19:04] decomb: deinterlaced 348 | blended 3942 | unfiltered 135924 | total 140214 [02:19:04] dca-decoder done: 548259 frames, 0 decoder errors [02:19:04] dca-decoder done: 548259 frames, 0 decoder errors [02:19:04] ac3-decoder done: 182753 frames, 0 decoder errors [02:19:04] ac3-decoder done: 182753 frames, 0 decoder errors [02:19:04] ac3-decoder done: 182753 frames, 0 decoder errors [02:19:04] h264-decoder done: 140214 frames, 0 decoder errors [02:19:04] sync: got 140214 frames, 140213 expected [02:19:04] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps x264 [info]: frame I:1803 Avg QP:10.05 size:432657 x264 [info]: frame P:46449 Avg QP:12.93 size:153162 x264 [info]: frame B:91962 Avg QP:14.93 size: 60446 x264 [info]: consecutive B-frames: 11.2% 2.2% 5.8% 80.8% x264 [info]: mb I I16..4: 24.2% 0.0% 75.8% x264 [info]: mb P I16..4: 45.0% 0.0% 0.0% P16..4: 51.6% 0.0% 0.0% 0.0% 0.0% skip: 3.4% x264 [info]: mb B I16..4: 14.5% 0.0% 0.0% B16..8: 39.8% 0.0% 0.0% direct:31.1% skip:14.6% L0:24.9% L1:32.2% BI:42.8% x264 [info]: coded y,uvDC,uvAC intra: 92.8% 80.7% 67.6% inter: 53.2% 37.8% 11.9% x264 [info]: i16 v,h,dc,p: 16% 12% 51% 21% x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 12% 18% 9% 10% 9% 9% 9% 10% x264 [info]: i8c dc,h,v,p: 59% 17% 17% 7% x264 [info]: Weighted P-Frames: Y:3.8% UV:2.1% x264 [info]: kb/s:18403.30 [02:19:04] Starting Task: Encoding Pass [02:19:04] work: track 1, dithering not supported by codec [02:19:04] work: track 2, dithering not supported by codec [02:19:04] work: track 3, dithering not supported by codec [02:19:04] work: track 4, dithering not supported by codec [02:19:04] work: track 5, dithering not supported by codec [02:19:04] job configuration: [02:19:04] source [02:19:04] + C:\Users\user1\Desktop\Maleficent.mkv [02:19:04] + title 1, chapter(s) 1 to 20 [02:19:04] + container: matroska,webm [02:19:04] + data rate: 36072 kbps [02:19:04] destination [02:19:04] + C:\Users\user1\Videos\Maleficent.part.mkv [02:19:04] + container: Matroska (libavformat) [02:19:04] + align initial A/V stream timestamps [02:19:04] + chapter markers [02:19:04] video track [02:19:04] + decoder: h264 8-bit (yuv420p) [02:19:04] + filters [02:19:04] + 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) [02:19:04] + Decomb (mode=39) [02:19:04] + Crop and Scale (width=1980:height=824:crop-top=140:crop-bottom=140:crop-left=0:crop-right=0) [02:19:04] + source: 1920 1080, crop (140/140/0/0): 1920 800, scale: 1980 824 [02:19:04] + Output geometry [02:19:04] + storage dimensions: 1980 x 824 [02:19:04] + pixel aspect ratio: 824 : 825 [02:19:04] + display dimensions: 1977 x 824 [02:19:04] + encoder: H.264 (libx264) [02:19:04] + preset: medium [02:19:04] + profile: main [02:19:04] + level: 4.0 [02:19:04] + bitrate: 25018 kbps, pass: 2 [02:19:04] + color profile: 1-1-1 [02:19:04] + chroma location: left [02:19:04] subtitle track 1, English [PGS] (track 0, id 0x6, Picture) -> Passthrough, Default [02:19:04] subtitle track 2, Francais [PGS] (track 1, id 0x7, Picture) -> Passthrough [02:19:04] subtitle track 3, espa¤ol [PGS] (track 2, id 0x8, Picture) -> Passthrough [02:19:04] subtitle track 4, Francais [PGS] (track 3, id 0x9, Picture) -> Passthrough [02:19:04] subtitle track 5, espa¤ol [PGS] (track 4, id 0xa, Picture) -> Passthrough [02:19:04] audio track 1 [02:19:04] + name: Surround 7.1 [02:19:04] + decoder: English (DTS-HD MA) (7.1 ch) (track 1, id 0x1) [02:19:04] + samplerate: 48000 Hz [02:19:04] + mixdown: Stereo [02:19:04] + encoder: AAC (libavcodec) [02:19:04] + bitrate: 160 kbps, samplerate: 48000 Hz [02:19:04] audio track 2 [02:19:04] + name: Surround 5.1 [02:19:04] + decoder: English (DTS) (5.1 ch) (1536 kbps) (track 2, id 0x2) [02:19:04] + bitrate: 1536 kbps, samplerate: 48000 Hz [02:19:04] + mixdown: Stereo [02:19:04] + encoder: AAC (libavcodec) [02:19:04] + bitrate: 160 kbps, samplerate: 48000 Hz [02:19:04] audio track 3 [02:19:04] + name: Stereo [02:19:04] + decoder: English (AC3) (2.0 ch) (Dolby Surround) (320 kbps) (track 3, id 0x3) [02:19:04] + bitrate: 320 kbps, samplerate: 48000 Hz [02:19:04] + mixdown: Stereo [02:19:04] + encoder: AAC (libavcodec) [02:19:04] + bitrate: 160 kbps, samplerate: 48000 Hz [02:19:04] audio track 4 [02:19:04] + name: Surround 5.1 [02:19:04] + decoder: Francais (AC3) (5.1 ch) (640 kbps) (track 4, id 0x4) [02:19:04] + bitrate: 640 kbps, samplerate: 48000 Hz [02:19:04] + mixdown: Stereo [02:19:04] + encoder: AAC (libavcodec) [02:19:04] + bitrate: 160 kbps, samplerate: 48000 Hz [02:19:04] audio track 5 [02:19:04] + name: Surround 5.1 [02:19:04] + decoder: espa¤ol (AC3) (5.1 ch) (640 kbps) (track 5, id 0x5) [02:19:04] + bitrate: 640 kbps, samplerate: 48000 Hz [02:19:04] + mixdown: Stereo [02:19:04] + encoder: AAC (libavcodec) [02:19:04] + bitrate: 160 kbps, samplerate: 48000 Hz [02:19:04] sync: expecting 140214 video frames [02:19:04] encx264: min-keyint: 24, keyint: 240 [02:19:04] encx264: encoding at average bitrate 25018 [02:19:04] encx264: unparsed options: level=4.0:8x8dct=0:vbv-bufsize=25000:vbv-maxrate=20000 x264 [warning]: max bitrate less than average bitrate, assuming CBR x264 [info]: using SAR=824/825 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX x264 [warning]: target: 20000.00 kbit/s, expected: 19626.23 kbit/s, avg QP: 18.1241 x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit [02:20:00] sync: first pts video is 0 [02:20:00] sync: "Chapter 1" (1) at frame 1 time 0 [02:20:00] sync: first pts audio 0x1 is 0 [02:20:00] sync: first pts audio 0x2 is 0 [02:20:00] sync: first pts audio 0x3 is 0 [02:20:00] sync: first pts audio 0x4 is 0 [02:20:00] sync: first pts audio 0x5 is 0 [02:21:01] sync: first pts subtitle 0x6 is 2830320 [02:21:01] sync: first pts subtitle 0x7 is 2830320 [02:21:01] sync: first pts subtitle 0x8 is 2834100 [02:26:02] sync: "Chapter 2" (2) at frame 4334 time 16264998 [02:36:16] sync: "Chapter 3" (3) at frame 11772 time 44185391 [02:48:24] sync: "Chapter 4" (4) at frame 20159 time 75668092 [02:59:14] sync: "Chapter 5" (5) at frame 27588 time 103554701 [03:12:45] sync: "Chapter 6" (6) at frame 37381 time 140315175 [03:27:41] sync: "Chapter 7" (7) at frame 47707 time 179076397 [03:38:24] sync: "Chapter 8" (8) at frame 55405 time 207972765 [03:48:08] sync: "Chapter 9" (9) at frame 62368 time 234110126 [03:55:26] sync: "Chapter 10" (10) at frame 67520 time 253449446 [04:04:10] sync: "Chapter 11" (11) at frame 73654 time 276474948 [04:10:31] sync: "Chapter 12" (12) at frame 78136 time 293299256 [04:19:25] sync: "Chapter 13" (13) at frame 84342 time 316595028 [04:25:53] sync: "Chapter 14" (14) at frame 89145 time 334624290 [04:32:10] sync: "Chapter 15" (15) at frame 93750 time 351910308 [04:42:08] sync: "Chapter 16" (16) at frame 100623 time 377709832 [04:53:51] sync: "Chapter 17" (17) at frame 108869 time 408663255 [04:57:54] sync: "Chapter 18" (18) at frame 111817 time 419729310 [05:15:25] sync: "Chapter 19" (19) at frame 123358 time 463051338 [05:21:02] sync: "Chapter 20" (20) at frame 127521 time 478678200 [05:21:02] sync: first pts subtitle 0x9 is 478775790 [05:21:02] sync: first pts subtitle 0xa is 478775790 [05:31:06] reader: done. 1 scr changes [05:31:14] work: average encoding speed for job is 12.222190 fps [05:31:14] comb detect: heavy 348 | light 3942 | uncombed 135924 | total 140214 [05:31:14] decomb: deinterlaced 348 | blended 3942 | unfiltered 135924 | total 140214 [05:31:14] dca-decoder done: 548259 frames, 0 decoder errors [05:31:14] dca-decoder done: 548259 frames, 0 decoder errors [05:31:14] ac3-decoder done: 182753 frames, 0 decoder errors [05:31:14] ac3-decoder done: 182753 frames, 0 decoder errors [05:31:14] ac3-decoder done: 182753 frames, 0 decoder errors [05:31:14] h264-decoder done: 140214 frames, 0 decoder errors [05:31:14] sync: got 140214 frames, 140214 expected [05:31:14] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps x264 [info]: frame I:1803 Avg QP:12.02 size:374476 x264 [info]: frame P:46449 Avg QP:12.66 size:163551 x264 [info]: frame B:91962 Avg QP:14.50 size: 65613 x264 [info]: consecutive B-frames: 11.2% 2.2% 5.8% 80.8% x264 [info]: mb I I16..4: 23.8% 0.0% 76.2% x264 [info]: mb P I16..4: 6.3% 0.0% 15.6% P16..4: 25.6% 29.9% 18.7% 0.0% 0.0% skip: 3.8% x264 [info]: mb B I16..4: 1.2% 0.0% 2.2% B16..8: 38.3% 19.0% 7.0% direct:13.3% skip:19.0% L0:38.1% L1:40.0% BI:21.9% x264 [info]: coded y,uvDC,uvAC intra: 96.0% 92.4% 85.5% inter: 55.5% 57.0% 30.1% x264 [info]: i16 v,h,dc,p: 14% 8% 30% 48% x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 13% 20% 8% 10% 9% 8% 7% 7% x264 [info]: i8c dc,h,v,p: 60% 15% 15% 10% x264 [info]: Weighted P-Frames: Y:4.2% UV:2.1% x264 [info]: ref P L0: 54.2% 11.9% 24.1% 9.6% 0.3% x264 [info]: ref B L0: 83.9% 13.3% 2.8% x264 [info]: ref B L1: 93.6% 6.4% x264 [info]: kb/s:19569.99 [05:31:14] mux: track 0, 140214 frames, 14305817872 bytes, 19569.75 kbps, fifo 512 [05:31:14] mux: track 1, 274130 frames, 117051071 bytes, 160.12 kbps, fifo 1024 [05:31:14] mux: track 2, 274130 frames, 117049515 bytes, 160.12 kbps, fifo 1024 [05:31:14] mux: track 3, 274130 frames, 117115491 bytes, 160.21 kbps, fifo 1024 [05:31:14] mux: track 4, 274130 frames, 117106652 bytes, 160.20 kbps, fifo 1024 [05:31:14] mux: track 5, 274130 frames, 117076305 bytes, 160.16 kbps, fifo 1024 [05:31:14] mux: track 6, 2076 frames, 17120768 bytes, 23.42 kbps, fifo 16 [05:31:14] mux: track 7, 1430 frames, 13093731 bytes, 17.91 kbps, fifo 16 [05:31:14] mux: track 8, 1474 frames, 12452699 bytes, 17.03 kbps, fifo 16 [05:31:14] mux: track 9, 10 frames, 52947 bytes, 0.07 kbps, fifo 8 [05:31:14] mux: track 10, 4 frames, 15406 bytes, 0.02 kbps, fifo 8 [05:31:15] Finished work at: Fri Aug 19 05:31:15 2022 [05:31:15] libhb: work result = 0
Encoder was set at 16,000, final file size: 13.9Gb
Thank you
Looks like the bitrate was calculated to be 25018 kbps but it was capped to 20000 by x264. Maybe to ensure that it conformed to Level 4.0. Try one of these:
1) Use quality targeting. You get better results, faster. 2) Change the Level to Auto.
Thank you RE, What are you referring to when you say, "Quality Targeting"? Do you mean, check the box, "Constant Quality" and then use the slider, (completely unpredictable results). This time, I set a target file size of 16,000 and after setting the Tune to, "None", Profile to, "Automatic" and the Level to "Automatic", I did get better results with a final file size 15.4Gb Note: I have :2-pass Encoding" and "Turbo First Pass" Checked. Still, I should be able to get closer to my target than 15.4Gb.
Yes, use Constant Quality. The results are quite predictable in terms of picture quality, but they might vary in file size. This is a good thing because some videos are more visually complex than others. You wouldn't want to use the same amount of data to encode a completely still black frame and a fast-moving sharp video.
Problem Description
Hello, I'm using Vidcoder 7.15 on a Windows 8 laptop. Up until recently, when you used a target file size, for example 10,300, you would end up with a final file size of 10Gb. However, now, I can type in a target file size of, for example 17,500 and I get a final file size of 11.3Gb. I'm not sure if I checked a box by mistake and messed things up or there's a bug. Can anyone offer assistance, maybe tell me what your settings are or provide a screenshot. Thank you
What version of VidCoder are you running?
7.15
Encode Log
No response