Major Distortion Converting Specific .AVI to .MP4

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
FeMaster
Posts: 17
Joined: Thu Mar 01, 2018 12:29 am

Major Distortion Converting Specific .AVI to .MP4

Post by FeMaster »

I've tried searching the forums, but it's like trying to find a need in a hay stack, sorry.

Description of problem or question
I've recently been converting a large number of my older movies that are .AVI files into .MP4 files so that my PLEX server doesn't need to transcode them when I am watching them on my Roku. I've had excellent results with all of my conversions so far, with the exception of one movie. I've tried numerous settings changes with no change in the distorted video output. The distortion is EXACTLY THE SAME each and every time, in the exact same spots, so I've personally eliminated the idea that it is an overloaded processor, or something similarly hardware issue.

Steps to reproduce the problem (If Applicable)
Doesn't matter the settings, select .AVI file, set to whatever, .MP4 output, hit encode or even preview. Distorted output.

HandBrake version (e.g., 1.0.0)
1.0.7

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

Error message text or screenshot (If Applicable)
https://youtu.be/7LzctQvkZ7w

HandBrake Activity Log ***required*** (see How-to get an activity log)

Use any pastebin website and provide the URL it generates
[url]https://pastebin.com/hjLzUBpH[.url]
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Major Distortion Converting Specific .AVI to .MP4

Post by BradleyS »

Both the log and the output seem to indicate the source is damaged.
FeMaster
Posts: 17
Joined: Thu Mar 01, 2018 12:29 am

Re: Major Distortion Converting Specific .AVI to .MP4

Post by FeMaster »

Thanks for the reply. What in the log leads you to that conclusion? I'm curious so that I can reference some of my other logs and make comparisons.

My only issue with that thought would be that the original .AVI file plays perfectly through all the players I've tried it on, including VLC, Microsoft's "Movies & TV" app, Plex's built-in video player through the web browser, and I even played it using ACDSee Pro 3, which until now I had no idea would even play videos. All work perfectly.

Thanks for any further incite.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Major Distortion Converting Specific .AVI to .MP4

Post by BradleyS »

Code: Select all

[mpeg4 @ 0000017a3548e660] 2. marker bit missing in 3. esc
[mpeg4 @ 0000017a3548e660] Error at MB: 9
[mpeg4 @ 0000017a3548e660] 2. marker bit missing in 3. esc
[mpeg4 @ 0000017a3548e660] Error at MB: 89
[mpeg4 @ 0000017a3548d0c0] slice end not reached but screenspace end (141 left D36BC5, score= -155)
[mpeg4 @ 0000017a3548e200] slice end not reached but screenspace end (101 left A6D3D2, score= -157)
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Major Distortion Converting Specific .AVI to .MP4

Post by BradleyS »

You may have better luck with the nightly build: https://handbrake.fr/nightly.php
FeMaster
Posts: 17
Joined: Thu Mar 01, 2018 12:29 am

Re: Major Distortion Converting Specific .AVI to .MP4

Post by FeMaster »

Gave the nightly a go with same results. While the log from the nightly doesn't specifically state "error" like the release version did, there are a number of lines that I have to assume are just as bad. May have to chock this one up as a loss...

Code: Select all

HandBrake Nightly 20180227205614-369b4f6-master (2018030101) - 64bit
OS: Microsoft Windows NT 10.0.16299.0 - 64bit
CPU: Intel(R) Core(TM)2 Quad CPU    Q6700  @ 2.66GHz
Ram: 8190 MB, 
GPU Information:
  NVIDIA GeForce 9800 GTX/9800 GTX+ - 21.21.13.4201
Screen: 1440x900
Temp Dir: C:\Users\Chris\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake Nightly
Data Dir: C:\Users\Chris\AppData\Roaming\HandBrake Team\HandBrake\1.1.0.0

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


# Starting Encode ...

