Zoot skipped a groove again, man.

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
Shibblet
Regular User
Posts: 54
Joined: Sun Sep 06, 2009 12:17 am

Zoot skipped a groove again, man.

Post by Shibblet »

Description of problem or question:
I dual boot my computer. Sometimes I use Windows 10, and sometimes I use Linux (Kubuntu 20.04.1). I have Handbrake 1.3.3 installed on each OS.
I have recently been using the Windows version, just because I have a few games that only work in Windows (Not Proton). Regardless...

I have noticed a problem with Windows 10. My Handbrake encodes come out with "glitched" frames. They only pop up a few times throughout a movie... Probably 4 or 5 in a 1:30 minute movie. But the intervals are random. It will be playing just fine, then one frame will be messed up, and it takes a second or so (about 24 frames) to come back to normal.

Is there something running in Windows 10 that could cause Handbrake to behave this way? What can I do to find what is causing this? It feels kinda like the encoder skipped a groove... if that makes any sense.

Steps to reproduce the problem (If Applicable):
I thought at first it could be the player. I played the same section over, and it did the same thing. So, I tried it in a different video player, and it still reproduced the error in the same place. So it was definitely encoded into the video.

I tried running it through Handbrake again, and it did the same type of errors, but it did it in different places. So, something tells me that this isn't Handbrake's problem, it's something in the OS causing the encoder to have these little errors.

Anyway, I rebooted into Linux, and ran the encode there... No such issue.

HandBrake version (e.g., 1.0.0):
1.3.3

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Windows 10 2004 and Kubuntu 20.04.1
mduell
Veteran User
Posts: 7258
Joined: Sat Apr 21, 2007 8:54 pm

Re: Zoot skipped a groove again, man.

Post by mduell »

And you posted without the encode log because? It's a secret?
Shibblet
Regular User
Posts: 54
Joined: Sun Sep 06, 2009 12:17 am

Re: Zoot skipped a groove again, man.

Post by Shibblet »

mduell wrote: Tue Oct 20, 2020 9:39 pm And you posted without the encode log because? It's a secret?
No. Because the encode log doesn't show any difference between Windows and Linux for these cases.
Shibblet
Regular User
Posts: 54
Joined: Sun Sep 06, 2009 12:17 am

Re: Zoot skipped a groove again, man.

Post by Shibblet »

Here is the Linux log file.

Code: Select all

Handbrake Version: 1.3.3 (2020061500)
[06:50:08] gtkgui: Modified Custom Preset: /General/Nick's MKV
[06:50:08] Starting work at: Tue Oct 20 06:50:08 2020

