Audio sync not working

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
Eugene
Posts: 1
Joined: Wed Dec 23, 2020 9:47 am

Audio sync not working

Post by Eugene »

I'm using Lightworks to edir some android phone videos, the audio and video are out of sync. I've used Handbrake to convert from variable to fixed frame rate, followed all the various guides on the internet, the finished file is either blank or still has the same problem. I'd be really grateful for any help, thanks:




Steps to reproduce the problem (If Applicable):




1.3 (downloaded this week):




Not sure, Windows




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

Code: Select all

HandBrake 1.3.3 (2020061300)
OS: Microsoft Windows NT 10.0.19041.0
CPU: Intel(R) Pentium(R) CPU 4405U @ 2.10GHz
Ram: 3985 MB, 
GPU Information:
  Intel(R) HD Graphics 510 - 22.20.16.4749
Screen: 1366x768
Temp Dir: C:\Users\barbe\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\barbe\AppData\Roaming\HandBrake

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


# Starting Encode ...

[09:37:02] base preset: Fast 1080p30 (Modified)
[09:37:02] hb_init: starting libhb thread
[09:37:02] Starting work at: Wed Dec 23 09:37:02 2020
[09:37:02] 1 job(s) to process
[09:37:02] 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": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\barbe\\Videos\\Musical Interlude v2.m4v",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "av_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": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "1080",
          "width": "1080"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 9,
    "Den": 16
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\barbe\\Videos\\Captures\\Musical interlude.mp4"
  },
  "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
    }
  }
}
[09:37:02] CPU: Intel(R) Pentium(R) CPU 4405U @ 2.10GHz
[09:37:02]  - Intel microarchitecture Skylake
[09:37:02]  - logical processor count: 4
[09:37:02] Intel Quick Sync Video support: yes
[09:37:02]  - Intel Media SDK hardware: API 1.24 (minimum: 1.3)
[09:37:02]  - H.264 encoder: yes
[09:37:02]     - preferred implementation: hardware (any) via D3D11
[09:37:02]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
[09:37:02]  - H.265 encoder: yes (8bit: yes, 10bit: no)
[09:37:02]     - preferred implementation: hardware (any) via D3D11
[09:37:02]     - capabilities (hardware):  bpyramid icq vsinfo opt1
[09:37:02] hb_scan: path=C:\Users\barbe\Videos\Captures\Musical interlude.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image C:\Users\barbe\Videos\Captures\Musical interlude.mp4
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(C:\Users\barbe\Videos\Captures\Musical interlude.mp4\) failed
[09:37:02] 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
[09:37:02] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\barbe\Videos\Captures\Musical interlude.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2020-12-20T17:40:19.000000Z
    location        : +00.0000+000.0000/
    location-eng    : +00.0000+000.0000/
    com.android.version: 9
  Duration: 00:00:08.05, start: 0.000000, bitrate: 17301 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 17087 kb/s, SAR 1:1 DAR 16:9, 30.04 fps, 30 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      rotate          : 270
      creation_time   : 2020-12-20T17:40:19.000000Z
      handler_name    : VideoHandle
    Side data:
      displaymatrix: rotation of 90.00 degrees
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 255 kb/s (default)
    Metadata:
      creation_time   : 2020-12-20T17:40:19.000000Z
      handler_name    : SoundHandle
