Too high ETA for a DVD source on HEVC Matroska encode

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
DJViking
Posts: 8
Joined: Sun May 27, 2018 3:31 pm

Too high ETA for a DVD source on HEVC Matroska encode

Post by DJViking » Sun May 27, 2018 3:51 pm

Description of problem or question:
Tried HandBrake to use HandBrake to rip and encode my DVDs to HEVC (without loss of quality).

Chose the Preset Matroska - H.265 MKV 576p25.
Changed the quality factor from 20 to 12.
Added one subtitle
Nothing else changed.

My FPS is abysmal, at only avg 3.75
Encoding an DVD has ETA 12 hours. Is this normal time consumed to rip a lowly DVD at 576p25.
I have never used HandBrake before, so I don't know if this is time it actually takes or if I have done something wrong with my preset settings.
I could use MakeMKV instead which only takes less then 10 minutes to rip, but I wanted an HEVC encoded rip.

Running:
HandBrake 1.0.7
OpenSUSE Leap 42.3

Hardware:
Intel Core i7-6850K CPU @ 3.60GHz
NVIDIA GTX GeForce 1080
Samsung M.2 950 Pro SSD
Samsung Samsung Blu-Ray Writer SE-506AB USB-2.0

This is my chosen preset settings:

Code: Select all

{
    "PresetList": [
        {
            "AudioCopyMask": [
                "copy:aac"
            ],
            "AudioEncoderFallback": "fdk_aac",
            "AudioLanguageList": [],
            "AudioList": [
                {
                    "AudioBitrate": 160,
                    "AudioCompressionLevel": -1.0,
                    "AudioDitherMethod": "auto",
                    "AudioEncoder": "fdk_aac",
                    "AudioMixdown": "dpl2",
                    "AudioNormalizeMixLevel": false,
                    "AudioSamplerate": "auto",
                    "AudioTrackDRCSlider": 0.0,
                    "AudioTrackGainSlider": 0.0,
                    "AudioTrackQuality": 1.0,
                    "AudioTrackQualityEnable": false
                }
            ],
            "AudioSecondaryEncoderMode": true,
            "AudioTrackSelectionBehavior": "first",
            "ChapterMarkers": true,
            "ChildrenArray": [],
            "Default": false,
            "FileFormat": "av_mkv",
            "Folder": false,
            "FolderOpen": false,
            "Mp4HttpOptimize": false,
            "Mp4iPodCompatible": false,
            "PictureAutoCrop": true,
            "PictureBottomCrop": 0,
            "PictureCombDetectCustom": "",
            "PictureCombDetectPreset": "default",
            "PictureDARWidth": 0,
            "PictureDeblock": 0,
            "PictureDeblockCustom": "qp=0:mode=2",
            "PictureDeinterlaceCustom": "",
            "PictureDeinterlaceFilter": "decomb",
            "PictureDeinterlacePreset": "default",
            "PictureDenoiseCustom": "",
            "PictureDenoiseFilter": "off",
            "PictureDenoisePreset": "",
            "PictureDenoiseTune": "none",
            "PictureDetelecine": "off",
            "PictureDetelecineCustom": "",
            "PictureForceHeight": 0,
            "PictureForceWidth": 0,
            "PictureHeight": 576,
            "PictureItuPAR": false,
            "PictureKeepRatio": true,
            "PictureLeftCrop": 0,
            "PictureLooseCrop": false,
            "PictureModulus": 2,
            "PicturePAR": "auto",
            "PicturePARHeight": 720,
            "PicturePARWidth": 853,
            "PictureRightCrop": 0,
            "PictureRotate": "disable=1",
            "PictureTopCrop": 0,
            "PictureWidth": 720,
            "PresetDescription": "H.265 video (up to 576p25) and AAC stereo audio, in an MKV container.",
            "PresetName": "HQ H.265 MKV 576p25",
            "SubtitleAddCC": false,
            "SubtitleAddForeignAudioSearch": true,
            "SubtitleAddForeignAudioSubtitle": false,
            "SubtitleBurnBDSub": true,
            "SubtitleBurnBehavior": "foreign",
            "SubtitleBurnDVDSub": true,
            "SubtitleLanguageList": [],
            "SubtitleTrackSelectionBehavior": "none",
            "Type": 1,
            "UsesPictureFilters": true,
            "UsesPictureSettings": 1,
            "VideoAvgBitrate": 1200,
            "VideoColorMatrixCode": 0,
            "VideoEncoder": "x265",
            "VideoFramerate": "25",
            "VideoFramerateMode": "pfr",
            "VideoGrayScale": false,
            "VideoLevel": "auto",
            "VideoOptionExtra": "strong-intra-smoothing=0:rect=0",
            "VideoPreset": "slow",
            "VideoProfile": "main",
            "VideoQSVAsyncDepth": 4,
            "VideoQSVDecode": false,
            "VideoQualitySlider": 12.0,
            "VideoQualityType": 2,
            "VideoScaler": "swscale",
            "VideoTune": "",
            "VideoTurboTwoPass": false,
            "VideoTwoPass": true,
            "x264Option": "",
            "x264UseAdvancedOptions": false
        }
    ],
    "VersionMajor": 23,
    "VersionMicro": 0,
    "VersionMinor": 0
}
My Activity Log

