RandomEngy / VidCoder

A Blu-ray, DVD and video file transcoder for Windows.
http://vidcoder.net
GNU General Public License v2.0
708 stars 42 forks source link

File sizes #608

Open tirdad00 opened 4 years ago

tirdad00 commented 4 years ago

hi all I'm new to all this and am also a technical moron so please bear with me. What I cannot figure out is why similar tracks on the same DVD often come out with such wildly uneven file sizes even though the VidCoder settings remain the same. Like the first track -- 51 minute video file -- comes out at 600MB, while the second track -- similar length etc -- will be 1.1GB in size.

The source is a dvd with 50-minute videos set at 480p. I use a variation of veryfast 720p with size setting at "scale up/down to target" and the "constant quality" setting at 22. The Sound at stereo 192.

First track came out at 592MB but the next track was 1.14 GB

tirdad00 commented 4 years ago

Oh I also choose to include subtitle but not burnt-in. as optional

tirdad00 commented 4 years ago

So I end up re-running the larger ripped files thru VidCoder a second time and set the file size setting to restrict it back down to 700MB. But this means re-doing each rip and it wastes so much time.

tirdad00 commented 4 years ago

Here is the log entry for the last couple of rips

VidCoder 5.13

Starting job 3/4

Source path: D:\

Destination path: C:\Users\12158\Downloads\HandBrake Workshop\Kolchak - Title 3.mp4

Title: 3

Range: All

Preset: British TV Series

Worker ready: Pipe 'VidCoderWorker.4fa0fa86-0198-4e58-ac02-d641028e76af' is open

Connecting to process 5920 on pipe VidCoderWorker.4fa0fa86-0198-4e58-ac02-d641028e76af