[18:34:59] hb_init: starting libhb thread
[18:34:59] 1 job(s) to process
[18:34:59] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": 65536,
        "Gain": 0.0,
        "Mixdown": 4,
        "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": true,
    "File": "D:\\Documents\\Chris\\Movies\\Another Earth (2011)\\Another Earth (2011) (PG-13) BRRIP_preview.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": 131072
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 9,
        "Settings": {
          "cb-frame-count": 2,
          "cb-origin-tune": 0.9,
          "cb-patch-size": 7,
          "cb-prefilter": 0,
          "cb-range": 3,
          "cb-strength": 2.4,
          "y-frame-count": 2,
          "y-origin-tune": 0.9,
          "y-patch-size": 7,
          "y-prefilter": 0,
          "y-range": 3,
          "y-strength": 1.5
        }
      },
      {
        "ID": 11,
        "Settings": {
          "crop-bottom": "0",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "0",
          "height": "352",
          "width": "640"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "preview",
      "Start": 1,
      "End": 4050000,
      "SeekPoints": 10
    },
    "Title": 1,
    "Path": "D:\\Documents\\Chris\\Movies\\Another Earth (2011)\\Another Earth (2011) (PG-13) BRRIP.avi"
  },
  "Subtitle": {
    "Search": {
      "Burn": false,
      "Default": false,
      "Enable": false,
      "Forced": false
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": 65536,
    "Level": "3.1",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "medium",
    "Profile": "main",
    "Quality": 16.0,
    "HWDecode": false,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[18:34:59] CPU: Intel(R) Core(TM)2 Quad CPU    Q6700  @ 2.66GHz
[18:34:59]  - logical processor count: 4
[18:34:59] Intel Quick Sync Video support: no
[18:34:59] hb_scan: path=D:\Documents\Chris\Movies\Another Earth (2011)\Another Earth (2011) (PG-13) BRRIP.avi, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image D:\Documents\Chris\Movies\Another Earth (2011)\Another Earth (2011) (PG-13) BRRIP.avi
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
[18:34:59] 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
[18:34:59] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'D:\Documents\Chris\Movies\Another Earth (2011)\Another Earth (2011) (PG-13) BRRIP.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2540/release)
  Duration: 01:32:25.50, start: 0.000000, bitrate: 1057 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) [XVID / 0x44495658]
      yuv420p, 640x352 [PAR 1:1 DAR 20:11]
      23.98 fps, 23.98 tbn
    Stream #0:1: Audio: mp3 [U[0][0][0] / 0x0055]
      48000 Hz, 2 channels, s16p, 128 kb/s
[18:34:59] scan: decoding previews for title 1
[18:35:00] scan: audio 0x1: mp3, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[18:35:00] scan: 10 previews, 640x352, 23.976 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[18:35:00] libhb: scan thread found 1 valid title(s)
[18:35:00] starting job
[18:35:00] NLMeans using SSE2 optimizations
[18:35:00] work: track 1, dithering not supported by codec
[18:35:00] NLMeans thread started for segment 1
[18:35:00] work: only 1 chapter, disabling chapter markers
[18:35:00] job configuration:
[18:35:00]  * source
[18:35:00]    + D:\Documents\Chris\Movies\Another Earth (2011)\Another Earth (2011) (PG-13) BRRIP.avi
[18:35:00]    + title 1, start 00:00:0.00 stop 00:00:45.00
[18:35:00]    + container: avi
[18:35:00]    + data rate: 1057 kbps
[18:35:00]  * destination
[18:35:00] NLMeans thread started for segment 0
[18:35:00]    + D:\Documents\Chris\Movies\Another Earth (2011)\Another Earth (2011) (PG-13) BRRIP_preview.mp4
[18:35:00]    + container: MPEG-4 (libavformat)
[18:35:00]      + align initial A/V stream timestamps
[18:35:00]  * video track
[18:35:00]    + decoder: mpeg4
[18:35:00]    + filters
[18:35:00]      + Framerate Shaper (mode=2:rate=27000000/900000)
[18:35:00]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[18:35:00] NLMeans thread started for segment 2
[18:35:00] NLMeans thread started for segment 3
[18:35:00]      + Denoise (nlmeans) (y-strength=1.5:y-origin-tune=0.9:y-patch-size=7:y-range=3:y-frame-count=2:y-prefilter=0:cb-strength=2.4:cb-origin-tune=0.9:cb-patch-size=7:cb-range=3:cb-frame-count=2:cb-prefilter=0)
[18:35:00]      + Crop and Scale (width=640:height=352:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[18:35:00]        + source: 640 * 352, crop (0/0/0/0): 640 * 352, scale: 640 * 352
[18:35:00]    + Output geometry
[18:35:00]      + storage dimensions: 640 x 352
[18:35:00]      + pixel aspect ratio: 1 : 1
[18:35:00]      + display dimensions: 640 x 352
[18:35:00]    + encoder: H.264 (libx264)
[18:35:00]      + preset:  medium
[18:35:00]      + profile: main
[18:35:00]      + level:   3.1
[18:35:00]      + quality: 16.00 (RF)
[18:35:00]  * audio track 1
[18:35:00]    + decoder: Unknown (MP3) (2.0 ch) (track 1, id 0x1)
[18:35:00]      + bitrate: 128 kbps, samplerate: 48000 Hz
[18:35:00]    + mixdown: Stereo
[18:35:00]    + encoder: AAC (libavcodec)
[18:35:00]      + bitrate: 160 kbps, samplerate: 48000 Hz
[18:35:00] sync: expecting 1102 video frames
[18:35:00] encx264: min-keyint: 24, keyint: 240
[18:35:00] encx264: encoding at constant RF 16.000000
[18:35:00] encx264: unparsed options: level=3.1:8x8dct=0:vbv-bufsize=14000:vbv-maxrate=14000
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
x264 [info]: profile Main, level 3.1
[18:35:00] sync: first pts video is 0
[18:35:00] sync: "Chapter 1" (1) at frame 1 time 0
[18:35:00] sync: first pts audio 0x1 is 0
[mpeg4 @ 0000020c9c2d2180] slice end not reached but screenspace end (2019 left A3D1A4, score= -47)
[mpeg4 @ 0000020c9c2d2180] slice end not reached but screenspace end (1558 left E90775, score= -51)
[mpeg4 @ 0000020c9c2d25a0] slice end not reached but screenspace end (1461 left E909C9, score= -52)
[mpeg4 @ 0000020c9c2d2180] slice end not reached but screenspace end (2117 left 443A8F, score= -51)
[mpeg4 @ 0000020c9c2d25a0] slice end not reached but screenspace end (765 left F96386, score= -52)
[mpeg4 @ 0000020c9c2d2180] slice end not reached but screenspace end (903 left 57E0B6, score= -77)
[mpeg4 @ 0000020c9c2d25a0] slice end not reached but screenspace end (348 left 307721, score= -78)
[mpeg4 @ 0000020c9c2d2180] slice end not reached but screenspace end (570 left 0A404C, score= -77)
[mpeg4 @ 0000020c9c2d2180] slice end not reached but screenspace end (142 left AFA7F4, score= -156)
[mpeg4 @ 0000020c9c2d25a0] slice end not reached but screenspace end (166 left 4F4E8E, score= -158)
[mpeg4 @ 0000020c9c2d2180] slice end not reached but screenspace end (8 left FE0000, score= -155)
[mpeg4 @ 0000020c9c2d2180] slice end not reached but screenspace end (190 left FA82F8, score= -175)
[18:35:47] sync: reached audio 0x1 pts 4050000, exiting early
[18:35:48] sync: reached video pts 4050296, exiting early
[18:35:53] work: average encoding speed for job is 22.898308 fps
[18:35:53] vfr: 1079 frames output, 0 dropped and 0 duped for CFR/PFR
[18:35:53] vfr: lost time: 0 (0 frames)
[18:35:53] vfr: gained time: 0 (0 frames) (0 not accounted for)
[18:35:54] mp3-decoder done: 13373 frames, 0 decoder errors
[18:35:54] mpeg4-decoder done: 7692 frames, 0 decoder errors
[18:35:54] sync: got 1079 frames, 1102 expected
[18:35:54] sync: framerate min 23.981 fps, max 23.981 fps, avg 23.976 fps
x264 [info]: frame I:12    Avg QP: 9.40  size: 15820
x264 [info]: frame P:376   Avg QP:12.90  size:  8100
x264 [info]: frame B:691   Avg QP:14.50  size:  2202
x264 [info]: consecutive B-frames: 10.4%  6.3% 19.2% 64.1%
x264 [info]: mb I  I16..4: 46.1%  0.0% 53.9%
x264 [info]: mb P  I16..4:  7.0%  0.0%  9.9%  P16..4: 28.8% 16.4%  8.7%  0.0%  0.0%    skip:29.2%
x264 [info]: mb B  I16..4:  0.8%  0.0%  1.2%  B16..8: 29.9%  6.7%  1.2%  direct: 3.9%  skip:56.2%  L0:35.3% L1:39.4% BI:25.3%
x264 [info]: coded y,uvDC,uvAC intra: 53.4% 53.1% 29.7% inter: 13.8% 24.5% 7.4%
x264 [info]: i16 v,h,dc,p: 50% 16%  8% 26%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 32% 21% 17%  5%  7%  6%  5%  4%  4%
x264 [info]: i8c dc,h,v,p: 59% 17% 19%  5%
x264 [info]: Weighted P-Frames: Y:10.9% UV:8.5%
x264 [info]: ref P L0: 67.0% 11.7% 16.1%  5.0%  0.2%
x264 [info]: ref B L0: 86.9% 11.7%  1.3%
x264 [info]: ref B L1: 97.0%  3.0%
x264 [info]: kb/s:845.60
[18:35:54] mux: track 0, 1079 frames, 4756407 bytes, 844.74 kbps, fifo 2048
[18:35:54] mux: track 1, 2110 frames, 860122 bytes, 152.76 kbps, fifo 4096
[18:35:54] libhb: work result = 0

# Encode Completed ...
[\code]
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Major Distortion Converting Specific .AVI to .MP4

Post by BradleyS »

Yes, similar errors, unfortunately. :( I don't have an easy solution for you.
Post Reply