Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error frames from good original #1325

Open
daviducz opened this issue May 7, 2018 · 18 comments

Comments

4 participants
@daviducz
Copy link

commented May 7, 2018

Description of problem or feature request

I`m constantly getting in one video file (4K 50mbps), error frames after conversion to any mp4 resolution, but original file shows fine. Original video was encoded in Davinci Resolve (last two version of program)

Steps to reproduce the problem

Can provide original file and encoded file.

HandBrake version (e.g., 1.0.0)

1.1.0

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.3 High Sierra, Windows 10 Creators Update)

W10

Error message text or screenshot

Type or paste text and/or drag and drop image.

HandBrake Activity Log required (see https://handbrake.fr/docs/en/latest/help/activity-log.html)

Drag and drop file or...

HandBrake 1.1.0 (2018040700) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz
Ram: 65234 MB, 
GPU Information:
  NVIDIA GeForce GTX 1060 6GB - 23.21.13.9135
Screen: 2560x1080
Temp Dir: C:\Users\Fantomas\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Fantomas\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[16:09:38] hb_init: starting libhb thread
[16:09:38] 1 job(s) to process
[16:09:38] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "DRC": 0.0,
        "Encoder": 1125984256,
        "Gain": 0.0,
        "Mixdown": -1,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      1073807360,
      1073743872,
      1074003968,
      1073750016,
      1090519040,
      1074790400,
      1074266112,
      1107296256
    ],
    "FallbackEncoder": 2048
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "G:\\!BodyTickling.com\\Victoria Pure foot tickling\\Victoria Pure Brittany Bardot foot tickling part 2 MOBILE.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": true
    },
    "Mux": 131072
  },
  "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": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "406",
          "width": "720"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "1"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "G:\\!BodyTickling.com\\Victoria Pure foot tickling\\Victoria Pure Brittany Bardot foot tickling part 2 orig.mp4"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Bitrate": 1000,
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "rc-lookahead=30:ref=4:bframes=5:b-adapt=2:me=umh:subme=8:analyse=all",
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[16:09:38] CPU: Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz
[16:09:38]  - logical processor count: 16
[16:09:38] Intel Quick Sync Video support: no
[16:09:38] hb_scan: path=G:\!BodyTickling.com\Victoria Pure foot tickling\Victoria Pure Brittany Bardot foot tickling part 2 orig.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image G:\!BodyTickling.com\Victoria Pure foot tickling\Victoria Pure Brittany Bardot foot tickling part 2 orig.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
[16:09:38] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[16:09:38] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\!BodyTickling.com\Victoria Pure foot tickling\Victoria Pure Brittany Bardot foot tickling part 2 orig.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.25.100
  Duration: 00:14:56.00, start: 0.000000, bitrate: 47868 kb/s
    Stream #0:0(und): Video: h264 (Main) [avc1 / 0x31637661]
      yuv420p, tv, bt709/bt709/bt709
      3840x2160, 47669 kb/s, PAR 1:1 DAR 16:9
      25 fps, 12800 tbn (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) [mp4a / 0x6134706D]
      48000 Hz, stereo, fltp, 195 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
[16:09:38] scan: decoding previews for title 1
[16:09:38] scan: audio 0x1: aac, rate=48000Hz, bitrate=195073 Unknown (AAC) (2.0 ch)
[16:09:40] scan: 10 previews, 3840x2160, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[16:09:40] scan: supported video decoders: avcodec qsv
[16:09:40] libhb: scan thread found 1 valid title(s)
[16:09:40] Skipping subtitle scan.  No suitable subtitle tracks.
[16:09:40] starting job
[16:09:40] decomb filter thread started for segment 1
[16:09:40] decomb filter thread started for segment 9
[16:09:40] decomb filter thread started for segment 4
[16:09:40] decomb filter thread started for segment 0
[16:09:40] decomb filter thread started for segment 3
[16:09:40] decomb filter thread started for segment 6
[16:09:40] decomb check thread started for segment 13
[16:09:40] decomb filter thread started for segment 7
[16:09:40] mask filter thread started for segment 1
[16:09:40] decomb filter thread started for segment 2
[16:09:40] decomb filter thread started for segment 10
[16:09:40] decomb filter thread started for segment 11
[16:09:40] decomb filter thread started for segment 12
[16:09:40] mask erode thread started for segment 2
[16:09:40] decomb filter thread started for segment 14
[16:09:40] decomb filter thread started for segment 15
[16:09:40] mask erode thread started for segment 9
[16:09:40] mask erode thread started for segment 14
[16:09:40] decomb check thread started for segment 2
[16:09:40] decomb check thread started for segment 3
[16:09:40] decomb check thread started for segment 4
[16:09:40] mask dilate thread started for segment 14
[16:09:40] decomb check thread started for segment 6
[16:09:40] decomb check thread started for segment 7
[16:09:40] decomb check thread started for segment 8
[16:09:40] decomb check thread started for segment 9
[16:09:40] decomb check thread started for segment 10
[16:09:40] decomb check thread started for segment 11
[16:09:40] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[16:09:40] Auto Passthru: fallback is AC3
[16:09:40] Auto Passthru: using AAC Passthru for track 2
[16:09:40] work: track 1, dithering not supported by codec
[16:09:40] decomb check thread started for segment 12
[16:09:40] decomb filter thread started for segment 5
[16:09:40] decomb check thread started for segment 14
[16:09:40] decomb check thread started for segment 15
[16:09:40] work: only 1 chapter, disabling chapter markers
[16:09:40] job configuration:
[16:09:40]  * source
[16:09:40]    + G:\!BodyTickling.com\Victoria Pure foot tickling\Victoria Pure Brittany Bardot foot tickling part 2 orig.mp4
[16:09:40]    + title 1, chapter(s) 1 to 1
[16:09:40]    + container: mov,mp4,m4a,3gp,3g2,mj2
[16:09:40]    + data rate: 47868 kbps
[16:09:40]  * destination
[16:09:40]    + G:\!BodyTickling.com\Victoria Pure foot tickling\Victoria Pure Brittany Bardot foot tickling part 2 MOBILE.mp4
[16:09:40]    + container: MPEG-4 (libavformat)
[16:09:40] mask filter thread started for segment 0
[16:09:40]      + optimized for HTTP streaming (fast start)
[16:09:40]  * video track
[16:09:40]    + decoder: h264
[16:09:40]      + bitrate 47669 kbps
[16:09:40]    + filters
[16:09:40] decomb filter thread started for segment 8
[16:09:40]      + 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)
[16:09:40]      + Decomb (mode=39)
[16:09:40]      + Framerate Shaper (mode=1)
[16:09:40]        + frame rate: 25.000 fps -> constant 25.000 fps
[16:09:40] mask filter thread started for segment 2
[16:09:40]      + Crop and Scale (width=720:height=406:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[16:09:40]        + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 720 * 406
[16:09:40]    + Output geometry
[16:09:40]      + storage dimensions: 720 x 406
[16:09:40]      + pixel aspect ratio: 1 : 1
[16:09:40]      + display dimensions: 720 x 406
[16:09:40]    + encoder: H.264 (libx264)
[16:09:40]      + options: rc-lookahead=30:ref=4:bframes=5:b-adapt=2:me=umh:subme=8:analyse=all
[16:09:40]      + bitrate: 1000 kbps, pass: 0
[16:09:40]  * audio track 1
[16:09:40]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)
[16:09:40]      + bitrate: 195 kbps, samplerate: 48000 Hz
[16:09:40]    + mixdown: Stereo
[16:09:40]    + encoder: AAC (libavcodec)
[16:09:40]      + bitrate: 160 kbps, samplerate: 48000 Hz
[16:09:40]  * audio track 2
[16:09:40]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0x1)
[16:09:40]      + bitrate: 195 kbps, samplerate: 48000 Hz
[16:09:40]    + AAC Passthru
[16:09:40] mask filter thread started for segment 3
[16:09:40] mask filter thread started for segment 5
[16:09:40] mask filter thread started for segment 4
[16:09:40] mask filter thread started for segment 6
[16:09:40] mask filter thread started for segment 7
[16:09:40] mask filter thread started for segment 9
[16:09:40] mask filter thread started for segment 8
[16:09:40] mask filter thread started for segment 10
[16:09:40] mask filter thread started for segment 11
[16:09:40] mask filter thread started for segment 12
[16:09:40] mask filter thread started for segment 13
[16:09:40] mask filter thread started for segment 14
[16:09:40] mask filter thread started for segment 15
[16:09:40] mask erode thread started for segment 1
[16:09:40] mask erode thread started for segment 0
[16:09:40] decomb filter thread started for segment 13
[16:09:40] mask erode thread started for segment 3
[16:09:40] mask erode thread started for segment 4
[16:09:40] mask erode thread started for segment 5
[16:09:40] mask erode thread started for segment 6
[16:09:40] mask erode thread started for segment 7
[16:09:40] mask erode thread started for segment 8
[16:09:40] decomb check thread started for segment 0
[16:09:40] mask erode thread started for segment 10
[16:09:40] mask erode thread started for segment 11
[16:09:40] mask erode thread started for segment 12
[16:09:40] mask erode thread started for segment 13
[16:09:40] decomb check thread started for segment 1
[16:09:40] mask erode thread started for segment 15
[16:09:40] mask dilate thread started for segment 0
[16:09:40] mask dilate thread started for segment 1
[16:09:40] mask dilate thread started for segment 2
[16:09:40] mask dilate thread started for segment 3
[16:09:40] mask dilate thread started for segment 4
[16:09:40] mask dilate thread started for segment 5
[16:09:40] mask dilate thread started for segment 6
[16:09:40] mask dilate thread started for segment 7
[16:09:40] mask dilate thread started for segment 8
[16:09:40] mask dilate thread started for segment 9
[16:09:40] mask dilate thread started for segment 11
[16:09:40] mask dilate thread started for segment 10
[16:09:40] mask dilate thread started for segment 12
[16:09:40] mask dilate thread started for segment 13
[16:09:40] decomb check thread started for segment 5
[16:09:40] mask dilate thread started for segment 15
[16:09:40] yadif thread started for segment 0
[16:09:40] yadif thread started for segment 1
[16:09:40] yadif thread started for segment 2
[16:09:40] yadif thread started for segment 4
[16:09:40] yadif thread started for segment 3
[16:09:40] yadif thread started for segment 5
[16:09:40] yadif thread started for segment 6
[16:09:40] yadif thread started for segment 7
[16:09:40] yadif thread started for segment 8
[16:09:40] yadif thread started for segment 9
[16:09:40] yadif thread started for segment 10
[16:09:40] yadif thread started for segment 12
[16:09:40] yadif thread started for segment 11
[16:09:40] yadif thread started for segment 14
[16:09:40] yadif thread started for segment 13
[16:09:40] yadif thread started for segment 15
[16:09:40] sync: expecting 22400 video frames
[16:09:40] encx264: encoding at average bitrate 1000
[16:09:40] encx264: unparsed options: rc-lookahead=30:ref=4:bframes=5:b-adapt=2:me=umh:subme=8:analyse=all
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
x264 [info]: profile High, level 3.0
[16:09:40] sync: first pts video is 0
[16:09:40] sync: "Chapter 1" (1) at frame 1 time 0
[16:09:40] sync: first pts audio 0x1 is 0
[16:09:40] sync: first pts audio 0x1 is 0
[h264 @ 0000019934d8dba0] left block unavailable for requested intra mode
[h264 @ 0000019934d8dba0] error while decoding MB 0 79
[h264 @ 0000019934d8dba0] mb_type 63 in B slice too large at 51 80
[h264 @ 0000019934d8dba0] error while decoding MB 51 80
[h264 @ 0000019947be7920] mb_type 389 in B slice too large at 121 79
[h264 @ 0000019947be7920] error while decoding MB 121 79
[16:15:45] reader: done. 1 scr changes
[16:15:46] work: average encoding speed for job is 61.260174 fps
[16:15:46] comb detect: heavy 70 | light 462 | uncombed 21868 | total 22400
[16:15:46] decomb: deinterlaced 70 | blended 462 | unfiltered 21868 | total 22400
[16:15:46] vfr: 22400 frames output, 0 dropped and 0 duped for CFR/PFR
[16:15:46] vfr: lost time: 0 (0 frames)
[16:15:46] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:15:46] aac-decoder done: 42000 frames, 0 decoder errors
[16:15:46] aac-decoder done: 42000 frames, 0 decoder errors
[16:15:46] h264-decoder done: 22400 frames, 0 decoder errors
[16:15:46] sync: got 22400 frames, 22400 expected
[16:15:46] sync: framerate min 25.000 fps, max 25.000 fps, avg 25.000 fps
x264 [info]: frame I:92    Avg QP:10.50  size: 35520
x264 [info]: frame P:5613  Avg QP:18.03  size: 11784
x264 [info]: frame B:16695 Avg QP:22.59  size:  2633
x264 [info]: consecutive B-frames:  0.8%  1.8% 10.5% 64.1% 12.9%  9.8%
x264 [info]: mb I  I16..4: 41.2% 29.8% 29.0%
x264 [info]: mb P  I16..4:  0.8%  4.9%  2.4%  P16..4: 19.5% 12.9% 12.5%  2.9%  1.3%    skip:42.8%
x264 [info]: mb B  I16..4:  0.0%  0.4%  0.2%  B16..8: 25.6%  8.2%  2.7%  direct: 2.1%  skip:60.9%  L0:34.1% L1:40.6% BI:25.3%
x264 [info]: final ratefactor: 18.08
x264 [info]: 8x8 transform intra:56.3% inter:58.6%
x264 [info]: coded y,uvDC,uvAC intra: 75.0% 79.1% 59.1% inter: 14.4% 12.9% 3.1%
x264 [info]: i16 v,h,dc,p: 72% 11%  7% 10%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16%  9% 14%  6% 11% 14% 11% 11%  9%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15%  8%  7%  7% 14% 16% 12% 11% 10%
x264 [info]: i8c dc,h,v,p: 46% 20% 20% 15%
x264 [info]: Weighted P-Frames: Y:0.2% UV:0.0%
x264 [info]: ref P L0: 60.4% 19.3% 13.3%  6.9%  0.1%
x264 [info]: ref B L0: 92.8%  5.6%  1.5%
x264 [info]: ref B L1: 97.5%  2.5%
x264 [info]: kb/s:1012.22
[16:15:46] mux: track 0, 22400 frames, 113364741 bytes, 1012.14 kbps, fifo 2048
[16:15:46] mux: track 1, 42001 frames, 17984988 bytes, 160.57 kbps, fifo 4096
[16:15:46] mux: track 2, 42000 frames, 21848235 bytes, 195.06 kbps, fifo 4096
[16:15:47] libhb: work result = 0

# Encode Completed ...


@sr55

This comment has been minimized.

Copy link
Contributor

commented May 7, 2018

Your output appears to have the same frame-count as the input.

There are errors in the log indicating that the decoder was having trouble processing your source file. It appears to be out-of-spec or has a very small amount of corruption.

Sometimes you will see this on playback, sometimes you won't or it'll be hard to detect, it depends on the player and what if any compensation they do for source errors. It can however have a more noticeable impact on re-encode.

My advice would be to re-generate the source file and see if it helps. My guess is your editor's encoder has a bug in it that your content has tripped so it may happen again.

If your content is work-safe, we can take a look to see if there is something we can do to allow the decoder to work-around such an issue. Otherwise if it's not, there isn't much we can do.

@daviducz

This comment has been minimized.

Copy link
Author

commented May 7, 2018

Thank you, Ill render affected part for you to see. Havent noticed it before, so probably its problem of Davinci Resolve, what is now in beta testing state so I should notice them as you suggest.

@daviducz

This comment has been minimized.

Copy link
Author

commented May 7, 2018

Please how can I send mp4 files?

@sr55

This comment has been minimized.

Copy link
Contributor

commented May 7, 2018

Google Drive, Dropbox, OneDrive etc.

@daviducz

This comment has been minimized.

Copy link
Author

commented May 7, 2018

BTW new version of Handbrake started crashing at beginning of encoding also another file. Below is log.

HandBrake 1.1.0 (2018040700) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz
Ram: 65234 MB,
GPU Information:
NVIDIA GeForce GTX 1060 6GB - 23.21.13.9135
Screen: 2560x1080
Temp Dir: C:\Users\Fantomas\AppData\Local\Temp
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Fantomas\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0


Starting Encode ...

[21:43:32] hb_init: starting libhb thread
[21:43:32] 1 job(s) to process
[21:43:32] json job:
{
"Audio": {
"AudioList": [
{
"Bitrate": 160,
"DRC": 0.0,
"Encoder": 65536,
"Gain": 0.0,
"Mixdown": 4,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Track": 0,
"DitherMethod": 0
},
{
"DRC": 0.0,
"Encoder": 1125984256,
"Gain": 0.0,
"Mixdown": -1,
"NormalizeMixLevel": false,
"Samplerate": 48000,
"Track": 0,
"DitherMethod": 0
}
],
"CopyMask": [
1073807360,
1073743872,
1074003968,
1073750016,
1090519040,
1074790400,
1074266112,
1107296256
],
"FallbackEncoder": 2048
},
"Destination": {
"ChapterList": [
{
"Name": "Chapter 1"
}
],
"ChapterMarkers": true,
"AlignAVStart": false,
"File": "G:\!PedalChallenge.com\Titi\Titi PedalChallenge fullhd.mp4",
"Mp4Options": {
"IpodAtom": false,
"Mp4Optimize": true
},
"Mux": 131072
},
"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": 11,
"Settings": {
"crop-bottom": "0",
"crop-left": "0",
"crop-right": "0",
"crop-top": "0",
"height": "1080",
"width": "1920"
}
},
{
"ID": 6,
"Settings": {
"mode": "1"
}
}
]
},
"PAR": {
"Num": 1,
"Den": 1
},
"Metadata": {},
"SequenceID": 0,
"Source": {
"Angle": 1,
"Range": {
"Type": "chapter",
"Start": 1,
"End": 1
},
"Title": 1,
"Path": "G:\14.11.2016 - Titi chlupy pedal tickling\render\titi pedal challenge orig.mp4"
},
"Subtitle": {
"Search": {
"Burn": true,
"Default": false,
"Enable": true,
"Forced": true
},
"SubtitleList": []
},
"Video": {
"Encoder": 65536,
"Bitrate": 4000,
"TwoPass": false,
"Turbo": false,
"ColorMatrixCode": 0,
"Options": "rc-lookahead=30:ref=4:bframes=5:b-adapt=2:me=umh:subme=8:analyse=all",
"HWDecode": false,
"QSV": {
"Decode": false,
"AsyncDepth": 0
}
}
}
[21:43:32] CPU: Intel(R) Core(TM) i7-7820X CPU @ 3.60GHz
[21:43:32] - logical processor count: 16
[21:43:32] Intel Quick Sync Video support: no
[21:43:32] hb_scan: path=G:\14.11.2016 - Titi chlupy pedal tickling\render\titi pedal challenge orig.mp4, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image G:\14.11.2016 - Titi chlupy pedal tickling\render\titi pedal challenge orig.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
[21:43:32] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.3
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
[21:43:32] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'G:\14.11.2016 - Titi chlupy pedal tickling\render\titi pedal challenge orig.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41
creation_time : 2016-11-29 01:41:22
Duration: 00:13:38.92, start: 0.000000, bitrate: 95379 kb/s
Stream #0:0(eng): Video: h264 (High) [avc1 / 0x31637661]
yuv420p, tv, bt709/bt709/bt709
3840x2160 [PAR 1:1 DAR 16:9], 95063 kb/s
25 fps, 25k tbn (default)
Metadata:
creation_time : 2016-11-29 01:41:22
handler_name : Alias Data Handler
encoder : AVC Coding
Stream #0:1(eng): Audio: aac (LC) [mp4a / 0x6134706D]
48000 Hz, stereo, fltp, 317 kb/s (default)
Metadata:
creation_time : 2016-11-29 01:41:22
handler_name : Alias Data Handler
[21:43:32] scan: decoding previews for title 1
[21:43:33] scan: audio 0x1: aac, rate=48000Hz, bitrate=317375 English (AAC) (2.0 ch)
[21:43:35] scan: 10 previews, 3840x2160, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[21:43:35] scan: supported video decoders: avcodec qsv
[21:43:35] libhb: scan thread found 1 valid title(s)
[21:43:35] Skipping subtitle scan. No suitable subtitle tracks.
[21:43:35] starting job
[21:43:35] decomb filter thread started for segment 0
[21:43:35] decomb filter thread started for segment 5
[21:43:35] decomb filter thread started for segment 2
[21:43:35] decomb filter thread started for segment 3
[21:43:35] decomb filter thread started for segment 4
[21:43:35] decomb filter thread started for segment 1
[21:43:35] decomb filter thread started for segment 6
[21:43:35] decomb check thread started for segment 14
[21:43:35] decomb filter thread started for segment 8
[21:43:35] decomb filter thread started for segment 9
[21:43:35] decomb filter thread started for segment 10
[21:43:35] decomb filter thread started for segment 12
[21:43:35] mask filter thread started for segment 10
[21:43:35] mask filter thread started for segment 13
[21:43:35] decomb filter thread started for segment 14
[21:43:35] decomb filter thread started for segment 15
[21:43:35] decomb check thread started for segment 0
[21:43:35] decomb check thread started for segment 1
[21:43:35] mask erode thread started for segment 7
[21:43:35] decomb check thread started for segment 2
[21:43:35] mask erode thread started for segment 11
[21:43:35] decomb check thread started for segment 5
[21:43:35] decomb check thread started for segment 6
[21:43:35] decomb check thread started for segment 7
[21:43:35] mask dilate thread started for segment 3
[21:43:35] mask dilate thread started for segment 9
[21:43:35] mask dilate thread started for segment 14
[21:43:35] decomb check thread started for segment 11
[21:43:35] decomb check thread started for segment 12
[21:43:35] decomb check thread started for segment 13
[21:43:35] decomb filter thread started for segment 7
[21:43:35] decomb check thread started for segment 15
[21:43:35] mask filter thread started for segment 0
[21:43:35] mask filter thread started for segment 1
[21:43:35] Auto Passthru: allowed codecs are AAC, AC3, E-AC3, TrueHD, DTS, DTS-HD, MP3, FLAC
[21:43:35] Auto Passthru: fallback is AC3
[21:43:35] Auto Passthru: using AAC Passthru for track 2
[21:43:35] work: track 1, dithering not supported by codec
[21:43:35] mask filter thread started for segment 2
[21:43:35] mask filter thread started for segment 3
[21:43:35] mask filter thread started for segment 4
[21:43:35] work: only 1 chapter, disabling chapter markers
[21:43:35] job configuration:
[21:43:35] * source
[21:43:35] + G:\14.11.2016 - Titi chlupy pedal tickling\render\titi pedal challenge orig.mp4
[21:43:35] + title 1, chapter(s) 1 to 1
[21:43:35] + container: mov,mp4,m4a,3gp,3g2,mj2
[21:43:35] + data rate: 95379 kbps
[21:43:35] * destination
[21:43:35] + G:!PedalChallenge.com\Titi\Titi PedalChallenge fullhd.mp4
[21:43:35] + container: MPEG-4 (libavformat)
[21:43:35] + optimized for HTTP streaming (fast start)
[21:43:35] * video track
[21:43:35] + decoder: h264
[21:43:35] + bitrate 95063 kbps
[21:43:35] + filters
[21:43:35] + 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)
[21:43:35] mask filter thread started for segment 6
[21:43:35] + Decomb (mode=39)
[21:43:35] + Framerate Shaper (mode=1)
[21:43:35] + frame rate: 25.000 fps -> constant 25.000 fps
[21:43:35] + Crop and Scale (width=1920:height=1080:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[21:43:35] + source: 3840 * 2160, crop (0/0/0/0): 3840 * 2160, scale: 1920 * 1080
[21:43:35] + Output geometry
[21:43:35] + storage dimensions: 1920 x 1080
[21:43:35] + pixel aspect ratio: 1 : 1
[21:43:35] + display dimensions: 1920 x 1080
[21:43:35] + encoder: H.264 (libx264)
[21:43:35] + options: rc-lookahead=30:ref=4:bframes=5:b-adapt=2:me=umh:subme=8:analyse=all
[21:43:35] + bitrate: 4000 kbps, pass: 0
[21:43:35] * audio track 1
[21:43:35] + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[21:43:35] + bitrate: 317 kbps, samplerate: 48000 Hz
[21:43:35] + mixdown: Stereo
[21:43:35] + encoder: AAC (libavcodec)
[21:43:35] + bitrate: 160 kbps, samplerate: 48000 Hz
[21:43:35] * audio track 2
[21:43:35] + decoder: English (AAC) (2.0 ch) (track 1, id 0x1)
[21:43:35] + bitrate: 317 kbps, samplerate: 48000 Hz
[21:43:35] + AAC Passthru
[21:43:35] mask filter thread started for segment 7
[21:43:35] mask filter thread started for segment 8
[21:43:35] mask filter thread started for segment 9
[21:43:35] mask filter thread started for segment 5
[21:43:35] decomb filter thread started for segment 13
[21:43:35] mask filter thread started for segment 11
[21:43:35] mask filter thread started for segment 12
[21:43:35] decomb filter thread started for segment 11
[21:43:35] mask filter thread started for segment 14
[21:43:35] mask filter thread started for segment 15
[21:43:35] mask erode thread started for segment 0
[21:43:35] mask erode thread started for segment 1
[21:43:35] mask erode thread started for segment 2
[21:43:35] mask erode thread started for segment 4
[21:43:35] mask erode thread started for segment 3
[21:43:35] mask erode thread started for segment 5
[21:43:35] mask erode thread started for segment 6
[21:43:35] decomb check thread started for segment 3
[21:43:35] mask erode thread started for segment 8
[21:43:35] mask erode thread started for segment 9
[21:43:35] mask erode thread started for segment 10
[21:43:35] decomb check thread started for segment 4
[21:43:35] mask erode thread started for segment 12
[21:43:35] mask erode thread started for segment 13
[21:43:35] mask erode thread started for segment 14
[21:43:35] mask erode thread started for segment 15
[21:43:35] mask dilate thread started for segment 0
[21:43:35] mask dilate thread started for segment 1
[21:43:35] mask dilate thread started for segment 2
[21:43:35] mask dilate thread started for segment 4
[21:43:35] mask dilate thread started for segment 6
[21:43:35] mask dilate thread started for segment 5
[21:43:35] decomb check thread started for segment 8
[21:43:35] mask dilate thread started for segment 7
[21:43:35] mask dilate thread started for segment 8
[21:43:35] decomb check thread started for segment 9
[21:43:35] mask dilate thread started for segment 10
[21:43:35] mask dilate thread started for segment 11
[21:43:35] mask dilate thread started for segment 12
[21:43:35] mask dilate thread started for segment 13
[21:43:35] decomb check thread started for segment 10
[21:43:35] mask dilate thread started for segment 15
[21:43:35] yadif thread started for segment 0
[21:43:35] yadif thread started for segment 1
[21:43:35] yadif thread started for segment 2
[21:43:35] yadif thread started for segment 3
[21:43:35] yadif thread started for segment 4
[21:43:35] yadif thread started for segment 5
[21:43:35] yadif thread started for segment 6
[21:43:35] yadif thread started for segment 7
[21:43:35] yadif thread started for segment 8
[21:43:35] yadif thread started for segment 9
[21:43:35] yadif thread started for segment 10
[21:43:35] yadif thread started for segment 11
[21:43:35] yadif thread started for segment 12
[21:43:35] yadif thread started for segment 13
[21:43:35] yadif thread started for segment 14
[21:43:35] yadif thread started for segment 15
[21:43:36] sync: expecting 20473 video frames
[21:43:36] encx264: encoding at average bitrate 4000
[21:43:36] encx264: unparsed options: rc-lookahead=30:ref=4:bframes=5:b-adapt=2:me=umh:subme=8:analyse=all
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
x264 [info]: profile High, level 4.0
[21:43:36] sync: first pts video is 0
[21:43:36] sync: "Chapter 1" (1) at frame 1 time 0
[21:43:36] sync: first pts audio 0x1 is 0
[21:43:36] sync: first pts audio 0x1 is 0

@daviducz

This comment has been minimized.

Copy link
Author

commented May 7, 2018

HB 1.0.7 working without error from my last post.

Now I will try 1.0.7 for image corruption what was main topic of this thread.

@daviducz

This comment has been minimized.

Copy link
Author

commented May 7, 2018

Well so 1.0.7 have the same problem with files from Davinci as newest version. The same corrupred frames.

@bradleysepos

This comment has been minimized.

Copy link
Contributor

commented May 7, 2018

Seems like it could be a decoder bug. I've seen similar corruption before but it's usually with frames that are predominantly dark/black, such as titles.

I tried encoding with avconv which spit out:

left block unavailable for requested intra mode10000000000.00 bitrate=   0.0kbits/s    
[h264 @ 0x7fdd08803000] error while decoding MB 0 98
left block unavailable for requested intra mode=7.36 bitrate=9438.2kbits/s     ts/s    
[h264 @ 0x7fdd0880fc00] error while decoding MB 0 132
[h264 @ 0x7fdd08810200] left block unavailable for requested intra mode
[h264 @ 0x7fdd08810200] error while decoding MB 0 102
[h264 @ 0x7fdd08810e00] left block unavailable for requested intra mode
[h264 @ 0x7fdd08810e00] error while decoding MB 0 90
[h264 @ 0x7fdd08803000] left block unavailable for requested intra mode
[h264 @ 0x7fdd08803000] error while decoding MB 0 120
mb_type 42 in B slice too large at 99 98kB time=7.88 bitrate=9361.1kbits/s    
[h264 @ 0x7fdd0880e400] error while decoding MB 99 98
left block unavailable for requested intra mode=8.32 bitrate=9200.5kbits/s    
[h264 @ 0x7fdd0880ea00] error while decoding MB 0 133
mb_type 34 in B slice too large at 152 117 time=8.64 bitrate=9100.3kbits/s    
[h264 @ 0x7fdd0880cc00] error while decoding MB 152 117
[h264 @ 0x7fdd0880d200] left block unavailable for requested intra mode
[h264 @ 0x7fdd0880d200] error while decoding MB 0 119
out of range intra chroma pred mode 9830kB time=8.84 bitrate=9109.8kbits/s    
[h264 @ 0x7fdd0880f600] error while decoding MB 235 82
left block unavailable for requested intra mode=9.12 bitrate=9035.8kbits/s    
[h264 @ 0x7fdd0880f000] error while decoding MB 0 106
[h264 @ 0x7fdd0880f600] out of range intra chroma pred mode
[h264 @ 0x7fdd0880f600] error while decoding MB 84 83
mb_type 36 in B slice too large at 8 819kB time=9.48 bitrate=8986.1kbits/s    
[h264 @ 0x7fdd08810800] error while decoding MB 8 81
mb_type 83 in B slice too large at 225 80B time=9.76 bitrate=8900.9kbits/s    
[h264 @ 0x7fdd0880de00] error while decoding MB 225 80
[h264 @ 0x7fdd0880f000] cbp too large (51) at 164 106
[h264 @ 0x7fdd0880f000] error while decoding MB 164 106
[h264 @ 0x7fdd0880f600] mb_type 56 in B slice too large at 174 84
[h264 @ 0x7fdd0880f600] error while decoding MB 174 84
left block unavailable for requested intra mode=10.12 bitrate=8927.4kbits/s    
[h264 @ 0x7fdd08803000] error while decoding MB 0 78
[h264 @ 0x7fdd0880cc00] mb_type 38 in B slice too large at 139 81
[h264 @ 0x7fdd0880cc00] error while decoding MB 139 81
[h264 @ 0x7fdd0880d800] left block unavailable for requested intra mode
[h264 @ 0x7fdd0880d800] error while decoding MB 0 78
[h264 @ 0x7fdd0880de00] mb_type 34 in B slice too large at 42 98
[h264 @ 0x7fdd0880de00] error while decoding MB 42 98
cbp too large (49) at 76 82size=   11232kB time=10.40 bitrate=8847.7kbits/s    
[h264 @ 0x7fdd08810200] error while decoding MB 76 82
mb_type 212 in B slice too large at 28 85B time=10.60 bitrate=8885.8kbits/s    
[h264 @ 0x7fdd08810e00] error while decoding MB 28 85
[h264 @ 0x7fdd08803000] left block unavailable for requested intra mode
[h264 @ 0x7fdd08803000] error while decoding MB 0 80
cbp too large (50) at 77 81size=   11803kB time=10.92 bitrate=8854.6kbits/s    
[h264 @ 0x7fdd0880fc00] error while decoding MB 77 81
[h264 @ 0x7fdd08810200] left block unavailable for requested intra mode
[h264 @ 0x7fdd08810200] error while decoding MB 0 75
[h264 @ 0x7fdd08810e00] out of range intra chroma pred mode
[h264 @ 0x7fdd08810e00] error while decoding MB 14 104
[h264 @ 0x7fdd08803000] left block unavailable for requested intra mode
[h264 @ 0x7fdd08803000] error while decoding MB 0 86
left block unavailable for requested intra mode=11.28 bitrate=8788.4kbits/s    
[h264 @ 0x7fdd0880e400] error while decoding MB 0 80
[h264 @ 0x7fdd0880ea00] mb_type 39 in B slice too large at 190 88
[h264 @ 0x7fdd0880ea00] error while decoding MB 190 88
left block unavailable for requested intra mode=11.96 bitrate=8733.3kbits/s    
[h264 @ 0x7fdd0880f600] error while decoding MB 0 91
[h264 @ 0x7fdd0880fc00] left block unavailable for requested intra mode
[h264 @ 0x7fdd0880fc00] error while decoding MB 0 100
left block unavailable for requested intra mode=12.28 bitrate=8703.8kbits/s    
[h264 @ 0x7fdd0880de00] error while decoding MB 0 127

My advice as a workaround is to render something like DNxHR or ProRes and feed that to HandBrake.

@cehoyos

This comment has been minimized.

Copy link

commented May 8, 2018

This was fixed in FFmpeg before July 2013 (FFmpeg 2.0).

@bradleysepos

This comment has been minimized.

Copy link
Contributor

commented May 8, 2018

Thanks @cehoyos. Link to the fixing commit?

@cehoyos

This comment has been minimized.

Copy link

commented May 8, 2018

I only know that the issue was reproducible with FFmpeg 1.2.

@bradleysepos

This comment has been minimized.

Copy link
Contributor

commented May 29, 2018

Tested using current master following switch from Libav to FFmpeg 4.0, using the Fast 480p30 preset. Most of the stream is clear now, but there is still a similar distortion that appears near the end, around 1:10.

[07:06:45] sync: first pts video is 0
[07:06:45] sync: "Chapter 1" (1) at frame 1 time 0
[07:06:45] sync: first pts audio 0x1 is 0
[h264 @ 0x7f9f25040400] mb_type 83 in B slice too large at 225 80
[h264 @ 0x7f9f25040400] error while decoding MB 225 80
[h264 @ 0x7f9f25028a00] cbp too large (51) at 164 106
[h264 @ 0x7f9f25028a00] error while decoding MB 164 106
[h264 @ 0x7f9f2503f800] cbp too large (49) at 76 82
[h264 @ 0x7f9f2503f800] error while decoding MB 76 82
[h264 @ 0x7f9f2503f800] left block unavailable for requested intra mode
[h264 @ 0x7f9f2503f800] error while decoding MB 0 105
[h264 @ 0x7f9f25040400] left block unavailable for requested intra mode
[h264 @ 0x7f9f25040400] error while decoding MB 0 88
[07:08:03] reader: done. 1 scr changes

@bradleysepos bradleysepos self-assigned this May 29, 2018

@bradleysepos bradleysepos added this to the 1.2.0 milestone May 29, 2018

@bradleysepos

This comment has been minimized.

Copy link
Contributor

commented May 29, 2018

Correction: I mistakenly tested the wrong build. The issue does seem to be solved now, so keep an eye out for the next nightly build and HandBrake 1.2.0.

@daviducz

This comment has been minimized.

Copy link
Author

commented May 29, 2018

@daviducz

This comment has been minimized.

Copy link
Author

commented Aug 17, 2018

@cehoyos

This comment has been minimized.

Copy link

commented Aug 17, 2018

I opened a ticket on the FFmpeg bug tracker for the decoding regression of your (probably broken) output file.
https://trac.ffmpeg.org/ticket/7365

@bradleysepos

This comment has been minimized.

Copy link
Contributor

commented Aug 22, 2018

Reopening.

@bradleysepos bradleysepos reopened this Aug 22, 2018

@sr55 sr55 modified the milestones: 1.2.0, 1.3.0 Oct 3, 2018

@sr55 sr55 modified the milestones: 1.3.0, Unscheduled Jan 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.