Video and audio not synchronized

HandBrake for Windows support
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
Bains999
Posts: 14
Joined: Sat Dec 21, 2019 1:51 pm

Video and audio not synchronized

Post by Bains999 »

Description of problem or question:

.MKV file for movie – Hunter Killer. Size is about 6.0 GB. The .MKV file plays acceptably – sound and characters are synchronized as you would expect.

Ran through HandBrake with my ‘standard settings’ that worked with literally hundreds of other movies to make an .mp4 file.

At about 4 minutes into the playback of the .mp4 file the image freezes for about 1 minute but sound continues. After that the remainder of the movie is no longer synchronized between sound and images.

Same problem occurs with a movie called Anna




Steps to reproduce the problem (If Applicable):




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



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

SWindows 10 Professional 64 bit


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

Code: Select all

HandBrake 1.3.1 (2020010400)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Xeon(R) E-2146G CPU @ 3.50GHz
Ram: 32631 MB, 
GPU Information:
  NVIDIA GeForce GTX 750 Ti - 26.21.14.3200
Screen: 3840x2160
Temp Dir: C:\Users\Robert\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Robert\AppData\Roaming\HandBrake

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


# Starting Encode ...

[11:22:44] base preset: Bob Compromise
[11:22:44] hb_init: starting libhb thread
[11:22:44] Starting work at: Sun Aug 16 11:22:44 2020
[11:22:44] 1 job(s) to process
[11:22:44] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "Surround 5.1",
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "DRC": 0.0,
        "Encoder": "copy:ac3",
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "Surround 5.1",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "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"
      },
      {
        "Name": "Chapter 14"
      },
      {
        "Name": "Chapter 15"
      },
      {
        "Name": "Chapter 16"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "H:\\Intermediate Rip Area\\Hunter Killer (2018)\\Hunter Killer (2018).mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mp4"
  },
  "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": 12,
        "Settings": {
          "crop-bottom": "58",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "58",
          "height": "364",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 32,
    "Den": 27
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 1,
    "Path": "F:\\MakeMKV\\Hunter Killer (2018)\\Hunter Killer (2018).mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "slower",
    "Profile": "high",
    "Quality": 18.5,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[11:22:44] CPU: Intel(R) Xeon(R) E-2146G CPU @ 3.50GHz
[11:22:44]  - Intel microarchitecture Kaby Lake
[11:22:44]  - logical processor count: 12
[11:22:44] Intel Quick Sync Video support: no
[11:22:44] hb_scan: path=F:\MakeMKV\Hunter Killer (2018)\Hunter Killer (2018).mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image F:\MakeMKV\Hunter Killer (2018)\Hunter Killer (2018).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(F:\MakeMKV\Hunter Killer (2018)\Hunter Killer (2018).mkv\) failed
[11:22:44] 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
[11:22:44] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'F:\MakeMKV\Hunter Killer (2018)\Hunter Killer (2018).mkv':
  Metadata:
    encoder         : libmakemkv v1.15.1 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2020-07-08T20:01:55.000000Z
  Duration: 02:01:42.33, start: 0.000000, bitrate: 7137 kb/s
    Chapter #0:0: start 0.000000, end 263.479883
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 263.479883, end 896.395500
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 896.395500, end 1200.532667
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1200.532667, end 1699.364333
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1699.364333, end 2311.175533
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2311.175533, end 2789.119667
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 2789.119667, end 3255.752500
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3255.752500, end 3626.122500
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 3626.122500, end 4180.009167
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 4180.009167, end 4548.911033
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 4548.911033, end 5009.170833
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5009.170833, end 5417.745667
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5417.745667, end 5963.290667
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 5963.290667, end 6293.954333
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 6293.954333, end 6695.689000
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 6695.689000, end 7302.328367
    Metadata:
      title           : Chapter 16
    Stream #0:0(eng): Video: mpeg2video (Main), yuv420p(tv, progressive), 720x480 [SAR 32:27 DAR 16:9], SAR 186:157 DAR 279:157, 29.97 fps, 29.97 tbr, 1k tbn, 59.94 tbc
    Metadata:
      BPS-eng         : 5863899
      DURATION-eng    : 02:01:42.328366666
      NUMBER_OF_FRAMES-eng: 172290
      NUMBER_OF_BYTES-eng: 5352514401
      SOURCE_ID-eng   : 0100E0
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-07-08 20:01:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 440859
      DURATION-eng    : 02:01:42.304000000
      NUMBER_OF_FRAMES-eng: 224560
      NUMBER_OF_BYTES-eng: 402411520
      SOURCE_ID-eng   : 0180BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-07-08 20:01:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 440859
      DURATION-eng    : 02:01:42.304000000
      NUMBER_OF_FRAMES-eng: 224560
      NUMBER_OF_BYTES-eng: 402411520
      SOURCE_ID-eng   : 0181BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-07-08 20:01:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 188941
      DURATION-eng    : 02:01:42.304000000
      NUMBER_OF_FRAMES-eng: 224562
      NUMBER_OF_BYTES-eng: 172463616
      SOURCE_ID-eng   : 0182BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-07-08 20:01:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 188941
      DURATION-eng    : 02:01:42.304000000
      NUMBER_OF_FRAMES-eng: 224562
      NUMBER_OF_BYTES-eng: 172463616
      SOURCE_ID-eng   : 0183BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-07-08 20:01:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:5(eng): Subtitle: dvd_subtitle, 720x480 (default)
    Metadata:
      BPS-eng         : 4237
      DURATION-eng    : 01:50:15.297811111
      NUMBER_OF_FRAMES-eng: 1479
      NUMBER_OF_BYTES-eng: 3504340
      SOURCE_ID-eng   : 0120BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-07-08 20:01:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:6(spa): Subtitle: dvd_subtitle, 720x480
    Metadata:
      BPS-eng         : 3228
      DURATION-eng    : 01:50:19.970155555
      NUMBER_OF_FRAMES-eng: 1020
      NUMBER_OF_BYTES-eng: 2671864
      SOURCE_ID-eng   : 0121BD
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.15.1 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2020-07-08 20:01:55
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
[11:22:44] scan: decoding previews for title 1
[11:22:44] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch) (448 kbps)
[11:22:44] scan: audio 0x2: ac3, rate=48000Hz, bitrate=448000 español (AC3) (5.1 ch) (448 kbps)
[11:22:44] scan: audio 0x3: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[11:22:44] scan: audio 0x4: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch) (192 kbps)
[11:22:45] scan: 10 previews, 720x480, 23.976 fps, autocrop = 58/58/0/0, aspect 16:9, PAR 32:27
[11:22:45] libhb: scan thread found 1 valid title(s)
[11:22:45] Starting Task: Subtitle Scan
[11:22:45] Skipping vfr filter
[11:22:45] job configuration:
[11:22:45]  * source
[11:22:45]    + F:\MakeMKV\Hunter Killer (2018)\Hunter Killer (2018).mkv
[11:22:45]    + title 1, chapter(s) 1 to 16
[11:22:45]    + container: matroska,webm
[11:22:45]    + data rate: 7137 kbps
[11:22:45]  * destination
[11:22:45]    + H:\Intermediate Rip Area\Hunter Killer (2018)\Hunter Killer (2018).mp4
[11:22:45]    + container: MPEG-4 (libavformat)
[11:22:45]      + align initial A/V stream timestamps
[11:22:45]      + chapter markers
[11:22:45]  * video track
[11:22:45]    + decoder: mpeg2video
[11:22:45]    + filters
[11:22:45]      + 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)
[11:22:45]      + Decomb (mode=39)
[11:22:45]      + Crop and Scale (width=720:height=364:crop-top=58:crop-bottom=58:crop-left=0:crop-right=0)
[11:22:45]        + source: 720 * 480, crop (58/58/0/0): 720 * 364, scale: 720 * 364
[11:22:45]    + Output geometry
[11:22:45]      + storage dimensions: 720 x 364
[11:22:45]      + pixel aspect ratio: 32 : 27
[11:22:45]      + display dimensions: 853 x 364
[11:22:45]  * Foreign Audio Search: Render/Burn-in, Forced Only
[11:22:45]    + subtitle, English [VOBSUB] (track 0, id 0x5, Picture)
[11:22:45] sync: expecting 175080 video frames
[11:22:48] reader: done. 1 scr changes
[11:22:48] work: average encoding speed for job is 0.000000 fps
[11:22:48] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[11:22:48] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[11:22:49] mpeg2video-decoder done: 0 frames, 0 decoder errors
[11:22:49] sync: got 0 frames, 175080 expected
[11:22:49] Subtitle track 0 (id 0x5) 'English [VOBSUB]': 1479 hits (0 forced)
[11:22:49] No candidate detected during subtitle scan
[11:22:49] Starting Task: Encoding Pass
[11:22:49] Skipping vfr filter
[11:22:49] job configuration:
[11:22:49]  * source
[11:22:49]    + F:\MakeMKV\Hunter Killer (2018)\Hunter Killer (2018).mkv
[11:22:49]    + title 1, chapter(s) 1 to 16
[11:22:49]    + container: matroska,webm
[11:22:49]    + data rate: 7137 kbps
[11:22:49]  * destination
[11:22:49]    + H:\Intermediate Rip Area\Hunter Killer (2018)\Hunter Killer (2018).mp4
[11:22:49]    + container: MPEG-4 (libavformat)
[11:22:49]      + align initial A/V stream timestamps
[11:22:49]      + chapter markers
[11:22:49]  * video track
[11:22:49]    + decoder: mpeg2video
[11:22:49]    + filters
[11:22:49]      + 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)
[11:22:49]      + Decomb (mode=39)
[11:22:49]      + Crop and Scale (width=720:height=364:crop-top=58:crop-bottom=58:crop-left=0:crop-right=0)
[11:22:49]        + source: 720 * 480, crop (58/58/0/0): 720 * 364, scale: 720 * 364
[11:22:49]    + Output geometry
[11:22:49]      + storage dimensions: 720 x 364
[11:22:49]      + pixel aspect ratio: 32 : 27
[11:22:49]      + display dimensions: 853 x 364
[11:22:49]    + encoder: H.264 (libx264)
[11:22:49]      + preset:  slower
[11:22:49]      + profile: high
[11:22:49]      + level:   4.0
[11:22:49]      + quality: 18.50 (RF)
[11:22:49]      + color profile: 6-1-6
[11:22:49]  * audio track 1
[11:22:49]    + name: Surround 5.1
[11:22:49]    + decoder: English (AC3) (5.1 ch) (448 kbps) (track 1, id 0x1)
[11:22:49]      + bitrate: 448 kbps, samplerate: 48000 Hz
[11:22:49]    + mixdown: Stereo
[11:22:49]    + dither: none
[11:22:49]    + encoder: AAC (libavcodec)
[11:22:49]      + bitrate: 160 kbps, samplerate: 48000 Hz
[11:22:49]  * audio track 2
[11:22:49]    + name: Surround 5.1
[11:22:49]    + decoder: English (AC3) (5.1 ch) (448 kbps) (track 1, id 0x1)
[11:22:49]      + bitrate: 448 kbps, samplerate: 48000 Hz
[11:22:49]    + AC3 Passthru
[11:22:49] sync: expecting 175080 video frames
[11:22:49] encx264: min-keyint: 24, keyint: 240
[11:22:49] encx264: encoding at constant RF 18.500000
[11:22:49] encx264: unparsed options: level=4.0:ref=8:b-adapt=2:direct=auto:analyse=all:me=umh:subme=9:trellis=2:vbv-bufsize=31250:vbv-maxrate=25000:rc-lookahead=60
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
[11:22:49] sync: first pts video is 0
[11:22:49] sync: "Chapter 1" (1) at frame 1 time 0
[11:22:49] sync: first pts audio 0x1 is 0
[11:22:49] sync: first pts audio 0x1 is 0
[11:23:35] sync: "Chapter 2" (2) at frame 6314 time 23713200
[11:25:21] sync: "Chapter 3" (3) at frame 18702 time 80674841
[11:26:27] sync: "Chapter 4" (4) at frame 25994 time 108047186
[11:28:03] sync: "Chapter 5" (5) at frame 37956 time 152949543
[11:30:06] sync: "Chapter 6" (6) at frame 52623 time 208005795
[11:31:36] sync: "Chapter 7" (7) at frame 64082 time 251020016
[11:32:55] sync: "Chapter 8" (8) at frame 75270 time 293016971
[11:34:02] sync: "Chapter 9" (9) at frame 84150 time 326350271
[11:35:35] sync: "Chapter 10" (10) at frame 97433 time 376211332
[11:36:46] sync: "Chapter 11" (11) at frame 106278 time 409413251
[11:38:39] sync: "Chapter 12" (12) at frame 117310 time 450824621
[11:40:22] sync: "Chapter 13" (13) at frame 127106 time 487596356
[11:42:34] sync: "Chapter 14" (14) at frame 140186 time 536695406
[11:43:44] sync: "Chapter 15" (15) at frame 148116 time 566462643
[11:45:16] sync: "Chapter 16" (16) at frame 157746 time 602611256
[11:46:11] reader: done. 1 scr changes
[11:46:11] work: average encoding speed for job is 122.772194 fps
[11:46:11] comb detect: heavy 3605 | light 11701 | uncombed 156984 | total 172290
[11:46:11] decomb: deinterlaced 3605 | blended 11701 | unfiltered 156984 | total 172290
[11:46:11] ac3-decoder done: 224560 frames, 0 decoder errors
[11:46:11] ac3-decoder done: 224560 frames, 0 decoder errors
[11:46:11] mpeg2video-decoder done: 172290 frames, 0 decoder errors
[11:46:11] sync: got 172290 frames, 175080 expected
[11:46:11] sync: framerate min 0.009 fps, max 29.970 fps, avg 23.594 fps
x264 [info]: frame I:2300  Avg QP:14.58  size: 32384
x264 [info]: frame P:51715 Avg QP:18.18  size:  9358
x264 [info]: frame B:118275 Avg QP:21.20  size:  2505
x264 [info]: consecutive B-frames:  3.4%  6.1% 27.6% 62.9%
x264 [info]: mb I  I16..4: 12.2% 61.6% 26.2%
x264 [info]: mb P  I16..4:  2.1%  7.1%  1.3%  P16..4: 40.1% 16.7% 13.2%  0.9%  0.3%    skip:18.2%
x264 [info]: mb B  I16..4:  0.2%  0.6%  0.1%  B16..8: 39.0%  7.1%  1.8%  direct: 4.0%  skip:47.2%  L0:41.1% L1:46.6% BI:12.3%
x264 [info]: 8x8 transform intra:65.7% inter:61.0%
x264 [info]: direct mvs  spatial:98.9% temporal:1.1%
x264 [info]: coded y,uvDC,uvAC intra: 69.5% 70.1% 41.3% inter: 16.4% 17.2% 2.3%
x264 [info]: i16 v,h,dc,p: 31% 27%  6% 35%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 11% 10%  8% 11% 12% 12% 11% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 13%  5%  9% 13% 13% 12% 10% 12%
x264 [info]: i8c dc,h,v,p: 37% 28% 21% 14%
x264 [info]: Weighted P-Frames: Y:7.7% UV:4.1%
x264 [info]: ref P L0: 55.8% 12.7% 13.7%  5.5%  4.1%  3.3%  2.7%  1.9%  0.2%  0.0%
x264 [info]: ref B L0: 81.3%  9.1%  4.4%  1.9%  1.9%  0.9%  0.5%
x264 [info]: ref B L1: 96.4%  3.6%
x264 [info]: kb/s:936.44
[11:46:11] mux: track 0, 172290 frames, 854676529 bytes, 936.33 kbps, fifo 8192
[11:46:11] mux: track 1, 336841 frames, 144156328 bytes, 157.93 kbps, fifo 4096
[11:46:11] mux: track 2, 224560 frames, 402411520 bytes, 440.86 kbps, fifo 4096
[11:46:11] Finished work at: Sun Aug 16 11:46:11 2020
[11:46:11] libhb: work result = 0

