[fixed]Audio doesn't align with video using Direct Show

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
PaulF
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

[fixed]Audio doesn't align with video using Direct Show

Post by PaulF » Sat Dec 24, 2016 2:14 am

I'm not sure what to do with this. The video and audio are only out of sync when I play it on Beyond TV. It could be a BTV problem, but it is not supported anymore. BTV uses Direct Show filter codecs and I am not sure if Direct Show is still supported either. Since you probably can not reproduce this problem, I am wondering if anyone has a guess at a work around. I am using the latest nightly because it supports h.264 CCs.

Code: Select all

HandBrake Nightly 20161222211355-9e80492-master (2016122301) - 32bit
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16061 MB, 
GPU Information:
  Intel(R) HD Graphics 4600 - 9.18.10.3257
Screen: 1920x1080
Temp Dir: C:\Users\PAUL\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\PAUL\AppData\Roaming\HandBrake Team\HandBrake\1.0.0.0

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


# Starting Encode ...

[16:37:41] hb_init: starting libhb thread
[16:37:41] thread 746ff08 started ("libhb")
[16:37:42] thread 7470100 started ("work")
[16:37:42] 1 job(s) to process
[16:37:42] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "File": "C:\\Users\\Public\\Documents\\SnapStream\\Beyond TV\\shows\\Midsomer Murders (1_2)-(Dead Letters)-2016-12-22-0.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "4",
          "crop-left": "2",
          "crop-right": "2",
          "crop-top": "0",
          "height": "1078",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 4368,
    "Den": 4369
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "C:\\Users\\Public\\Documents\\SnapStream\\Beyond TV\\shows\\Midsomer Murders (1_2)-(Dead Letters)-2016-12-22-0.tp"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": [
      {
        "Burn": true,
        "Default": false,
        "Forced": false,
        "ID": 1,
        "Offset": 0,
        "Track": 0
      }
    ]
  },
  "Video": {
    "Encoder": 65536,
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "veryfast",
    "Profile": "main",
    "Quality": 20.0,
    "OpenCL": false,
    "HWDecode": false,
    "QSV": {
      "Decode": true,
      "AsyncDepth": 0
    }
  }
}
[16:37:42] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[16:37:42]  - Intel microarchitecture Haswell
[16:37:42]  - logical processor count: 8
[16:37:42] OpenCL device #1: Intel(R) Corporation Intel(R) HD Graphics 4600
[16:37:42]  - OpenCL version: 1.2
[16:37:42]  - driver version: 9.18.10.3257
[16:37:42]  - device type:    GPU
[16:37:42]  - supported:      YES
[16:37:42] Intel Quick Sync Video support: yes
[16:37:42]  - Intel Media SDK hardware: API 1.7 (minimum: 1.3)
[16:37:42]  - H.264 encoder: yes
[16:37:42]     - preferred implementation: hardware (any)
[16:37:42]     - capabilities (hardware):  bpyramid la vsinfo opt1 opt2+mbbrc+extbrc+trellis
[16:37:42]  - H.265 encoder: no
[16:37:42] hb_scan: path=C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Midsomer Murders (1_2)-(Dead Letters)-2016-12-22-0.tp, title_index=1
[16:37:42] thread 74701a8 started ("scan")
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:274: failed opening UDF image C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Midsomer Murders (1_2)-(Dead Letters)-2016-12-22-0.tp
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[16:37:42] bd: not a bd - trying as a stream/file instead
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.BUP.
[16:37:42] dvd: not a dvd - trying as a stream/file instead
[16:37:42] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[16:37:42] Probing 1 unknown stream
[16:37:42] stream: error near frame 0: missing start code
[16:37:42] Found the following PIDS
[16:37:42]     Video PIDS :
[16:37:42]       0xef5 type MPEG2 (0x2) (PCR)
[16:37:42]     Audio PIDS :
[16:37:42]       0xef7 type AC3 (0x81)
[16:37:42]       0xef8 type AC3 (0x81)
[16:37:42]     Subtitle PIDS :
[16:37:42]     Other PIDS :
[16:37:42]       0xf02 type DTS-HD MA (0x86)
[16:37:42] stream id 0xef7 (type 0x81 substream 0x0) audio 0xef7
[16:37:42] stream id 0xef8 (type 0x81 substream 0x0) audio 0xef8
[16:37:42] scan: decoding previews for title 1
[16:37:42] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[16:37:42] Probing 1 unknown stream
[16:37:42] stream: error near frame 0: missing start code
[16:37:42] scan: preview 1
[16:37:42] stream: error near frame 0: missing start code
[16:37:42] fifo_close: trashing 0 buffer(s)
[16:37:42] scan: audio 0xef8: ac3, rate=48000Hz, bitrate=192000 español (AC3) (1.0 ch)
[16:37:42] fifo_close: trashing 0 buffer(s)
[16:37:42] scan: audio 0xef7: ac3, rate=48000Hz, bitrate=384000 English (AC3) (2.0 ch)
[16:37:42] scan: preview 2
[16:37:42] Interlacing detected in preview frame 2
[16:37:42] scan: preview 3
[16:37:42] scan: preview 4
[16:37:42] scan: preview 5
[16:37:42] Interlacing detected in preview frame 5
[16:37:42] scan: preview 6
[16:37:42] scan: preview 7
[16:37:42] scan: preview 8
[16:37:42] scan: preview 9
[16:37:42] scan: preview 10
[16:37:42] stream: 9 good frames, 0 errors (0%)
[16:37:42] scan: 10 previews, 1920x1080, 29.970 fps, autocrop = 0/4/2/2, aspect 16:9, PAR 1:1
[16:37:42] Freed 6 buffers of size 1024
[16:37:42] Freed 4 buffers of size 2048
[16:37:42] Freed 2 buffers of size 4096
[16:37:42] Freed 1 buffers of size 8192
[16:37:42] Freed 1 buffers of size 16384
[16:37:42] Freed 1 buffers of size 32768
[16:37:42] Freed 3 buffers of size 65536
[16:37:42] Freed 1 buffers of size 4194304
[16:37:42] Allocated 4470784 bytes of buffers on this pass and Freed 4470784 bytes, 0 bytes leaked
[16:37:42] thread 74701a8 exited ("scan")
[16:37:42] thread 74701a8 joined ("scan")
[16:37:42] libhb: scan thread found 1 valid title(s)
[16:37:42] starting job
[16:37:42] [ass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.3.0 (COMPLEX)
[16:38:25] [ass] Using font provider fontconfig
[16:38:25] work: track 1, dithering not supported by codec
[16:38:25] work: only 1 chapter, disabling chapter markers
[16:38:25] job configuration:
[16:38:25]  * source
[16:38:25]    + C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Midsomer Murders (1_2)-(Dead Letters)-2016-12-22-0.tp
[16:38:25]    + title 1, chapter(s) 1 to 1
[16:38:25]  * destination
[16:38:25]    + C:\Users\Public\Documents\SnapStream\Beyond TV\shows\Midsomer Murders (1_2)-(Dead Letters)-2016-12-22-0.mp4
[16:38:25]    + container: MPEG-4 (libavformat)
[16:38:25]  * video track
[16:38:25]    + decoder: mpeg2video
[16:38:25]      + bitrate 25000 kbps
[16:38:25]    + filters
[16:38:25]      + Framerate Shaper (mode=0)
[16:38:25]        + frame rate: same as source (around 29.970 fps)
[16:38:25]      + Subtitle renderer ()
[16:38:25]      + Crop and Scale (width=1920:height=1078:crop-top=0:crop-bottom=4:crop-left=2:crop-right=2)
[16:38:25]        + source: 1920 * 1080, crop (0/4/2/2): 1916 * 1076, scale: 1920 * 1078
[16:38:25]    + Output geometry
[16:38:25]      + storage dimensions: 1920 x 1078
[16:38:25]      + pixel aspect ratio: 4368 : 4369
[16:38:25]      + display dimensions: 1919 x 1078
[16:38:25]    + encoder: H.264 (libx264)
[16:38:25]      + preset:  veryfast
[16:38:25]      + profile: main
[16:38:25]      + level:   4.0
[16:38:25]      + quality: 20.00 (RF)
[16:38:25]  * subtitle track 1, Closed Captions (track 0, id 0x0) Text [CC] -> Render/Burn-in
[16:38:25]  * audio track 1
[16:38:25]    + decoder: English (AC3) (2.0 ch) (track 1, id 0xef7)
[16:38:25]      + bitrate: 384 kbps, samplerate: 48000 Hz
[16:38:25]    + mixdown: Stereo
[16:38:25]    + encoder: AAC (libavcodec)
[16:38:25]      + bitrate: 160 kbps, samplerate: 48000 Hz
[16:38:25] file is MPEG Transport Stream with 188 byte packets offset 0 bytes
[16:38:25] Probing 1 unknown stream
[16:38:25] stream: error near frame 0: missing start code
[16:38:25] sync: expecting 104562 video frames
[16:38:25] thread 74701a8 started ("Audio Synchronization")
[16:38:25] thread 7470058 started ("Subitle Synchronization")
[16:38:25] encx264: min-keyint: 30, keyint: 300
[16:38:25] encx264: encoding at constant RF 20.000000
[16:38:25] encx264: unparsed options: level=4.0:ref=1:vbv-maxrate=20000:trellis=0:8x8dct=0:rc-lookahead=10:weightp=1:subme=2:mixed-refs=0:vbv-bufsize=25000
[16:38:25] encx264: opening libx264 (pass 0)
x264 [info]: using SAR=4368/4369
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
x264 [info]: profile Main, level 4.0
[16:38:25] Writing Metadata to output file...
[16:38:25] thread 74708e0 started ("Muxer")
[16:38:25] thread 7470988 started ("Reader")
[16:38:25] thread 74704f0 started ("Audio decoder (libavcodec)")
[16:38:25] thread 74702f8 started ("Closed Caption (608) decoder")
[16:38:25] stream: error near frame 0: missing start code
[16:38:25] thread 7470a30 started ("Video decoder (libavcodec)")
[16:38:25] thread 7470ad8 started ("Video Synchronization")
[16:38:25] thread 7470b80 started ("AVCodec Audio encoder (libavcodec)")
[16:38:25] thread 7470c28 started ("H.264/AVC encoder (libx264)")
[16:38:25] thread 7470cd0 started ("Muxer")
[16:38:25] thread 7470d78 started ("Framerate Shaper")
[16:38:25] thread 7470e20 started ("Subtitle renderer")
[16:38:25] thread 7470ec8 started ("Crop and Scale")
[16:38:25] sync: first pts audio 0xef7 is 0
[16:38:25] sync: first pts video is 66494
[16:39:11] sync: first pts subtitle 0x0 is 11850266
[16:39:11] [ass] fontselect: (Courier New, 400, 0) -> C:/Windows/fonts/cour.ttf, 0, CourierNewPSMT
[16:40:37] stream: error near frame 9622: continuity error: got 14 expected 9
[ac3 @ 13b6a3a0] exponent out-of-range
[ac3 @ 13b6a3a0] error decoding the audio block
[ac3 @ 13b6a3a0] frame sync error
[mpeg2video @ 13c5d760] Invalid mb type in B-frame at 98 55
[mpeg2video @ 13c5d760] mb incr damaged
[mpeg2video @ 13c5d760] ac-tex damaged at 1 7
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] Invalid mb type in B-frame at 4 9
[mpeg2video @ 13c5d760] 00 motion_type at 5 10
[mpeg2video @ 13c5d760] 00 motion_type at 2 11
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] Invalid mb type in B-frame at 4 15
[mpeg2video @ 13c5d760] 00 motion_type at 26 16
[mpeg2video @ 13c5d760] invalid cbp at 1 17
[mpeg2video @ 13c5d760] Invalid mb type in B-frame at 4 18
[mpeg2video @ 13c5d760] Invalid mb type in B-frame at 4 19
[mpeg2video @ 13c5d760] 00 motion_type at 2 20
[mpeg2video @ 13c5d760] invalid cbp at 1 21
[mpeg2video @ 13c5d760] invalid cbp at 1 22
[mpeg2video @ 13c5d760] ac-tex damaged at 0 23
[mpeg2video @ 13c5d760] ac-tex damaged at 0 24
[mpeg2video @ 13c5d760] ac-tex damaged at 0 25
[mpeg2video @ 13c5d760] 00 motion_type at 12 26
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] Invalid mb type in B-frame at 4 29
[mpeg2video @ 13c5d760] Invalid mb type in B-frame at 3 30
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] invalid cbp at 2 34
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] ac-tex damaged at 0 37
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] invalid cbp at 1 40
[mpeg2video @ 13c5d760] ac-tex damaged at 0 41
[mpeg2video @ 13c5d760] invalid cbp at 1 42
[mpeg2video @ 13c5d760] 00 motion_type at 1 43
[mpeg2video @ 13c5d760] invalid cbp at 1 44
[mpeg2video @ 13c5d760] 00 motion_type at 1 45
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] ac-tex damaged at 1 47
[mpeg2video @ 13c5d760] ac-tex damaged at 1 48
[mpeg2video @ 13c5d760] ac-tex damaged at 1 49
[mpeg2video @ 13c5d760] 00 motion_type at 1 50
[mpeg2video @ 13c5d760] mb incr damaged
[mpeg2video @ 13c5d760] Invalid mb type in B-frame at 57 52
[mpeg2video @ 13c5d760] 00 motion_type at 5 53
[mpeg2video @ 13c5d760] ac-tex damaged at 0 54
[mpeg2video @ 13c5d760] ac-tex damaged at 12 55
[mpeg2video @ 13c5d760] invalid cbp at 24 56
[mpeg2video @ 13c5d760] mb incr damaged
[mpeg2video @ 13c5d760] ac-tex damaged at 0 58
[mpeg2video @ 13c5d760] 00 motion_type at 9 59
[mpeg2video @ 13c5d760] 00 motion_type at 37 60
[mpeg2video @ 13c5d760] 00 motion_type at 13 61
[mpeg2video @ 13c5d760] 00 motion_type at 10 62
[mpeg2video @ 13c5d760] invalid cbp at 1 63
[mpeg2video @ 13c5d760] ac-tex damaged at 0 64
[mpeg2video @ 13c5d760] ac-tex damaged at 1 65
[mpeg2video @ 13c5d760] slice mismatch
[mpeg2video @ 13c5d760] invalid cbp at 8 67
[mpeg2video @ 13c5d760] MVs not available, ER not possible.
[17:04:27] next_packet: eof while re-establishing sync @ 5310447656
[17:04:27] hb_ts_stream_decode - eof
[17:04:27] reader: done. 1 scr changes
[17:04:27] thread 7470988 exited ("Reader")
[17:04:29] thread 7470cd0 exited ("Muxer")
[17:04:29] thread 7470cd0 joined ("Muxer")
[17:04:29] work: average encoding speed for job is 67.846321 fps
[17:04:29] thread 74702f8 exited ("Closed Caption (608) decoder")
[17:04:29] thread 7470ec8 exited ("Crop and Scale")
[17:04:29] thread 7470d78 exited ("Framerate Shaper")
[17:04:29] thread 7470d78 joined ("Framerate Shaper")
[17:04:29] vfr: lost time: 0 (0 frames)
[17:04:29] vfr: gained time: 0 (0 frames) (0 not accounted for)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] thread 7470ad8 exited ("Video Synchronization")
[17:04:29] thread 7470b80 exited ("AVCodec Audio encoder (libavcodec)")
[17:04:29] thread 74708e0 exited ("Muxer")
[17:04:29] thread 7470e20 exited ("Subtitle renderer")
[17:04:29] thread 7470e20 joined ("Subtitle renderer")
[17:04:29] thread 74701a8 exited ("Audio Synchronization")
[17:04:29] thread 7470a30 exited ("Video decoder (libavcodec)")
[17:04:29] thread 74704f0 exited ("Audio decoder (libavcodec)")
[17:04:29] thread 7470c28 exited ("H.264/AVC encoder (libx264)")
[17:04:29] thread 7470058 exited ("Subitle Synchronization")
[17:04:29] thread 7470ec8 joined ("Crop and Scale")
[17:04:29] thread 7470988 joined ("Reader")
[17:04:29] thread 74704f0 joined ("Audio decoder (libavcodec)")
[17:04:29] thread 74702f8 joined ("Closed Caption (608) decoder")
[17:04:29] thread 7470a30 joined ("Video decoder (libavcodec)")
[17:04:29] thread 7470ad8 joined ("Video Synchronization")
[17:04:29] thread 7470b80 joined ("AVCodec Audio encoder (libavcodec)")
[17:04:29] thread 7470c28 joined ("H.264/AVC encoder (libx264)")
[17:04:29] stream: 106074 good frames, 12 errors (0%)
[17:04:29] ac3-decoder done: 110599 frames, 0 decoder errors
[17:04:29] mpeg2video-decoder done: 106070 frames, 0 decoder errors
[17:04:29] sync: got 106070 frames, 104562 expected
[17:04:29] sync: framerate min 14.985 fps, max 29.970 fps, avg 29.969 fps
[17:04:29] thread 74701a8 joined ("Audio Synchronization")
[17:04:29] thread 7470058 joined ("Subitle Synchronization")
[17:04:29] encavcodecaudio: closing libavcodec
x264 [info]: frame I:952   Avg QP:18.43  size:146454
x264 [info]: frame P:28838 Avg QP:21.18  size: 55562
x264 [info]: frame B:76280 Avg QP:22.59  size: 19679
x264 [info]: consecutive B-frames:  2.6%  3.1%  4.2% 90.0%
x264 [info]: mb I  I16..4: 33.3%  0.0% 66.7%
x264 [info]: mb P  I16..4: 21.1%  0.0%  6.2%  P16..4: 33.7% 18.0%  9.5%  0.0%  0.0%    skip:11.6%
x264 [info]: mb B  I16..4:  4.1%  0.0%  0.7%  B16..8: 23.0%  7.4%  0.9%  direct:16.3%  skip:47.6%  L0:38.7% L1:43.8% BI:17.4%
x264 [info]: coded y,uvDC,uvAC intra: 33.1% 61.0% 17.8% inter: 15.2% 23.3% 0.5%
x264 [info]: i16 v,h,dc,p: 44% 30% 17%  9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 44% 14%  3%  3%  4%  3%  3%  3%
x264 [info]: i8c dc,h,v,p: 48% 23% 24%  5%
x264 [info]: Weighted P-Frames: Y:1.9% UV:1.3%
x264 [info]: kb/s:7329.95
[17:04:29] mux: file size, 3316762038 bytes
[17:04:29] mux: track 0, 106070 frames, 3242821523 bytes, 7328.33 kbps, fifo 1024
[17:04:29] mux: track 1, 165899 frames, 70935478 bytes, 160.30 kbps, fifo 2048
[17:04:29] mux: overhead, 11.05 bytes per frame
[17:04:29] thread 74708e0 joined ("Muxer")
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] fifo_close: trashing 0 buffer(s)
[17:04:29] Freed 320 buffers of size 1024
[17:04:29] Freed 32 buffers of size 2048
[17:04:29] Freed 32 buffers of size 4096
[17:04:29] Freed 32 buffers of size 8192
[17:04:29] Freed 32 buffers of size 16384
[17:04:29] Freed 32 buffers of size 32768
[17:04:29] Freed 32 buffers of size 65536
[17:04:29] Freed 32 buffers of size 131072
[17:04:29] Freed 32 buffers of size 262144
[17:04:29] Freed 3 buffers of size 524288
[17:04:29] Freed 32 buffers of size 4194304
[17:04:29] Allocated 152830976 bytes of buffers on this pass and Freed 152829952 bytes, 1024 bytes leaked
[17:04:29] thread 7470100 exited ("work")
[17:04:29] thread 7470100 joined ("work")
[17:04:29] libhb: work result = 0

