after converting a Bluray cell animation movie, I realized that the resulting MKV is full of blended frames and I don't know where they come from.
I made some screenshots to show what happened:
http://s17.postimg.org/r5abtaw5b/LOTR_original.png
This image shows the unaltered source frame. Please note the shoulder area. It is grainy but solid.
http://s17.postimg.org/wa6xx6jpb/LOTR_nlmeans.png
This capture was taken from the MKV. The shoulder area is not solid anymore but has introduced some background which is visible in other frames.
This effect is going through the whole movie. Could anyone please tell me what I did wrong here? From my understandig, NLMEANS should filter grain but shouldn't blend frames.
Any input is highly appreciated
This is the encode log:
Code: Select all
HandBrake 0.10.2.7286 - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
Ram: 8079 MB,
GPU Information:
Intel(R) HD Graphics - 9.17.10.3517
Screen: 1920x1080
Temp Dir: C:\Users\Gnd0\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Gnd0\AppData\Roaming\HandBrake\HandBrake\0.10.2.7286
-------------------------------------------
CLI Query: -i "E:\_MKV\BLURAY Lord of the Rings" -t 2 --angle 1 -c 1-39 -o "E:\_MKV\_MKV\Lord of the Rings.mkv" -f mkv --nlmeans="strong" --nlmeans-tune="animation" -w 1916 --crop 0:0:2:2 --loose-anamorphic --modulus 2 -e x264 -q 22 --cfr -a 4,1 -E fdk_aac,fdk_aac -6 dpl1,dpl2 -R Auto,Auto -B 160,160 -D 1,1 --gain 0,0 --aname="Dolby Surround,Dolby Pro Logic II" --audio-fallback ac3 --subtitle 1 --markers="C:\Users\Gnd0\AppData\Local\Temp\Lord of the Rings-2-chapters.csv" --encoder-preset=veryslow --encoder-tune="animation" --encoder-level="4.1" --encoder-profile=high --verbose=1
[00:54:22] hb_init: starting libhb thread
HandBrake 0.10.2 (2015060900) - MinGW x86_64 - https://handbrake.fr
4 CPUs detected
Opening E:\_MKV\BLURAY Lord of the Rings...
[00:54:22] CPU: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
[00:54:22] - Intel microarchitecture Sandy Bridge
[00:54:22] - logical processor count: 4
[00:54:22] Intel Quick Sync Video support: yes
[00:54:22] - Intel Media SDK hardware: API 1.4 (minimum: 1.3)
[00:54:22] - H.264 encoder: yes
[00:54:22] - preferred implementation: hardware (any)
[00:54:22] - H.265 encoder: no
[00:54:22] hb_scan: path=E:\_MKV\BLURAY Lord of the Rings, title_index=2
[00:54:22] scan: BD has 11 title(s)
[00:54:22] bd: scanning title 2
[00:54:22] bd: playlist 00001.MPLS
[00:54:22] bd: duration is 02:13:20 (8000033 ms)
[00:54:22] bd: video id=0x1011, stream type=VC-1, format 1080p
[00:54:22] bd: aspect = 1.77778
[00:54:22] bd: audio id=0x761100, lang=English (AC3), 3cc=eng
[00:54:22] bd: audio id=0x721100, lang=English (TrueHD), 3cc=eng
[00:54:22] bd: audio id=0x1101, lang=Francais (AC3), 3cc=fra
[00:54:22] bd: audio id=0x1102, lang=Deutsch (AC3), 3cc=deu
[00:54:22] bd: audio id=0x1103, lang=Espanol (AC3), 3cc=spa
[00:54:22] bd: subtitle id=0x1200, lang=English, 3cc=eng
[00:54:22] bd: subtitle id=0x1201, lang=Francais, 3cc=fra
[00:54:22] bd: subtitle id=0x1202, lang=Deutsch, 3cc=deu
[00:54:22] bd: subtitle id=0x1203, lang=Espanol, 3cc=spa
[00:54:22] bd: chap 1 packet=768, 48048 ms
[00:54:22] bd: chap 2 packet=112807296, 222639 ms
[00:54:22] bd: chap 3 packet=650214720, 124707 ms
[00:54:22] bd: chap 4 packet=1103768640, 384717 ms
[00:54:22] bd: chap 5 packet=2655809472, 163913 ms
[00:54:22] bd: chap 6 packet=3320286144, 260051 ms
[00:54:22] bd: chap 7 packet=4388708736, 232815 ms
[00:54:22] bd: chap 8 packet=5086241472, 234943 ms
[00:54:22] bd: chap 9 packet=5747130432, 171087 ms
[00:54:22] bd: chap 10 packet=6212191104, 259968 ms
[00:54:22] bd: chap 11 packet=7074273216, 358691 ms
[00:54:22] bd: chap 12 packet=8314490304, 161077 ms
[00:54:22] bd: chap 13 packet=8797586688, 171129 ms
[00:54:22] bd: chap 14 packet=9343756800, 279529 ms
[00:54:22] bd: chap 15 packet=10265054976, 139806 ms
[00:54:22] bd: chap 16 packet=10726136832, 160201 ms
[00:54:22] bd: chap 17 packet=11320867584, 164622 ms
[00:54:22] bd: chap 18 packet=11916624768, 184475 ms
[00:54:22] bd: chap 19 packet=12512539968, 231522 ms
[00:54:22] bd: chap 20 packet=13154784960, 159284 ms
[00:54:22] bd: chap 21 packet=13617502848, 207415 ms
[00:54:22] bd: chap 22 packet=14233669056, 185560 ms
[00:54:22] bd: chap 23 packet=14835036288, 262095 ms
[00:54:22] bd: chap 24 packet=15604696896, 362653 ms
[00:54:22] bd: chap 25 packet=16614528960, 295878 ms
[00:54:22] bd: chap 26 packet=17503502784, 98223 ms
[00:54:22] bd: chap 27 packet=17806496640, 276734 ms
[00:54:22] bd: chap 28 packet=18576126720, 204913 ms
[00:54:22] bd: chap 29 packet=19195008576, 115406 ms
[00:54:22] bd: chap 30 packet=19517649792, 228770 ms
[00:54:22] bd: chap 31 packet=20161371648, 297588 ms
[00:54:22] bd: chap 32 packet=20989171968, 282365 ms
[00:54:22] bd: chap 33 packet=21742853184, 276985 ms
[00:54:22] bd: chap 34 packet=22608297792, 170545 ms
[00:54:22] bd: chap 35 packet=23168142336, 125959 ms
[00:54:22] bd: chap 36 packet=23515450560, 199199 ms
[00:54:22] bd: chap 37 packet=24158881344, 154320 ms
[00:54:22] bd: chap 38 packet=24672018624, 141224 ms
[00:54:22] bd: chap 39 packet=24856832256, 959 ms
[00:54:22] bd: title 2 has 39 chapters
[00:54:22] scan: decoding previews for title 2
[00:54:22] scan: title angle(s) 1
[00:54:22] scan: audio 0x761100: ac3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
[00:54:22] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=192000 Francais (AC3) (1.0 ch)
[00:54:22] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=192000 Deutsch (AC3) (2.0 ch) (Dolby Surround)
[00:54:22] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=192000 Espanol (AC3) (2.0 ch)
[00:54:22] scan: audio 0x721100: truehd, rate=48000Hz, bitrate=200000 English (TrueHD) (5.1 ch)
Scanning title 1 of 1, preview 1, 10.00 %
Scanning title 1 of 1, preview 3, 30.00 %
Scanning title 1 of 1, preview 5, 50.00 %
Scanning title 1 of 1, preview 8, 80.00 %[00:54:23] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 0/0/2/2, aspect 16:9, PAR 1:1
[00:54:23] stream: 6 good frames, 0 errors (0%)
Scanning title 1 of 1, preview 10, 100.00 %[00:54:23] libhb: scan thread found 1 valid title(s)
+ title 2:
+ playlist: 00001.MPLS
+ duration: 02:13:20
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 0/0/2/2
+ support opencl: no
+ support hwd: no
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:00:48
+ 2: cells 0->0, 0 blocks, duration 00:03:43
+ 3: cells 0->0, 0 blocks, duration 00:02:05
+ 4: cells 0->0, 0 blocks, duration 00:06:25
+ 5: cells 0->0, 0 blocks, duration 00:02:44
+ 6: cells 0->0, 0 blocks, duration 00:04:20
+ 7: cells 0->0, 0 blocks, duration 00:03:53
+ 8: cells 0->0, 0 blocks, duration 00:03:55
+ 9: cells 0->0, 0 blocks, duration 00:02:51
+ 10: cells 0->0, 0 blocks, duration 00:04:20
+ 11: cells 0->0, 0 blocks, duration 00:05:59
+ 12: cells 0->0, 0 blocks, duration 00:02:41
+ 13: cells 0->0, 0 blocks, duration 00:02:51
+ 14: cells 0->0, 0 blocks, duration 00:04:40
+ 15: cells 0->0, 0 blocks, duration 00:02:20
+ 16: cells 0->0, 0 blocks, duration 00:02:40
+ 17: cells 0->0, 0 blocks, duration 00:02:45
+ 18: cells 0->0, 0 blocks, duration 00:03:04
+ 19: cells 0->0, 0 blocks, duration 00:03:52
+ 20: cells 0->0, 0 blocks, duration 00:02:39
+ 21: cells 0->0, 0 blocks, duration 00:03:27
+ 22: cells 0->0, 0 blocks, duration 00:03:06
+ 23: cells 0->0, 0 blocks, duration 00:04:22
+ 24: cells 0->0, 0 blocks, duration 00:06:03
+ 25: cells 0->0, 0 blocks, duration 00:04:56
+ 26: cells 0->0, 0 blocks, duration 00:01:38
+ 27: cells 0->0, 0 blocks, duration 00:04:37
+ 28: cells 0->0, 0 blocks, duration 00:03:25
+ 29: cells 0->0, 0 blocks, duration 00:01:55
+ 30: cells 0->0, 0 blocks, duration 00:03:49
+ 31: cells 0->0, 0 blocks, duration 00:04:58
+ 32: cells 0->0, 0 blocks, duration 00:04:42
+ 33: cells 0->0, 0 blocks, duration 00:04:37
+ 34: cells 0->0, 0 blocks, duration 00:02:51
+ 35: cells 0->0, 0 blocks, duration 00:02:06
+ 36: cells 0->0, 0 blocks, duration 00:03:19
+ 37: cells 0->0, 0 blocks, duration 00:02:34
+ 38: cells 0->0, 0 blocks, duration 00:02:21
+ 39: cells 0->0, 0 blocks, duration 00:00:01
+ audio tracks:
+ 1, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
+ 2, English (TrueHD) (5.1 ch) (iso639-2: eng)
+ 3, Francais (AC3) (1.0 ch) (iso639-2: fra), 48000Hz, 192000bps
+ 4, Deutsch (AC3) (2.0 ch) (Dolby Surround) (iso639-2: deu), 48000Hz, 192000bps
+ 5, Espanol (AC3) (2.0 ch) (iso639-2: spa), 48000Hz, 192000bps
+ subtitle tracks:
+ 1, English (iso639-2: eng) (Bitmap)(PGS)
+ 2, Francais (iso639-2: fra) (Bitmap)(PGS)
+ 3, Deutsch (iso639-2: deu) (Bitmap)(PGS)
+ 4, Espanol (iso639-2: spa) (Bitmap)(PGS)
Reading chapter markers from file C:\Users\Rudi\AppData\Local\Temp\Lord of the Rings-2-chapters.csv
[00:54:23] 1 job(s) to process
[00:54:23] starting job
[00:54:23] NLMeans Denoise thread started for segment 0
[00:54:23] NLMeans Denoise thread started for segment 1
[00:54:23] NLMeans Denoise thread started for segment 2
[00:54:23] sync: expecting 191808 video frames
[00:54:23] NLMeans Denoise thread started for segment 3
[00:54:23] job configuration:
[00:54:23] * source
[00:54:23] + E:\_MKV\BLURAY Lord of the Rings
[00:54:23] + title 2, chapter(s) 1 to 39
[00:54:23] * destination
[00:54:23] + E:\_MKV\_MKV\Lord of the Rings.mkv
[00:54:23] + container: Matroska (libavformat)
[00:54:23] + chapter markers
[00:54:23] * video track
[00:54:23] + decoder: vc1
[00:54:23] + bitrate 200 kbps
[00:54:23] + filters
[00:54:23] + Framerate Shaper (1:27000000:1126125)
[00:54:23] + frame rate: 23.976 fps -> constant 23.976 fps
[00:54:23] + Denoise (nlmeans) (10.000000:0.150000:5:7:4:0:8.000000:0.150000:5:7:4:0)
[00:54:23] + Crop and Scale (1916:1080:0:0:2:2)
[00:54:23] + source: 1920 * 1080, crop (0/0/2/2): 1916 * 1080, scale: 1916 * 1080
[00:54:23] + loose anamorphic
[00:54:23] + storage dimensions: 1916 * 1080, mod 2
[00:54:23] + pixel aspect ratio: 1 / 1
[00:54:23] + display dimensions: 1916 * 1080
[00:54:23] + encoder: H.264 (libx264)
[00:54:23] + preset: veryslow
[00:54:23] + tune: animation
[00:54:23] + profile: high
[00:54:23] + level: 4.1
[00:54:23] + quality: 22.00 (RF)
[00:54:23] * subtitle track 1, English (track 0, id 0x1200) Picture [PGS] -> Passthrough
[00:54:23] * audio track 1
[00:54:23] + name: Dolby Surround
[00:54:23] + decoder: Deutsch (AC3) (2.0 ch) (Dolby Surround) (track 4, id 0x1102)
[00:54:23] + bitrate: 192 kbps, samplerate: 48000 Hz
[00:54:23] + mixdown: Dolby Surround
[00:54:23] + dynamic range compression: 1.000000
[00:54:23] + dither: triangular
[00:54:23] + encoder: AAC (libfdk_aac)
[00:54:23] + bitrate: 160 kbps, samplerate: 48000 Hz
[00:54:23] * audio track 2
[00:54:23] + name: Dolby Pro Logic II
[00:54:23] + decoder: English (AC3) (5.1 ch) (track 1, id 0x761100)
[00:54:23] + bitrate: 640 kbps, samplerate: 48000 Hz
[00:54:23] + mixdown: Dolby Pro Logic II
[00:54:23] + dynamic range compression: 1.000000
[00:54:23] + dither: triangular
[00:54:23] + encoder: AAC (libfdk_aac)
[00:54:23] + bitrate: 160 kbps, samplerate: 48000 Hz
[00:54:23] encx264: min-keyint: 24, keyint: 240
[00:54:23] encx264: encoding at constant RF 22.000000
[00:54:23] encx264: unparsed options: level=4.1:ref=4:bframes=10:b-adapt=2:direct=auto:deblock=1,1:analyse=all:me=umh:merange=24:subme=10:trellis=2:psy-rd=0.40,0.00:vbv-bufsize=78125:vbv-maxrate=62500:aq-strength=0.60:rc-lookahead=60
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[00:54:23] reader: first SCR 377816246 id 0x1011 DTS 377816246
x264 [info]: profile High, level 4.1
[00:54:23] vc1: "Chapter 1" (1) at frame 0 time 3754
[00:54:23] sync: first pts is 3754
[01:17:10] vc1: "Chapter 2" (2) at frame 1152 time 4327899
[03:06:40] vc1: "Chapter 3" (3) at frame 6466 time 24275326
[04:09:37] vc1: "Chapter 4" (4) at frame 9480 time 35589129
[07:23:20] vc1: "Chapter 5" (5) at frame 18704 time 70213719
[08:46:00] vc1: "Chapter 6" (6) at frame 22634 time 84965956
[10:56:24] vc1: "Chapter 7" (7) at frame 28869 time 108370587
[12:53:58] vc1: "Chapter 8" (8) at frame 34451 time 129324020
[14:51:14] vc1: "Chapter 9" (9) at frame 40084 time 150468894
[16:16:59] vc1: "Chapter 10" (10) at frame 44186 time 165866776
[18:27:55] vc1: "Chapter 11" (11) at frame 50419 time 189263900
[21:27:47] vc1: "Chapter 12" (12) at frame 59019 time 221546150
[22:48:26] vc1: "Chapter 13" (13) at frame 62881 time 236043132
[00:14:31] vc1: "Chapter 14" (14) at frame 66984 time 251444769
[02:34:19] vc1: "Chapter 15" (15) at frame 73686 time 276602401
[03:43:55] vc1: "Chapter 16" (16) at frame 77038 time 289184971
[05:05:47] vc1: "Chapter 17" (17) at frame 80879 time 303603125
[06:28:17] vc1: "Chapter 18" (18) at frame 84826 time 318419176
[08:00:46] vc1: "Chapter 19" (19) at frame 89249 time 335022012
[09:56:50] vc1: "Chapter 20" (20) at frame 94800 time 355859079
[11:16:35] vc1: "Chapter 21" (21) at frame 98619 time 370194650
[13:00:40] vc1: "Chapter 22" (22) at frame 103592 time 388862049
[14:33:46] vc1: "Chapter 23" (23) at frame 108041 time 405562482
[16:45:28] vc1: "Chapter 24" (24) at frame 114325 time 429151047
[19:47:54] vc1: "Chapter 25" (25) at frame 123020 time 461789904
[22:16:36] vc1: "Chapter 26" (26) at frame 130114 time 488419006
[23:05:48] vc1: "Chapter 27" (27) at frame 132446 time 497172751
[01:24:44] vc1: "Chapter 28" (28) at frame 139104 time 522165219
[03:08:20] vc1: "Chapter 29" (29) at frame 144017 time 540607392
[04:06:28] vc1: "Chapter 30" (30) at frame 146784 time 550994019
[06:01:46] vc1: "Chapter 31" (31) at frame 152269 time 571583337
[08:30:50] vc1: "Chapter 32" (32) at frame 159404 time 598366344
[10:51:47] vc1: "Chapter 33" (33) at frame 166174 time 623779231
[13:13:03] vc1: "Chapter 34" (34) at frame 172815 time 648707885
[14:39:37] vc1: "Chapter 35" (35) at frame 176904 time 664056969
[15:42:49] vc1: "Chapter 36" (36) at frame 179924 time 675393294
[17:23:37] vc1: "Chapter 37" (37) at frame 184700 time 693321204
[18:41:29] vc1: "Chapter 38" (38) at frame 188400 time 707210079
[19:49:48] reader: done. 2 scr changes
[19:49:58] vc1: "Chapter 39" (39) at frame 191786 time 719920276
[19:51:28] work: average encoding speed for job is 0.795934 fps
[19:51:28] sync: got 191809 frames, 191808 expected
[19:51:28] render: 191809 frames output, 0 dropped and 0 duped for CFR/PFR
[19:51:28] render: lost time: 0 (0 frames)
[19:51:28] render: gained time: 0 (0 frames) (0 not accounted for)
[19:51:28] vc1-decoder done: 191809 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:1566 Avg QP:20.31 size: 84816
x264 [info]: frame P:47321 Avg QP:23.96 size: 24222
x264 [info]: frame B:142922 Avg QP:27.14 size: 6286
x264 [info]: consecutive B-frames: 2.3% 2.9% 14.2% 34.9% 23.8% 17.4% 2.9% 1.1% 0.2% 0.2% 0.1%
x264 [info]: mb I I16..4: 17.6% 76.3% 6.0%
x264 [info]: mb P I16..4: 10.1% 16.0% 0.6% P16..4: 39.3% 6.6% 5.9% 0.0% 0.0% skip:21.5%
x264 [info]: mb B I16..4: 0.8% 1.5% 0.1% B16..8: 26.3% 2.9% 0.5% direct: 1.3% skip:66.6% L0:43.9% L1:53.7% BI: 2.4%
x264 [info]: 8x8 transform intra:61.8% inter:90.5%
x264 [info]: direct mvs spatial:100.0% temporal:0.0%
x264 [info]: coded y,uvDC,uvAC intra: 28.1% 40.8% 9.4% inter: 5.4% 11.0% 0.5%
x264 [info]: i16 v,h,dc,p: 37% 22% 17% 24%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 8% 29% 6% 8% 9% 8% 8% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 11% 18% 6% 12% 11% 9% 7% 6%
x264 [info]: i8c dc,h,v,p: 39% 32% 19% 10%
x264 [info]: Weighted P-Frames: Y:7.8% UV:3.9%
x264 [info]: ref P L0: 50.9% 12.1% 22.4% 11.5% 2.8% 0.2%
x264 [info]: ref B L0: 86.7% 9.6% 3.6%
x264 [info]: ref B L1: 93.8% 6.2%
x264 [info]: kb/s:2177.45
[19:51:28] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[19:51:28] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[19:51:28] mux: track 0, 191809 frames, 2177395029 bytes, 2177.39 kbps, fifo 2048
[19:51:28] mux: track 1, 375001 frames, 160000427 bytes, 160.00 kbps, fifo 4096
[19:51:28] mux: track 2, 375001 frames, 160000427 bytes, 160.00 kbps, fifo 4096
[19:51:28] mux: track 3, 2666 frames, 27478124 bytes, 27.48 kbps, fifo 64
[19:51:28] stream: 191809 good frames, 0 errors (0%)
[19:51:28] libhb: work result = 0
Encode done!
HandBrake has exited.