Audio out of Sync. Can I fix that?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
abrogard
Posts: 8
Joined: Sat Dec 07, 2019 8:17 am

Audio out of Sync. Can I fix that?

Post by abrogard »

Description of problem or question:

converted funnygirl.mkv to mp4 and the audio is out of sync right from the start


Steps to reproduce the problem (If Applicable):


just try it.

HandBrake version (e.g., 1.0.0):

1.2.2



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

win10 ver 1909


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

Code: Select all

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
Ram: 8060 MB, 
GPU Information:
  Intel(R) HD Graphics 530 - 26.20.100.7263
Screen: 1024x768
Temp Dir: C:\Users\dchaw\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\dchaw\AppData\Roaming\HandBrake

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


# Starting Encode ...

[20:00:00] hb_init: starting libhb thread
[20:00:00] 1 job(s) to process
[20:00:00] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "00:00:00.000"
      },
      {
        "Name": "00:11:45.914"
      },
      {
        "Name": "00:21:54.104"
      },
      {
        "Name": "00:27:34.695"
      },
      {
        "Name": "00:35:25.415"
      },
      {
        "Name": "00:50:45.084"
      },
      {
        "Name": "00:58:35.137"
      },
      {
        "Name": "01:07:20.703"
      },
      {
        "Name": "01:16:02.141"
      },
      {
        "Name": "01:24:43.578"
      },
      {
        "Name": "01:37:02.233"
      },
      {
        "Name": "01:44:15.624"
      },
      {
        "Name": "01:55:44.312"
      },
      {
        "Name": "02:05:52.628"
      },
      {
        "Name": "02:16:53.956"
      },
      {
        "Name": "02:24:46.595"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\Users\\dchaw\\Downloads\\funnygirl.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": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "816",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 1,
    "Path": "C:\\Users\\dchaw\\Downloads\\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.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": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[20:00:00] CPU: Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
[20:00:00]  - Intel microarchitecture Skylake
[20:00:00]  - logical processor count: 4
[20:00:00] Intel Quick Sync Video support: yes
[20:00:00]  - Intel Media SDK hardware: API 1.30 (minimum: 1.3)
[20:00:00]  - H.264 encoder: yes
[20:00:00]     - preferred implementation: hardware (any) via D3D11
[20:00:00]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[20:00:00]  - H.265 encoder: yes (8bit: yes, 10bit: no)
[20:00:00]     - preferred implementation: hardware (any) via D3D11
[20:00:00]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[20:00:00] hb_scan: path=C:\Users\dchaw\Downloads\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\dchaw\Downloads\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.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
[20:00:00] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[20:00:00] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\dchaw\Downloads\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.mkv':
  Metadata:
    encoder         : libebml v1.0.0 + libmatroska v1.0
  Duration: 02:35:17.27, start: 0.000000, bitrate: 10079 kb/s
    Chapter #0:0: start 0.000000, end 705.914000
    Metadata:
      title           : 00:00:00.000
    Chapter #0:1: start 705.914000, end 1314.104000
    Metadata:
      title           : 00:11:45.914
    Chapter #0:2: start 1314.104000, end 1654.695000
    Metadata:
      title           : 00:21:54.104
    Chapter #0:3: start 1654.695000, end 2125.415000
    Metadata:
      title           : 00:27:34.695
    Chapter #0:4: start 2125.415000, end 3045.084000
    Metadata:
      title           : 00:35:25.415
    Chapter #0:5: start 3045.084000, end 3515.137000
    Metadata:
      title           : 00:50:45.084
    Chapter #0:6: start 3515.137000, end 4040.703000
    Metadata:
      title           : 00:58:35.137
    Chapter #0:7: start 4040.703000, end 4562.141000
    Metadata:
      title           : 01:07:20.703
    Chapter #0:8: start 4562.141000, end 5083.578000
    Metadata:
      title           : 01:16:02.141
    Chapter #0:9: start 5083.578000, end 5822.233000
    Metadata:
      title           : 01:24:43.578
    Chapter #0:10: start 5822.233000, end 6255.624000
    Metadata:
      title           : 01:37:02.233
    Chapter #0:11: start 6255.624000, end 6944.312000
    Metadata:
      title           : 01:44:15.624
    Chapter #0:12: start 6944.312000, end 7552.628000
    Metadata:
      title           : 01:55:44.312
    Chapter #0:13: start 7552.628000, end 8213.956000
    Metadata:
      title           : 02:05:52.628
    Chapter #0:14: start 8213.956000, end 8686.595000
    Metadata:
      title           : 02:16:53.956
    Chapter #0:15: start 8686.595000, end 9317.266000
    Metadata:
      title           : 02:24:46.595
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x816, SAR 1:1 DAR 40:17, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.0(side), fltp, 1536 kb/s (default)
    Stream #0:2(eng): Subtitle: subrip
    Stream #0:3(eng): Subtitle: subrip
    Metadata:
      title           : SDH
[20:00:00] scan: decoding previews for title 1
[20:00:00] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.0 ch)
[20:00:01] scan: 10 previews, 1920x816, 23.976 fps, autocrop = 0/0/0/0, aspect 2.35:1, PAR 1:1
[20:00:01] scan: supported video decoders: avcodec qsv
[20:00:01] libhb: scan thread found 1 valid title(s)
[20:00:01] Skipping subtitle scan.  No suitable subtitle tracks.
[20:00:01] starting job
[20:00:01] decomb filter thread started for segment 0
[20:00:01] decomb filter thread started for segment 1
[20:00:01] decomb check thread started for segment 3
[20:00:01] decomb filter thread started for segment 3
[20:00:01] decomb check thread started for segment 0
[20:00:01] mask filter thread started for segment 3
[20:00:01] mask erode thread started for segment 0
[20:00:01] decomb filter thread started for segment 2
[20:00:01] mask erode thread started for segment 3
[20:00:01] mask dilate thread started for segment 0
[20:00:01] mask filter thread started for segment 2
[20:00:01] decomb check thread started for segment 1
[20:00:01] decomb check thread started for segment 2
[20:00:01] mask erode thread started for segment 1
[20:00:01] mask erode thread started for segment 2
[20:00:01] mask filter thread started for segment 0
[20:00:01] mask filter thread started for segment 1
[20:00:01] job configuration:
[20:00:01]  * source
[20:00:01]    + C:\Users\dchaw\Downloads\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.mkv
[20:00:01]    + title 1, chapter(s) 1 to 16
[20:00:01]    + container: matroska,webm
[20:00:01] mask dilate thread started for segment 1
[20:00:01]    + data rate: 10079 kbps
[20:00:01]  * destination
[20:00:01]    + C:\Users\dchaw\Downloads\funnygirl.mp4
[20:00:01]    + container: MPEG-4 (libavformat)
[20:00:01]      + align initial A/V stream timestamps
[20:00:01]      + chapter markers
[20:00:01]  * video track
[20:00:01]    + decoder: h264
[20:00:01] mask dilate thread started for segment 2
[20:00:01]    + filters
[20:00:01]      + 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)
[20:00:01] mask dilate thread started for segment 3
[20:00:01]      + Decomb (mode=39)
[20:00:01]      + Framerate Shaper (mode=2:rate=27000000/900000)
[20:00:01]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[20:00:01] yadif thread started for segment 0
[20:00:01]      + Crop and Scale (width=1920:height=816:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[20:00:01]        + source: 1920 * 816, crop (0/0/0/0): 1920 * 816, scale: 1920 * 816
[20:00:01]    + Output geometry
[20:00:01]      + storage dimensions: 1920 x 816
[20:00:01]      + pixel aspect ratio: 1 : 1
[20:00:01]      + display dimensions: 1920 x 816
[20:00:01] yadif thread started for segment 1
[20:00:01]    + encoder: H.264 (libx264)
[20:00:01]      + preset:  fast
[20:00:01]      + profile: main
[20:00:01]      + level:   4.0
[20:00:01]      + quality: 22.00 (RF)
[20:00:01]      + color profile: 1-1-1
[20:00:01]  * audio track 1
[20:00:01] yadif thread started for segment 2
[20:00:01]    + decoder: English (DTS) (5.0 ch) (track 1, id 0x1)
[20:00:01]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:00:01]    + mixdown: Stereo
[20:00:01]    + dither: none
[20:00:01]    + encoder: AAC (libavcodec)
[20:00:01]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:00:01] yadif thread started for segment 3
[20:00:01] sync: expecting 223390 video frames
[20:00:01] encx264: min-keyint: 24, keyint: 240
[20:00:01] encx264: encoding at constant RF 22.000000
[20:00:01] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[20:00:01] sync: first pts video is 0
[20:00:01] sync: "00:00:00.000" (1) at frame 1 time 0
[20:00:01] sync: first pts audio 0x1 is 0
[20:08:49] sync: "00:11:45.914" (2) at frame 16930 time 63547233
[20:18:45] sync: "00:21:54.104" (3) at frame 31508 time 118269401
[20:24:51] sync: "00:27:34.695" (4) at frame 39674 time 148922523
[20:32:35] sync: "00:35:25.415" (5) at frame 50960 time 191287346
[20:48:47] sync: "00:50:45.084" (6) at frame 73011 time 274061287
[20:56:33] sync: "00:58:35.137" (7) at frame 84280 time 316362296
[21:04:42] sync: "01:07:20.703" (8) at frame 96881 time 363663300
[21:12:56] sync: "01:16:02.141" (9) at frame 109383 time 410592682
[21:20:48] sync: "01:24:43.578" (10) at frame 121885 time 457522065
[21:32:42] sync: "01:37:02.233" (11) at frame 139595 time 524000977
[21:39:44] sync: "01:44:15.624" (12) at frame 149987 time 563009947
[21:51:48] sync: "01:55:44.312" (13) at frame 166498 time 624988113
[22:02:42] sync: "02:05:52.628" (14) at frame 181083 time 679736557
[22:13:52] sync: "02:16:53.956" (15) at frame 196940 time 739259771
[22:21:04] sync: "02:24:46.595" (16) at frame 208271 time 781793512
[22:29:54] reader: done. 1 scr changes
[22:29:55] work: average encoding speed for job is 24.834206 fps
[22:29:55] comb detect: heavy 1145 | light 11863 | uncombed 210384 | total 223392
[22:29:55] decomb: deinterlaced 1145 | blended 11863 | unfiltered 210384 | total 223392
[22:29:55] vfr: 223392 frames output, 0 dropped and 0 duped for CFR/PFR
[22:29:55] vfr: lost time: 0 (0 frames)
[22:29:55] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:29:55] dca-decoder done: 873496 frames, 0 decoder errors
[22:29:55] h264-decoder done: 223392 frames, 0 decoder errors
[22:29:55] sync: got 223392 frames, 223390 expected
[22:29:55] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:1558  Avg QP:18.78  size:132464
x264 [info]: frame P:58779 Avg QP:21.54  size: 32053
x264 [info]: frame B:163055 Avg QP:23.35  size: 12525
x264 [info]: consecutive B-frames:  2.1%  1.1%  1.6% 95.2%
x264 [info]: mb I  I16..4: 23.5%  0.0% 76.5%
x264 [info]: mb P  I16..4:  3.5%  0.0%  4.9%  P16..4: 47.2% 16.9% 10.1%  0.0%  0.0%    skip:17.4%
x264 [info]: mb B  I16..4:  4.4%  0.0%  0.7%  B16..8: 28.2%  6.0%  0.3%  direct:18.5%  skip:41.9%  L0:45.0% L1:47.6% BI: 7.3%
x264 [info]: coded y,uvDC,uvAC intra: 56.3% 71.3% 24.1% inter: 16.2% 33.6% 0.6%
x264 [info]: i16 v,h,dc,p: 37% 17% 28% 18%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 17% 18%  7%  9%  8%  8%  6%  6%
x264 [info]: i8c dc,h,v,p: 59% 16% 21%  4%
x264 [info]: Weighted P-Frames: Y:3.0% UV:1.3%
x264 [info]: ref P L0: 59.2% 40.8%
x264 [info]: ref B L0: 75.9% 24.1%
x264 [info]: ref B L1: 92.4%  7.6%
x264 [info]: kb/s:3548.43
[22:29:55] mux: track 0, 223392 frames, 4132670254 bytes, 3548.37 kbps, fifo 8192
[22:29:55] mux: track 1, 436749 frames, 186997861 bytes, 160.56 kbps, fifo 16384
[22:29:55] libhb: work result = 0

