Encoding Hangs at 100%

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
DrXenos
Bright Spark User
Posts: 278
Joined: Sat Mar 16, 2013 1:19 pm

Encoding Hangs at 100%

Post by DrXenos »

Please describe the problem in as much detail as possible:

When encoding using --start-at/--stop-at with "duration" the current (some previous) nightlies hang a 100%. I let it sit for an hour (no CPU usage at all).

(using chapters instead of seconds does not exhibit this behavior).

FYI: I just tried it without using "--stop-at" and it terminated just fine.

What are the steps to reproduce this problem:
Encode using these options

What version of HandBrake you are running:
HandBrake 20160921174759-da69438-master

What operating system and version and you running (e.g. OSX 10.11, Windows 7, Ubuntu 14):
Windows 7

If there was any exception or error displayed, please copy it and paste it here:
N/A

Please include the scan or encode log:

Code: Select all

M:\Config\Media\New>"C:\Program Files\HandBrakeCLI\HandBrakeCLI.exe" --preset "High Profile" --min-duration 5 --input "d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1" --title 1 --start-at
 "duration:13" --stop-at "duration:6375" --format av_mkv --output "M:\Media\Movies\T\Thief of Bagdad, The (1940)\Thief of Bagdad, The (1940).mkv" --x264-preset slower --quality 18.0 --x264-tune "film"
 --vfr --detelecine --comb-detect --decomb --markers --audio-fallback ac3 --audio "1,1,2,3,4" --aencoder "av_aac,copy:ac3,copy:ac3,copy:ac3,copy:ac3" --ab "192,192,192,192,192" --mixdown "dpl2,none,no