[06:50:08] 1 job(s) to process
[06:50:08] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 0,
                "DRC": 0.0,
                "Encoder": "copy:dts",
                "Mixdown": "none",
                "Name": "Surround 5.1",
                "PresetEncoder": "copy",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:ac3",
            "copy:dts"
        ],
        "FallbackEncoder": "none"
    },
    "Destination": {
        "AlignAVStart": false,
        "ChapterList": [
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 7,
                    "Ticks": 27586308
                },
                "Name": "Chapter 1"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 52,
                    "Ticks": 31704173
                },
                "Name": "Chapter 2"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 52,
                    "Ticks": 4673419
                },
                "Name": "Chapter 3"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 4,
                    "Seconds": 56,
                    "Ticks": 26647871
                },
                "Name": "Chapter 4"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 20,
                    "Ticks": 28802524
                },
                "Name": "Chapter 5"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 31,
                    "Ticks": 29804774
                },
                "Name": "Chapter 6"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 42,
                    "Ticks": 36189904
                },
                "Name": "Chapter 7"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 1,
                    "Seconds": 44,
                    "Ticks": 9395636
                },
                "Name": "Chapter 8"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 6,
                    "Seconds": 8,
                    "Ticks": 33119337
                },
                "Name": "Chapter 9"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 31,
                    "Ticks": 29827297
                },
                "Name": "Chapter 10"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 43,
                    "Ticks": 14635872
                },
                "Name": "Chapter 11"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 34,
                    "Ticks": 13840076
                },
                "Name": "Chapter 12"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 3,
                    "Seconds": 51,
                    "Ticks": 20761991
                },
                "Name": "Chapter 13"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 5,
                    "Ticks": 11219959
                },
                "Name": "Chapter 14"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 44,
                    "Ticks": 14789775
                },
                "Name": "Chapter 15"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 2,
                    "Seconds": 47,
                    "Ticks": 15018754
                },
                "Name": "Chapter 16"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 8,
                    "Seconds": 56,
                    "Ticks": 48246948
                },
                "Name": "Chapter 17"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 7,
                    "Seconds": 17,
                    "Ticks": 39305516
                },
                "Name": "Chapter 18"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 5,
                    "Seconds": 9,
                    "Ticks": 27792765
                },
                "Name": "Chapter 19"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 53,
                    "Ticks": 4744741
                },
                "Name": "Chapter 20"
            },
            {
                "Duration": {
                    "Hours": 0,
                    "Minutes": 0,
                    "Seconds": 1,
                    "Ticks": 90090
                },
                "Name": "Chapter 21"
            }
        ],
        "ChapterMarkers": true,
        "File": "/mnt/Stuff/Encoded/Firefly - S01E01 - Serenity.mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 0
                }
            },
            {
                "ID": 12,
                "Settings": {
                    "crop-bottom": 4,
                    "crop-left": 4,
                    "crop-right": 4,
                    "crop-top": 4,
                    "height": 1072,
                    "width": 1912
                }
            }
        ]
    },
    "Metadata": {
        "Name": "Firefly - S01E01 - Serenity"
    },
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/mnt/Stuff/Rips/Firefly/Firefly - S01E01 - Serenity.mkv",
        "Range": {
            "End": 21,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorFormat": 0,
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorRange": 0,
        "ColorTransfer": 1,
        "Encoder": "x264",
        "Level": "4.0",
        "Options": "",
        "Preset": "veryslow",
        "Profile": "high",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 24.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[06:50:08] CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
[06:50:08]  - Intel microarchitecture Ivy Bridge
[06:50:08]  - logical processor count: 8
[06:50:08] Intel Quick Sync Video support: no
[06:50:08] hb_scan: path=/mnt/Stuff/Rips/Firefly/Firefly - S01E01 - Serenity.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /mnt/Stuff/Rips/Firefly/Firefly - S01E01 - Serenity.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/mnt/Stuff/Rips/Firefly/Firefly - S01E01 - Serenity.mkv/) failed
[06:50:08] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[06:50:08] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/mnt/Stuff/Rips/Firefly/Firefly - S01E01 - Serenity.mkv':
  Metadata:
    title           : FIREFLY: DISC 1
    encoder         : libmakemkv v1.14.7 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2020-01-23T05:05:28.000000Z
  Duration: 01:26:42.20, start: 0.000000, bitrate: 23028 kb/s
    Chapter #0:0: start 0.000000, end 306.514542
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 306.514542, end 658.783125
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 658.783125, end 710.710000
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 710.710000, end 1006.797458
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1006.797458, end 1326.825500
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1326.825500, end 1657.989667
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1657.989667, end 2060.099708
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 2060.099708, end 2164.495667
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2164.495667, end 2532.488292
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2532.488292, end 2863.902708
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2863.902708, end 3026.523500
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 3026.523500, end 3180.302125
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3180.302125, end 3410.990917
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 3410.990917, end 3535.657125
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 3535.657125, end 3699.987958
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 3699.987958, end 3866.863000
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 3866.863000, end 4402.940208
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 4402.940208, end 4839.668167
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 4839.668167, end 5148.476667
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 5148.476667, end 5201.196000
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 5201.196000, end 5202.197000
    Metadata:
      title           : Chapter 21
    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         : 21451704
      DURATION-eng    : 01:26:42.197000000
      NUMBER_OF_FRAMES-eng: 124728
      NUMBER_OF_BYTES-eng: 13949499318
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 05:05:28
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 01:26:42.208000000
      NUMBER_OF_FRAMES-eng: 487707
      NUMBER_OF_BYTES-eng: 981266484
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 05:05:28
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 (default)
    Metadata:
      BPS-eng         : 65147
      DURATION-eng    : 01:26:35.544520833
      NUMBER_OF_FRAMES-eng: 2329
      NUMBER_OF_BYTES-eng: 42309522
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 05:05:28
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[06:50:08] scan: decoding previews for title 1
[06:50:08] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[06:50:08] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[06:50:08] scan: supported video decoders: avcodec qsv
[06:50:08] libhb: scan thread found 1 valid title(s)
[06:50:08] Starting Task: Encoding Pass
[06:50:08] Skipping vfr filter
[06:50:09] job configuration:
[06:50:09]  * source
[06:50:09]    + /mnt/Stuff/Rips/Firefly/Firefly - S01E01 - Serenity.mkv
[06:50:09]    + title 1, chapter(s) 1 to 21
[06:50:09]    + container: matroska,webm
[06:50:09]    + data rate: 23028 kbps
[06:50:09]  * destination
[06:50:09]    + /mnt/Stuff/Encoded/Firefly - S01E01 - Serenity.mkv
[06:50:09]    + container: Matroska (libavformat)
[06:50:09]      + chapter markers
[06:50:09]  * video track
[06:50:09]    + decoder: h264
[06:50:09]    + filters
[06:50:09]      + Crop and Scale (width=1912:height=1072:crop-top=4:crop-bottom=4:crop-left=4:crop-right=4)
[06:50:09]        + source: 1920 * 1080, crop (4/4/4/4): 1912 * 1072, scale: 1912 * 1072
[06:50:09]    + Output geometry
[06:50:09]      + storage dimensions: 1912 x 1072
[06:50:09]      + pixel aspect ratio: 1 : 1
[06:50:09]      + display dimensions: 1912 x 1072
[06:50:09]    + encoder: H.264 (libx264)
[06:50:09]      + preset:  veryslow
[06:50:09]      + profile: high
[06:50:09]      + level:   4.0
[06:50:09]      + quality: 24.00 (RF)
[06:50:09]      + color profile: 1-1-1
[06:50:09]  * audio track 1
[06:50:09]    + name: Surround 5.1
[06:50:09]    + decoder: English (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x1)
[06:50:09]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[06:50:09]    + DTS Passthru
[06:50:09] sync: expecting 124728 video frames
[06:50:09] encx264: min-keyint: 24, keyint: 240
[06:50:09] encx264: encoding at constant RF 24.000000
[06:50:09] encx264: unparsed options: level=4.0:ref=4:bframes=8:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0
[06:50:09] sync: first pts video is 0
[06:50:09] sync: "Chapter 1" (1) at frame 1 time 0
[06:50:09] sync: first pts audio 0x1 is 0
[06:50:11] CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
[06:50:11]  - Intel microarchitecture Ivy Bridge
[06:50:11]  - logical processor count: 8
[06:50:11] Intel Quick Sync Video support: no
[06:50:11] hb_scan: path=/mnt/Stuff/Rips/Firefly/Firefly - S01E02 - The Train Job.mkv, title_index=0
udfread ERROR: ECMA 167 Volume Recognition failed
disc.c:323: failed opening UDF image /mnt/Stuff/Rips/Firefly/Firefly - S01E02 - The Train Job.mkv
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list(/mnt/Stuff/Rips/Firefly/Firefly - S01E02 - The Train Job.mkv/) failed
[06:50:11] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[06:50:11] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from '/mnt/Stuff/Rips/Firefly/Firefly - S01E02 - The Train Job.mkv':
  Metadata:
    title           : FIREFLY: DISC 1
    encoder         : libmakemkv v1.14.7 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2020-01-23T04:59:14.000000Z
  Duration: 00:42:43.56, start: 0.000000, bitrate: 20922 kb/s
    Chapter #0:0: start 0.000000, end 354.729375
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 354.729375, end 406.823083
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 406.823083, end 737.820417
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 737.820417, end 1054.553500
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1054.553500, end 1208.207000
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1208.207000, end 1558.056500
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1558.056500, end 1693.483458
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1693.483458, end 1915.705458
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 1915.705458, end 2173.588083
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2173.588083, end 2376.040333
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2376.040333, end 2521.268750
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2521.268750, end 2562.226333
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 2562.226333, end 2563.561000
    Metadata:
      title           : Chapter 13
    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         : 19343013
      DURATION-eng    : 00:42:43.561000000
      NUMBER_OF_FRAMES-eng: 61464
      NUMBER_OF_BYTES-eng: 6198374389
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 04:59:14
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 00:42:43.573333333
      NUMBER_OF_FRAMES-eng: 240335
      NUMBER_OF_BYTES-eng: 483554020
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 04:59:14
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080 (default)
    Metadata:
      BPS-eng         : 67994
      DURATION-eng    : 00:42:36.991937500
      NUMBER_OF_FRAMES-eng: 1224
      NUMBER_OF_BYTES-eng: 21732603
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 04:59:14
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[06:50:11] scan: decoding previews for title 1
[06:50:11] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[06:50:13] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/0/2, aspect 16:9, PAR 1:1
[06:50:13] scan: supported video decoders: avcodec qsv
[06:50:13] libhb: scan thread found 1 valid title(s)
[07:03:33] sync: "Chapter 2" (2) at frame 7350 time 27586308
[07:15:59] sync: "Chapter 3" (3) at frame 15799 time 59301742
[07:17:45] sync: "Chapter 4" (4) at frame 17041 time 63963900
[07:27:58] sync: "Chapter 5" (5) at frame 24143 time 90623032
[07:41:51] sync: "Chapter 6" (6) at frame 31813 time 119414295
[07:57:28] sync: "Chapter 7" (7) at frame 39753 time 149219070
[08:13:59] sync: "Chapter 8" (8) at frame 49394 time 185408973
[08:17:58] sync: "Chapter 9" (9) at frame 51897 time 194804610
[08:32:41] sync: "Chapter 10" (10) at frame 60723 time 227935207
[08:44:36] sync: "Chapter 11" (11) at frame 68666 time 257751243
[08:50:12] sync: "Chapter 12" (12) at frame 72565 time 272387115
[08:55:40] sync: "Chapter 13" (13) at frame 76255 time 286238452
[09:03:10] sync: "Chapter 14" (14) at frame 81783 time 306989182
[09:07:38] sync: "Chapter 15" (15) at frame 84775 time 318220402
[09:13:04] sync: "Chapter 16" (16) at frame 88712 time 332998916
[09:19:11] sync: "Chapter 17" (17) at frame 92713 time 348017670
[09:41:51] sync: "Chapter 18" (18) at frame 105569 time 396275880
[09:58:06] sync: "Chapter 19" (19) at frame 116040 time 435581396
[10:08:31] sync: "Chapter 20" (20) at frame 123441 time 463362900
[10:09:00] reader: done. 1 scr changes
[10:09:01] sync: "Chapter 21" (21) at frame 124705 time 468107640
[10:09:05] work: average encoding speed for job is 10.448910 fps
[10:09:05] dca-decoder done: 487707 frames, 0 decoder errors
[10:09:05] h264-decoder done: 124728 frames, 0 decoder errors
[10:09:05] sync: got 124728 frames, 124728 expected
[10:09:05] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:813   Avg QP:22.18  size:105360
x264 [info]: frame P:23737 Avg QP:25.95  size: 30189
x264 [info]: frame B:100178 Avg QP:27.72  size: 10859
x264 [info]: consecutive B-frames:  1.3%  1.2%  5.6%  6.9%  8.1% 70.0%  3.5%  1.4%  2.1%
x264 [info]: mb I  I16..4: 16.5% 77.1%  6.5%
x264 [info]: mb P  I16..4:  5.3% 11.1%  0.5%  P16..4: 45.5%  5.8%  7.7%  0.0%  0.0%    skip:24.2%
x264 [info]: mb B  I16..4:  0.2%  0.6%  0.0%  B16..8: 44.3%  2.4%  0.3%  direct: 2.2%  skip:49.9%  L0:48.7% L1:50.3% BI: 1.0%
x264 [info]: 8x8 transform intra:68.3% inter:74.3%
x264 [info]: direct mvs  spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 62.2% 46.7% 10.0% inter: 9.8% 8.2% 0.1%
x264 [info]: i16 v,h,dc,p: 20% 20% 15% 46%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  5%  4%  6% 13% 19% 16% 16% 11% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  7%  6%  3% 11% 17% 16% 16% 11% 13%
x264 [info]: i8c dc,h,v,p: 35% 29% 17% 18%
x264 [info]: Weighted P-Frames: Y:3.4% UV:2.3%
x264 [info]: ref P L0: 54.2% 11.4% 24.8%  9.2%  0.4%  0.0%
x264 [info]: ref B L0: 85.5% 12.0%  2.4%
x264 [info]: ref B L1: 93.1%  6.9%
x264 [info]: kb/s:2906.58
[10:09:05] mux: track 0, 124728 frames, 1890043761 bytes, 2906.49 kbps, fifo 2048
[10:09:05] mux: track 1, 487707 frames, 981266484 bytes, 1508.98 kbps, fifo 8192
[10:09:05] Finished work at: Tue Oct 20 10:09:05 2020