# Encode Completed ...


Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
OliverS
Posts: 3
Joined: Sun Dec 22, 2019 6:22 pm

Re: Audio out of Sync. Can I fix that?

Post by OliverS »

abrogard wrote: Sat Dec 07, 2019 8:33 am Description of problem or question:

converted funnygirl.mkv to mp4 and the audio is out of sync right from the start


Steps to reproduce the problem (If Applicable):


just try it.

HandBrake version (e.g., 1.0.0):

1.2.2



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

win10 ver 1909


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

Code: Select all

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.18363.0
CPU: Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
Ram: 8060 MB, 
GPU Information:
  Intel(R) HD Graphics 530 - 26.20.100.7263
Screen: 1024x768
Temp Dir: C:\Users\dchaw\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\dchaw\AppData\Roaming\HandBrake

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


# Starting Encode ...

[20:00:00] hb_init: starting libhb thread
[20:00:00] 1 job(s) to process
[20:00:00] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "00:00:00.000"
      },
      {
        "Name": "00:11:45.914"
      },
      {
        "Name": "00:21:54.104"
      },
      {
        "Name": "00:27:34.695"
      },
      {
        "Name": "00:35:25.415"
      },
      {
        "Name": "00:50:45.084"
      },
      {
        "Name": "00:58:35.137"
      },
      {
        "Name": "01:07:20.703"
      },
      {
        "Name": "01:16:02.141"
      },
      {
        "Name": "01:24:43.578"
      },
      {
        "Name": "01:37:02.233"
      },
      {
        "Name": "01:44:15.624"
      },
      {
        "Name": "01:55:44.312"
      },
      {
        "Name": "02:05:52.628"
      },
      {
        "Name": "02:16:53.956"
      },
      {
        "Name": "02:24:46.595"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": true,
    "File": "C:\\Users\\dchaw\\Downloads\\funnygirl.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": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "816",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 16
    },
    "Title": 1,
    "Path": "C:\\Users\\dchaw\\Downloads\\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.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": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[20:00:00] CPU: Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