[09:37:03] scan: decoding previews for title 1
[09:37:03] scan: audio 0x1: aac, rate=48000Hz, bitrate=255904 English (AAC LC) (2.0 ch) (255 kbps)
[09:37:03] Auto-Rotating video 90 degrees
[09:37:04] scan: 10 previews, 1080x1920, 30.036 fps, autocrop = 0/0/0/0, aspect 1:1.78, PAR 1:1
[09:37:04] scan: supported video decoders: avcodec qsv
[09:37:04] libhb: scan thread found 1 valid title(s)
[09:37:04] Skipping subtitle scan.  No suitable subtitle tracks.
[09:37:04] Starting Task: Encoding Pass
[09:37:04] work: only 1 chapter, disabling chapter markers
[09:37:04] job configuration:
[09:37:04]  * source
[09:37:04]    + C:\Users\barbe\Videos\Captures\Musical interlude.mp4
[09:37:04]    + title 1, chapter(s) 1 to 1
[09:37:04]    + container: mov,mp4,m4a,3gp,3g2,mj2
[09:37:04]    + data rate: 17301 kbps
[09:37:04]  * destination
[09:37:04]    + C:\Users\barbe\Videos\Musical Interlude v2.m4v
[09:37:04]    + container: MPEG-4 (libavformat)
[09:37:04]  * video track
[09:37:04]    + decoder: h264
[09:37:04]      + bitrate 17087 kbps
[09:37:04]    + filters
[09:37:04]      + 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)
[09:37:04]      + Decomb (mode=39)
[09:37:04]      + Framerate Shaper (mode=1:rate=27000000/900000)
[09:37:04]        + frame rate: 30.036 fps -> constant 30.000 fps
[09:37:04]      + Crop and Scale (width=1080:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[09:37:04]        + source: 1080 * 1920, crop (0/0/0/0): 1080 * 1920, scale: 1080 * 1080
[09:37:04]    + Output geometry
[09:37:04]      + storage dimensions: 1080 x 1080
[09:37:04]      + pixel aspect ratio: 9 : 16
[09:37:04]      + display dimensions: 607 x 1080
[09:37:04]    + encoder: H.264 (libx264)
[09:37:04]      + preset:  fast
[09:37:04]      + profile: main
[09:37:04]      + level:   4.0
[09:37:04]      + quality: 22.00 (RF)
[09:37:04]      + color profile: 1-1-1
[09:37:04]  * audio track 1
[09:37:04]    + decoder: English (AAC LC) (2.0 ch) (255 kbps) (track 1, id 0x1)
[09:37:04]      + bitrate: 255 kbps, samplerate: 48000 Hz
[09:37:04]    + mixdown: Stereo
[09:37:04]    + dither: none
[09:37:04]    + encoder: AAC (libavcodec)
[09:37:04]      + bitrate: 160 kbps, samplerate: 48000 Hz
[09:37:04] sync: expecting 241 video frames
[09:37:04] encx264: min-keyint: 30, keyint: 300
[09:37:04] encx264: encoding at constant RF 22.000000
[09:37:04] 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=9/16
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[09:37:04] Auto-Rotating video 90 degrees
[09:37:04] sync: first pts video is 0
[09:37:04] sync: "Chapter 1" (1) at frame 1 time 0
[09:37:04] sync: first pts audio 0x1 is 0
[09:37:19] reader: done. 1 scr changes
[09:37:45] work: average encoding speed for job is 9.388553 fps
[09:37:45] comb detect: heavy 0 | light 0 | uncombed 241 | total 241
[09:37:45] decomb: deinterlaced 0 | blended 0 | unfiltered 241 | total 241
[09:37:45] vfr: 241 frames output, 0 dropped and 0 duped for CFR/PFR
[09:37:45] vfr: lost time: 0 (0 frames)
[09:37:45] vfr: gained time: 0 (0 frames) (0 not accounted for)
[09:37:45] aac-decoder done: 377 frames, 0 decoder errors
[09:37:45] h264-decoder done: 241 frames, 0 decoder errors
[09:37:45] sync: got 241 frames, 241 expected
[09:37:45] sync: framerate min 30.036 fps, max 30.036 fps, avg 30.036 fps
x264 [info]: frame I:2     Avg QP:22.62  size: 67126
x264 [info]: frame P:65    Avg QP:23.83  size: 41092
x264 [info]: frame B:174   Avg QP:25.91  size: 14194
x264 [info]: consecutive B-frames:  3.3%  0.8%  1.2% 94.6%
x264 [info]: mb I  I16..4: 25.9%  0.0% 74.1%
x264 [info]: mb P  I16..4: 13.2%  0.0% 14.9%  P16..4: 46.8% 17.4%  6.8%  0.0%  0.0%    skip: 0.9%
x264 [info]: mb B  I16..4:  5.8%  0.0%  0.7%  B16..8: 31.6%  8.3%  0.4%  direct:37.6%  skip:15.6%  L0:43.6% L1:46.4% BI:10.0%
x264 [info]: coded y,uvDC,uvAC intra: 43.9% 74.5% 16.1% inter: 24.1% 68.6% 1.5%
x264 [info]: i16 v,h,dc,p: 28% 25% 31% 16%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 24% 28%  4%  6%  5%  8%  3%  5%
x264 [info]: i8c dc,h,v,p: 55% 23% 17%  5%
x264 [info]: Weighted P-Frames: Y:61.5% UV:61.5%
x264 [info]: ref P L0: 73.1% 26.9%
x264 [info]: ref B L0: 85.5% 14.5%
x264 [info]: ref B L1: 97.0%  3.0%
x264 [info]: kb/s:5253.07
[09:37:46] mux: track 0, 241 frames, 5274868 bytes, 5231.27 kbps, fifo 256
[09:37:46] mux: track 1, 378 frames, 164882 bytes, 163.52 kbps, fifo 512
[09:37:46] Finished work at: Wed Dec 23 09:37:46 2020
[09:37:46] libhb: work result = 0

# Encode Completed ...


Post Reply