ne,none,none" --normalize-mix "0,0,0,0,0" --arate "auto,auto,auto,auto,auto" --aname "","","","","" --subtitle "1"
[14:11:37] hb_init: starting libhb thread
[14:11:37] thread 4f2c380 started ("libhb")
HandBrake 20160921174759-da69438-master (2016092201) - MinGW x86_64 - https://handbrake.fr
8 CPUs detected
Opening d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1...
[14:11:37] CPU: Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz
[14:11:37]  - Intel microarchitecture Sandy Bridge
[14:11:37]  - logical processor count: 8
[14:11:37] OpenCL device #1: Advanced Micro Devices, Inc. Tahiti
[14:11:37]  - OpenCL version: 1.2 AMD-APP (1800.11)
[14:11:37]  - driver version: 1800.11 (VM)
[14:11:37]  - device type:    GPU
[14:11:37]  - supported:      YES
[14:11:37] Intel Quick Sync Video support: no
[14:11:37] hb_scan: path=d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1, title_index=1
src/libbluray/disc/disc.c:352: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:352: error opening file BDMV\BACKUP\index.bdmv
[14:11:37] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1 for reading
libdvdread: Device d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1 inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1 for reading
libdvdread: Device d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1 inaccessible, CSS authentication not available.
[14:11:37] scan: DVD has 5 title(s)
[14:11:37] scan: scanning title 1
[14:11:37] scan: opening IFO for VTS 1
[14:11:37] scan: duration is 01:46:27 (6387934 ms)
[14:11:37] pgc_id: 1, pgn: 1: pgc: 0000000004E0FD10
[14:11:37] scan: vts=1, ttn=1, cells=0->16, blocks=0->3451857, 3451858 blocks
[14:11:37] scan: checking audio 1
[14:11:37] scan: id=0x80bd, lang=English (AC3), 3cc=eng ext=0
[14:11:37] scan: checking audio 2
[14:11:37] scan: id=0x81bd, lang=English (AC3), 3cc=eng ext=0
[14:11:37] scan: checking audio 3
[14:11:37] scan: id=0x82bd, lang=English (AC3), 3cc=eng ext=0
[14:11:37] scan: checking audio 4
[14:11:37] scan: id=0x83bd, lang=English (AC3), 3cc=eng ext=0
[14:11:37] scan: checking audio 5
[14:11:37] scan: audio channel is not active
[14:11:37] scan: checking audio 6
[14:11:37] scan: audio channel is not active
[14:11:37] scan: checking audio 7
[14:11:37] scan: audio channel is not active
[14:11:37] scan: checking audio 8
[14:11:37] scan: audio channel is not active
[14:11:37] scan: checking subtitle 1
[14:11:37] scan: id=0x20bd, lang=English, 3cc=eng ext=0
[14:11:37] scan: checking subtitle 2
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 3
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 4
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 5
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 6
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 7
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 8
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 9
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 10
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 11
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 12
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 13
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 14
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 15
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 16
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 17
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 18
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 19
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 20
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 21
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 22
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 23
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 24
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 25
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 26
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 27
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 28
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 29
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 30
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 31
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: checking subtitle 32
[14:11:37] scan: subtitle channel is not active
[14:11:37] scan: title 1 has 16 chapters
[14:11:37] scan: chap 1 c=0->0, b=0->41135 (41136), 111767 ms
[14:11:37] scan: chap 2 c=1->1, b=41136->244378 (203243), 378834 ms
[14:11:37] scan: chap 3 c=2->2, b=244379->517685 (273307), 511066 ms
[14:11:37] scan: chap 4 c=3->3, b=517686->719837 (202152), 366400 ms
[14:11:37] scan: chap 5 c=4->4, b=719838->945463 (225626), 395500 ms
[14:11:37] scan: chap 6 c=5->5, b=945464->1163603 (218140), 396200 ms
[14:11:37] scan: chap 7 c=6->6, b=1163604->1413210 (249607), 459900 ms
[14:11:37] scan: chap 8 c=7->7, b=1413211->1617181 (203971), 383133 ms
[14:11:37] scan: chap 9 c=8->8, b=1617182->1970142 (352961), 656367 ms
[14:11:37] scan: chap 10 c=9->10, b=1970143->2132736 (162594), 291334 ms
[14:11:37] scan: chap 11 c=11->11, b=2132737->2356316 (223580), 394233 ms
[14:11:37] scan: chap 12 c=12->12, b=2356317->2794994 (438678), 805333 ms
[14:11:37] scan: chap 13 c=13->13, b=2794995->3052207 (257213), 479033 ms
[14:11:37] scan: chap 14 c=14->14, b=3052208->3281816 (229609), 439033 ms
[14:11:37] scan: chap 15 c=15->15, b=3281817->3451698 (169882), 317300 ms
[14:11:37] scan: chap 16 c=16->16, b=3451699->3451857 (159), 2500 ms
[14:11:37] scan: aspect = 4:3
[14:11:37] scan: decoding previews for title 1
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[14:11:37] scan: title angle(s) 1
[ac3 @ 000000000031e9a0] frame sync error
[14:11:37] scan: audio 0x80bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (1.0 ch)
[ac3 @ 0000000004e404c0] frame sync error
[14:11:37] scan: audio 0x81bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (1.0 ch)
[ac3 @ 0000000004e404c0] frame sync error
[14:11:37] scan: audio 0x82bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (1.0 ch)
[ac3 @ 0000000004e404c0] frame sync error
[14:11:37] scan: audio 0x83bd: ac3, rate=48000Hz, bitrate=192000 English (AC3) (1.0 ch)
[14:11:37] scan: 10 previews, 720x480, 23.976 fps, autocrop = 2/0/8/4, aspect 4:3, PAR 8:9
[14:11:37] libhb: scan thread found 1 valid title(s)
+ Using preset: High Profile
+ title 1:
  + vts 1, ttn 1, cells 0->16 (3451858 blocks)
  + duration: 01:46:27
  + size: 720x480, pixel aspect: 8/9, display aspect: 1.33, 23.976 fps
  + autocrop: 2/0/8/4
  + support opencl: yes
  + chapters:
    + 1: cells 0->0, 41136 blocks, duration 00:01:52
    + 2: cells 1->1, 203243 blocks, duration 00:06:19
    + 3: cells 2->2, 273307 blocks, duration 00:08:31
    + 4: cells 3->3, 202152 blocks, duration 00:06:06
    + 5: cells 4->4, 225626 blocks, duration 00:06:36
    + 6: cells 5->5, 218140 blocks, duration 00:06:36
    + 7: cells 6->6, 249607 blocks, duration 00:07:40
    + 8: cells 7->7, 203971 blocks, duration 00:06:23
    + 9: cells 8->8, 352961 blocks, duration 00:10:56
    + 10: cells 9->10, 162594 blocks, duration 00:04:51
    + 11: cells 11->11, 223580 blocks, duration 00:06:34
    + 12: cells 12->12, 438678 blocks, duration 00:13:25
    + 13: cells 13->13, 257213 blocks, duration 00:07:59
    + 14: cells 14->14, 229609 blocks, duration 00:07:19
    + 15: cells 15->15, 169882 blocks, duration 00:05:17
    + 16: cells 16->16, 159 blocks, duration 00:00:03
  + audio tracks:
    + 1, English (AC3) (1.0 ch) (iso639-2: eng), 48000Hz, 192000bps
    + 2, English (AC3) (1.0 ch) (iso639-2: eng), 48000Hz, 192000bps
    + 3, English (AC3) (1.0 ch) (iso639-2: eng), 48000Hz, 192000bps
    + 4, English (AC3) (1.0 ch) (iso639-2: eng), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English (iso639-2: eng) (Bitmap)(VOBSUB)