[10:09:05] libhb: work result = 0
Shibblet
Regular User
Posts: 54
Joined: Sun Sep 06, 2009 12:17 am

Re: Zoot skipped a groove again, man.

Post by Shibblet »

And here is the Windows 10 log file.

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Ram: 16258 MB, 
GPU Information:
  Intel(R) HD Graphics 4000 - 10.18.10.4252
  NVIDIA GeForce GTX 780 Ti - 26.21.14.3200
Screen: 1920x1080
Temp Dir: C:\Users\shibb\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\shibb\AppData\Roaming\HandBrake

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


# Starting Encode ...

[12:02:33] base preset: Nick's MKV
[00:02:33] hb_init: starting libhb thread
[00:02:33] Starting work at: Tue Oct 20 00:02:33 2020
[00:02:33] 1 job(s) to process
[00:02:33] json job:
{
  "Audio": {
    "AudioList": [
      {
        "DRC": 0.0,
        "Encoder": "copy:dts",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "Surround 5.1",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:ac3",
      "copy:dts"
    ],
    "FallbackEncoder": "ac3"
  },
  "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"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "E:\\Encoded\\Firefly - S01E05 - Safe.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_mkv"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "4",
          "crop-left": "4",
          "crop-right": "4",
          "crop-top": "4",
          "height": "1072",
          "width": "1912"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 13
    },
    "Title": 1,
    "Path": "E:\\Rips\\Firefly\\Firefly - S01E05 - Safe.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryslow",
    "Profile": "high",
    "Quality": 24.0,
    "QSV": {
      "Decode": true,
      "AsyncDepth": 0
    }
  }
}
[00:02:33] CPU: Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
[00:02:33]  - Intel microarchitecture Ivy Bridge
[00:02:33]  - logical processor count: 8
[00:02:33] Intel Quick Sync Video support: yes
[00:02:33]  - Intel Media SDK hardware: API 1.11 (minimum: 1.3)
[00:02:33]  - H.264 encoder: yes
[00:02:33]     - preferred implementation: hardware (any) via D3D11
[00:02:33]     - capabilities (hardware):  vsinfo opt1 opt2+extbrc+ib_adapt+nmpslice
[00:02:33]  - H.265 encoder: no
[00:02:33] hb_scan: path=E:\Rips\Firefly\Firefly - S01E05 - Safe.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image E:\Rips\Firefly\Firefly - S01E05 - Safe.mkv
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(E:\Rips\Firefly\Firefly - S01E05 - Safe.mkv\) failed
[00:02:33] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[00:02:33] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'E:\Rips\Firefly\Firefly - S01E05 - Safe.mkv':
  Metadata:
    title           : FIREFLY: DISC 2
    encoder         : libmakemkv v1.14.7 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2020-01-23T05:58:11.000000Z
  Duration: 00:42:45.56, start: 0.000000, bitrate: 21228 kb/s
    Chapter #0:0: start 0.000000, end 267.100167
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 267.100167, end 319.360708
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 319.360708, end 449.198750
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 449.198750, end 778.486042
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 778.486042, end 1057.014292
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1057.014292, end 1276.441833
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1276.441833, end 1509.257750
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1509.257750, end 1668.458458
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 1668.458458, end 2033.156125
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2033.156125, end 2248.162583
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2248.162583, end 2527.983792
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 2527.983792, end 2564.562000
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 2564.562000, end 2565.563000
    Metadata:
      title           : Chapter 13
    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         : 19649238
      DURATION-eng    : 00:42:45.563000000
      NUMBER_OF_FRAMES-eng: 61512
      NUMBER_OF_BYTES-eng: 6301419993
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 05:58:11
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 1509000
      DURATION-eng    : 00:42:45.578666666
      NUMBER_OF_FRAMES-eng: 240523
      NUMBER_OF_BYTES-eng: 483932276
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 05:58:11
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default)
    Metadata:
      BPS-eng         : 68458
      DURATION-eng    : 00:42:21.267895833
      NUMBER_OF_FRAMES-eng: 1176
      NUMBER_OF_BYTES-eng: 21746405
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.7 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-01-23 05:58:11
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[00:02:33] scan: decoding previews for title 1
[00:02:33] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch) (1536 kbps)
[00:02:34] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/2/0, aspect 16:9, PAR 1:1
[00:02:34] scan: supported video decoders: avcodec qsv
[00:02:34] libhb: scan thread found 1 valid title(s)
[00:02:34] Starting Task: Encoding Pass
[00:02:34] Skipping vfr filter
[00:02:34] job configuration:
[00:02:34]  * source
[00:02:34]    + E:\Rips\Firefly\Firefly - S01E05 - Safe.mkv
[00:02:34]    + title 1, chapter(s) 1 to 13
[00:02:34]    + container: matroska,webm
[00:02:34]    + data rate: 21228 kbps
[00:02:34]  * destination
[00:02:34]    + E:\Encoded\Firefly - S01E05 - Safe.mkv
[00:02:34]    + container: Matroska (libavformat)
[00:02:34]      + chapter markers
[00:02:34]  * video track
[00:02:34]    + decoder: h264_qsv
[00:02:34]    + filters
[00:02:34]      + Crop and Scale (width=1912:height=1072:crop-top=4:crop-bottom=4:crop-left=4:crop-right=4)
[00:02:34]        + source: 1920 * 1080, crop (4/4/4/4): 1912 * 1072, scale: 1912 * 1072
[00:02:34]    + Output geometry
[00:02:34]      + storage dimensions: 1912 x 1072
[00:02:34]      + pixel aspect ratio: 1 : 1
[00:02:34]      + display dimensions: 1912 x 1072
[00:02:34]    + encoder: H.264 (libx264)
[00:02:34]      + preset:  veryslow
[00:02:34]      + profile: high
[00:02:34]      + level:   4.0
[00:02:34]      + quality: 24.00 (RF)
[00:02:34]      + color profile: 1-1-1
[00:02:34]  * audio track 1
[00:02:34]    + name: Surround 5.1
[00:02:34]    + decoder: English (DTS) (5.1 ch) (1536 kbps) (track 1, id 0x1)
[00:02:34]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[00:02:34]    + DTS Passthru
[00:02:34] sync: expecting 61512 video frames
[00:02:34] encx264: min-keyint: 24, keyint: 240
[00:02:34] encx264: encoding at constant RF 24.000000
[00:02:34] encx264: unparsed options: level=4.0:ref=4:bframes=8:b-adapt=2:direct=auto:analyse=all:me=umh:merange=24:subme=10:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
[00:02:34] sync: first pts video is 0
[00:02:34] sync: "Chapter 1" (1) at frame 1 time 0
[00:02:34] sync: first pts audio 0x1 is 0
[00:14:57] sync: "Chapter 2" (2) at frame 6408 time 24050276
[00:16:42] sync: "Chapter 3" (3) at frame 7658 time 28742463
[00:23:10] sync: "Chapter 4" (4) at frame 10771 time 40427887
[00:36:20] sync: "Chapter 5" (5) at frame 18669 time 70075005
[00:50:12] sync: "Chapter 6" (6) at frame 25347 time 95142547
[01:00:15] sync: "Chapter 7" (7) at frame 30605 time 114879765
[01:10:54] sync: "Chapter 8" (8) at frame 36187 time 135833197
[01:17:14] sync: "Chapter 9" (9) at frame 40007 time 150172522
[01:39:48] sync: "Chapter 10" (10) at frame 48751 time 182995312
[01:48:48] sync: "Chapter 11" (11) at frame 53903 time 202334632
[02:03:59] sync: "Chapter 12" (12) at frame 60612 time 227518541
[02:04:16] reader: done. 1 scr changes
[02:04:17] sync: "Chapter 13" (13) at frame 61489 time 230810580
[02:04:22] work: average encoding speed for job is 8.417101 fps
[02:04:22] dca-decoder done: 240523 frames, 0 decoder errors
[02:04:22] h264_qsv-decoder done: 61512 frames, 0 decoder errors
[02:04:22] sync: got 61512 frames, 61512 expected
[02:04:22] sync: framerate min 23.976 fps, max 23.976 fps, avg 23.976 fps
x264 [info]: frame I:430   Avg QP:22.55  size:123411
x264 [info]: frame P:11639 Avg QP:26.31  size: 39529
x264 [info]: frame B:49443 Avg QP:27.84  size: 18370
x264 [info]: consecutive B-frames:  1.2%  1.1%  6.4%  7.1%  8.3% 66.9%  4.8%  1.9%  2.4%
x264 [info]: mb I  I16..4: 11.3% 82.2%  6.6%
x264 [info]: mb P  I16..4:  4.5% 12.7%  0.5%  P16..4: 52.2%  7.9%  8.0%  0.0%  0.0%    skip:14.1%
x264 [info]: mb B  I16..4:  0.3%  1.2%  0.0%  B16..8: 50.3%  3.6%  0.4%  direct: 4.5%  skip:39.6%  L0:49.5% L1:49.5% BI: 1.0%
x264 [info]: 8x8 transform intra:75.1% inter:69.5%
x264 [info]: direct mvs  spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 74.0% 52.4% 14.2% inter: 18.7% 15.3% 0.2%
x264 [info]: i16 v,h,dc,p: 19% 19% 17% 44%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  4%  4%  2% 13% 21% 16% 17% 11% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  6%  5%  2% 11% 17% 16% 17% 12% 14%
x264 [info]: i8c dc,h,v,p: 35% 28% 18% 20%
x264 [info]: Weighted P-Frames: Y:5.5% UV:4.3%
x264 [info]: ref P L0: 52.6% 12.1% 24.8%  9.9%  0.6%  0.0%
x264 [info]: ref B L0: 83.8% 13.4%  2.8%
x264 [info]: ref B L1: 92.2%  7.8%
x264 [info]: kb/s:4432.22
[02:04:22] mux: track 0, 61512 frames, 1421373843 bytes, 4432.02 kbps, fifo 2048
[02:04:22] mux: track 1, 240523 frames, 483932276 bytes, 1508.96 kbps, fifo 8192
[02:04:23] Finished work at: Tue Oct 20 02:04:23 2020
[02:04:23] libhb: work result = 0

