Repair AVI index

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Locked
tweybrew
New User
Posts: 1
Joined: Fri Nov 08, 2019 2:49 pm

Repair AVI index

Post by tweybrew » Fri Nov 08, 2019 3:41 pm

Description of problem or question:

Occasionally I will get an avi file that when I try to open (using VLC) displays "repair avi index." I Googled for an answer and attempted several "fixes" but the repair was only for about 30 sec of a much longer video.



Steps to reproduce the problem (If Applicable):
See above. I even tried using HandBrake but, again, I only got about 30 of repaired file. VLC will do the repair, but it is usable only for the current session...it won't save the corrected file.



HandBrake version (e.g., 1.0.0):
1.2.2



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



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

Code: Select all

HandBrake 1.2.2 (2019022300)
OS: Microsoft Windows NT 10.0.18362.0
CPU: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
Ram: 8127 MB, 
GPU Information:
  AMD Radeon HD 5450 - 15.201.1151.1008
Screen: 1920x1080
Temp Dir: C:\Users\weybr\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\weybr\AppData\Roaming\HandBrake

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


# Starting Encode ...

[10:12:17] hb_init: starting libhb thread
[10:12:17] 1 job(s) to process
[10:12:17] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 160,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Chapter 1"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "C:\\Users\\weybr\\Desktop\\MS handbrake.mkv",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mkv"
  },
  "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": "352",
          "width": "624"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "2",
          "rate": "27000000/900000"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 1
    },
    "Title": 1,
    "Path": "P:\\aaaNew F drive\\Temp\\Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv]\\DivFix++.Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv].avi"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "",
    "Preset": "fast",
    "Profile": "main",
    "Quality": 22.0,
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[10:12:17] CPU: Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz
[10:12:17]  - logical processor count: 8
[10:12:17] Intel Quick Sync Video support: no
[10:12:17] hb_scan: path=P:\aaaNew F drive\Temp\Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv]\DivFix++.Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv].avi, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image P:\aaaNew F drive\Temp\Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv]\DivFix++.Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv].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
[10:12:17] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
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
[10:12:17] dvd: not a dvd - trying as a stream/file instead
Input #0, avi, from 'P:\aaaNew F drive\Temp\Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv]\DivFix++.Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv].avi':
  Duration: 00:00:36.54, start: 0.000000, bitrate: 926 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 785 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
