Aborted encoding

Support for HandBrake on Linux, Solaris, and other Unix-like platforms
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
xddj
Posts: 2
Joined: Mon Jun 04, 2018 8:09 am

Aborted encoding

Post by xddj » Mon Jun 04, 2018 9:06 am

Description of problem or question:
First, sorry for my bad english, i'm french.

My encoding stops before the end of the video.
The length of my video is 58 minutes, and the encoding ends after 33 minutes.

Steps to reproduce the problem (If Applicable):
I tested three times, same problem.

HandBrake version (e.g., 1.0.0):
1.0.7 (x86_64)

Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Linux localhost.localdomain 4.16.0-1-amd64 #1 SMP Debian 4.16.5-1 (2018-04-29) x86_64 GNU/Linux

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

Code: Select all

[04:08:27] gtkgui: HandBrake 1.0.7 (2018042900) - Linux x86_64 - https://handbrake.fr
[04:08:27] hb_init: starting libhb thread
[04:08:27] hb_init: starting libhb thread
[04:08:27] hb_init: starting libhb thread
[04:08:36] CPU: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz
[04:08:36]  - Intel microarchitecture Ivy Bridge
[04:08:36]  - logical processor count: 4
[04:08:36] hb_scan: path=/home/slack/Téléchargements/Faith No More - Live At The Brixton Academy & The Greatest Videos (2 Disc Set) DVD/DVD - 1 (Live At The Brixton Academy)/VIDEO_TS, title_index=0
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[04:08:36] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Couldn't find device name.
[04:08:36] scan: DVD has 3 title(s)
[04:08:36] scan: scanning title 1
[04:08:36] scan: opening IFO for VTS 1
[04:08:36] scan: duration is 00:00:06 (6700 ms)
[04:08:36] scan: ignoring title (too short)
[04:08:36] scan: scanning title 2
[04:08:36] scan: opening IFO for VTS 2
[04:08:36] scan: duration is 00:00:00 (400 ms)
[04:08:36] scan: ignoring title (too short)
[04:08:36] scan: scanning title 3
[04:08:36] scan: opening IFO for VTS 3
[04:08:36] scan: duration is 00:58:34 (3514000 ms)
[04:08:36] pgc_id: 1, pgn: 1: pgc: 0x7f42fc0171c0
[04:08:36] scan: vts=3, ttn=1, cells=0->12, blocks=0->1858347, 1858348 blocks
[04:08:36] scan: checking audio 1
[04:08:36] scan: id=0xa0bd, lang=English (LPCM), 3cc=eng ext=0
[04:08:36] scan: checking audio 2
[04:08:36] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0
[04:08:36] scan: title 3 has 13 chapters
[04:08:36] scan: chap 1 c=0->0, b=0->27901 (27902), 52800 ms
[04:08:36] scan: chap 2 c=1->1, b=27902->137030 (109129), 206300 ms
[04:08:36] scan: chap 3 c=2->2, b=137031->294196 (157166), 297200 ms
[04:08:36] scan: chap 4 c=3->3, b=294197->537286 (243090), 459600 ms
[04:08:36] scan: chap 5 c=4->4, b=537287->647821 (110535), 209000 ms
[04:08:36] scan: chap 6 c=5->5, b=647822->730301 (82480), 156000 ms
[04:08:36] scan: chap 7 c=6->6, b=730302->898184 (167883), 317400 ms
[04:08:36] scan: chap 8 c=7->7, b=898185->1027429 (129245), 244400 ms
[04:08:36] scan: chap 9 c=8->8, b=1027430->1178364 (150935), 285400 ms
[04:08:36] scan: chap 10 c=9->9, b=1178365->1363479 (185115), 350000 ms
[04:08:36] scan: chap 11 c=10->10, b=1363480->1561658 (198179), 374700 ms
[04:08:36] scan: chap 12 c=11->11, b=1561659->1858074 (296416), 560600 ms
[04:08:36] scan: chap 13 c=12->12, b=1858075->1858347 (273), 600 ms
[04:08:36] scan: aspect = 4:3
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[04:08:36] dvdnav: Read Error, Error opening vtsN=1, domain=2.
[04:08:36] scan: decoding previews for title 3
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[04:08:36] scan: title angle(s) 1
[04:08:36] scan: audio 0xa0bd: LPCM, rate=48000Hz, bitrate=1536000 English (LPCM) (2.0 ch)
[ac3 @ 0x7f42fc019d80] frame sync error
[ac3 @ 0x7f42fc246040] frame sync error
[04:08:36] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[04:08:36] dvdnav: Read Error, Error opening vtsN=1, domain=2.
[04:08:36] dvdnav: Read Error, Error reading NAV packet.
[04:08:36] Warning: Could not read data for preview 7, skipped
[04:08:36] scan: 6 previews, 720x480, 29,970 fps, autocrop = 0/8/8/6, aspect 4:3, PAR 8:9
[04:08:36] libhb: scan thread found 1 valid title(s)
[swscaler @ 0x562afe80aae0] Warning: data is not aligned! This can lead to a speed loss

