Tearing and distorted images

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
david3
Posts: 34
Joined: Fri Dec 24, 2010 5:46 am

Tearing and distorted images

Post by david3 »

Sometimes I'm noticing tearing and distorted images, usually during the credits of a movie.

I'm using Handbrake 0.9.5 with Windows Vista to encode to High Profile mkv files (RF20), and playing them back with VLC 1.1.7. The same scenes from the ripped DVD files (ripped using AnyDVD) play fine on VLC without the tearing and distortion.

Here are some sample screenshots of the credits from an encode of the DVD "Next":

Image

Image

Image

Here's the encode log:

Code: Select all

# Windows GUI 0.9.5 2011010300
# Running: Microsoft Windows NT 6.0.6002 Service Pack 2
# CPU: AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55
# Ram: 3070 MB
# Screen: 1680x1050
# Temp Dir: C:\Users\david\AppData\Local\Temp\
# Install Dir: C:\Program Files\Handbrake
# Data Dir: C:\Users\david\AppData\Roaming\HandBrake\HandBrake\0.9.5.3728

# CLI Query:  -i "X:\movies-temp2\Next (2007) [dvd]\NEXT" -t 1 -c 1-18 -o "X:\movies-new\Next (2007) [dvd].mkv"  -f mkv --detelecine --decomb --crop 62:64:4:4 --strict-anamorphic  -e x264 -q 20 -a 1,1 -E lame,copy:ac3 -6 dpl2,auto -R Auto,Auto -B 256,auto -D 0,0 --subtitle scan,1 --subtitle-forced=1 --subtitle-default=1 --markers="C:\Users\david\AppData\Local\Temp\Next (2007) [dvd]-1-chapters.csv" -x b-adapt=2:rc-lookahead=50 --verbose=1
# User Query: False
-------------------------------------------