[20:00:00]  - Intel microarchitecture Skylake
[20:00:00]  - logical processor count: 4
[20:00:00] Intel Quick Sync Video support: yes
[20:00:00]  - Intel Media SDK hardware: API 1.30 (minimum: 1.3)
[20:00:00]  - H.264 encoder: yes
[20:00:00]     - preferred implementation: hardware (any) via D3D11
[20:00:00]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[20:00:00]  - H.265 encoder: yes (8bit: yes, 10bit: no)
[20:00:00]     - preferred implementation: hardware (any) via D3D11
[20:00:00]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[20:00:00] hb_scan: path=C:\Users\dchaw\Downloads\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\dchaw\Downloads\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.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
[20:00:00] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[20:00:00] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\dchaw\Downloads\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.mkv':
  Metadata:
    encoder         : libebml v1.0.0 + libmatroska v1.0
  Duration: 02:35:17.27, start: 0.000000, bitrate: 10079 kb/s
    Chapter #0:0: start 0.000000, end 705.914000
    Metadata:
      title           : 00:00:00.000
    Chapter #0:1: start 705.914000, end 1314.104000
    Metadata:
      title           : 00:11:45.914
    Chapter #0:2: start 1314.104000, end 1654.695000
    Metadata:
      title           : 00:21:54.104
    Chapter #0:3: start 1654.695000, end 2125.415000
    Metadata:
      title           : 00:27:34.695
    Chapter #0:4: start 2125.415000, end 3045.084000
    Metadata:
      title           : 00:35:25.415
    Chapter #0:5: start 3045.084000, end 3515.137000
    Metadata:
      title           : 00:50:45.084
    Chapter #0:6: start 3515.137000, end 4040.703000
    Metadata:
      title           : 00:58:35.137
    Chapter #0:7: start 4040.703000, end 4562.141000
    Metadata:
      title           : 01:07:20.703
    Chapter #0:8: start 4562.141000, end 5083.578000
    Metadata:
      title           : 01:16:02.141
    Chapter #0:9: start 5083.578000, end 5822.233000
    Metadata:
      title           : 01:24:43.578
    Chapter #0:10: start 5822.233000, end 6255.624000
    Metadata:
      title           : 01:37:02.233
    Chapter #0:11: start 6255.624000, end 6944.312000
    Metadata:
      title           : 01:44:15.624
    Chapter #0:12: start 6944.312000, end 7552.628000
    Metadata:
      title           : 01:55:44.312
    Chapter #0:13: start 7552.628000, end 8213.956000
    Metadata:
      title           : 02:05:52.628
    Chapter #0:14: start 8213.956000, end 8686.595000
    Metadata:
      title           : 02:16:53.956
    Chapter #0:15: start 8686.595000, end 9317.266000
    Metadata:
      title           : 02:24:46.595
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x816, SAR 1:1 DAR 40:17, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: dts (DTS), 48000 Hz, 5.0(side), fltp, 1536 kb/s (default)
    Stream #0:2(eng): Subtitle: subrip
    Stream #0:3(eng): Subtitle: subrip
    Metadata:
      title           : SDH