[10:12:17] scan: decoding previews for title 1
[10:12:17] scan: audio 0x1: mp3float, rate=48000Hz, bitrate=128000 Unknown (MP3) (2.0 ch)
[10:12:17] scan: 10 previews, 624x352, 23.976 fps, autocrop = 0/0/0/0, aspect 1.77:1, PAR 1:1
[10:12:17] libhb: scan thread found 1 valid title(s)
[10:12:17] Skipping subtitle scan.  No suitable subtitle tracks.
[10:12:17] starting job
[10:12:17] decomb filter thread started for segment 0
[10:12:17] decomb filter thread started for segment 3
[10:12:17] decomb filter thread started for segment 2
[10:12:17] decomb filter thread started for segment 1
[10:12:17] decomb filter thread started for segment 4
[10:12:17] decomb check thread started for segment 3
[10:12:17] decomb filter thread started for segment 6
[10:12:17] decomb filter thread started for segment 7
[10:12:17] decomb check thread started for segment 0
[10:12:17] decomb check thread started for segment 1
[10:12:17] mask filter thread started for segment 5
[10:12:17] decomb filter thread started for segment 5
[10:12:17] decomb check thread started for segment 4
[10:12:17] decomb check thread started for segment 5
[10:12:17] mask erode thread started for segment 4
[10:12:17] decomb check thread started for segment 7
[10:12:17] mask filter thread started for segment 0
[10:12:17] mask filter thread started for segment 1
[10:12:17] mask dilate thread started for segment 2
[10:12:17] mask filter thread started for segment 3
[10:12:17] mask filter thread started for segment 4
[10:12:17] decomb check thread started for segment 2
[10:12:17] mask filter thread started for segment 6
[10:12:17] yadif thread started for segment 2
[10:12:17] yadif thread started for segment 4
[10:12:17] yadif thread started for segment 5
[10:12:17] mask erode thread started for segment 2
[10:12:17] mask erode thread started for segment 3
[10:12:17] decomb check thread started for segment 6
[10:12:17] mask erode thread started for segment 5
[10:12:17] work: only 1 chapter, disabling chapter markers
[10:12:17] job configuration:
[10:12:17]  * source
[10:12:17]    + P:\aaaNew F drive\Temp\Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv]\DivFix++.Madam.Secretary.S02E13.HDTV.XviD-FUM[ettv].avi
[10:12:17]    + title 1, chapter(s) 1 to 1
[10:12:17]    + container: avi
[10:12:17]    + data rate: 926 kbps
[10:12:17]  * destination
[10:12:17]    + C:\Users\weybr\Desktop\MS handbrake.mkv
[10:12:17] mask erode thread started for segment 6
[10:12:17]    + container: Matroska (libavformat)
[10:12:17]  * video track
[10:12:17]    + decoder: mpeg4
[10:12:17]      + bitrate 785 kbps
[10:12:17]    + filters
[10:12:17] mask erode thread started for segment 7
[10:12:17]      + 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)
[10:12:17]      + Decomb (mode=39)
[10:12:17]      + Framerate Shaper (mode=2:rate=27000000/900000)
[10:12:17]        + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[10:12:17] mask dilate thread started for segment 0
[10:12:17]      + Crop and Scale (width=624:height=352:crop-top=0:crop-bottom=0:crop-left=0:crop-right=0)
[10:12:17]        + source: 624 * 352, crop (0/0/0/0): 624 * 352, scale: 624 * 352
[10:12:17]    + Output geometry
[10:12:17]      + storage dimensions: 624 x 352
[10:12:17]      + pixel aspect ratio: 1 : 1
[10:12:17]      + display dimensions: 624 x 352
[10:12:17]    + encoder: H.264 (libx264)
[10:12:17]      + preset:  fast
[10:12:17]      + profile: main
[10:12:17] mask dilate thread started for segment 1
[10:12:17]      + level:   4.0
[10:12:17]      + quality: 22.00 (RF)
[10:12:17]      + color profile: 6-1-6
[10:12:17]  * audio track 1
[10:12:17]    + decoder: Unknown (MP3) (2.0 ch) (track 1, id 0x1)
[10:12:17]      + bitrate: 128 kbps, samplerate: 48000 Hz
[10:12:17]    + mixdown: Stereo
[10:12:17]    + dither: none
[10:12:17]    + encoder: AAC (libavcodec)
[10:12:17]      + bitrate: 160 kbps, samplerate: 48000 Hz
[10:12:17] mask filter thread started for segment 2
[10:12:17] mask dilate thread started for segment 3
[10:12:17] mask dilate thread started for segment 4
[10:12:17] mask dilate thread started for segment 5
[10:12:17] mask dilate thread started for segment 6
[10:12:17] mask dilate thread started for segment 7
[10:12:17] yadif thread started for segment 0
[10:12:17] yadif thread started for segment 1
[10:12:17] mask filter thread started for segment 7
[10:12:17] yadif thread started for segment 3
[10:12:17] mask erode thread started for segment 0
[10:12:17] mask erode thread started for segment 1
[10:12:17] yadif thread started for segment 6
[10:12:17] yadif thread started for segment 7
[10:12:17] sync: expecting 876 video frames
[10:12:17] encx264: min-keyint: 24, keyint: 240
[10:12:17] encx264: encoding at constant RF 22.000000
[10:12:17] encx264: unparsed options: level=4.0:ref=2:8x8dct=0:weightp=1:subme=6:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=30
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[10:12:17] sync: first pts video is 0
[10:12:17] sync: "Chapter 1" (1) at frame 1 time 0
[10:12:17] sync: first pts audio 0x1 is 0
[mp3float @ 000002c67a8037c0] Header missing
[mp3float @ 000002c67a8037c0] Header missing
[10:12:23] reader: done. 1 scr changes
[10:12:23] work: average encoding speed for job is 136.110138 fps
[10:12:24] comb detect: heavy 1 | light 14 | uncombed 859 | total 874
[10:12:24] decomb: deinterlaced 1 | blended 14 | unfiltered 859 | total 874
[10:12:24] vfr: 874 frames output, 0 dropped and 0 duped for CFR/PFR
[10:12:24] vfr: lost time: 0 (0 frames)
[10:12:24] vfr: gained time: 0 (0 frames) (0 not accounted for)
[10:12:24] mp3float-decoder done: 1540 frames, 0 decoder errors
[10:12:24] mpeg4-decoder done: 874 frames, 0 decoder errors
[10:12:24] sync: got 874 frames, 876 expected
[10:12:24] sync: framerate min 7.992 fps, max 23.981 fps, avg 23.921 fps
x264 [info]: frame I:11    Avg QP:16.02  size: 19015
x264 [info]: frame P:276   Avg QP:20.65  size:  4759
x264 [info]: frame B:587   Avg QP:23.46  size:   843
x264 [info]: consecutive B-frames:  1.8%  5.7% 60.4% 32.0%
x264 [info]: mb I  I16..4: 40.4%  0.0% 59.6%
x264 [info]: mb P  I16..4:  2.7%  0.0%  2.8%  P16..4: 41.8% 18.7% 10.4%  0.0%  0.0%    skip:23.6%
x264 [info]: mb B  I16..4:  1.5%  0.0%  0.1%  B16..8: 29.3%  4.6%  0.3%  direct: 2.6%  skip:61.5%  L0:36.8% L1:49.7% BI:13.5%
x264 [info]: coded y,uvDC,uvAC intra: 45.3% 44.7% 9.2% inter: 9.0% 7.4% 0.0%
x264 [info]: i16 v,h,dc,p: 48% 21% 20% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 19% 16%  5%  5%  7%  5%  6%  5%
x264 [info]: i8c dc,h,v,p: 58% 17% 22%  3%
x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x264 [info]: ref P L0: 73.5% 26.5%
x264 [info]: ref B L0: 80.2% 19.8%
x264 [info]: ref B L1: 98.0%  2.0%
x264 [info]: kb/s:441.73
[10:12:24] mux: track 0, 874 frames, 2016963 bytes, 436.16 kbps, fifo 1024
[10:12:24] mux: track 1, 1733 frames, 705141 bytes, 152.48 kbps, fifo 2048
[10:12:24] libhb: work result = 0

# Encode Completed ...


User avatar
Rodeo
HandBrake Team
Posts: 12328
Joined: Tue Mar 03, 2009 8:55 pm

Re: Repair AVI index

Post by Rodeo » Fri Nov 08, 2019 6:37 pm

Locked for rule violation.

Locked