[01:26:05] hb_init: checking cpu count
[01:26:05] hb_init: starting libhb thread
HandBrake 0.9.5 (2011010300) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening X:\movies-temp2\Next (2007) [dvd]\NEXT...
[01:26:05] hb_scan: path=X:\movies-temp2\Next (2007) [dvd]\NEXT, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening X:\movies-temp2\Next (2007) [dvd]\NEXT/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(X:\movies-temp2\Next (2007) [dvd]\NEXT) failed (0x1823a30)
[01:26:05] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[01:26:05] scan: DVD has 10 title(s)
[01:26:05] scan: scanning title 1
[01:26:05] scan: opening IFO for VTS 3
[01:26:05] scan: duration is 01:36:07 (5767043 ms)
[01:26:05] pgc_id: 1, pgn: 1: pgc: 0x1826cd0
[01:26:05] scan: vts=3, ttn=1, cells=0->30, blocks=0->2741365, 2741366 blocks
[01:26:05] scan: checking audio 1
[01:26:05] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[01:26:05] scan: checking audio 2
[01:26:05] scan: id=81bd, lang=Francais (AC3), 3cc=fra ext=1
[01:26:05] scan: checking audio 3
[01:26:05] scan: id=82bd, lang=Espanol (AC3), 3cc=spa ext=1
[01:26:05] scan: checking subtitle 1
[01:26:05] scan: id=21bd, lang=English, 3cc=eng
[01:26:05] scan: checking subtitle 2
[01:26:05] scan: id=23bd, lang=Francais, 3cc=fra
[01:26:05] scan: checking subtitle 3
[01:26:05] scan: id=25bd, lang=Espanol, 3cc=spa
[01:26:05] scan: checking subtitle 4
[01:26:05] scan: id=27bd, lang=Espanol, 3cc=spa
[01:26:05] scan: title 1 has 18 chapters
[01:26:05] scan: chap 1 c=0->1, b=0->57449 (57450), 149452 ms
[01:26:05] scan: chap 2 c=2->3, b=57450->277030 (219581), 457264 ms
[01:26:05] scan: chap 3 c=4->4, b=277031->326228 (49198), 99471 ms
[01:26:05] scan: chap 4 c=5->5, b=326229->452648 (126420), 268456 ms
[01:26:05] scan: chap 5 c=6->7, b=452649->563199 (110551), 238941 ms
[01:26:05] scan: chap 6 c=8->8, b=563200->585738 (22539), 47387 ms
[01:26:05] scan: chap 7 c=9->10, b=585739->784183 (198445), 412714 ms
[01:26:05] scan: chap 8 c=11->11, b=784184->853753 (69570), 142407 ms
[01:26:05] scan: chap 9 c=12->13, b=853754->1033301 (179548), 360739 ms
[01:26:05] scan: chap 10 c=14->15, b=1033302->1196990 (163689), 352947 ms
[01:26:05] scan: chap 11 c=16->16, b=1196991->1369894 (172904), 367651 ms
[01:26:05] scan: chap 12 c=17->18, b=1369895->1597961 (228067), 469259 ms
[01:26:05] scan: chap 13 c=19->20, b=1597962->1784460 (186499), 350603 ms
[01:26:05] scan: chap 14 c=21->22, b=1784461->2054352 (269892), 544185 ms
[01:26:05] scan: chap 15 c=23->24, b=2054353->2290887 (236535), 492009 ms
[01:26:05] scan: chap 16 c=25->26, b=2290888->2475505 (184618), 409171 ms
[01:26:05] scan: chap 17 c=27->27, b=2475506->2597379 (121874), 269481 ms
[01:26:05] scan: chap 18 c=28->30, b=2597380->2741365 (143986), 334896 ms
[01:26:05] scan: aspect = 0
[01:26:05] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[01:26:05] scan: title angle(s) 1
[01:26:05] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[01:26:05] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
[01:26:05] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=448000 Espanol (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
[01:26:06] scan: 10 previews, 720x480, 23.976 fps, autocrop = 58/62/0/0, aspect 16:9, PAR 32:27
[01:26:06] scan: title (0) job->width:720, job->height:304
[01:26:06] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 3, ttn 1, cells 0->30 (2741366 blocks)
  + duration: 01:36:07
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 58/62/0/0
  + chapters:
    + 1: cells 0->1, 57450 blocks, duration 00:02:29
    + 2: cells 2->3, 219581 blocks, duration 00:07:37
    + 3: cells 4->4, 49198 blocks, duration 00:01:39
    + 4: cells 5->5, 126420 blocks, duration 00:04:28
    + 5: cells 6->7, 110551 blocks, duration 00:03:59
    + 6: cells 8->8, 22539 blocks, duration 00:00:47
    + 7: cells 9->10, 198445 blocks, duration 00:06:53
    + 8: cells 11->11, 69570 blocks, duration 00:02:22
    + 9: cells 12->13, 179548 blocks, duration 00:06:01
    + 10: cells 14->15, 163689 blocks, duration 00:05:53
    + 11: cells 16->16, 172904 blocks, duration 00:06:08
    + 12: cells 17->18, 228067 blocks, duration 00:07:49
    + 13: cells 19->20, 186499 blocks, duration 00:05:51
    + 14: cells 21->22, 269892 blocks, duration 00:09:04
    + 15: cells 23->24, 236535 blocks, duration 00:08:12
    + 16: cells 25->26, 184618 blocks, duration 00:06:49
    + 17: cells 27->27, 121874 blocks, duration 00:04:29
    + 18: cells 28->30, 143986 blocks, duration 00:05:35
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps
    + 3, Espanol (AC3) (5.1 ch) (iso639-2: spa), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
    + 2, Francais (iso639-2: fra) (Bitmap)(VOBSUB)
    + 3, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
    + 4, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
    + 5, Closed Captions (iso639-2: eng) (Text)(CC)
Reading chapter markers from file C:\Users\david\AppData\Local\Temp\Next (2007) [dvd]-1-chapters.csv
Subtitle Scan Enabled - enabling subtitles if found for foreign language segments
[01:26:06] 2 job(s) to process
[01:26:06] starting job
[01:26:06] sync: expecting 138294 video frames
[01:26:06] job configuration:
[01:26:06]  * source
[01:26:06]    + X:\movies-temp2\Next (2007) [dvd]\NEXT
[01:26:06]    + title 1, chapter(s) 1 to 18
[01:26:06]  * destination
[01:26:06]    + X:\movies-new\Next (2007) [dvd].mkv
[01:26:06]    + container: Matroska (.mkv)
[01:26:06]      + chapter markers
[01:26:06]  * video track
[01:26:06]    + decoder: mpeg2
[01:26:06]      + bitrate 9800 kbps
[01:26:06]    + frame rate: same as source (around 23.976 fps)
[01:26:06]    + strict anamorphic
[01:26:06]      + storage dimensions: 720 * 480 -> 712 * 354, crop 62/64/4/4, mod 0
[01:26:06]      + pixel aspect ratio: 32 / 27
[01:26:06]      + display dimensions: 843 * 354
[01:26:06]    + filters
[01:26:06]      + Detelecine (pullup) (default settings)
[01:26:06]      + Decomb (default settings)
[01:26:06]  * subtitle track 1, English (id 21bd) Picture [VOBSUB] -> Foreign Audio Search
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[01:26:06] decomb thread started for segment 0
[01:26:06] yadif thread started for segment 0
[01:26:06] yadif thread started for segment 1
[01:26:06] decomb thread started for segment 1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[01:29:23] reader: done. 1 scr changes
[01:29:23] work: average encoding speed for job is 0.000000 fps
[01:29:23] mpeg2 done: 0 frames
[01:29:23] render: lost time: 0 (0 frames)
[01:29:23] render: gained time: 0 (0 frames) (0 not accounted for)
[01:29:23] Subtitle stream 0x21bd 'English': 1453 hits (0 forced)
[01:29:23] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[01:29:23] starting job
[01:29:23] sync: expecting 138294 video frames
[ac3 @ 0x182c290] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[01:29:23] job configuration:
[01:29:23]  * source
[01:29:23]    + X:\movies-temp2\Next (2007) [dvd]\NEXT
[01:29:23]    + title 1, chapter(s) 1 to 18
[01:29:23]  * destination
[01:29:23]    + X:\movies-new\Next (2007) [dvd].mkv
[01:29:23]    + container: Matroska (.mkv)
[01:29:23]      + chapter markers
[01:29:23]  * video track
[01:29:23]    + decoder: mpeg2
[01:29:23]      + bitrate 9800 kbps
[01:29:23]    + frame rate: same as source (around 23.976 fps)
[01:29:23]    + strict anamorphic
[01:29:23]      + storage dimensions: 720 * 480 -> 712 * 354, crop 62/64/4/4, mod 0
[01:29:23]      + pixel aspect ratio: 32 / 27
[01:29:23]      + display dimensions: 843 * 354
[01:29:23]    + filters
[01:29:23]      + Detelecine (pullup) (default settings)
[01:29:23]      + Decomb (default settings)
[01:29:23]    + encoder: x264
[01:29:23]      + options: b-adapt=2:rc-lookahead=50
[01:29:23]      + quality: 20.00 (RF)
[01:29:23]  * subtitle track 1, English (id 21bd) Picture [VOBSUB] -> Pass-Through
[01:29:23]  * audio track 0
[01:29:23]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[01:29:23]      + bitrate: 448 kbps, samplerate: 48000 Hz
[01:29:23]    + mixdown: Dolby Pro Logic II
[01:29:23]    + encoder: lame
[01:29:23]      + bitrate: 256 kbps, samplerate: 48000 Hz
[01:29:23]  * audio track 1
[01:29:23]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[01:29:23]      + bitrate: 448 kbps, samplerate: 48000 Hz
[01:29:23]    + AC3 passthrough
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[01:29:23] yadif thread started for segment 1
[01:29:23] decomb thread started for segment 1
[01:29:23] yadif thread started for segment 0
[01:29:23] decomb thread started for segment 0
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[01:29:23] encx264: min-keyint: auto (23), keyint: 240
[01:29:23] encx264: encoding with stored aspect 32/27
[01:29:23] encx264: Encoding at constant RF 20.000000
libdvdread: Encrypted DVD support unavailable.
x264 [info]: using SAR=32/27
libdvdread: Device (null) inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[01:29:23] reader: first SCR 146 id 224 DTS 15252
x264 [info]: using cpu capabilities: MMX2 SSE2Slow SlowCTZ
[01:29:23] mpeg2: "Chapter 1" (1) at frame 0 time 3003
x264 [info]: profile High, level 3.0
No accelerated IMDCT transform found
[01:29:23] enclame: opening libmp3lame
No accelerated IMDCT transform found
[01:29:59] 22.255567s: Film -> Video
[01:29:59] 22.305611s: Video -> Film
[01:33:54] mpeg2: "Chapter 2" (2) at frame 3590 time 13474461
[01:51:10] mpeg2: "Chapter 3" (3) at frame 14562 time 54660606
[01:55:19] mpeg2: "Chapter 4" (4) at frame 16953 time 63636573
[02:04:58] mpeg2: "Chapter 5" (5) at frame 23401 time 87840753
[02:06:51] 1028.577544s: Film -> Video
[02:06:51] 1028.777744s: Video -> Film
[02:13:20] mpeg2: "Chapter 6" (6) at frame 29143 time 109390281
[02:15:03] mpeg2: "Chapter 7" (7) at frame 30286 time 113681568
[02:15:04] 1263.645689s: Film -> Video
[02:15:05] 1263.845911s: Video -> Film
[02:15:07] 1264.830200s: Film -> Video
[02:15:07] 1265.013744s: Video -> Film
[02:24:14] 1531.429878s: Film -> Video
[02:24:14] 1531.613411s: Video -> Film
[02:29:25] mpeg2: "Chapter 8" (8) at frame 40186 time 150831681
[02:34:55] mpeg2: "Chapter 9" (9) at frame 43606 time 163669506
[02:48:19] mpeg2: "Chapter 10" (10) at frame 52264 time 196169473
[03:01:10] mpeg2: "Chapter 11" (11) at frame 60753 time 228035808
[03:13:47] mpeg2: "Chapter 12" (12) at frame 69578 time 261161901
[03:30:19] mpeg2: "Chapter 13" (13) at frame 80845 time 303456153
[03:44:01] mpeg2: "Chapter 14" (14) at frame 89246 time 334990656
[04:00:07] 4166.574178s: Film -> Video
[04:00:07] 4166.774378s: Video -> Film
[04:00:13] 4169.410344s: Film -> Video
[04:00:13] 4169.510444s: Video -> Film
[04:00:14] 4169.660589s: Film -> Video
[04:00:14] 4169.710633s: Video -> Film
[04:00:14] 4169.860778s: Film -> Video
[04:00:14] 4169.894167s: Video -> Film
[04:00:15] 4170.211144s: Film -> Video
[04:00:15] 4170.261200s: Video -> Film
[04:00:18] 4172.096367s: Film -> Video
[04:00:18] 4172.179778s: Video -> Film
[04:00:18] 4172.329922s: Film -> Video
[04:00:19] 4172.363300s: Video -> Film
[04:00:19] 4172.513444s: Film -> Video
[04:00:19] 4172.563489s: Video -> Film
[04:00:19] 4172.730333s: Film -> Video
[04:00:19] 4172.780378s: Video -> Film
[04:00:22] 4174.598867s: Film -> Video
[04:00:22] 4174.682278s: Video -> Film
[04:00:22] 4174.832422s: Film -> Video
[04:00:23] 4174.882467s: Video -> Film
[04:00:23] 4175.032611s: Film -> Video
[04:00:23] 4175.066000s: Video -> Film
[04:00:23] 4175.216144s: Film -> Video
[04:00:23] 4175.266189s: Video -> Film
[04:00:24] 4175.433033s: Film -> Video
[04:00:24] 4175.516444s: Video -> Film
[04:00:24] 4175.666589s: Film -> Video
[04:00:25] 4175.950211s: Video -> Film
[04:03:22] mpeg2: "Chapter 15" (15) at frame 102291 time 383939115
[04:21:55] mpeg2: "Chapter 16" (16) at frame 114088 time 428221353
[04:37:16] mpeg2: "Chapter 17" (17) at frame 123923 time 465140235
[04:46:39] mpeg2: "Chapter 18" (18) at frame 130388 time 489407478
[04:46:39] 5437.894233s: Film -> Video
[04:46:40] 5438.044378s: Video -> Film
[04:52:41] 5765.054400s: Film -> Video
[04:52:41] 5765.538211s: Video -> Film
[04:52:46] reader: done. 1 scr changes
[04:52:51] work: average encoding speed for job is 11.340399 fps
[04:52:52] sync: got 138430 frames, 138294 expected
[04:52:52] mpeg2 done: 138430 frames
[04:52:52] render: lost time: 70571 (23 frames)
[04:52:52] render: gained time: 70571 (91 frames) (0 not accounted for)
[04:52:52] render: average dropped frame duration: 3068
x264 [info]: frame I:1696  Avg QP:18.04  size: 45725  PSNR Mean Y:44.52 U:46.20 V:46.35 Avg:44.98 Global:44.68
x264 [info]: frame P:40490 Avg QP:20.48  size:  9647  PSNR Mean Y:44.08 U:45.59 V:45.80 Avg:44.24 Global:43.41
x264 [info]: frame B:96220 Avg QP:23.76  size:  2535  PSNR Mean Y:42.05 U:44.74 V:45.07 Avg:42.76 Global:42.36
x264 [info]: consecutive B-frames:  2.0%  5.2% 22.2% 70.6%
x264 [info]: mb I  I16..4: 10.3% 63.8% 25.9%
x264 [info]: mb P  I16..4:  2.0%  7.9%  2.7%  P16..4: 40.3% 19.9% 12.2%  0.0%  0.0%    skip:15.1%
x264 [info]: mb B  I16..4:  0.2%  1.0%  0.4%  B16..8: 44.7%  6.1%  1.4%  direct: 2.9%  skip:43.3%  L0:40.0% L1:49.9% BI:10.1%
x264 [info]: 8x8 transform intra:63.1% inter:72.1%
x264 [info]: coded y,uvDC,uvAC intra: 72.0% 87.7% 62.8% inter: 20.5% 24.3% 3.6%
x264 [info]: i16 v,h,dc,p: 51% 14%  8% 27%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 15% 18%  5%  6%  8%  6%  8%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 13% 11%  5%  7%  8%  6%  6%  5%
x264 [info]: i8c dc,h,v,p: 46% 17% 28%  9%
x264 [info]: Weighted P-Frames: Y:2.5% UV:1.6%
x264 [info]: ref P L0: 57.6% 15.1% 20.0%  7.2%  0.2%
x264 [info]: ref B L0: 86.6% 11.0%  2.4%
x264 [info]: ref B L1: 93.7%  6.3%
x264 [info]: SSIM Mean Y:0.9762970 (16.252db)
x264 [info]: PSNR Mean Y:42.672 U:45.004 V:45.301 Avg:43.212 Global:42.658 kb/s:986.77
[04:52:52] mux: track 0, 138406 frames, 712005054 bytes, 986.64 kbps, fifo 64
[04:52:52] mux: track 1, 240549 frames, 181398912 bytes, 251.37 kbps, fifo 256
[04:52:52] mux: track 2, 180412 frames, 323298304 bytes, 448.00 kbps, fifo 256
[04:52:52] mux: track 3, 989 frames, 1941806 bytes, 2.69 kbps, fifo 8
[04:52:52] decomb: deinterlaced 0 | blended 68 | unfiltered 138338 | total 138406
[04:52:52] libhb: work result = 0
Rip done!
HandBrake has exited.
Interestingly, I've also got an older encode of the same DVD, also encoded with HandBrake 0.9.5, though with slightly different cropping and audio settings, and it does not exhibit the tearing and distortion. Here's the log from that old encode:

Code: Select all

# Windows GUI 0.9.5 2011010300
# Running: Microsoft Windows NT 6.0.6002 Service Pack 2
# CPU: AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55
# Ram: 3070 MB
# Screen: 1680x1050
# Temp Dir: C:\Users\david\AppData\Local\Temp\
# Install Dir: C:\Program Files\Handbrake
# Data Dir: C:\Users\david\AppData\Roaming\HandBrake\HandBrake\0.9.5.3728

# CLI Query:  -i "X:\movies\temp\Next (dvd)\NEXT" -t 1 -c 1-18 -o "X:\movies\New\Next (dvd).mkv"  -f mkv --detelecine --decomb --crop 60:64:2:6 --strict-anamorphic  -e x264 -q 20 -a 1,1 -E faac,copy:ac3 -6 dpl2,auto -R Auto,Auto -B 160,auto -D 0.0,0.0 --subtitle scan,1 --subtitle-forced=1 --subtitle-default=1 --markers="C:\Users\david\AppData\Local\Temp\Next (dvd)-1-chapters.csv" -x b-adapt=2:rc-lookahead=50 --verbose=1
# User Query: False
-------------------------------------------

[19:20:46] hb_init: checking cpu count
[19:20:46] hb_init: starting libhb thread
HandBrake 0.9.5 (2011010300) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening X:\movies\temp\Next (dvd)\NEXT...
[19:20:46] hb_scan: path=X:\movies\temp\Next (dvd)\NEXT, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening X:\movies\temp\Next (dvd)\NEXT/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(X:\movies\temp\Next (dvd)\NEXT) failed (0x1c43b00)
[19:20:46] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
[19:20:46] scan: DVD has 10 title(s)
[19:20:46] scan: scanning title 1
[19:20:46] scan: opening IFO for VTS 3
[19:20:46] scan: duration is 01:36:07 (5767043 ms)
[19:20:46] pgc_id: 1, pgn: 1: pgc: 0x1c46d38
[19:20:46] scan: vts=3, ttn=1, cells=0->30, blocks=0->2741365, 2741366 blocks
[19:20:46] scan: checking audio 1
[19:20:46] scan: id=80bd, lang=English (AC3), 3cc=eng ext=1
[19:20:46] scan: checking audio 2
[19:20:46] scan: id=81bd, lang=Francais (AC3), 3cc=fra ext=1
[19:20:46] scan: checking audio 3
[19:20:46] scan: id=82bd, lang=Espanol (AC3), 3cc=spa ext=1
[19:20:46] scan: checking subtitle 1
[19:20:46] scan: id=21bd, lang=English, 3cc=eng
[19:20:46] scan: checking subtitle 2
[19:20:46] scan: id=23bd, lang=Francais, 3cc=fra
[19:20:46] scan: checking subtitle 3
[19:20:46] scan: id=25bd, lang=Espanol, 3cc=spa
[19:20:46] scan: checking subtitle 4
[19:20:46] scan: id=27bd, lang=Espanol, 3cc=spa
[19:20:46] scan: title 1 has 18 chapters
[19:20:46] scan: chap 1 c=0->1, b=0->57449 (57450), 149452 ms
[19:20:46] scan: chap 2 c=2->3, b=57450->277030 (219581), 457264 ms
[19:20:46] scan: chap 3 c=4->4, b=277031->326228 (49198), 99471 ms
[19:20:46] scan: chap 4 c=5->5, b=326229->452648 (126420), 268456 ms
[19:20:46] scan: chap 5 c=6->7, b=452649->563199 (110551), 238941 ms
[19:20:46] scan: chap 6 c=8->8, b=563200->585738 (22539), 47387 ms
[19:20:46] scan: chap 7 c=9->10, b=585739->784183 (198445), 412714 ms
[19:20:46] scan: chap 8 c=11->11, b=784184->853753 (69570), 142407 ms
[19:20:46] scan: chap 9 c=12->13, b=853754->1033301 (179548), 360739 ms
[19:20:46] scan: chap 10 c=14->15, b=1033302->1196990 (163689), 352947 ms
[19:20:46] scan: chap 11 c=16->16, b=1196991->1369894 (172904), 367651 ms
[19:20:46] scan: chap 12 c=17->18, b=1369895->1597961 (228067), 469259 ms
[19:20:46] scan: chap 13 c=19->20, b=1597962->1784460 (186499), 350603 ms
[19:20:46] scan: chap 14 c=21->22, b=1784461->2054352 (269892), 544185 ms
[19:20:46] scan: chap 15 c=23->24, b=2054353->2290887 (236535), 492009 ms
[19:20:46] scan: chap 16 c=25->26, b=2290888->2475505 (184618), 409171 ms
[19:20:46] scan: chap 17 c=27->27, b=2475506->2597379 (121874), 269481 ms
[19:20:46] scan: chap 18 c=28->30, b=2597380->2741365 (143986), 334896 ms
[19:20:46] scan: aspect = 0
[19:20:46] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[19:20:46] scan: title angle(s) 1
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[19:20:51] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[19:20:51] scan: audio 0x81bd: AC-3, rate=48000Hz, bitrate=192000 Francais (AC3) (Dolby Surround)
[19:20:51] scan: audio 0x82bd: AC-3, rate=48000Hz, bitrate=448000 Espanol (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
[19:20:52] scan: 10 previews, 720x480, 23.976 fps, autocrop = 58/62/0/0, aspect 16:9, PAR 32:27
[19:20:52] scan: title (0) job->width:720, job->height:304
[19:20:52] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 3, ttn 1, cells 0->30 (2741366 blocks)
  + duration: 01:36:07
  + size: 720x480, pixel aspect: 32/27, display aspect: 1.78, 23.976 fps
  + autocrop: 58/62/0/0
  + chapters:
    + 1: cells 0->1, 57450 blocks, duration 00:02:29
    + 2: cells 2->3, 219581 blocks, duration 00:07:37
    + 3: cells 4->4, 49198 blocks, duration 00:01:39
    + 4: cells 5->5, 126420 blocks, duration 00:04:28
    + 5: cells 6->7, 110551 blocks, duration 00:03:59
    + 6: cells 8->8, 22539 blocks, duration 00:00:47
    + 7: cells 9->10, 198445 blocks, duration 00:06:53
    + 8: cells 11->11, 69570 blocks, duration 00:02:22
    + 9: cells 12->13, 179548 blocks, duration 00:06:01
    + 10: cells 14->15, 163689 blocks, duration 00:05:53
    + 11: cells 16->16, 172904 blocks, duration 00:06:08
    + 12: cells 17->18, 228067 blocks, duration 00:07:49
    + 13: cells 19->20, 186499 blocks, duration 00:05:51
    + 14: cells 21->22, 269892 blocks, duration 00:09:04
    + 15: cells 23->24, 236535 blocks, duration 00:08:12
    + 16: cells 25->26, 184618 blocks, duration 00:06:49
    + 17: cells 27->27, 121874 blocks, duration 00:04:29
    + 18: cells 28->30, 143986 blocks, duration 00:05:35
  + audio tracks:
    + 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 448000bps
    + 2, Francais (AC3) (Dolby Surround) (iso639-2: fra), 48000Hz, 192000bps
    + 3, Espanol (AC3) (5.1 ch) (iso639-2: spa), 48000Hz, 448000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
    + 2, Francais (iso639-2: fra) (Bitmap)(VOBSUB)
    + 3, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
    + 4, Espanol (iso639-2: spa) (Bitmap)(VOBSUB)
    + 5, Closed Captions (iso639-2: eng) (Text)(CC)
Reading chapter markers from file C:\Users\david\AppData\Local\Temp\Next (dvd)-1-chapters.csv
Subtitle Scan Enabled - enabling subtitles if found for foreign language segments
[19:20:52] 2 job(s) to process
[19:20:52] starting job
[19:20:52] sync: expecting 138294 video frames
[19:20:52] job configuration:
[19:20:52]  * source
[19:20:52]    + X:\movies\temp\Next (dvd)\NEXT
[19:20:52]    + title 1, chapter(s) 1 to 18
[19:20:52]  * destination
[19:20:52]    + X:\movies\New\Next (dvd).mkv
[19:20:52]    + container: Matroska (.mkv)
[19:20:52]      + chapter markers
[19:20:52]  * video track
[19:20:52]    + decoder: mpeg2
[19:20:52]      + bitrate 9800 kbps
[19:20:52]    + frame rate: same as source (around 23.976 fps)
[19:20:52]    + strict anamorphic
[19:20:52]      + storage dimensions: 720 * 480 -> 712 * 356, crop 60/64/2/6, mod 0
[19:20:52]      + pixel aspect ratio: 32 / 27
[19:20:52]      + display dimensions: 843 * 356
[19:20:52]    + filters
[19:20:52]      + Detelecine (pullup) (default settings)
[19:20:52]      + Decomb (default settings)
[19:20:52]  * subtitle track 1, English (id 21bd) Picture [VOBSUB] -> Foreign Audio Search
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[19:20:52] yadif thread started for segment 1
[19:20:52] decomb thread started for segment 1
[19:20:52] yadif thread started for segment 0
[19:20:52] decomb thread started for segment 0
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[19:24:17] reader: done. 1 scr changes
[19:24:18] work: average encoding speed for job is 0.000000 fps
[19:24:18] mpeg2 done: 0 frames
[19:24:18] render: lost time: 0 (0 frames)
[19:24:18] render: gained time: 0 (0 frames) (0 not accounted for)
[19:24:18] Subtitle stream 0x21bd 'English': 1453 hits (0 forced)
[19:24:18] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[19:24:18] starting job
[19:24:18] sync: expecting 138294 video frames
[ac3 @ 0x327ae50] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[19:24:18] job configuration:
[19:24:18]  * source
[19:24:18]    + X:\movies\temp\Next (dvd)\NEXT
[19:24:18]    + title 1, chapter(s) 1 to 18
[19:24:18]  * destination
[19:24:18]    + X:\movies\New\Next (dvd).mkv
[19:24:18]    + container: Matroska (.mkv)
[19:24:18]      + chapter markers
[19:24:18]  * video track
[19:24:18]    + decoder: mpeg2
[19:24:18]      + bitrate 9800 kbps
[19:24:18]    + frame rate: same as source (around 23.976 fps)
[19:24:18]    + strict anamorphic
[19:24:18]      + storage dimensions: 720 * 480 -> 712 * 356, crop 60/64/2/6, mod 0
[19:24:18]      + pixel aspect ratio: 32 / 27
[19:24:18]      + display dimensions: 843 * 356
[19:24:18]    + filters
[19:24:18]      + Detelecine (pullup) (default settings)
[19:24:18]      + Decomb (default settings)
[19:24:18]    + encoder: x264
[19:24:18]      + options: b-adapt=2:rc-lookahead=50
[19:24:18]      + quality: 20.00 (RF)
[19:24:18]  * subtitle track 1, English (id 21bd) Picture [VOBSUB] -> Pass-Through
[19:24:18]  * audio track 0
[19:24:18]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[19:24:18]      + bitrate: 448 kbps, samplerate: 48000 Hz
[19:24:18]    + mixdown: Dolby Pro Logic II
[19:24:18]    + encoder: faac
[19:24:18]      + bitrate: 160 kbps, samplerate: 48000 Hz
[19:24:18]  * audio track 1
[19:24:18]    + decoder: English (AC3) (5.1 ch) (track 1, id 80bd)
[19:24:18]      + bitrate: 448 kbps, samplerate: 48000 Hz
[19:24:18]    + AC3 passthrough
libdvdnav: Using dvdnav version 4.1.3
[19:24:18] encx264: min-keyint: auto (23), keyint: 240
[19:24:18] encx264: encoding with stored aspect 32/27
[19:24:18] encx264: Encoding at constant RF 20.000000
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX2 SSE2Slow SlowCTZ
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
NAME OPEN FAILED
libdvdnav: Unable to find home directorylibdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Device (null) inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[19:24:18] reader: first SCR 146 id 224 DTS 15252
[19:24:18] mpeg2: "Chapter 1" (1) at frame 0 time 3003
[19:24:18] yadif thread started for segment 0
[19:24:18] decomb thread started for segment 0
[19:24:18] yadif thread started for segment 1
x264 [info]: profile High, level 3.0
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[19:24:18] decomb thread started for segment 1
[19:25:00] 22.255567s: Film -> Video
[19:25:00] 22.305611s: Video -> Film
[19:29:26] mpeg2: "Chapter 2" (2) at frame 3590 time 13474461
[19:49:52] mpeg2: "Chapter 3" (3) at frame 14562 time 54660606
[19:54:48] mpeg2: "Chapter 4" (4) at frame 16953 time 63636573
[20:06:07] mpeg2: "Chapter 5" (5) at frame 23401 time 87840753
[20:08:45] 1028.577544s: Film -> Video
[20:08:46] 1028.777744s: Video -> Film
[20:16:29] mpeg2: "Chapter 6" (6) at frame 29143 time 109390281
[20:18:32] mpeg2: "Chapter 7" (7) at frame 30286 time 113681568
[20:18:34] 1263.645689s: Film -> Video
[20:18:34] 1263.845911s: Video -> Film
[20:18:37] 1264.830200s: Film -> Video
[20:18:37] 1265.013744s: Video -> Film
[20:28:20] 1531.429878s: Film -> Video
[20:28:20] 1531.613411s: Video -> Film
[20:33:40] mpeg2: "Chapter 8" (8) at frame 40186 time 150831681
[20:39:13] mpeg2: "Chapter 9" (9) at frame 43606 time 163669506
[20:52:50] mpeg2: "Chapter 10" (10) at frame 52264 time 196169473
[21:05:57] mpeg2: "Chapter 11" (11) at frame 60753 time 228035808
[21:18:52] mpeg2: "Chapter 12" (12) at frame 69578 time 261161901
[21:47:36] mpeg2: "Chapter 13" (13) at frame 80845 time 303456153
[22:25:47] mpeg2: "Chapter 14" (14) at frame 89246 time 334990656
[22:50:48] 4166.574178s: Film -> Video
[22:50:48] 4166.774378s: Video -> Film
[22:50:55] 4169.410344s: Film -> Video
[22:50:55] 4169.510444s: Video -> Film
[22:50:55] 4169.660589s: Film -> Video
[22:50:56] 4169.710633s: Video -> Film
[22:50:56] 4169.860778s: Film -> Video
[22:50:56] 4169.894167s: Video -> Film
[22:50:56] 4170.211144s: Film -> Video
[22:50:56] 4170.261200s: Video -> Film
[22:51:00] 4172.096367s: Film -> Video
[22:51:00] 4172.179778s: Video -> Film
[22:51:01] 4172.329922s: Film -> Video
[22:51:01] 4172.363300s: Video -> Film
[22:51:01] 4172.513444s: Film -> Video
[22:51:01] 4172.563489s: Video -> Film
[22:51:02] 4172.730333s: Film -> Video
[22:51:02] 4172.780378s: Video -> Film
[22:51:05] 4174.598867s: Film -> Video
[22:51:05] 4174.682278s: Video -> Film
[22:51:05] 4174.832422s: Film -> Video
[22:51:05] 4174.882467s: Video -> Film
[22:51:06] 4175.032611s: Film -> Video
[22:51:06] 4175.066000s: Video -> Film
[22:51:06] 4175.216144s: Film -> Video
[22:51:07] 4175.266189s: Video -> Film
[22:51:07] 4175.433033s: Film -> Video
[22:51:07] 4175.516444s: Video -> Film
[22:51:07] 4175.666589s: Film -> Video
[22:51:08] 4175.950211s: Video -> Film
[22:54:24] mpeg2: "Chapter 15" (15) at frame 102291 time 383939115
[23:15:30] mpeg2: "Chapter 16" (16) at frame 114088 time 428221353
[23:33:03] mpeg2: "Chapter 17" (17) at frame 123923 time 465140235
[23:42:57] mpeg2: "Chapter 18" (18) at frame 130388 time 489407478
[23:42:57] 5437.894233s: Film -> Video
[23:42:58] 5438.044378s: Video -> Film
[23:48:48] 5765.054400s: Film -> Video
[23:48:48] 5765.538211s: Video -> Film
[23:48:53] reader: done. 1 scr changes
[23:48:58] work: average encoding speed for job is 8.717577 fps
[23:48:58] sync: got 138430 frames, 138294 expected
[23:48:58] mpeg2 done: 138430 frames
[23:48:58] render: lost time: 70571 (23 frames)
[23:48:58] render: gained time: 70571 (91 frames) (0 not accounted for)
[23:48:58] render: average dropped frame duration: 3068
x264 [info]: frame I:1697  Avg QP:18.03  size: 45769  PSNR Mean Y:44.57 U:46.21 V:46.36 Avg:45.02 Global:44.68
x264 [info]: frame P:40520 Avg QP:20.47  size:  9694  PSNR Mean Y:44.06 U:45.58 V:45.79 Avg:44.23 Global:43.40
x264 [info]: frame B:96189 Avg QP:23.77  size:  2522  PSNR Mean Y:42.05 U:44.74 V:45.07 Avg:42.75 Global:42.35
x264 [info]: consecutive B-frames:  2.0%  5.3% 22.0% 70.7%
x264 [info]: mb I  I16..4: 10.1% 64.2% 25.7%
x264 [info]: mb P  I16..4:  1.8%  7.6%  2.7%  P16..4: 40.3% 20.1% 12.4%  0.0%  0.0%    skip:15.1%
x264 [info]: mb B  I16..4:  0.2%  0.9%  0.4%  B16..8: 44.7%  6.0%  1.4%  direct: 2.9%  skip:43.5%  L0:40.0% L1:49.9% BI:10.1%
x264 [info]: 8x8 transform intra:62.9% inter:71.8%
x264 [info]: coded y,uvDC,uvAC intra: 73.2% 87.6% 63.0% inter: 20.5% 24.2% 3.6%
x264 [info]: i16 v,h,dc,p: 49% 15%  7% 28%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 15% 17%  5%  7%  9%  7%  8%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 39% 14% 12%  5%  7%  8%  6%  6%  5%
x264 [info]: i8c dc,h,v,p: 47% 17% 26% 10%
x264 [info]: Weighted P-Frames: Y:2.5% UV:1.6%
x264 [info]: ref P L0: 57.6% 15.0% 20.0%  7.1%  0.2%
x264 [info]: ref B L0: 86.7% 10.9%  2.4%
x264 [info]: ref B L1: 93.8%  6.2%
x264 [info]: SSIM Mean Y:0.9762655 (16.246db)
x264 [info]: PSNR Mean Y:42.663 U:45.004 V:45.297 Avg:43.207 Global:42.653 kb/s:988.15
[23:48:59] mux: track 0, 138406 frames, 713006469 bytes, 988.03 kbps, fifo 8
[23:48:59] mux: track 1, 270619 frames, 115362568 bytes, 159.86 kbps, fifo 512
[23:48:59] mux: track 2, 180412 frames, 323298304 bytes, 448.00 kbps, fifo 256
[23:48:59] mux: track 3, 989 frames, 1941806 bytes, 2.69 kbps, fifo 8
[23:48:59] decomb: deinterlaced 0 | blended 68 | unfiltered 138338 | total 138406
[23:48:59] libhb: work result = 0
Rip done!
HandBrake has exited.
Deleted User 11865

Re: Tearing and distorted images

Post by Deleted User 11865 »

Does it happen if you remux HandBrake's output with mkvmerge (part of Mkvtoolnix)?
david3
Posts: 34
Joined: Fri Dec 24, 2010 5:46 am

Re: Tearing and distorted images

Post by david3 »

If I remux the HandBrake output with mkvmerge, the remuxed version does not have the tearing and distortion problem.

Any idea what would cause that with the HandBrake version?
david3
Posts: 34
Joined: Fri Dec 24, 2010 5:46 am

Re: Tearing and distorted images

Post by david3 »

I saw your post to another topic here on remuxing. Sounds like the same thing. There's audio issues around the point where it tears and distorts, too.

viewtopic.php?f=11&t=18726#p87713
Rodeo wrote:The issue is just with interleaving. x264 is a high-latency encoder (using default settings), so HB has to buffer audio while waiting for the next video frame. Sometimes, the audio buffers are full before the next frame reaches the muxer, so the audio is flushed to the output file to free the buffers. Some players, like VLC, are very sensitive to suboptimal interleaving and barf (others are more robust and are able to piece it together reliably).

When remuxing the file, mkvmerge re-interleaves the video and audio, which is why the issue goes away.
Thanks for your help.
Deleted User 11865

Re: Tearing and distorted images

Post by Deleted User 11865 »

Yep; that and your issue would be related.
Post Reply