[20:00:00] scan: decoding previews for title 1
[20:00:00] scan: audio 0x1: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.0 ch)
[20:00:01] scan: 10 previews, 1920x816, 23.976 fps, autocrop = 0/0/0/0, aspect 2.35:1, PAR 1:1
[20:00:01] scan: supported video decoders: avcodec qsv
[20:00:01] libhb: scan thread found 1 valid title(s)
[20:00:01] Skipping subtitle scan.  No suitable subtitle tracks.
[20:00:01] starting job
[20:00:01] decomb filter thread started for segment 0
[20:00:01] decomb filter thread started for segment 1
[20:00:01] decomb check thread started for segment 3
[20:00:01] decomb filter thread started for segment 3
[20:00:01] decomb check thread started for segment 0
[20:00:01] mask filter thread started for segment 3
[20:00:01] mask erode thread started for segment 0
[20:00:01] decomb filter thread started for segment 2
[20:00:01] mask erode thread started for segment 3
[20:00:01] mask dilate thread started for segment 0
[20:00:01] mask filter thread started for segment 2
[20:00:01] decomb check thread started for segment 1
[20:00:01] decomb check thread started for segment 2
[20:00:01] mask erode thread started for segment 1
[20:00:01] mask erode thread started for segment 2
[20:00:01] mask filter thread started for segment 0
[20:00:01] mask filter thread started for segment 1
[20:00:01] job configuration:
[20:00:01]  * source
[20:00:01]    + C:\Users\dchaw\Downloads\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE [PublicHD]\Funny.Girl.1968.1080p.BluRay.X264-AMIABLE.mkv
[20:00:01]    + title 1, chapter(s) 1 to 16
[20:00:01]    + container: matroska,webm
[20:00:01] mask dilate thread started for segment 1
[20:00:01]    + data rate: 10079 kbps
[20:00:01]  * destination
[20:00:01]    + C:\Users\dchaw\Downloads\funnygirl.mp4
[20:00:01]    + container: MPEG-4 (libavformat)
[20:00:01]      + align initial A/V stream timestamps
[20:00:01]      + chapter markers
[20:00:01]  * video track
[20:00:01]    + decoder: h264
[20:00:01] mask dilate thread started for segment 2
[20:00:01]    + filters
[20:00:01]      + 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)
[20:00:01] mask dilate thread started for segment 3
[20:00:01]      + Decomb (mode=39)
[20:00:01]      + Framerate Shaper (mode=2:rate=27000000/900000)
[20:00:01]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[20:00:01] yadif thread started for segment 0
[20:00:01]      + Crop and Scale (width=1920:height=816:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[20:00:01]        + source: 1920 * 816, crop (0/0/0/0): 1920 * 816, scale: 1920 * 816
[20:00:01]    + Output geometry
[20:00:01]      + storage dimensions: 1920 x 816
[20:00:01]      + pixel aspect ratio: 1 : 1
[20:00:01]      + display dimensions: 1920 x 816
[20:00:01] yadif thread started for segment 1
[20:00:01]    + encoder: H.264 (libx264)
[20:00:01]      + preset:  fast
[20:00:01]      + profile: main
[20:00:01]      + level:   4.0
[20:00:01]      + quality: 22.00 (RF)
[20:00:01]      + color profile: 1-1-1
[20:00:01]  * audio track 1
[20:00:01] yadif thread started for segment 2
[20:00:01]    + decoder: English (DTS) (5.0 ch) (track 1, id 0x1)
[20:00:01]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:00:01]    + mixdown: Stereo
[20:00:01]    + dither: none
[20:00:01]    + encoder: AAC (libavcodec)
[20:00:01]      + bitrate: 160 kbps, samplerate: 48000 Hz
[20:00:01] yadif thread started for segment 3
[20:00:01] sync: expecting 223390 video frames
[20:00:01] encx264: min-keyint: 24, keyint: 240
[20:00:01] encx264: encoding at constant RF 22.000000
[20:00:01] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[20:00:01] sync: first pts video is 0
[20:00:01] sync: "00:00:00.000" (1) at frame 1 time 0
[20:00:01] sync: first pts audio 0x1 is 0
[20:08:49] sync: "00:11:45.914" (2) at frame 16930 time 63547233
[20:18:45] sync: "00:21:54.104" (3) at frame 31508 time 118269401
[20:24:51] sync: "00:27:34.695" (4) at frame 39674 time 148922523
[20:32:35] sync: "00:35:25.415" (5) at frame 50960 time 191287346
[20:48:47] sync: "00:50:45.084" (6) at frame 73011 time 274061287
[20:56:33] sync: "00:58:35.137" (7) at frame 84280 time 316362296
[21:04:42] sync: "01:07:20.703" (8) at frame 96881 time 363663300
[21:12:56] sync: "01:16:02.141" (9) at frame 109383 time 410592682
[21:20:48] sync: "01:24:43.578" (10) at frame 121885 time 457522065
[21:32:42] sync: "01:37:02.233" (11) at frame 139595 time 524000977
[21:39:44] sync: "01:44:15.624" (12) at frame 149987 time 563009947
[21:51:48] sync: "01:55:44.312" (13) at frame 166498 time 624988113
[22:02:42] sync: "02:05:52.628" (14) at frame 181083 time 679736557
[22:13:52] sync: "02:16:53.956" (15) at frame 196940 time 739259771
[22:21:04] sync: "02:24:46.595" (16) at frame 208271 time 781793512
[22:29:54] reader: done. 1 scr changes
[22:29:55] work: average encoding speed for job is 24.834206 fps
[22:29:55] comb detect: heavy 1145 | light 11863 | uncombed 210384 | total 223392
[22:29:55] decomb: deinterlaced 1145 | blended 11863 | unfiltered 210384 | total 223392
[22:29:55] vfr: 223392 frames output, 0 dropped and 0 duped for CFR/PFR
[22:29:55] vfr: lost time: 0 (0 frames)
[22:29:55] vfr: gained time: 0 (0 frames) (0 not accounted for)
[22:29:55] dca-decoder done: 873496 frames, 0 decoder errors
[22:29:55] h264-decoder done: 223392 frames, 0 decoder errors
[22:29:55] sync: got 223392 frames, 223390 expected
[22:29:55] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:1558  Avg QP:18.78  size:132464
x264 [info]: frame P:58779 Avg QP:21.54  size: 32053
x264 [info]: frame B:163055 Avg QP:23.35  size: 12525
x264 [info]: consecutive B-frames:  2.1%  1.1%  1.6% 95.2%
x264 [info]: mb I  I16..4: 23.5%  0.0% 76.5%
x264 [info]: mb P  I16..4:  3.5%  0.0%  4.9%  P16..4: 47.2% 16.9% 10.1%  0.0%  0.0%    skip:17.4%
x264 [info]: mb B  I16..4:  4.4%  0.0%  0.7%  B16..8: 28.2%  6.0%  0.3%  direct:18.5%  skip:41.9%  L0:45.0% L1:47.6% BI: 7.3%
x264 [info]: coded y,uvDC,uvAC intra: 56.3% 71.3% 24.1% inter: 16.2% 33.6% 0.6%
x264 [info]: i16 v,h,dc,p: 37% 17% 28% 18%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 17% 18%  7%  9%  8%  8%  6%  6%
x264 [info]: i8c dc,h,v,p: 59% 16% 21%  4%
x264 [info]: Weighted P-Frames: Y:3.0% UV:1.3%
x264 [info]: ref P L0: 59.2% 40.8%
x264 [info]: ref B L0: 75.9% 24.1%
x264 [info]: ref B L1: 92.4%  7.6%
x264 [info]: kb/s:3548.43
[22:29:55] mux: track 0, 223392 frames, 4132670254 bytes, 3548.37 kbps, fifo 8192
[22:29:55] mux: track 1, 436749 frames, 186997861 bytes, 160.56 kbps, fifo 16384
[22:29:55] libhb: work result = 0