# Encode Completed ...


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

Re: Video and audio not synchronized

Post by rollin_eng »

[11:46:11] sync: got 172290 frames, 175080 expected

Looks like its missing some frames somewhere.

Try reripping with makemkv again, then try a nightly build of HB.
Bains999
Posts: 14
Joined: Sat Dec 21, 2019 1:51 pm

Re: Video and audio not synchronized

Post by Bains999 »

Downloaded and installed version 1.3.3 and re-ripped.

Same results -- frozen image followed by audio and video being un-synchronized.
mduell
Veteran User
Posts: 8187
Joined: Sat Apr 21, 2007 8:54 pm

Re: Video and audio not synchronized

Post by mduell »

1.3.3 is not the nightly.
Woodstock
Veteran User
Posts: 4614
Joined: Tue Aug 27, 2013 6:39 am

Re: Video and audio not synchronized

Post by Woodstock »

At the point where the MP4 has an issue, what happens while playing the MKV file? Does the MKV video have any irregularities in it?
Bains999
Posts: 14
Joined: Sat Dec 21, 2019 1:51 pm

Re: Video and audio not synchronized

Post by Bains999 »

Thanks for those who are helping. I am a rank novice regarding troubleshooting of this type of issue.

Here is what I have noticed after you put my nose in it…