Invalid sample rate auto, using input rate
Invalid sample rate auto, using input rate
Invalid sample rate auto, using input rate
Invalid sample rate auto, using input rate
Invalid sample rate auto, using input rate
[14:11:37] 1 job(s) to process
[14:11:37] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 192,
                "Encoder": 65536,
                "Mixdown": 6,
                "NormalizeMixLevel": false,
                "Samplerate": 0,
                "Track": 0
            },
            {
                "Bitrate": 192,
                "Encoder": 1073743872,
                "Mixdown": 0,
                "NormalizeMixLevel": false,
                "Samplerate": 0,
                "Track": 0
            },
            {
                "Bitrate": 192,
                "Encoder": 1073743872,
                "Mixdown": 0,
                "NormalizeMixLevel": false,
                "Samplerate": 0,
                "Track": 1
            },
            {
                "Bitrate": 192,
                "Encoder": 1073743872,
                "Mixdown": 0,
                "NormalizeMixLevel": false,
                "Samplerate": 0,
                "Track": 2
            },
            {
                "Bitrate": 192,
                "Encoder": 1073743872,
                "Mixdown": 0,
                "NormalizeMixLevel": false,
                "Samplerate": 0,
                "Track": 3
            }
        ],
        "CopyMask": [
            "copy:aac",
            "copy:ac3",
            "copy:dts",
            "copy:dtshd",
            "copy:eac3",
            "copy:flac",
            "copy:mp3",
            "copy:truehd"
        ],
        "FallbackEncoder": "ac3"
    },
    "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"
            },
            {
                "Name": "Chapter 14"
            },
            {
                "Name": "Chapter 15"
            },
            {
                "Name": "Chapter 16"
            }
        ],
        "ChapterMarkers": true,
        "File": "M:\\Media\\Movies\\T\\Thief of Bagdad, The (1940)\\Thief of Bagdad, The (1940).mkv",
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 2,
                "Settings": {
                    "plane": "0",
                    "skip-bottom": "4",
                    "skip-left": "1",
                    "skip-right": "1",
                    "skip-top": "4"
                }
            },
            {
                "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": 0
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 0,
                    "crop-left": 8,
                    "crop-right": 4,
                    "crop-top": 2,
                    "height": 478,
                    "width": 708
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 9,
        "Num": 8
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "d:\\dvd\\thief of bagdad, the (1940)\\d1\\thief_of_bagdad_disc1",
        "Range": {
            "End": 573750000,
            "Start": 1170000,
            "Type": "time"
        },
        "Title": 1
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": false,
            "Forced": false
        },
        "SubtitleList": [
            {
                "Burn": false,
                "Default": false,
                "Forced": false,
                "Track": 0
            }
        ]
    },
    "Video": {
        "ColorMatrixCode": 0,
        "Encoder": "x264",
        "Level": "4.1",
        "OpenCL": false,
        "Options": "",
        "Preset": "slower",
        "Profile": "high",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 18.0,
        "Tune": "film",
        "Turbo": false,
        "TwoPass": false
    }
}
[14:11:37] starting job
[14:11:37] decomb filter thread started for segment 0
[14:11:37] decomb filter thread started for segment 1
[14:11:37] decomb filter thread started for segment 2
[14:11:37] decomb filter thread started for segment 5
[14:11:37] decomb filter thread started for segment 4
[14:11:37] decomb filter thread started for segment 3
[14:11:37] decomb filter thread started for segment 6
[14:11:37] work: sanitizing track 1 mixdown Dolby Pro Logic II to Mono
[14:11:37] mask filter thread started for segment 0
[14:11:37] decomb check thread started for segment 0
[14:11:37] decomb check thread started for segment 1
[14:11:37] decomb check thread started for segment 2
[14:11:37] decomb check thread started for segment 3
[14:11:37] mask erode thread started for segment 6
[14:11:37] decomb check thread started for segment 5
[14:11:37] decomb check thread started for segment 6
[14:11:37] mask dilate thread started for segment 6
[14:11:37] mask dilate thread started for segment 5
[14:11:37] mask filter thread started for segment 1
[14:11:37] job configuration:
[14:11:37] mask filter thread started for segment 2
[14:11:37] mask filter thread started for segment 3
[14:11:37] mask filter thread started for segment 4
[14:11:37] mask filter thread started for segment 5
[14:11:37] mask filter thread started for segment 6
[14:11:37] mask filter thread started for segment 7
[14:11:37] mask erode thread started for segment 0
[14:11:37] mask erode thread started for segment 1
[14:11:37] mask erode thread started for segment 2
[14:11:37] mask erode thread started for segment 3
[14:11:37] mask erode thread started for segment 4
[14:11:37] mask erode thread started for segment 5
[14:11:37] decomb check thread started for segment 4
[14:11:37] mask erode thread started for segment 7
[14:11:37] mask dilate thread started for segment 0
[14:11:37] mask dilate thread started for segment 1
[14:11:37] mask dilate thread started for segment 2
[14:11:37] mask dilate thread started for segment 3
[14:11:37] mask dilate thread started for segment 4
[14:11:37] decomb filter thread started for segment 7
[14:11:37] decomb check thread started for segment 7
[14:11:37] mask dilate thread started for segment 7
[14:11:37] yadif thread started for segment 0
[14:11:37] yadif thread started for segment 1
[14:11:37] yadif thread started for segment 2
[14:11:37] yadif thread started for segment 3
[14:11:37] yadif thread started for segment 4
[14:11:37] yadif thread started for segment 5
[14:11:37] yadif thread started for segment 6
[14:11:37]  * source
[14:11:37] yadif thread started for segment 7
[14:11:37]    + d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1
[14:11:37]    + title 1, start 00:00:13.00 stop 01:46:28.00
[14:11:37]  * destination
[14:11:37]    + M:\Media\Movies\T\Thief of Bagdad, The (1940)\Thief of Bagdad, The (1940).mkv
[14:11:37]    + container: Matroska (libavformat)
[14:11:37]      + chapter markers
[14:11:37]  * video track
[14:11:37]    + decoder: mpeg2video
[14:11:37]      + bitrate 9800 kbps
[14:11:37]    + filters
[14:11:37]      + Detelecine (pullup) (skip-left=1:skip-right=1:skip-top=4:skip-bottom=4:plane=0)
[14:11:37]      + 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)
[14:11:37]      + Decomb (mode=39)
[14:11:37]      + Framerate Shaper (mode=0)
[14:11:37]        + frame rate: same as source (around 23.976 fps)
[14:11:37]      + Crop and Scale (width=708:height=478:crop-top=2:crop-bottom=0:crop-left=8:crop-right=4)
[14:11:37]        + source: 720 * 480, crop (2/0/8/4): 708 * 478, scale: 708 * 478
[14:11:37]    + Output geometry
[14:11:37]      + storage dimensions: 708 x 478
[14:11:37]      + pixel aspect ratio: 8 : 9
[14:11:37]      + display dimensions: 629 x 478
[14:11:37]    + encoder: H.264 (libx264)
[14:11:37]      + preset:  slower
[14:11:37]      + tune:    film
[14:11:37]      + profile: high
[14:11:37]      + level:   4.1
[14:11:37]      + quality: 18.00 (RF)
[14:11:37]  * subtitle track 1, English (track 0, id 0x20bd) Picture [VOBSUB] -> Passthrough
[14:11:37]  * audio track 1
[14:11:37]    + decoder: English (AC3) (1.0 ch) (track 1, id 0x80bd)
[14:11:37]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:11:37]    + mixdown: Mono
[14:11:37]    + encoder: AAC (libavcodec)
[14:11:37]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:11:37]  * audio track 2
[14:11:37]    + decoder: English (AC3) (1.0 ch) (track 1, id 0x80bd)
[14:11:37]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:11:37]    + AC3 Passthru
[14:11:37]  * audio track 3
[14:11:37]    + decoder: English (AC3) (1.0 ch) (track 2, id 0x81bd)
[14:11:37]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:11:37]    + AC3 Passthru
[14:11:37]  * audio track 4
[14:11:37]    + decoder: English (AC3) (1.0 ch) (track 3, id 0x82bd)
[14:11:37]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:11:37]    + AC3 Passthru
[14:11:37]  * audio track 5
[14:11:37]    + decoder: English (AC3) (1.0 ch) (track 4, id 0x83bd)
[14:11:37]      + bitrate: 192 kbps, samplerate: 48000 Hz
[14:11:37]    + AC3 Passthru
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1 for reading
libdvdread: Device d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1 inaccessible, CSS authentication not available.
libdvdnav: Unable to open device file d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
libdvdread: Encrypted DVD support unavailable.
libdvdread: Could not open input: Permission denied
libdvdread: Can't open d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1 for reading
libdvdread: Device d:\dvd\thief of bagdad, the (1940)\d1\thief_of_bagdad_disc1 inaccessible, CSS authentication not available.
libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: 1 2 3 4 5 6 7 8
[14:11:37] sync: expecting 152871 video frames
[14:11:37] encx264: min-keyint: 24, keyint: 240
[14:11:37] encx264: encoding at constant RF 18.000000
[14:11:37] encx264: unparsed options: level=4.1:subme=9:direct=auto:rc-lookahead=60:ref=8:b-adapt=2:vbv-maxrate=62500:deblock=-1,-1:psy-rd=1,0.15:analyse=all:me=umh:vbv-bufsize=78125:trellis=2
x264 [info]: using SAR=8/9
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
x264 [info]: profile High, level 4.1
Encoding: task 1 of 1, Searching for start time, 97.40 % (ETA 00h00m[14:11:38] sync: first pts video is 0
00s)[14:11:38] sync: first pts audio 0x80bd is 867
[14:11:38] sync: first pts audio 0x80bd is 867
[14:11:38] sync: first pts audio 0x81bd is 867
[14:11:38] sync: first pts audio 0x82bd is 867
[14:11:38] sync: first pts audio 0x83bd is 867
Encoding: task 1 of 1, 0.15 %[14:11:40] sync: first pts subtitle 0x20bd is 900900
Encoding: task 1 of 1, 1.55 % (53.26 fps, avg 61.14 fps, ETA 00h41m01s)[14:12:16] sync: "Chapter 2" (2) at frame 2381 time 8895638
Encoding: task 1 of 1, 7.50 % (45.57 fps, avg 34.03 fps, ETA 01h09m16s)[14:17:14] sync: "Chapter 3" (3) at frame 11473 time 43024733
Encoding: task 1 of 1, 15.52 % (22.67 fps, avg 35.24 fps, ETA 01h01m05s)[14:22:51] sync: "Chapter 4" (4) at frame 23739 time 89066729
Encoding: task 1 of 1, 21.27 % (24.93 fps, avg 35.75 fps, ETA 00h56m07s)[14:26:47] 1356.354980s: Film -> Video
Encoding: task 1 of 1, 21.28 % (24.93 fps, avg 35.75 fps, ETA 00h56m07s)[14:26:48] 1356.388306s: Video -> Film
[14:26:48] sync: "Chapter 5" (5) at frame 32534 time 122075705
Encoding: task 1 of 1, 24.94 % (30.84 fps, avg 34.50 fps, ETA 00h55m26s)[14:30:03] 1590.455444s: Film -> Video
[14:30:03] 1590.488892s: Video -> Film
Encoding: task 1 of 1, 27.49 % (42.63 fps, avg 34.05 fps, ETA 00h54m15s)[14:32:12] sync: "Chapter 6" (6) at frame 42029 time 157706302
Encoding: task 1 of 1, 33.71 % (44.95 fps, avg 34.35 fps, ETA 00h49m10s)[14:36:38] sync: "Chapter 7" (7) at frame 51539 time 193399961
[14:36:38] 2148.913330s: Film -> Video
[14:36:38] 2148.946777s: Video -> Film
Encoding:[14:42:03] sync: "Chapter 8" (8) at frame 62578 time 234832353
Encoding: task 1 of 1, 46.95 % (44.66 fps, avg 34.75 fps, ETA 00h38m54s)[14:46:03] sync: "Chapter 9" (9) at frame 71774 time 269348835
Encoding: task 1 of 1, 57.26 % (29.94 fps, avg 34.36 fps, ETA 00h31m42s)[14:54:05] sync: "Chapter 10" (10) at frame 87529 time 328480902
Encoding: task 1 of 1, 61.82 % (31.38 fps, avg 34.43 fps, ETA 00h28m15s)[14:57:23] sync: "Chapter 11" (11) at frame 94523 time 354727123
E[15:02:54] sync: "Chapter 12" (12) at frame 103985 time 3902443554m06s)
Encoding: task 1 of 1, 80.66 % (25.57 fps, avg 34.30 fps, ETA 00h14m22s)[15:11:33] sync: "Chapter 13" (13) at frame 123316 time 462796087
Encoding: task 1 of 1, 88.18 % (43.00 fps, avg 34.78 fps, ETA 00h08m40s)[15:16:13] sync: "Chapter 14" (14) at frame 134814 time 505952201
Encoding: task 1 of 1, 95.08 % (48.50 fps, avg 35.09 fps, ETA 00h03m34s)[15:20:39] sync: "Chapter 15" (15) at frame 145351 time 545504714
Encoding: task 1 of 1, 100.00 % (57.06 fps, avg 34.88 fps, ETA 00h00m00s)[15:24:40] sync: reached audio 0x80bd pts 573751587, exiting early
[15:24:40] sync: reached audio 0x80bd pts 573751587, exiting early
[15:24:40] sync: reached audio 0x81bd pts 573751587, exiting early
[15:24:40] sync: reached audio 0x82bd pts 573751587, exiting early
[15:24:40] sync: reached audio 0x83bd pts 573751587, exiting early
[15:24:40] sync: reached video pts 573751679, exiting early
Encoding: task 1 of 1, 100.00 % (57.06 fps, avg 34.88 fps, ETA 00h00m00s)[15:24:41] work: average encoding speed for job is 34.882221 fps
Encoding: task 1 of 1, 100.00 % (57.06 fps, avg 34.88 fps, ETA 00h00m00s)[15:24:42] comb detect: heavy 1797 | light 26001 | uncombed 125037 | total 152835
[15:24:42] decomb: deinterlaced 1797 | blended 26001 | unfiltered 125037 | total 152835
[15:24:42] vfr: lost time: 147150 (0 frames)
[15:24:42] vfr: gained time: 147150 (168 frames) (0 not accounted for)
[15:24:42] ac3-decoder done: 199702 frames, 0 decoder errors
[15:24:42] ac3-decoder done: 199702 frames, 0 decoder errors
[15:24:42] ac3-decoder done: 199702 frames, 0 decoder errors
[15:24:42] ac3-decoder done: 199702 frames, 0 decoder errors
[15:24:42] ac3-decoder done: 199702 frames, 0 decoder errors
[15:24:42] mpeg2video-decoder done: 153249 frames, 0 decoder errors
Encoding: task 1 of 1, 100.00 % (57.06 fps, avg 34.88 fps, ETA 00h00m00s)Signal 2 received, terminating - do it again in case it gets stuck
Encoding: task 1 of 1, 100.00 % (57.06 fps, avg 34.88 fps, ETA 00h00m00s)^CTerminate batch job (Y/N)? y
User avatar
JohnAStebbins
HandBrake Team
Posts: 5726
Joined: Sat Feb 09, 2008 7:21 pm

Re: Encoding Hangs at 100%

Post by JohnAStebbins »

I think maybe the subtitle track caused it to hang. Could you test the same source again with the same settings, but remove the subtitle track and see if it completes?
DrXenos
Bright Spark User
Posts: 278
Joined: Sat Mar 16, 2013 1:19 pm

Re: Encoding Hangs at 100%

Post by DrXenos »

Be happy to. I can give it a go tonight when I get home from work.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5726
Joined: Sat Feb 09, 2008 7:21 pm

Re: Encoding Hangs at 100%

Post by JohnAStebbins »

I think I was able to reproduce your problem myself. I just committed a fix for the problem I found. With any luck, it's the same thing. Should be in the next nightly build.
DrXenos
Bright Spark User
Posts: 278
Joined: Sat Mar 16, 2013 1:19 pm

Re: Encoding Hangs at 100%

Post by DrXenos »

Thanks! I'll give it a whirl.
Post Reply