# Encode Completed ...


Please replace this text with the contents of your log file between the two code tags - OR -  provide a pastebin URL in place of these 3 lines.
I also need help with the same. Help is appreciated.


Thanks in advance
Regards,
Oliver
abrogard
Posts: 8
Joined: Sat Dec 07, 2019 8:17 am

Re: Audio out of Sync. Can I fix that?

Post by abrogard »

If I remember right it turned out it wasn't the conversion was the problem at all. I cut the converted file into two parts because I couldn't get it all on one USB stick which, being FAT32, couldn't take more than 4G.

And the whole point of the exercise was to play the movie through an old tv set via the usb.

googling brought me the information that it's very difficult to split movies without them going out of sync. I found that information dubious because that's what video editors do all the time, don't they, surely?

But i was in such a hurry to see the movie I watched it on my pc instead. For nearly half or something then gave it up. I was initially very taken by Steisand's first song and routine and was expecting great things of the movie but it finished up just boring me.

So that's where I'm at. I imagined the error in the first place. Then found there is a different error. Which I never resolved.

Sorry I can't be of more help. :)
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Audio out of Sync. Can I fix that?

Post by rollin_eng »

@OliverS

Could you please post your HB logs, instructions can be found here:

https://handbrake.fr/docs/en/latest/hel ... y-log.html
Post Reply