Strange issue in Dark City?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
forumator
Posts: 20
Joined: Fri Jan 21, 2011 8:06 pm

Strange issue in Dark City?

Post by forumator »

Here's a question for anyone else that's transcoded Dark City...no matter what settings I use (including placebo), at exactly 27:28-27:30 there is some blocky corruption, as you can see in the attached pic. Obviously the encoder is having trouble differentiating between the light and dark patterns but I haven't seen this before and am wondering if it's just due to one particular setting?

https://dl.dropboxusercontent.com/u/171 ... apshot.jpg
Smithcraft
Veteran User
Posts: 2697
Joined: Thu Jan 22, 2009 8:04 pm

Re: Strange issue in Dark City?

Post by Smithcraft »

Could be due to settings. How about posting a log?

SC
Registered55
Enlightened
Posts: 121
Joined: Thu Apr 14, 2011 4:04 pm

Re: Strange issue in Dark City?

Post by Registered55 »

same here,

Code: Select all

HandBrake svn5550 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
Ram: 8082 MB, Screen: 1920x1080
Temp Dir: C:\Users\Junior\AppData\Local\Temp\
Install Dir: D:\Program Files\Handbrake
Data Dir: C:\Users\Junior\AppData\Roaming\HandBrake\HandBrake\0.0.0.5550

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

CLI Query:  -i "Z:\Dark City" -t 3 --angle 1 -c 1-18 -o "E:\Dark city - 3 - 04-06-2013.mkv"  -f mkv  -w 1280 --loose-anamorphic  --modulus 2 -e x264 -q 20 --vfr -a 1,3,4,5 -E copy:ac3,ffaac,ffaac,ffaac -6 auto,stereo,stereo,stereo -R Auto,48,48,48 -B 0,64,64,64 -D 0,1,1,1 --gain 0,0,0,0 --audio-fallback ffac3 --subtitle 1 --markers="C:\Users\Junior\AppData\Local\Temp\Dark city - 3 - 04-06-2013-3-chapters.csv" --x264-preset=slow  --x264-profile=high  --x264-tune="film"  --verbose=1
User Query: False

[10:10:09] hb_init: starting libhb thread
HandBrake svn5550 (2013060401) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening Z:\Dark City...
[10:10:09] hb_scan: path=Z:\Dark City, title_index=3
[10:10:09] scan: BD has 26 title(s)
[10:10:09] bd: scanning title 3
[10:10:09] bd: playlist 00019.MPLS
[10:10:09] bd: duration is 01:51:43 (6703738 ms)
[10:10:09] bd: video id=0x1011, stream type=VC-1, format 1080p
[10:10:09] bd: aspect = 1.77778
[10:10:09] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[10:10:09] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[10:10:09] bd: audio id=0x1101, lang=English (DTS), 3cc=eng
[10:10:09] bd: audio id=0x1102, lang=English (DTS), 3cc=eng
[10:10:09] bd: audio id=0x1103, lang=English (DTS), 3cc=eng
[10:10:09] bd: subtitle id=0x1200, lang=English, 3cc=eng
[10:10:09] bd: subtitle id=0x1201, lang=Espanol, 3cc=spa
[10:10:09] bd: subtitle id=0x1202, lang=English, 3cc=eng
[10:10:09] bd: chap 1 packet=768, 120078 ms
[10:10:09] bd: chap 2 packet=412559232, 319944 ms
[10:10:09] bd: chap 3 packet=1460049408, 289497 ms
[10:10:09] bd: chap 4 packet=2427850944, 432765 ms
[10:10:09] bd: chap 5 packet=3688940160, 218468 ms
[10:10:09] bd: chap 6 packet=4405618560, 280113 ms
[10:10:09] bd: chap 7 packet=5305130496, 414580 ms
[10:10:09] bd: chap 8 packet=6629604096, 831205 ms
[10:10:09] bd: chap 9 packet=9554314176, 527527 ms
[10:10:09] bd: chap 10 packet=11322099840, 497497 ms
[10:10:09] bd: chap 11 packet=12898458048, 337045 ms
[10:10:09] bd: chap 12 packet=14115635712, 319152 ms
[10:10:09] bd: chap 13 packet=15047369664, 183391 ms
[10:10:09] bd: chap 14 packet=15596847552, 585543 ms
[10:10:09] bd: chap 15 packet=17675309952, 647688 ms
[10:10:09] bd: chap 16 packet=20120669760, 303803 ms
[10:10:09] bd: chap 17 packet=21141400320, 395186 ms
[10:10:09] bd: chap 18 packet=21823241280, 250 ms
[10:10:09] bd: title 3 has 18 chapters
[10:10:09] scan: decoding previews for title 3
[10:10:09] scan: title angle(s) 1
[10:10:09] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[10:10:09] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[10:10:09] scan: audio 0x1101: dca, rate=48000Hz, bitrate=256000 English (DTS) (2.0 ch)
[10:10:09] scan: audio 0x1102: dca, rate=48000Hz, bitrate=256000 English (DTS) (2.0 ch)
[10:10:09] scan: audio 0x1103: dca, rate=48000Hz, bitrate=256000 English (DTS) (2.0 ch)
Scanning title 1 of 1, preview 3, 30.00 %
Scanning title 1 of 1, preview 5, 50.00 %
Scanning title 1 of 1, preview 6, 60.00 %
Scanning title 1 of 1, preview 9, 90.00 %[10:10:10] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 128/138/0/0, aspect 16:9, PAR 1:1
[10:10:10] stream: 4 good frames, 0 errors (0%)
[10:10:10] libhb: scan thread found 1 valid title(s)
+ title 3:
  + playlist: 00019.MPLS
  + duration: 01:51:43
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 128/138/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:02:00
    + 2: cells 0->0, 0 blocks, duration 00:05:20
    + 3: cells 0->0, 0 blocks, duration 00:04:49
    + 4: cells 0->0, 0 blocks, duration 00:07:13
    + 5: cells 0->0, 0 blocks, duration 00:03:38
    + 6: cells 0->0, 0 blocks, duration 00:04:40
    + 7: cells 0->0, 0 blocks, duration 00:06:55
    + 8: cells 0->0, 0 blocks, duration 00:13:51
    + 9: cells 0->0, 0 blocks, duration 00:08:48
    + 10: cells 0->0, 0 blocks, duration 00:08:17
    + 11: cells 0->0, 0 blocks, duration 00:05:37
    + 12: cells 0->0, 0 blocks, duration 00:05:19
    + 13: cells 0->0, 0 blocks, duration 00:03:03
    + 14: cells 0->0, 0 blocks, duration 00:09:46
    + 15: cells 0->0, 0 blocks, duration 00:10:48
    + 16: cells 0->0, 0 blocks, duration 00:05:04
    + 17: cells 0->0, 0 blocks, duration 00:06:35
    + 18: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
    + 2, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
    + 3, English (DTS) (2.0 ch) (iso639-2: eng), 48000Hz, 256000bps
    + 4, English (DTS) (2.0 ch) (iso639-2: eng), 48000Hz, 256000bps
    + 5, English (DTS) (2.0 ch) (iso639-2: eng), 48000Hz, 256000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(PGS)
    + 2, Espanol (iso639-2: spa) (Bitmap)(PGS)
    + 3, English (iso639-2: eng) (Bitmap)(PGS)