For the Hunter Killer content
The .mkv file jumps from 4:28 to 6:22 on the time frame when played.
The .mp4 file gets ‘futzed up’ at the 4:28 point as would be expected.

For the ANNA content
The .mkv file jumps from 3:52 to 6:18 on the time frame when played.

From my limited understanding it would seem that HandBrake is doing what it is supposed to.

Any idea of how to ‘fix’ the .MKV process would be appreciated.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: Video and audio not synchronized

Post by JohnAStebbins »

HandBrake should be recognizing that there is a large timestamp gap and "fill" it for all but audio passthrough tracks. For the video stream it would extend the duration of the frame before the gap. For audio streams, it inserts silence buffers if it is encoding audio. If the audio is passthrough there is no way to create and insert a silence buffer.

Since you have a passthrough audio track, this might be what is tripping up the player. You might want to remove that track from the output and see if A/V stays in sync (although you'll have a 2.5 minute still frame). Also increase verbosity of logging to level 3. Level 3 will show more A/V synchronization events.
alex 64
Posts: 10
Joined: Thu Sep 10, 2020 1:33 pm

Re: Video and audio not synchronized

Post by alex 64 »

I had a similar problem but not with HB.
I was able to remedy it in the following way.
1) extract the soundtrack with Audacity
2) in the temporality effect menu, adjust the desired length of the audio
3) and assemble your tracks with MKVToolkit for example

hope you find this useful
it's worth testing
Rorchach91
Posts: 17
Joined: Fri Aug 14, 2020 4:13 am

Re: Video and audio not synchronized

Post by Rorchach91 »

I've seen similar problem, I guess it was the issue with my DVD source, but the replies says it does happen sometime.

I've tried rip the disc with Makemkv & [Removed Dubious 3rd party products], both worked and video/audio are synchronized, just taking some extra times.
Last edited by s55 on Mon Sep 21, 2020 6:01 pm, edited 1 time in total.
Reason: Please do not advertise dubious 3rd party products
Post Reply