(ghb:3363): Gtk-WARNING **: 04:09:00.160: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner GtkTreeMenu)

(ghb:3363): Gtk-WARNING **: 04:09:00.163: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node arrow owner GtkTreeMenu)

(ghb:3363): Gdk-WARNING **: 04:09:30.986: ../../../../../gdk/x11/gdkwindow-x11.c:5579 drawable is not a native X11 window
[04:09:30] gtkgui: Modified Preset: /General/Fast 1080p30
[04:09:30] 1 job(s) to process
[04:09:30] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 160,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "av_aac",
                "Gain": 0.0,
                "Mixdown": "stereo",
                "NormalizeMixLevel": false,
                "PresetEncoder": "av_aac",
                "Quality": -3.0,
                "Samplerate": "auto",
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac"
        ],
        "FallbackEncoder": "av_aac"
    },
    "Destination": {
        "ChapterList": [
            {
                "Name": "Chapter 1"
            },
            {
                "Name": "Chapter 2"
            },
            {
                "Name": "Chapter 3"
            },
            {
                "Name": "Chapter 4"
            },
            {
                "Name": "Chapter 5"
            },
            {
                "Name": "Chapter 6"
            },
            {
                "Name": "Chapter 7"
            },
            {
                "Name": "Chapter 8"
            },
            {
                "Name": "Chapter 9"
            },
            {
                "Name": "Chapter 10"
            },
            {
                "Name": "Chapter 11"
            },
            {
                "Name": "Chapter 12"
            },
            {
                "Name": "Chapter 13"
            }
        ],
        "ChapterMarkers": true,
        "File": "/home/slack/DVD - 1 (Live At The Brixton Academy).mkv",
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "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": 4,
                "Settings": {
                    "mode": "7"
                }
            },
            {
                "ID": 6,
                "Settings": {
                    "mode": 2,
                    "rate": "27000000/900000"
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 8,
                    "crop-left": 8,
                    "crop-right": 6,
                    "crop-top": 0,
                    "height": 472,
                    "width": 706
                }
            }
        ]
    },
    "Metadata": {
        "Name": "VIDEO_TS"
    },
    "PAR": {
        "Den": 9,
        "Num": 8
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/home/slack/Téléchargements/Faith No More - Live At The Brixton Academy & The Greatest Videos (2 Disc Set) DVD/DVD - 1 (Live At The Brixton Academy)/VIDEO_TS",
        "Range": {
            "End": 13,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 3
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorMatrixCode": 0,
        "Encoder": "x265",
        "Level": "auto",
        "OpenCL": false,
        "Options": "",
        "Preset": "medium",
        "Profile": "auto",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 20.0,
        "Tune": "",
        "Turbo": false,
        "TwoPass": false
    }
}
[04:09:30] CPU: Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz
[04:09:30]  - Intel microarchitecture Ivy Bridge
[04:09:30]  - logical processor count: 4
[04:09:30] hb_scan: path=/home/slack/Téléchargements/Faith No More - Live At The Brixton Academy & The Greatest Videos (2 Disc Set) DVD/DVD - 1 (Live At The Brixton Academy)/VIDEO_TS, title_index=3
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
[04:09:30] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Couldn't find device name.
[04:09:30] scan: DVD has 3 title(s)
[04:09:30] scan: scanning title 3
[04:09:30] scan: opening IFO for VTS 3
[04:09:30] scan: duration is 00:58:34 (3514000 ms)
[04:09:30] pgc_id: 1, pgn: 1: pgc: 0x7f42e000b140
[04:09:30] scan: vts=3, ttn=1, cells=0->12, blocks=0->1858347, 1858348 blocks
[04:09:30] scan: checking audio 1
[04:09:30] scan: id=0xa0bd, lang=English (LPCM), 3cc=eng ext=0
[04:09:30] scan: checking audio 2
[04:09:30] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0
[04:09:30] scan: title 3 has 13 chapters
[04:09:30] scan: chap 1 c=0->0, b=0->27901 (27902), 52800 ms
[04:09:30] scan: chap 2 c=1->1, b=27902->137030 (109129), 206300 ms
[04:09:30] scan: chap 3 c=2->2, b=137031->294196 (157166), 297200 ms
[04:09:30] scan: chap 4 c=3->3, b=294197->537286 (243090), 459600 ms
[04:09:30] scan: chap 5 c=4->4, b=537287->647821 (110535), 209000 ms
[04:09:30] scan: chap 6 c=5->5, b=647822->730301 (82480), 156000 ms
[04:09:30] scan: chap 7 c=6->6, b=730302->898184 (167883), 317400 ms
[04:09:30] scan: chap 8 c=7->7, b=898185->1027429 (129245), 244400 ms
[04:09:30] scan: chap 9 c=8->8, b=1027430->1178364 (150935), 285400 ms
[04:09:30] scan: chap 10 c=9->9, b=1178365->1363479 (185115), 350000 ms
[04:09:30] scan: chap 11 c=10->10, b=1363480->1561658 (198179), 374700 ms
[04:09:30] scan: chap 12 c=11->11, b=1561659->1858074 (296416), 560600 ms
[04:09:30] scan: chap 13 c=12->12, b=1858075->1858347 (273), 600 ms
[04:09:30] scan: aspect = 4:3
[04:09:30] scan: decoding previews for title 3
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[04:09:30] scan: title angle(s) 1
[04:09:31] scan: audio 0xa0bd: LPCM, rate=48000Hz, bitrate=1536000 English (LPCM) (2.0 ch)
[ac3 @ 0x7f42e00144c0] frame sync error
[ac3 @ 0x7f42e01407e0] frame sync error
[04:09:31] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[04:09:31] dvdnav: Read Error, Error reading NAV packet.
[04:09:31] dvdnav: Read Error, Error reading NAV packet.
[04:09:31] Warning: Could not read data for preview 7, skipped
[04:09:31] scan: 6 previews, 720x480, 29,970 fps, autocrop = 0/8/8/6, aspect 4:3, PAR 8:9
[04:09:31] libhb: scan thread found 1 valid title(s)
[04:09:31] starting job
[04:09:31] decomb filter thread started for segment 0
[04:09:31] decomb filter thread started for segment 1
[04:09:31] decomb filter thread started for segment 3
[04:09:31] decomb check thread started for segment 0
[04:09:31] decomb check thread started for segment 1
[04:09:31] decomb check thread started for segment 2
[04:09:31] decomb check thread started for segment 3
[04:09:31] mask filter thread started for segment 0
[04:09:31] mask filter thread started for segment 1
[04:09:31] mask filter thread started for segment 2
[04:09:31] mask filter thread started for segment 3
[04:09:31] mask erode thread started for segment 0
[04:09:31] mask erode thread started for segment 1
[04:09:31] decomb filter thread started for segment 2
[04:09:31] mask erode thread started for segment 2
[04:09:31] mask erode thread started for segment 3
[04:09:31] mask dilate thread started for segment 1
[04:09:31] mask dilate thread started for segment 3
[04:09:31] yadif thread started for segment 0
[04:09:31] yadif thread started for segment 2
[04:09:31] yadif thread started for segment 1
[04:09:31] mask dilate thread started for segment 0
[04:09:31] mask dilate thread started for segment 2
[04:09:31] yadif thread started for segment 3
[04:09:31] job configuration:
[04:09:31]  * source
[04:09:31]    + /home/slack/Téléchargements/Faith No More - Live At The Brixton Academy & The Greatest Videos (2 Disc Set) DVD/DVD - 1 (Live At The Brixton Academy)/VIDEO_TS
[04:09:31]    + title 3, chapter(s) 1 to 13
[04:09:31]  * destination
[04:09:31]    + /home/slack/DVD - 1 (Live At The Brixton Academy).mkv
[04:09:31]    + container: Matroska (libavformat)
[04:09:31]      + chapter markers
[04:09:31]  * video track
[04:09:31]    + decoder: mpeg2video
[04:09:31]      + bitrate 6500 kbps
[04:09:31]    + filters
[04:09:31]      + 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)
[04:09:31]      + Decomb (mode=39)
[04:09:31]      + Framerate Shaper (mode=2:rate=27000000/900000)
[04:09:31]        + frame rate: 29,970 fps -> peak rate limited to 30,000 fps
[04:09:31]      + Crop and Scale (width=706:height=472:crop-top=0:crop-bottom=8:crop-left=8:crop-right=6)
[04:09:31]        + source: 720 * 480, crop (0/8/8/6): 706 * 472, scale: 706 * 472
[04:09:31]    + Output geometry
[04:09:31]      + storage dimensions: 706 x 472
[04:09:31]      + pixel aspect ratio: 8 : 9
[04:09:31]      + display dimensions: 627 x 472
[04:09:31]    + encoder: H.265 (libx265)
[04:09:31]      + preset:  medium
[04:09:31]      + profile: auto
[04:09:31]      + quality: 20,00 (RF)
[04:09:31]  * audio track 1
[04:09:31]    + decoder: English (LPCM) (2.0 ch) (track 1, id 0xa0bd)
[04:09:31]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[04:09:31]    + mixdown: Stereo
[04:09:31]    + encoder: AAC (libavcodec)
[04:09:31]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 6.0.0
libdvdread: Couldn't find device name.
libdvdnav: Can't read name block. Probably not a DVD-ROM device.
libdvdnav: vm: dvd_read_name failed
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Couldn't find device name.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[04:09:31] sync: expecting 105314 video frames
[04:09:31] encavcodecaInit: Unknown avcodec option stereo_mode
x265 [info]: HEVC encoder version 2.7
x265 [info]: build info [Linux][GCC 7.3.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x265 [info]: Main profile, Level-3 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(8 rows)
x265 [warning]: Source height < 720p; disabling lookahead-slices
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 30 / 300 / 40 / 5,00
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb       : 1 / 1 / 0
x265 [info]: References / ref-limit  cu / depth  : 3 / on / on
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 1,0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-20,0 / 0,60
x265 [info]: tools: rd=3 psy-rd=2,00 rskip signhide tmvp strong-intra-smoothing
x265 [info]: tools: deblock sao
[04:09:31] sync: first pts audio 0xa0bd is 0
[04:09:31] sync: first pts video is 6006
[04:09:31] sync: "Chapter 1" (1) at frame 1 time 6006
[04:11:54] sync: "Chapter 2" (2) at frame 1585 time 4762758
[04:22:47] sync: "Chapter 3" (3) at frame 7774 time 23348325
[04:39:14] sync: "Chapter 4" (4) at frame 16690 time 50123073
[04:58:08] sync: "Chapter 5" (5) at frame 30478 time 91528437
[05:08:30] sync: "Chapter 6" (6) at frame 36748 time 110357247
[05:16:04] sync: "Chapter 7" (7) at frame 41428 time 124411287
[05:28:54] sync: "Chapter 8" (8) at frame 50950 time 153005853
[05:41:00] sync: "Chapter 9" (9) at frame 58282 time 175023849
[05:43:02] dvdnav: Read Error, Error reading from DVD.
[05:43:02] reader: done. 2 scr changes
[05:43:13] work: average encoding speed for job is 10,588202 fps
[05:43:13] comb detect: heavy 48093 | light 2877 | uncombed 8497 | total 59467
[05:43:13] decomb: deinterlaced 48093 | blended 2877 | unfiltered 8497 | total 59467
[05:43:13] vfr: 59467 frames output, 0 dropped and 0 duped for CFR/PFR
[05:43:13] vfr: lost time: 0 (0 frames)
[05:43:13] vfr: gained time: 0 (0 frames) (0 not accounted for)
[05:43:13] mpeg2video-decoder done: 59469 frames, 0 decoder errors
[05:43:13] sync: got 59467 frames, 105314 expected
[05:43:13] sync: framerate min 29,970 fps, max 29,970 fps, avg 29,970 fps
[aac @ 0x7f42d8020040] Qavg: 522,092
x265 [info]: frame I:    810, Avg QP:19,82  kb/s: 3066,26 
x265 [info]: frame P:  14924, Avg QP:20,71  kb/s: 1645,41 
x265 [info]: frame B:  43733, Avg QP:24,26  kb/s: 602,85  
x265 [info]: Weighted P-Frames: Y:10,9% UV:8,9%
x265 [info]: consecutive B-frames: 7,4% 4,0% 13,9% 52,5% 22,2% 

encoded 59467 frames in 5622,78s (10,58 fps), 898,05 kb/s, Avg QP:23,31
[05:43:13] mux: track 0, 59467 frames, 222978412 bytes, 898,96 kbps, fifo 4096
[05:43:13] mux: track 1, 93003 frames, 40294465 bytes, 162,45 kbps, fifo 8192
[05:43:14] libhb: work result = 0

Woodstock
Veteran User
Posts: 2747
Joined: Tue Aug 27, 2013 6:39 am

Re: Aborted encoding

Post by Woodstock » Mon Jun 04, 2018 1:31 pm

Your DVD would seem to have a flaw in it:
[05:43:13] sync: got 59467 frames, 105314 expected
The third-party decoder stopped sending handbrake data when it hit the flaw, and handbrake interpreted that as "end of video".

Start by cleaning the disk with a damp, soft cloth, and trying again. Or use a ripper program to get the video off the disk. Specialized programs like rippers will give you better diagnostics on what is wrong with the disk. Handbrake isn't a ripper, so it takes whatever the third-party decoder sends it.

xddj
Posts: 2
Joined: Mon Jun 04, 2018 8:09 am

Re: Aborted encoding

Post by xddj » Mon Jun 04, 2018 2:04 pm

Ok thx for your answer

Post Reply