Reading chapter markers from file C:\Users\Junior\AppData\Local\Temp\Dark city - 3 - 04-06-2013-3-chapters.csv
AC3 Passthru requested and input codec is not compatible for track 1, using AC3 (ffmpeg) encoder
[10:10:10] 1 job(s) to process
[10:10:10] starting job
[10:10:10] sync: expecting 160728 video frames
[10:10:10] job configuration:
[10:10:10]  * source
[10:10:10]    + Z:\Dark City
[10:10:10]    + title 3, chapter(s) 1 to 18
[10:10:10]  * destination
[10:10:10]    + E:\Dark city - 3 - 04-06-2013.mkv
[10:10:10]    + container: Matroska (libmkv)
[10:10:10]      + chapter markers
[10:10:10]  * video track
[10:10:10]    + decoder: vc1
[10:10:10]      + bitrate 200 kbps
[10:10:10]    + filters
[10:10:10]      + Framerate Shaper (0:27000000:1126125)
[10:10:10]        + frame rate: same as source (around 23.976 fps)
[10:10:10]      + Crop and Scale (1280:542:128:138:0:0)
[10:10:10]        + source: 1920 * 1080, crop (128/138/0/0): 1920 * 814, scale: 1280 * 542
[10:10:10]    + loose anamorphic
[10:10:10]      + storage dimensions: 1280 * 542, mod 2
[10:10:10]      + pixel aspect ratio: 813 / 814
[10:10:10]      + display dimensions: 1278 * 542
[10:10:10]    + encoder: H.264 (x264)
[10:10:10]      + x264 preset: slow
[10:10:10]      + x264 tune: film
[10:10:10]      + h264 profile: high
[10:10:10]      + quality: 20.00 (RF)
[10:10:10]  * subtitle track 1, English (track 0, id 0x1200) Picture [PGS] -> Passthrough
[10:10:10]  * audio track 1
[10:10:10]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x711100)
[10:10:10]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[10:10:10]    + mixdown: 5.1 Channels
[10:10:10]    + encoder: AC3 (ffmpeg)
[10:10:10]      + bitrate: 640 kbps, samplerate: 48000 Hz
[10:10:10]  * audio track 2
[10:10:10]    + decoder: English (DTS) (2.0 ch) (track 3, id 0x1101)
[10:10:10]      + bitrate: 256 kbps, samplerate: 48000 Hz
[10:10:10]    + mixdown: Stereo
[10:10:10]    + encoder: AAC (ffmpeg)
[10:10:10]      + bitrate: 64 kbps, samplerate: 48000 Hz
[10:10:10]  * audio track 3
[10:10:10]    + decoder: English (DTS) (2.0 ch) (track 4, id 0x1102)
[10:10:10]      + bitrate: 256 kbps, samplerate: 48000 Hz
[10:10:10]    + mixdown: Stereo
[10:10:10]    + encoder: AAC (ffmpeg)
[10:10:10]      + bitrate: 64 kbps, samplerate: 48000 Hz
[10:10:10]  * audio track 4
[10:10:10]    + decoder: English (DTS) (2.0 ch) (track 5, id 0x1103)
[10:10:10]      + bitrate: 256 kbps, samplerate: 48000 Hz
[10:10:10]    + mixdown: Stereo
[10:10:10]    + encoder: AAC (ffmpeg)
[10:10:10]      + bitrate: 64 kbps, samplerate: 48000 Hz
[10:10:10] encx264: min-keyint: 24, keyint: 240
[10:10:10] encx264: encoding with stored aspect 813/814
[10:10:10] encx264: Encoding at constant RF 20.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
[10:10:10] reader: first SCR 1044806 id 0x1011 DTS 1044806
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=813/814
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 3.1
[10:10:10] vc1: "Chapter 1" (1) at frame 0 time 3754
[10:10:10] sync: first pts is 3754
[10:11:08] vc1: "Chapter 2" (2) at frame 2879 time 10812381
[10:13:44] vc1: "Chapter 3" (3) at frame 10550 time 39607397
[10:16:01] vc1: "Chapter 4" (4) at frame 17491 time 65662176
[10:19:26] vc1: "Chapter 5" (5) at frame 27867 time 104611086
[10:21:14] vc1: "Chapter 6" (6) at frame 33105 time 124273228
[10:23:26] vc1: "Chapter 7" (7) at frame 39821 time 149483413
not sure if x264 is to blame, or the decoding handbrake does...... quite a bad problem though (definitely corruption)