# Encode Completed ...

Last edited by PaulF on Sun Dec 25, 2016 2:04 am, edited 1 time in total.

musicvid
Veteran User
Posts: 3393
Joined: Sat Jun 27, 2009 1:19 am

Re: Audio doesn't align with video using Direct Show

Post by musicvid » Sat Dec 24, 2016 12:44 pm

Can't help you with "Beyond TV." It was abandoned six years ago, when h264 encoding was still in its early days!

Your source is a broadcast (transport) stream. It is clear from your log that there are many, many transport stream errors and damaged frames in your source, probably from spotty reception. We call it "GIGO." Has nothing to do with DShow layer,, and even less to do with how it plays in a particular player.

Run your source through Quick stream Fix in VideoRedo BEFORE encoding. Only way to get a reasonably clean program stream from dicey OTA recordings.

User avatar
JohnAStebbins
HandBrake Team
Posts: 5484
Joined: Sat Feb 09, 2008 7:21 pm

Re: Audio doesn't align with video using Direct Show

Post by JohnAStebbins » Sat Dec 24, 2016 6:16 pm

It's possible that BTV doesn't handle variable framerate encoding correctly. Try setting constant framerate on the video tab.

PaulF
Posts: 58
Joined: Thu Nov 21, 2013 7:15 am

Re: Audio doesn't align with video using Direct Show

Post by PaulF » Sun Dec 25, 2016 2:02 am

JohnAStebbins wrote:It's possible that BTV doesn't handle variable framerate encoding correctly. Try setting constant framerate on the video tab.
I run a batch file after every recording. I thought I was doing constant rate, by using "-r 30" in the CLI command line. Then I read the fine print in the help. Adding "--cfr" fixed it.

Thanks.

I have been waiting for BTV to go obsolete for 6 years, like musicvid said. I always think the worst.

Post Reply