Code: Select all

[17:15:36] gtkgui: HandBrake 1.0.7 (2018032300) - Linux x86_64 - https://handbrake.fr
[17:15:36] hb_init: starting libhb thread
[17:15:36] hb_init: starting libhb thread
[17:15:36] hb_init: starting libhb thread
[17:15:44] CPU: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz
[17:15:44]  - Intel microarchitecture Broadwell
[17:15:44]  - logical processor count: 12
[17:15:44] hb_scan: path=/dev/sr0, title_index=0
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[17:15:44] bd: not a bd - trying as a stream/file instead
[17:15:44] dvd: Region mask 0xfd
libdvdnav: Using dvdnav version 5.0.3
libdvdnav: DVD Title: EVENOD_DK_NO
libdvdnav: DVD Serial Number: 420A382C___MVB__
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

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 0x00000143
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001bb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000dea2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0000e144
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0000e191
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0000e51a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0000e567
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0000f2e4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0000f331
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0000f7d6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0000f823
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x000100f9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00010146
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00010a1c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00010a69
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0001136a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x000113b7
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 0
[17:15:44] scan: DVD has 10 title(s)
[17:15:44] scan: scanning title 1
[17:15:44] scan: opening IFO for VTS 1
[17:15:44] scan: duration is 00:00:08 (8240 ms)
[17:15:44] scan: ignoring title (too short)
[17:15:44] scan: scanning title 2
[17:15:44] scan: opening IFO for VTS 2
[17:15:44] scan: duration is 00:00:08 (8680 ms)
[17:15:44] scan: ignoring title (too short)
[17:15:44] scan: scanning title 3
[17:15:44] scan: opening IFO for VTS 3
[17:15:44] scan: duration is 00:00:09 (9000 ms)
[17:15:44] scan: ignoring title (too short)
[17:15:44] scan: scanning title 4
[17:15:44] scan: opening IFO for VTS 4
[17:15:44] scan: duration is 00:00:08 (8680 ms)
[17:15:44] scan: ignoring title (too short)
[17:15:44] scan: scanning title 5
[17:15:44] scan: opening IFO for VTS 5
[17:15:44] scan: duration is 00:00:04 (4240 ms)
[17:15:44] scan: ignoring title (too short)
[17:15:44] scan: scanning title 6
[17:15:44] scan: opening IFO for VTS 6
[17:15:44] scan: duration is 00:00:04 (4240 ms)
[17:15:44] scan: ignoring title (too short)
[17:15:44] scan: scanning title 7
[17:15:44] scan: opening IFO for VTS 7
[17:15:44] scan: duration is 00:00:04 (4240 ms)
[17:15:44] scan: ignoring title (too short)
[17:15:44] scan: scanning title 8
[17:15:44] scan: opening IFO for VTS 8
[17:15:44] scan: duration is 01:51:30 (6690000 ms)
[17:15:44] pgc_id: 1, pgn: 1: pgc: 0x7f47ac03aa40
[17:15:44] scan: vts=8, ttn=1, cells=0->14, blocks=0->2159334, 2159335 blocks
[17:15:44] scan: checking audio 1
[17:15:44] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[17:15:44] scan: checking subtitle 1
[17:15:44] scan: id=0x20bd, lang=dansk, 3cc=dan ext=0
[17:15:44] scan: checking subtitle 2
[17:15:44] scan: id=0x21bd, lang=norsk, 3cc=nor ext=0
[17:15:44] scan: title 8 has 15 chapters
[17:15:44] scan: chap 1 c=0->0, b=0->47873 (47874), 123200 ms
[17:15:44] scan: chap 2 c=1->1, b=47874->176214 (128341), 387200 ms
[17:15:44] scan: chap 3 c=2->2, b=176215->449620 (273406), 876400 ms
[17:15:44] scan: chap 4 c=3->3, b=449621->546223 (96603), 310400 ms
[17:15:44] scan: chap 5 c=4->4, b=546224->774741 (228518), 778400 ms
[17:15:44] scan: chap 6 c=5->5, b=774742->968763 (194022), 567600 ms
[17:15:44] scan: chap 7 c=6->6, b=968764->1164270 (195507), 578800 ms
[17:15:44] scan: chap 8 c=7->7, b=1164271->1292567 (128297), 433600 ms
[17:15:44] scan: chap 9 c=8->8, b=1292568->1322504 (29937), 90000 ms
[17:15:44] scan: chap 10 c=9->9, b=1322505->1514536 (192032), 584000 ms
[17:15:44] scan: chap 11 c=10->10, b=1514537->1680075 (165539), 537200 ms
[17:15:44] scan: chap 12 c=11->11, b=1680076->1825908 (145833), 458400 ms
[17:15:44] scan: chap 13 c=12->12, b=1825909->2125859 (299951), 843200 ms
[17:15:44] scan: chap 14 c=13->13, b=2125860->2155565 (29706), 96400 ms
[17:15:44] scan: chap 15 c=14->14, b=2155566->2159334 (3769), 25200 ms
[17:15:44] scan: aspect = 4:3
[17:15:44] scan: scanning title 9
[17:15:44] scan: opening IFO for VTS 8
[17:15:44] scan: duration is 01:51:04 (6664800 ms)
[17:15:44] pgc_id: 2, pgn: 1: pgc: 0x7f47ac03bae0
[17:15:44] scan: vts=8, ttn=2, cells=0->13, blocks=0->2155565, 2155566 blocks
[17:15:44] scan: checking audio 1
[17:15:44] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[17:15:44] scan: checking subtitle 1
[17:15:44] scan: id=0x20bd, lang=dansk, 3cc=dan ext=0
[17:15:44] scan: checking subtitle 2
[17:15:44] scan: id=0x21bd, lang=norsk, 3cc=nor ext=0
[17:15:44] scan: title 9 has 14 chapters
[17:15:44] scan: chap 1 c=0->0, b=0->47873 (47874), 123200 ms
[17:15:44] scan: chap 2 c=1->1, b=47874->176214 (128341), 387200 ms
[17:15:44] scan: chap 3 c=2->2, b=176215->449620 (273406), 876400 ms
[17:15:44] scan: chap 4 c=3->3, b=449621->546223 (96603), 310400 ms
[17:15:44] scan: chap 5 c=4->4, b=546224->774741 (228518), 778400 ms
[17:15:44] scan: chap 6 c=5->5, b=774742->968763 (194022), 567600 ms
[17:15:44] scan: chap 7 c=6->6, b=968764->1164270 (195507), 578800 ms
[17:15:44] scan: chap 8 c=7->7, b=1164271->1292567 (128297), 433600 ms
[17:15:44] scan: chap 9 c=8->8, b=1292568->1322504 (29937), 90000 ms
[17:15:44] scan: chap 10 c=9->9, b=1322505->1514536 (192032), 584000 ms
[17:15:44] scan: chap 11 c=10->10, b=1514537->1680075 (165539), 537200 ms
[17:15:44] scan: chap 12 c=11->11, b=1680076->1825908 (145833), 458400 ms
[17:15:44] scan: chap 13 c=12->12, b=1825909->2125859 (299951), 843200 ms
[17:15:44] scan: chap 14 c=13->13, b=2125860->2155565 (29706), 96400 ms
[17:15:44] scan: aspect = 4:3
[17:15:44] scan: scanning title 10
[17:15:44] scan: opening IFO for VTS 8
[17:15:44] scan: duration is 01:47:25 (6445200 ms)
[17:15:44] pgc_id: 3, pgn: 1: pgc: 0x7f47ac03af20
[17:15:44] scan: vts=8, ttn=3, cells=0->11, blocks=47874->2125859, 2077986 blocks
[17:15:44] scan: checking audio 1
[17:15:44] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[17:15:44] scan: checking subtitle 1
[17:15:44] scan: id=0x20bd, lang=dansk, 3cc=dan ext=0
[17:15:44] scan: checking subtitle 2
[17:15:44] scan: id=0x21bd, lang=norsk, 3cc=nor ext=0
[17:15:44] scan: title 10 has 12 chapters
[17:15:44] scan: chap 1 c=0->0, b=47874->176214 (128341), 387200 ms
[17:15:44] scan: chap 2 c=1->1, b=176215->449620 (273406), 876400 ms
[17:15:44] scan: chap 3 c=2->2, b=449621->546223 (96603), 310400 ms
[17:15:44] scan: chap 4 c=3->3, b=546224->774741 (228518), 778400 ms
[17:15:44] scan: chap 5 c=4->4, b=774742->968763 (194022), 567600 ms
[17:15:44] scan: chap 6 c=5->5, b=968764->1164270 (195507), 578800 ms
[17:15:44] scan: chap 7 c=6->6, b=1164271->1292567 (128297), 433600 ms
[17:15:44] scan: chap 8 c=7->7, b=1292568->1322504 (29937), 90000 ms
[17:15:44] scan: chap 9 c=8->8, b=1322505->1514536 (192032), 584000 ms
[17:15:44] scan: chap 10 c=9->9, b=1514537->1680075 (165539), 537200 ms
[17:15:44] scan: chap 11 c=10->10, b=1680076->1825908 (145833), 458400 ms
[17:15:44] scan: chap 12 c=11->11, b=1825909->2125859 (299951), 843200 ms
[17:15:44] scan: aspect = 4:3
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
libdvdnav: trying to resume without any resume info set
[17:15:44] scan: decoding previews for title 8
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
[17:15:44] scan: title angle(s) 1
[ac3 @ 0x7f47ac178c20] frame sync error
[17:15:44] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=160000 English (AC3) (2.0 ch)
[17:15:44] scan: 10 previews, 720x576, 25,000 fps, autocrop = 82/80/20/8, aspect 4:3, PAR 16:15
[17:15:44] scan: decoding previews for title 9
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
[17:15:44] scan: title angle(s) 1
[ac3 @ 0x7f47ac03fc20] frame sync error
[17:15:44] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=160000 English (AC3) (2.0 ch)
[17:15:44] scan: 10 previews, 720x576, 25,000 fps, autocrop = 82/80/20/8, aspect 4:3, PAR 16:15
[17:15:44] scan: decoding previews for title 10
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
[17:15:44] scan: title angle(s) 1
[ac3 @ 0x7f47ac03e600] frame sync error
[17:15:44] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=160000 English (AC3) (2.0 ch)
[17:15:44] scan: 10 previews, 720x576, 25,000 fps, autocrop = 82/80/20/8, aspect 4:3, PAR 16:15
[17:15:44] libhb: scan thread found 3 valid title(s)
[swscaler @ 0x42c0540] Warning: data is not aligned! This can lead to a speed loss
[17:16:36] gtkgui: Custom Preset: /HQ H.265 MKV 576p25
[17:16:36] 1 job(s) to process
[17:16:36] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "fdk_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "NormalizeMixLevel": false,
                "PresetEncoder": "fdk_aac",
                "Quality": -3.0,
                "Samplerate": "auto",
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "fdk_aac"
    },
    "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"
            }
        ],
        "ChapterMarkers": true,
        "File": "/home/sverre/Videoklipp/Evenod.mkv",
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "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": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/1080000"
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 80,
                    "crop-left": 20,
                    "crop-right": 8,
                    "crop-top": 82,
                    "height": 414,
                    "width": 692
                }
            }
        ]
    },
    "Metadata": {
        "Name": "EVENOD_DK_NO"
    },
    "PAR": {
        "Den": 15,
        "Num": 16
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/dev/sr0",
        "Range": {
            "End": 14,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 9
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": true,
            "Forced": true
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorMatrixCode": 0,
        "Encoder": "x265",
        "Level": "",
        "OpenCL": false,
        "Options": "strong-intra-smoothing=0:rect=0",
        "Preset": "slow",
        "Profile": "main",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 12.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[17:16:36] CPU: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz
[17:16:36]  - Intel microarchitecture Broadwell
[17:16:36]  - logical processor count: 12
[17:16:36] hb_scan: path=/dev/sr0, title_index=9
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[17:16:36] bd: not a bd - trying as a stream/file instead
[17:16:40] dvd: Region mask 0xfd
libdvdnav: Using dvdnav version 5.0.3
libdvdnav: DVD Title: EVENOD_DK_NO
libdvdnav: DVD Serial Number: 420A382C___MVB__
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

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 0x00000143
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001bb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000dea2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0000e144
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0000e191
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0000e51a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0000e567
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0000f2e4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0000f331
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0000f7d6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0000f823
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x000100f9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00010146
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00010a1c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00010a69
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0001136a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x000113b7
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 0
[17:16:40] scan: DVD has 10 title(s)
[17:16:40] scan: scanning title 9
[17:16:40] scan: opening IFO for VTS 8
[17:16:40] scan: duration is 01:51:04 (6664800 ms)
[17:16:40] pgc_id: 2, pgn: 1: pgc: 0x7f4794038680
[17:16:40] scan: vts=8, ttn=2, cells=0->13, blocks=0->2155565, 2155566 blocks
[17:16:40] scan: checking audio 1
[17:16:40] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[17:16:40] scan: checking subtitle 1
[17:16:40] scan: id=0x20bd, lang=dansk, 3cc=dan ext=0
[17:16:40] scan: checking subtitle 2
[17:16:40] scan: id=0x21bd, lang=norsk, 3cc=nor ext=0
[17:16:40] scan: title 9 has 14 chapters
[17:16:40] scan: chap 1 c=0->0, b=0->47873 (47874), 123200 ms
[17:16:40] scan: chap 2 c=1->1, b=47874->176214 (128341), 387200 ms
[17:16:40] scan: chap 3 c=2->2, b=176215->449620 (273406), 876400 ms
[17:16:40] scan: chap 4 c=3->3, b=449621->546223 (96603), 310400 ms
[17:16:40] scan: chap 5 c=4->4, b=546224->774741 (228518), 778400 ms
[17:16:40] scan: chap 6 c=5->5, b=774742->968763 (194022), 567600 ms
[17:16:40] scan: chap 7 c=6->6, b=968764->1164270 (195507), 578800 ms
[17:16:40] scan: chap 8 c=7->7, b=1164271->1292567 (128297), 433600 ms
[17:16:40] scan: chap 9 c=8->8, b=1292568->1322504 (29937), 90000 ms
[17:16:40] scan: chap 10 c=9->9, b=1322505->1514536 (192032), 584000 ms
[17:16:40] scan: chap 11 c=10->10, b=1514537->1680075 (165539), 537200 ms
[17:16:40] scan: chap 12 c=11->11, b=1680076->1825908 (145833), 458400 ms
[17:16:40] scan: chap 13 c=12->12, b=1825909->2125859 (299951), 843200 ms
[17:16:40] scan: chap 14 c=13->13, b=2125860->2155565 (29706), 96400 ms
[17:16:40] scan: aspect = 4:3
[17:16:40] scan: decoding previews for title 9
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
[17:16:40] scan: title angle(s) 1
[ac3 @ 0x7f479404e320] frame sync error
[17:16:40] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=160000 English (AC3) (2.0 ch)
[17:16:40] scan: 10 previews, 720x576, 25,000 fps, autocrop = 82/80/20/8, aspect 4:3, PAR 16:15
[17:16:41] libhb: scan thread found 1 valid title(s)
[17:16:41] Skipping subtitle scan.  No suitable subtitle tracks.
[17:16:41] starting job
[17:16:41] decomb filter thread started for segment 0
[17:16:41] decomb filter thread started for segment 2
[17:16:41] decomb filter thread started for segment 1
[17:16:41] decomb filter thread started for segment 4
[17:16:41] decomb filter thread started for segment 6
[17:16:41] decomb filter thread started for segment 5
[17:16:41] decomb filter thread started for segment 3
[17:16:41] decomb filter thread started for segment 10
[17:16:41] decomb filter thread started for segment 8
[17:16:41] decomb filter thread started for segment 9
[17:16:41] decomb check thread started for segment 1
[17:16:41] decomb filter thread started for segment 11
[17:16:41] decomb check thread started for segment 0
[17:16:41] decomb filter thread started for segment 7
[17:16:41] decomb check thread started for segment 7
[17:16:41] decomb check thread started for segment 3
[17:16:41] decomb check thread started for segment 4
[17:16:41] decomb check thread started for segment 5
[17:16:41] decomb check thread started for segment 6
[17:16:41] decomb check thread started for segment 2
[17:16:41] mask filter thread started for segment 2
[17:16:41] mask filter thread started for segment 3
[17:16:41] mask filter thread started for segment 5
[17:16:41] decomb check thread started for segment 11
[17:16:41] mask filter thread started for segment 0
[17:16:41] mask filter thread started for segment 1
[17:16:41] decomb check thread started for segment 8
[17:16:41] decomb check thread started for segment 9
[17:16:41] decomb check thread started for segment 10
[17:16:41] mask filter thread started for segment 4
[17:16:41] mask filter thread started for segment 6
[17:16:41] mask erode thread started for segment 3
[17:16:41] mask filter thread started for segment 8
[17:16:41] mask filter thread started for segment 9
[17:16:41] mask filter thread started for segment 10
[17:16:41] mask filter thread started for segment 11
[17:16:41] mask erode thread started for segment 1
[17:16:41] mask filter thread started for segment 7
[17:16:41] mask erode thread started for segment 2
[17:16:41] mask erode thread started for segment 0
[17:16:41] mask erode thread started for segment 4
[17:16:41] mask dilate thread started for segment 0
[17:16:41] mask dilate thread started for segment 3
[17:16:41] mask erode thread started for segment 7
[17:16:41] mask erode thread started for segment 8
[17:16:41] mask erode thread started for segment 9
[17:16:41] mask erode thread started for segment 10
[17:16:41] mask erode thread started for segment 11
[17:16:41] mask erode thread started for segment 5
[17:16:41] mask dilate thread started for segment 1
[17:16:41] yadif thread started for segment 0
[17:16:41] yadif thread started for segment 1
[17:16:41] yadif thread started for segment 2
[17:16:41] mask dilate thread started for segment 5
[17:16:41] mask dilate thread started for segment 7
[17:16:41] mask dilate thread started for segment 8
[17:16:41] mask dilate thread started for segment 10
[17:16:41] yadif thread started for segment 10
[17:16:41] yadif thread started for segment 11
[17:16:41] mask erode thread started for segment 6
[17:16:41] mask dilate thread started for segment 2
[17:16:41] mask dilate thread started for segment 4
[17:16:41] yadif thread started for segment 3
[17:16:41] yadif thread started for segment 5
[17:16:41] yadif thread started for segment 4
[17:16:41] yadif thread started for segment 7
[17:16:41] yadif thread started for segment 8
[17:16:41] yadif thread started for segment 6
[17:16:41] yadif thread started for segment 9
[17:16:41] mask dilate thread started for segment 9
[17:16:41] mask dilate thread started for segment 11
[17:16:41] job configuration:
[17:16:41]  * source
[17:16:41]    + /dev/sr0
[17:16:41]    + title 9, chapter(s) 1 to 14
[17:16:41]  * destination
[17:16:41]    + /home/sverre/Videoklipp/Evenod.mkv
[17:16:41]    + container: Matroska (libavformat)
[17:16:41]      + chapter markers
[17:16:41]  * video track
[17:16:41]    + decoder: mpeg2video
[17:16:41]      + bitrate 200 kbps
[17:16:41]    + filters
[17:16:41]      + 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)
[17:16:41]      + Decomb (mode=39)
[17:16:41]      + Framerate Shaper (mode=2:rate=27000000/1080000)
[17:16:41]        + frame rate: 25,000 fps -> peak rate limited to 25,000 fps
[17:16:41]      + Crop and Scale (width=692:height=414:crop-top=82:crop-bottom=80:crop-left=20:crop-right=8)
[17:16:41]        + source: 720 * 576, crop (82/80/20/8): 692 * 414, scale: 692 * 414
[17:16:41]    + Output geometry
[17:16:41]      + storage dimensions: 692 x 414
[17:16:41]      + pixel aspect ratio: 16 : 15
[17:16:41]      + display dimensions: 738 x 414
[17:16:41]    + encoder: H.265 (libx265)
[17:16:41]      + preset:  slow
[17:16:41]      + options: strong-intra-smoothing=0:rect=0
[17:16:41]      + profile: main
[17:16:41]      + quality: 12,00 (RF)
[17:16:41]  * audio track 1
[17:16:41]    + decoder: English (AC3) (2.0 ch) (track 1, id 0x80bd)
[17:16:41]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:16:41]    + mixdown: Stereo
[17:16:41]    + dither: triangular
[17:16:41]    + encoder: AAC (libfdk_aac)
[17:16:41]      + bitrate: 160 kbps, samplerate: 48000 Hz
[17:16:41] mask dilate thread started for segment 6
[17:16:41] dvd: Region mask 0xfd
libdvdnav: Using dvdnav version 5.0.3
libdvdnav: DVD Title: EVENOD_DK_NO
libdvdnav: DVD Serial Number: 420A382C___MVB__
libdvdnav: DVD Title (Alternative): 
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

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 0x00000143
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001bb
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000dea2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0000e144
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0000e191
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0000e51a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0000e567
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x0000f2e4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0000f331
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0000f7d6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0000f823
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x000100f9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00010146
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00010a1c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00010a69
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x0001136a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x000113b7
libdvdread: Elapsed time 0
libdvdread: Found 8 VTS's
libdvdread: Elapsed time 0
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
[17:16:41] sync: expecting 166620 video frames
x265 [info]: HEVC encoder version 2.7
x265 [info]: build info [Linux][GCC 4.8.5][64 bit][noasm] 8bit
x265 [info]: using cpu capabilities: none!
x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(7 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
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         : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5,00
x265 [info]: Lookahead / bframes / badapt        : 25 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 4 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1,0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-12,0 / 0,60
x265 [info]: tools: limit-modes rd=4 psy-rd=2,00 rdoq=2 psy-rdoq=1,00 rskip
x265 [info]: tools: signhide tmvp deblock sao
[17:16:41] sync: first pts video is 0
[17:16:41] sync: "Chapter 1" (1) at frame 1 time 0
[17:16:41] sync: first pts audio 0x80bd is 0
[17:29:54] sync: "Chapter 2" (2) at frame 3081 time 11088000

User avatar
BradleyS
Moderator
Posts: 1294
Joined: Thu Aug 09, 2007 12:16 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by BradleyS » Sun May 27, 2018 4:06 pm

Sounds about right. When you lowered the rate factor you asked for better quality which takes even more time to encode for an already slow encoder relative to x264. Note also that HandBrake does not use your GPU, so that’s mostly irrelevant.

You may also wish to update to HandBrake 1.1.0.

Woodstock
Veteran User
Posts: 2592
Joined: Tue Aug 27, 2013 6:39 am

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by Woodstock » Sun May 27, 2018 4:32 pm

MakeMKV is a ripper, handbrake is an encoder. Ripping does not take that long.

In fact, a very good work flow is "rip with a ripper, encode with an encoder", because the ripper can be ripping other disks much sooner than waiting for an encode. Ripping needs you there to change disks; encoding can continue on its own for days at a time, without your intervention, if you chose slow options.

Using RF=12, you're asking for better quality than you pulled off the DVD, in my experience.

Navvie
Posts: 46
Joined: Sun Mar 27, 2011 10:19 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by Navvie » Sun May 27, 2018 4:59 pm

RF=12 is telling X265 to preserve quality that I doubt even exists in a DVD source.

The more quality you preserve, the slower the encode. Set it back to 20 and encode one chapter. Then compare the two by playing them, not by looking at free frames.

DJViking
Posts: 8
Joined: Sun May 27, 2018 3:31 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by DJViking » Sun May 27, 2018 10:10 pm

HandBrake 1.0.7 is the latest from the Packman repositories for OpenSUSE.

I will try with RF=20. All I wanted was to preserve the original DVD quality.

I think I will try Woodstock's suggestion. I could rip several DVDs fast, then set HandBrake to encode them all.

User avatar
BradleyS
Moderator
Posts: 1294
Joined: Thu Aug 09, 2007 12:16 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by BradleyS » Sun May 27, 2018 11:05 pm

openSUSE Packman builds are known broken and on our black list. Sadly, we have no control over them. See https://handbrake.fr/docs/en/1.1.0/get- ... brake.html

You will be better off building from source in the long run.

For DVD, RF 16-20 is usually best.

DJViking
Posts: 8
Joined: Sun May 27, 2018 3:31 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by DJViking » Mon May 28, 2018 9:58 pm

Why is the Packman build broken?
This is the Packman RPM spec file that built the 1.0.7
https://pmbs.links2linux.de/package/vie ... c?expand=1

Sadly though there are no other repositories for OpenSUSE that has built HandBrake. Not sure why...
Could try to build it myself from the sources, if successful perhaps set up an OpenSUSE OBS for HandBrake.

Seems it is not easy to build HandBrake on OpenSUSE
https://forums.opensuse.org/showthread. ... =HandBrake

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

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by mduell » Tue May 29, 2018 12:39 am

DJViking wrote:
Mon May 28, 2018 9:58 pm
Why is the Packman build broken?
Ask them; HB doesn't produce or support their someone else's build.

Various parties produce broken builds for political reasons.

DJViking
Posts: 8
Joined: Sun May 27, 2018 3:31 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by DJViking » Tue May 29, 2018 3:23 pm

I set RF=16, With the Preset slider to medium. Avg 4FPS ETA 12 hours
With RF=16 and Preset to "faster", I got avg. 12FPS and ETA 4 hours.
With RF=16 and Preset to "superfast", I got avg. 20FPS and ETA 2.5 hours.

Preset: Adjusts encoder settings to trade off compression efficiency agains encoder speed.
Does this preset slider affect quality or is it just how much compression it does?

Preset superfast is using 800% CPU (12 cores), aprox 70% of all cores.

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

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by mduell » Tue May 29, 2018 3:52 pm

A bit of both.

DJViking
Posts: 8
Joined: Sun May 27, 2018 3:31 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by DJViking » Tue May 29, 2018 5:47 pm

I think I found my preferred settings:
RF=16
Profile: ultrafast
Disable Crop
Keep Aspect ratio
Avg. FPS 45
ETA 1h20m (+15min ripping with MakeMKV)
HEVC Matroska
Source: DVD9
Target: ~1GB

It is an very old DVD movie. Perhaps not much to get from lower RF or slower profile.
Now I can begin to clear some shelf space encoding my old DVDs to HDD.

Not as fast I wanted, but still decent.

Is anyone encoding DVDs with more or less equal quality faster than this? I have a fairly new high-end Ìntel CPU.
Last edited by DJViking on Tue May 29, 2018 8:52 pm, edited 2 times in total.

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

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by mduell » Tue May 29, 2018 8:00 pm

No filtering? Some people like to live dangerously; enjoy your combing.

User avatar
BradleyS
Moderator
Posts: 1294
Joined: Thu Aug 09, 2007 12:16 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by BradleyS » Tue May 29, 2018 8:40 pm

HEVC is slow. Your speeds look about right. At higher qualities like what you’re doing, x265 isn’t much better than x264, so you might want to use the latter for speed.

DJViking
Posts: 8
Joined: Sun May 27, 2018 3:31 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by DJViking » Tue May 29, 2018 8:52 pm

mduell wrote:
Tue May 29, 2018 8:00 pm
No filtering? Some people like to live dangerously; enjoy your combing.
What to you mean?

Navvie
Posts: 46
Joined: Sun Mar 27, 2011 10:19 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by Navvie » Tue May 29, 2018 9:04 pm

DJViking wrote:
Tue May 29, 2018 8:52 pm
mduell wrote:
Tue May 29, 2018 8:00 pm
No filtering? Some people like to live dangerously; enjoy your combing.
What to you mean?
I'm not sure either. From your truncated Activity Log it looks like decomb filter is active.

DJViking
Posts: 8
Joined: Sun May 27, 2018 3:31 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by DJViking » Tue May 29, 2018 9:26 pm

Navvie wrote:
Tue May 29, 2018 9:04 pm
DJViking wrote:
Tue May 29, 2018 8:52 pm
mduell wrote:
Tue May 29, 2018 8:00 pm
No filtering? Some people like to live dangerously; enjoy your combing.
What to you mean?
I'm not sure either. From your truncated Activity Log it looks like decomb filter is active.
I have not changed anything under Filters.
Deinterlace er set to Decomb.

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

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by mduell » Tue May 29, 2018 9:52 pm

Didn't list any filtering in his "preferred settings".

DJViking
Posts: 8
Joined: Sun May 27, 2018 3:31 pm

Re: Too high ETA for a DVD source on HEVC Matroska encode

Post by DJViking » Tue May 29, 2018 10:19 pm

I think I have changed my stance regarding crop. It looks a little better after the encode from 4:3 source, but I kept aspect ratio.

Post Reply