Floating point exception: 8

HandBrake for Mac 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
AndyA
Posts: 12
Joined: Mon Apr 10, 2017 5:45 pm

Floating point exception: 8

Post by AndyA »

Description of problem or question:

Some movies handbrake crashes with this - Floating point exception: 8. I've used other settings with the GUI and it's completed successfully. I've also limited the duration with the same command line and it was successful. It's just when the command line is run on the full movie it crashes. Any ideas on how to troubleshoot?

Steps to reproduce the problem (If Applicable):

The command line and console output are below.

HandBrake version (e.g., 1.0.0):

1.2.0

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

macOS Sierra 10.12.6

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

Code: Select all

$ ./HandBrakeCLI --title 162 --input "/Volumes/D/Movies/MyMovie" --output "/Volumes/D/Movies-MKV/Movies/MyMovie.mkv" --markers --format av_mkv --encoder x264 --quality 18 --encoder-tune film --encoder-preset slow --encoder-profile auto --encoder-level auto --vfr --aencoder copy --audio-copy-mask aac,ac3 --audio-fallback ca_aac --mixdown 5point1 --ab 768 --subtitle scan --native-language eng --subtitle-burned


[20:26:47] hb_init: starting libhb thread
[20:26:47] thread 7000059ec000 started ("libhb")
HandBrake 1.2.0 (2018122200) - Darwin x86_64 - https://handbrake.fr
6 CPUs detected
Opening /Volumes/D/Movies/MyMovie...
[20:26:47] CPU: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz
[20:26:47]  - logical processor count: 6
[20:26:47] hb_scan: path=/Volumes/D/Movies/MyMovie, title_index=162
bdj.c:549: libbluray-j2se-1.0.2.jar not found.
bdj.c:695: BD-J check: Failed to load libbluray.jar
bdj.c:549: libbluray-j2se-1.0.2.jar not found.
bdj.c:695: BD-J check: Failed to load libbluray.jar
Scanning title 1 of 1, 0.00 %[20:26:48] scan: BD has 302 title(s)
[20:26:48] bd: scanning title 162
[20:26:48] bd: playlist 00800.MPLS
[20:26:48] bd: duration is 02:29:21 (8961243 ms)
[20:26:48] bd: video id=0x1011, stream type=H.264, format 1080p
[20:26:48] bd: aspect = 16:9
[20:26:49] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[20:26:49] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[20:26:49] bd: audio id=0x1101, lang=English (AC3), 3cc=eng
[20:26:49] bd: audio id=0x1102, lang=Francais (AC3), 3cc=fra
[20:26:49] bd: audio id=0x1103, lang=español (AC3), 3cc=spa
[20:26:49] bd: audio id=0x1104, lang=Portugues (AC3), 3cc=por
[20:26:49] bd: audio id=0x1105, lang=English (AC3), 3cc=eng
[20:26:49] bd: subtitle id=0x1200, lang=English [PGS], 3cc=eng
[20:26:49] bd: subtitle id=0x1201, lang=Francais [PGS], 3cc=fra
[20:26:49] bd: subtitle id=0x1202, lang=español [PGS], 3cc=spa
[20:26:49] bd: subtitle id=0x1203, lang=Portugues [PGS], 3cc=por
[20:26:49] bd: subtitle id=0x1204, lang=English [PGS], 3cc=eng
[20:26:49] bd: subtitle id=0x1205, lang=Francais [PGS], 3cc=fra
[20:26:49] bd: subtitle id=0x1206, lang=español [PGS], 3cc=spa
[20:26:49] bd: subtitle id=0x1207, lang=Portugues [PGS], 3cc=por
[20:26:49] bd: subtitle id=0x1208, lang=English [PGS], 3cc=eng
[20:26:49] bd: subtitle id=0x1209, lang=Francais [PGS], 3cc=fra
[20:26:49] bd: subtitle id=0x120a, lang=español [PGS], 3cc=spa
[20:26:49] bd: subtitle id=0x120b, lang=Portugues [PGS], 3cc=por
[20:26:49] bd: chap 1 packet=960, 688729 ms
[20:26:49] bd: chap 2 packet=3124665984, 405154 ms
[20:26:49] bd: chap 3 packet=4902220800, 549924 ms
[20:26:49] bd: chap 4 packet=7402911936, 505004 ms
[20:26:49] bd: chap 5 packet=9629764800, 394727 ms
[20:26:49] bd: chap 6 packet=11411339136, 709333 ms
[20:26:49] bd: chap 7 packet=14601580992, 323865 ms
[20:26:49] bd: chap 8 packet=16009037952, 330413 ms
[20:26:49] bd: chap 9 packet=17456010432, 346512 ms
[20:26:49] bd: chap 10 packet=18987875136, 373289 ms
[20:26:49] bd: chap 11 packet=20630892288, 427802 ms
[20:26:49] bd: chap 12 packet=22533141120, 413246 ms
[20:26:49] bd: chap 13 packet=24378708864, 652401 ms
[20:26:49] bd: chap 14 packet=27323333952, 237403 ms
[20:26:49] bd: chap 15 packet=28408399296, 426259 ms
[20:26:49] bd: chap 16 packet=30317436480, 348848 ms
[20:26:49] bd: chap 17 packet=31892120256, 305263 ms
[20:26:49] bd: chap 18 packet=33265335168, 435101 ms
[20:26:49] bd: chap 19 packet=35228220672, 378002 ms
[20:26:49] bd: chap 20 packet=36899788608, 709709 ms
[20:26:49] bd: chap 21 packet=38987162496, 250 ms
[20:26:49] bd: title 162 has 21 chapters
[20:26:49] scan: decoding previews for title 162
[20:26:49] scan: title angle(s) 1
Scanning title 1 of 1, preview 1, 10.00 %[20:26:49] scan: audio 0x711100: dca, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[20:26:49] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (7.1 ch)
[20:26:49] scan: audio 0x1105: ac3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[20:26:49] scan: audio 0x1101: ac3, rate=48000Hz, bitrate=320000 English (AC3) (2.0 ch)
[20:26:49] scan: audio 0x1102: ac3, rate=48000Hz, bitrate=640000 Francais (AC3) (5.1 ch)
[20:26:49] scan: audio 0x1103: ac3, rate=48000Hz, bitrate=640000 español (AC3) (5.1 ch)
[20:26:49] scan: audio 0x1104: ac3, rate=48000Hz, bitrate=640000 Portugues (AC3) (5.1 ch)
Scanning title 1 of 1, preview 10, 100.00 %[20:26:52] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 138/138/0/0, aspect 16:9, PAR 1:1
[20:26:52] stream: 10 good frames, 0 errors (0%)
Scanning title 1 of 1, preview 10, 100.00 %[20:26:52] libhb: scan thread found 1 valid title(s)
+ Using preset: CLI Default
+ title 162:
  + playlist: 00800.MPLS
  + duration: 02:29:21
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 138/138/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:11:29
    + 2: cells 0->0, 0 blocks, duration 00:06:45
    + 3: cells 0->0, 0 blocks, duration 00:09:10
    + 4: cells 0->0, 0 blocks, duration 00:08:25
    + 5: cells 0->0, 0 blocks, duration 00:06:35
    + 6: cells 0->0, 0 blocks, duration 00:11:49
    + 7: cells 0->0, 0 blocks, duration 00:05:24
    + 8: cells 0->0, 0 blocks, duration 00:05:30
    + 9: cells 0->0, 0 blocks, duration 00:05:47
    + 10: cells 0->0, 0 blocks, duration 00:06:13
    + 11: cells 0->0, 0 blocks, duration 00:07:08
    + 12: cells 0->0, 0 blocks, duration 00:06:53
    + 13: cells 0->0, 0 blocks, duration 00:10:52
    + 14: cells 0->0, 0 blocks, duration 00:03:57
    + 15: cells 0->0, 0 blocks, duration 00:07:06
    + 16: cells 0->0, 0 blocks, duration 00:05:49
    + 17: cells 0->0, 0 blocks, duration 00:05:05
    + 18: cells 0->0, 0 blocks, duration 00:07:15
    + 19: cells 0->0, 0 blocks, duration 00:06:18
    + 20: cells 0->0, 0 blocks, duration 00:11:50
    + 21: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
    + 2, English (DTS-HD MA) (7.1 ch) (iso639-2: eng)
    + 3, English (AC3) (2.0 ch) (iso639-2: eng), 48000Hz, 320000bps
    + 4, Francais (AC3) (5.1 ch) (iso639-2: fra), 48000Hz, 640000bps
    + 5, español (AC3) (5.1 ch) (iso639-2: spa), 48000Hz, 640000bps
    + 6, Portugues (AC3) (5.1 ch) (iso639-2: por), 48000Hz, 640000bps
    + 7, English (AC3) (2.0 ch) (iso639-2: eng), 48000Hz, 192000bps
  + subtitle tracks:
    + 1, English [PGS]
    + 2, Francais [PGS]
    + 3, español [PGS]
    + 4, Portugues [PGS]
    + 5, English [PGS]
    + 6, Francais [PGS]
    + 7, español [PGS]
    + 8, Portugues [PGS]
    + 9, English [PGS]
    + 10, Francais [PGS]
    + 11, español [PGS]
    + 12, Portugues [PGS]