Going to rip the disk again just in case, will do a full bluray rip this time (did a remux before using default settings in my ripper)

if i don't post again though, then assume it didn't help.
Deleted User 11865

Re: Strange issue in Dark City?

Post by Deleted User 11865 »

I'd say it's either a VC-1 decoding bug, or a bug in your playback software.

Impossible to tell without a short sample of the source though.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5725
Joined: Sat Feb 09, 2008 7:21 pm

Re: Strange issue in Dark City?

Post by JohnAStebbins »

I have the Dark City BD. The blemish is either in the source or it's a vc-1 decoding bug as Rodeo says. i.e. I can see the same blemish in mplayer and vlc when I play directly from the BD rip.
Registered55
Enlightened
Posts: 121
Joined: Thu Apr 14, 2011 4:04 pm

Re: Strange issue in Dark City?

Post by Registered55 »

it's a decoding error, this has come directly from the source after ripping the disk, (full rip didn't help either)

tried 3 different encodes, always same issue, there is some weirdness to the image, but nothing compared to the screenshot that was posted by the OP

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

Re: Strange issue in Dark City?

Post by JohnAStebbins »

I just built the latest libav git to see if the problem still exists since they recently made several VC1 changes. The problem is still there.
Registered55
Enlightened
Posts: 121
Joined: Thu Apr 14, 2011 4:04 pm

Re: Strange issue in Dark City?

Post by Registered55 »

ok, thanks for the heads up, at least they have something that seems to be reproducible, hopefully will bring a faster fix to this issue.

the marks on the wall, and around his cheek are definitely of a low quality, if i didn't know any better i would say the VC1 encoding introduced a few errors on these few frames... something about these few frames just doesn't look right.... if not errors then perhaps a low spike in bitrate maybe??? getting ahead of myself now.... think i'll drop out here.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5725
Joined: Sat Feb 09, 2008 7:21 pm

Re: Strange issue in Dark City?

Post by JohnAStebbins »

One possibility is that the encoder actually produced invalid data or the reproduction process stepped on a few bits. What we are seeing could potentially be the differences in error concealment behavior between whatever you are using for playback and what libav does.
forumator
Posts: 20
Joined: Fri Jan 21, 2011 8:06 pm

Re: Strange issue in Dark City?

Post by forumator »

What's interesting is that if I playback the source ripped straight from disc using eac3to, if I playback using MPC-HC it does not show the corruption BUT VLC or SMPlayer do. Then after encoding the source with placebo settings, all players INCLUDING MPC-HC do show the corruption. Oh well this will be one of those rare movies that I don't transcode, the raw mkv isn't very big anyways :)
Deleted User 11865

Re: Strange issue in Dark City?

Post by Deleted User 11865 »

IIRC MPC-HC can use the Microsoft VC-1 decoder.
Post Reply