[19:43:11] CPU: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz [19:43:11] - Intel microarchitecture Kaby Lake [19:43:11] - logical processor count: 8 [19:43:11] Intel Quick Sync Video support: yes [19:43:11] - Intel Media SDK hardware: API 1.28 (minimum: 1.3) [19:43:11] - H.264 encoder: yes [19:43:11] - preferred implementation: hardware (any) via D3D11 [19:43:11] - capabilities (hardware): breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice [19:43:11] - H.265 encoder: yes (8bit: yes, 10bit: yes) [19:43:11] - preferred implementation: hardware (any) via D3D11 [19:43:11] - capabilities (hardware): bpyramid icq vsinfo opt1 [19:43:11] hb_scan: path=D:\, title_index=3 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:) failed [19:43:11] bd: not a bd - trying as a stream/file instead libdvdnav: Using dvdnav version 6.0.1 libdvdnav: Unable to open device file D:. libdvdnav: vm: dvd_read_name failed libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1 libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a long time, please be patient libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000012f libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00009a37 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000100d7 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003d8ff8 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003d8ffc libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x003db1fb libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003db1ff libdvdread: Elapsed time 0 libdvdread: Found 3 VTS's libdvdread: Elapsed time 0 [19:43:12] scan: DVD has 8 title(s) [19:43:12] scan: scanning title 3 [19:43:14] scan: duration is 00:51:40 (3100934 ms) [19:43:14] pgc_id: 3, pgn: 1: pgc: 000002666427CC50 [19:43:14] scan: checking audio 1 [19:43:14] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0 [19:43:14] scan: checking subtitle 1 [19:43:14] scan: id=0x20bd, lang=English (4:3) [VOBSUB], 3cc=eng ext=0 [19:43:14] scan: checking subtitle 2 [19:43:14] scan: id=0x21bd, lang=espa¤ol (4:3) [VOBSUB], 3cc=spa ext=0 [19:43:14] scan: title 3 has 5 chapters [19:43:14] scan: chap 1, 83600 ms [19:43:14] scan: chap 2, 613600 ms [19:43:14] scan: chap 3, 1130066 ms [19:43:14] scan: chap 4, 1272667 ms [19:43:14] scan: chap 5, 1000 ms [19:43:14] scan: aspect = 4:3 [19:43:14] scan: decoding previews for title 3 libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1 [19:43:18] scan: title angle(s) 1 [19:43:19] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps) [19:43:21] scan: 10 previews, 720x480, 23.976 fps, autocrop = 0/0/2/0, aspect 4:3, PAR 8:9 [19:43:21] libhb: scan thread found 1 valid title(s) [19:43:21] Starting work at: Wed Dec 18 19:43:21 2019 [19:43:21] 1 job(s) to process [19:43:21] json job: { "Audio": { "AudioList": [ { "Bitrate": 192, "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:eac3", "copy:truehd", "copy:dts", "copy:dtshd", "copy:mp3", "copy:flac" ] }, "Destination": { "ChapterList": [ { "Name": "Chapter 1" }, { "Name": "Chapter 2" }, { "Name": "Chapter 3" }, { "Name": "Chapter 4" }, { "Name": "Chapter 5" } ], "ChapterMarkers": true, "AlignAVStart": true, "File": "C:\Users\12158\Downloads\HandBrake Workshop\Kolchak - Title 3.mp4.part", "Mp4Options": { "IpodAtom": false, "Mp4Optimize": false }, "Mux": "av_mp4" }, "Filters": { "FilterList": [ { "ID": 4, "Settings": { "mode": "7" } }, { "ID": 3, "Settings": { "block-height": "16", "block-thresh": "80", "block-width": "16", "filter-mode": "1", "mode": "0", "motion-thresh": "2", "spatial-metric": "2", "spatial-thresh": "3" } }, { "ID": 6, "Settings": { "mode": "2", "rate": "27000000/900000" } }, { "ID": 12, "Settings": { "crop-bottom": "0", "crop-left": "2", "crop-right": "0", "crop-top": "0", "height": "720", "width": "1076" } } ] }, "PAR": { "Num": 718, "Den": 807 }, "Metadata": {}, "SequenceID": 0, "Source": { "Angle": 1, "Range": { "Type": "chapter", "Start": 1, "End": 5 }, "Title": 3, "Path": "D:\" }, "Subtitle": { "Search": { "Burn": false, "Default": false, "Enable": false, "Forced": false }, "SubtitleList": [ { "Burn": false, "Default": true, "Forced": false, "ID": 1, "Offset": 0, "Track": 0 } ] }, "Video": { "Encoder": "x264", "Level": "3.1", "TwoPass": false, "Turbo": false, "ColorMatrixCode": 0, "Options": "", "Preset": "veryfast", "Profile": "main", "Quality": 21.0, "QSV": { "Decode": false, "AsyncDepth": 0 } } } [19:43:21] Starting Task: Encoding Pass [19:43:21] job configuration: [19:43:21] source [19:43:21] + D:\ [19:43:21] + title 3, chapter(s) 1 to 5 [19:43:21] destination [19:43:21] + C:\Users\12158\Downloads\HandBrake Workshop\Kolchak - Title 3.mp4.part [19:43:21] + container: MPEG-4 (libavformat) [19:43:21] + align initial A/V stream timestamps [19:43:21] + chapter markers [19:43:21] video track [19:43:21] + decoder: mpeg2video [19:43:21] + bitrate 200 kbps [19:43:21] + filters [19:43:21] + Comb Detect (mode=0:spatial-metric=2:motion-thresh=2:spatial-thresh=3:filter-mode=1:block-thresh=80:block-width=16:block-height=16) [19:43:21] + Decomb (mode=39) [19:43:21] + Framerate Shaper (mode=2:rate=27000000/900000) [19:43:21] + frame rate: 23.976 fps -> peak rate limited to 30.000 fps [19:43:21] + Crop and Scale (width=1076:height=720:crop-top=0:crop-bottom=0:crop-left=2:crop-right=0) [19:43:21] + source: 720 480, crop (0/0/2/0): 718 480, scale: 1076 720 [19:43:21] + Output geometry [19:43:21] + storage dimensions: 1076 x 720 [19:43:21] + pixel aspect ratio: 718 : 807 [19:43:21] + display dimensions: 957 x 720 [19:43:21] + encoder: H.264 (libx264) [19:43:21] + preset: veryfast [19:43:21] + profile: main [19:43:21] + level: 3.1 [19:43:21] + quality: 21.00 (RF) [19:43:21] + color profile: 6-1-6 [19:43:21] subtitle track 1, English (4:3) [VOBSUB] (track 0, id 0x20bd, Picture) -> Passthrough, Default [19:43:21] audio track 1 [19:43:21] + decoder: English (AC3) (2.0 ch) (192 kbps) (track 1, id 0x80bd) [19:43:21] + bitrate: 192 kbps, samplerate: 48000 Hz [19:43:21] + mixdown: Stereo [19:43:21] + dither: none [19:43:21] + encoder: AAC (libavcodec) [19:43:21] + bitrate: 192 kbps, samplerate: 48000 Hz libdvdnav: Using dvdnav version 6.0.1 libdvdnav: Unable to open device file D:. libdvdnav: vm: dvd_read_name failed libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1 libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a long time, please be patient libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000012f libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00009a37 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000100d7 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x003d8ff8 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x003d8ffc libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x003db1fb libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003db1ff libdvdread: Elapsed time 0 libdvdread: Found 3 VTS's libdvdread: Elapsed time 0 libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1 [19:43:26] sync: expecting 74348 video frames [19:43:26] encx264: min-keyint: 24, keyint: 240 [19:43:26] encx264: encoding at constant RF 21.000000 [19:43:26] encx264: unparsed options: level=3.1:ref=1:8x8dct=0:weightp=1:subme=2:mixed-refs=0:trellis=0:vbv-bufsize=14000:vbv-maxrate=14000:rc-lookahead=10 x264 [info]: x264 [info]: x264 [info]: [19:43:27] sync: first pts video is 0 [19:43:27] sync: "Chapter 1" (1) at frame 1 time 0 [19:43:27] sync: first pts audio 0x80bd is 0 [19:43:27] 1.084411s: Video -> Film [19:43:40] 21.788422s: Film -> Video [19:43:40] sync: first pts subtitle 0x20bd is 2069067 [19:44:06] sync: "Chapter 2" (2) at frame 2387 time 7538281 [19:44:06] 85.769020s: Video -> Film [19:44:40] 191.724838s: Film -> Video [19:45:25] 293.443146s: Video -> Film [19:45:54] 370.369995s: Film -> Video [19:45:54] 370.520172s: Video -> Film

RandomEngy commented 4 years ago

Different sources have different levels of detail and motion, so they require different amounts of data to encode. Constant quality will target a particular quality level for the result and the final size may vary.