[20:26:52] 1 job(s) to process
[20:26:52] json job:
{
    "Audio": {
        "AudioList": [
            {
                "Bitrate": 768,
                "CompressionLevel": -1.0,
                "DRC": 0.0,
                "DitherMethod": "auto",
                "Encoder": "ca_aac",
                "Gain": 0.0,
                "Mixdown": "5point1",
                "NormalizeMixLevel": false,
                "PresetEncoder": "copy",
                "Quality": -3.0,
                "Samplerate": 0,
                "Track": 0
            }
        ],
        "CopyMask": [
            "copy:aac",
            "copy:ac3"
        ],
        "FallbackEncoder": "ca_aac"
    },
    "Destination": {
        "AlignAVStart": false,
        "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"
            },
            {
                "Name": "Chapter 17"
            },
            {
                "Name": "Chapter 18"
            },
            {
                "Name": "Chapter 19"
            },
            {
                "Name": "Chapter 20"
            },
            {
                "Name": "Chapter 21"
            }
        ],
        "ChapterMarkers": true,
        "File": "/Volumes/D/Movies-MKV/Movies/MyMovie.mkv",
        "InlineParameterSets": false,
        "Mp4Options": {
            "IpodAtom": false,
            "Mp4Optimize": false
        },
        "Mux": "mkv"
    },
    "Filters": {
        "FilterList": [
            {
                "ID": 6,
                "Settings": {
                    "mode": 0
                }
            },
            {
                "ID": 11,
                "Settings": {
                    "crop-bottom": 138,
                    "crop-left": 0,
                    "crop-right": 0,
                    "crop-top": 138,
                    "height": 804,
                    "width": 1920
                }
            }
        ]
    },
    "Metadata": {},
    "PAR": {
        "Den": 1,
        "Num": 1
    },
    "SequenceID": 0,
    "Source": {
        "Angle": 0,
        "Path": "/Volumes/D/Movies/MyMovie",
        "Range": {
            "End": 21,
            "Start": 1,
            "Type": "chapter"
        },
        "Title": 162
    },
    "Subtitle": {
        "Search": {
            "Burn": true,
            "Default": false,
            "Enable": true,
            "Forced": false
        },
        "SubtitleList": []
    },
    "Video": {
        "ColorMatrix": 1,
        "ColorPrimaries": 1,
        "ColorTransfer": 1,
        "Encoder": "x264",
        "Level": "auto",
        "Options": "",
        "Preset": "slow",
        "Profile": "auto",
        "QSV": {
            "AsyncDepth": 4,
            "Decode": false
        },
        "Quality": 18.0,
        "Tune": "film",
        "Turbo": false,
        "TwoPass": false
    }
}
[20:26:52] starting job
[20:26:52] job configuration:
[20:26:52]  * source
[20:26:52]    + /Volumes/D/Movies/MyMovie
[20:26:52]    + title 162, chapter(s) 1 to 21
[20:26:52]  * destination
[20:26:52]    + /Volumes/D/Movies-MKV/Movies/MyMovie.mkv
[20:26:52]    + container: Matroska (libavformat)
[20:26:52]      + chapter markers
[20:26:52]  * video track
[20:26:52]    + decoder: h264
[20:26:52]      + bitrate 200 kbps
[20:26:52]    + filters
[20:26:52]      + Framerate Shaper (mode=0)
[20:26:52]        + frame rate: same as source (around 23.976 fps)
[20:26:52]      + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[20:26:52]        + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[20:26:52]    + Output geometry
[20:26:52]      + storage dimensions: 1920 x 804
[20:26:52]      + pixel aspect ratio: 1 : 1
[20:26:52]      + display dimensions: 1920 x 804
[20:26:52]  * Foreign Audio Search: Render/Burn-in
[20:26:52]    + subtitle, English [PGS] (track 0, id 0x1200, Picture)
[20:26:52]    + subtitle, English [PGS] (track 4, id 0x1204, Picture)
[20:26:52]    + subtitle, English [PGS] (track 8, id 0x1208, Picture)
bdj.c:549: libbluray-j2se-1.0.2.jar not found.
bdj.c:695: BD-J check: Failed to load libbluray.jar
bdj.c:549: libbluray-j2se-1.0.2.jar not found.
bdj.c:695: BD-J check: Failed to load libbluray.jar
Encoding: task 1 of 2, 0.00 %[20:26:53] sync: expecting 214854 video frames
Encoding: task 1 of 2, 99.95 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:43:46] bd: End of title
[20:43:46] reader: done. 1 scr changes
[20:43:46] work: average encoding speed for job is 0.000000 fps
[20:43:46] vfr: lost time: 0 (0 frames)
[20:43:46] vfr: gained time: 0 (0 frames) (0 not accounted for)
Encoding: task 1 of 2, 100.00 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:43:46] stream: 214855 good frames, 0 errors (0%)
Encoding: task 1 of 2, 100.00 % (0.00 fps, avg 0.00 fps, ETA 00h00m00s)[20:43:48] h264-decoder done: 0 frames, 1 decoder errors
[20:43:48] sync: got 0 frames, 214854 expected
[20:43:48] Subtitle track 0 (id 0x1200) 'English [PGS]': 2067 hits (0 forced)
[20:43:48] Subtitle track 4 (id 0x1204) 'English [PGS]': 3019 hits (0 forced)
[20:43:48] Subtitle track 8 (id 0x1208) 'English [PGS]': 1 hits (0 forced)
[20:43:48] Found a subtitle candidate with id 0x1208
[20:43:48] starting job
[20:43:48] job configuration:
[20:43:48]  * source
[20:43:48]    + /Volumes/D/Movies/MyMovie
[20:43:48]    + title 162, chapter(s) 1 to 21
[20:43:48]  * destination
[20:43:48]    + /Volumes/D/Movies-MKV/Movies/MyMovie.mkv
[20:43:48]    + container: Matroska (libavformat)
[20:43:48]      + chapter markers
[20:43:48]  * video track
[20:43:48]    + decoder: h264
[20:43:48]      + bitrate 200 kbps
[20:43:48]    + filters
[20:43:48]      + Framerate Shaper (mode=0)
[20:43:48]        + frame rate: same as source (around 23.976 fps)
[20:43:48]      + Subtitle renderer ()
[20:43:48]      + Crop and Scale (width=1920:height=804:crop-top=138:crop-bottom=138:crop-left=0:crop-right=0)
[20:43:48]        + source: 1920 * 1080, crop (138/138/0/0): 1920 * 804, scale: 1920 * 804
[20:43:48]    + Output geometry
[20:43:48]      + storage dimensions: 1920 x 804
[20:43:48]      + pixel aspect ratio: 1 : 1
[20:43:48]      + display dimensions: 1920 x 804
[20:43:48]    + encoder: H.264 (libx264)
[20:43:48]      + preset:  slow
[20:43:48]      + tune:    film
[20:43:48]      + profile: auto
[20:43:48]      + level:   auto
[20:43:48]      + quality: 18.00 (RF)
[20:43:48]      + color profile: 1-1-1
[20:43:48]  * subtitle track 1, English [PGS] (track 8, id 0x1208, Picture) -> Render/Burn-in
[20:43:48]  * audio track 1
[20:43:48]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x711100)
[20:43:48]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[20:43:48]    + mixdown: 5.1 Channels
[20:43:48]    + dither: triangular
[20:43:48]    + encoder: AAC (Apple AudioToolbox)
[20:43:48]      + bitrate: 768 kbps, samplerate: 48000 Hz
bdj.c:549: libbluray-j2se-1.0.2.jar not found.
bdj.c:695: BD-J check: Failed to load libbluray.jar
bdj.c:549: libbluray-j2se-1.0.2.jar not found.
bdj.c:695: BD-J check: Failed to load libbluray.jar
Encoding: task 2 of 2, 0.00 %[20:43:49] sync: expecting 214854 video frames
[20:43:49] encx264: min-keyint: 24, keyint: 240
[20:43:49] encx264: encoding at constant RF 18.000000
[20:43:49] encx264: unparsed options: ref=5:direct=auto:deblock=-1,-1:subme=8:trellis=2:psy-rd=1,0.15:rc-lookahead=50
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
x264 [info]: profile High, level 4.0, 4:2:0, 8-bit
Encoding: task 2 of 2, 0.00 %[20:43:49] sync: first pts video is 0
[20:43:49] sync: "Chapter 1" (1) at frame 1 time 0
[20:43:49] sync: first pts audio 0x711100 is 0
Encoding: task 2 of 2, 6.26 % (13.74 fps, avg 14.89 fps, ETA 03h45m28s)Floating point exception: 8
rollin_eng
Veteran User
Posts: 4854
Joined: Wed May 04, 2011 11:06 pm

Re: Floating point exception: 8

Post by rollin_eng »

Try some ripping with makemkv first.
Post Reply