# Encode Completed ...

# Performing 'When Done' Action: 1
User avatar
Rodeo
HandBrake Team
Posts: 12619
Joined: Tue Mar 03, 2009 8:55 pm

Re: Zoot skipped a groove again, man.

Post by Rodeo »

Oh, a difference! :D

Windows is using hardware-accelerated H.264 decoding via Intel QSV (there's a checkbox somewhere in settings to disable it).
rollin_eng
Veteran User
Posts: 3604
Joined: Wed May 04, 2011 11:06 pm

Re: Zoot skipped a groove again, man.

Post by rollin_eng »

Rodeo wrote: Wed Oct 21, 2020 10:02 am Oh, a difference! :D
Who’d a thunk it!
mduell
Veteran User
Posts: 7258
Joined: Sat Apr 21, 2007 8:54 pm

Re: Zoot skipped a groove again, man.

Post by mduell »

Shibblet wrote: Wed Oct 21, 2020 12:01 am
mduell wrote: Tue Oct 20, 2020 9:39 pm And you posted without the encode log because? It's a secret?
No. Because the encode log doesn't show any difference between Windows and Linux for these cases.
Shibblet wrote: Wed Oct 21, 2020 12:58 am Here is the Linux log file.

Code: Select all

[06:50:09]  * video track
[06:50:09]    + decoder: h264
Shibblet wrote: Wed Oct 21, 2020 1:02 am And here is the Windows 10 log file.

Code: Select all

[00:02:34]  * video track
[00:02:34]    + decoder: h264_qsv
Thanks for posting the logs so we could point out the difference in the encodes for you.

Try using the same decoder for your Windows encode, as the glitched frames may be a decode issue. You can enable/disable the hardware acceleration in the app preferences.
Shibblet
Regular User
Posts: 54
Joined: Sun Sep 06, 2009 12:17 am

Re: Zoot skipped a groove again, man.

Post by Shibblet »

mduell wrote: Wed Oct 21, 2020 3:45 pm Thanks for posting the logs so we could point out the difference in the encodes for you.

Try using the same decoder for your Windows encode, as the glitched frames may be a decode issue. You can enable/disable the hardware acceleration in the app preferences.
Interesting. This makes perfect sense. That the QSV decoder is screwing up the decoded frames before Handbrake encodes them. The QSV Decode option is not available in the Linux client. Thanks!

On a separate note. I have never had to disable this before in Windows, do you know if something changed?
mduell
Veteran User
Posts: 7258
Joined: Sat Apr 21, 2007 8:54 pm

Re: Zoot skipped a groove again, man.

Post by mduell »

It was implemented at some point, and defaulted on at some point, so yes depending on how far back you look, something changed.
Post Reply