{"action":"created","issue":{"url":"https://api.github.com/repos/dthpham/butterflow/issues/12","labels_url":"https://api.github.com/repos/dthpham/butterflow/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/dthpham/butterflow/issues/12/comments","events_url":"https://api.github.com/repos/dthpham/butterflow/issues/12/events","html_url":"https://github.com/dthpham/butterflow/issues/12","id":101109949,"number":12,"title":"OSX 10.10.4 failing with error: Python quit unexpectedly while using the libopencv_core.2.4.dylib plug-in.","user":{"login":"eyeb33","id":6875418,"avatar_url":"https://avatars.githubusercontent.com/u/6875418?v=3","gravatar_id":"","url":"https://api.github.com/users/eyeb33","html_url":"https://github.com/eyeb33","followers_url":"https://api.github.com/users/eyeb33/followers","following_url":"https://api.github.com/users/eyeb33/following{/other_user}","gists_url":"https://api.github.com/users/eyeb33/gists{/gist_id}","starred_url":"https://api.github.com/users/eyeb33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyeb33/subscriptions","organizations_url":"https://api.github.com/users/eyeb33/orgs","repos_url":"https://api.github.com/users/eyeb33/repos","events_url":"https://api.github.com/users/eyeb33/events{/privacy}","received_events_url":"https://api.github.com/users/eyeb33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-14T21:53:24Z","updated_at":"2015-08-19T14:14:21Z","closed_at":null,"body":"I've tried installing this on two different macs and getting the same error on both systems (both 10.10.4).\r\n\r\nInstall seems clean through homebrew but hitting errors here when I try to run an example:\r\n\r\nSkip unsupported version of OpenCL device: GeForce 9400(Apple)\r\nOpenCV Error: Assertion failed (localThreads[1] <= ctx->getDeviceInfo().maxWorkItemSizes[1]) in openCLVerifyKernel, file /tmp/opencv20150814-93244-t3dr3h/opencv-2.4.12/modules/ocl/src/cl_operations.cpp, line 347\r\nlibc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv20150814-93244-t3dr3h/opencv-2.4.12/modules/ocl/src/cl_operations.cpp:347: error: (-215) localThreads[1] <= ctx->getDeviceInfo().maxWorkItemSizes[1] in function openCLVerifyKernel\r\n\r\nthen Python seems to crash and a box containing the error:\r\n\r\n\"Python quit unexpectedly while using the libopencv_core.2.4.dylib plug-in.\"\r\n\r\ncomes up and terminal just seems to hang at this:\r\nvideo:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown\r\n\r\nOnly just getting to grips with terminal and not experienced in Python so any help much appreciated.\r\n\r\nThis is what I'm trying to run:\r\nbutterflow -r 120 quarter_speed.mov\r\n\r\nFull output:\r\n\r\nffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers\r\n  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)\r\n  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.7.2_1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-libvorbis --enable-libass --enable-vda\r\n  libavutil      54. 27.100 / 54. 27.100\r\n  libavcodec     56. 41.100 / 56. 41.100\r\n  libavformat    56. 36.100 / 56. 36.100\r\n  libavdevice    56.  4.100 / 56.  4.100\r\n  libavfilter     5. 16.101 /  5. 16.101\r\n  libavresample   2.  1.  0 /  2.  1.  0\r\n  libswscale      3.  1.101 /  3.  1.101\r\n  libswresample   1.  2.100 /  1.  2.100\r\n  libpostproc    53.  3.100 / 53.  3.100\r\nSkip unsupported version of OpenCL device: GeForce 9400(Apple)\r\nOpenCV Error: Assertion failed (localThreads[1] <= ctx->getDeviceInfo().maxWorkItemSizes[1]) in openCLVerifyKernel, file /tmp/opencv20150814-93244-t3dr3h/opencv-2.4.12/modules/ocl/src/cl_operations.cpp, line 347\r\nlibc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv20150814-93244-t3dr3h/opencv-2.4.12/modules/ocl/src/cl_operations.cpp:347: error: (-215) localThreads[1] <= ctx->getDeviceInfo().maxWorkItemSizes[1] in function openCLVerifyKernel\r\n\r\nAbort trap: 6\r\nbernards-iMac:coco_50 bernard$ Input #0, rawvideo, from 'pipe:':\r\n  Duration: N/A, bitrate: N/A\r\n    Stream #0:0: Video: rawvideo (BGR[24] / 0x18524742), bgr24, 2400x1560, -2102181 kb/s, 120 tbr, 120 tbn, 120 tbc\r\n[libx264 @ 0x7f99d1813400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64\r\n[libx264 @ 0x7f99d1813400] profile High, level 5.2\r\n[libx264 @ 0x7f99d1813400] 264 - core 146 r2555 0c21480 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=18.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00\r\nOutput #0, mp4, to '/var/folders/n3/q1fsbqj97ls8k07h94dl78840000gn/T/butterflow-0.1.9/quarter_speed.mov.1439491471.0.1.0.x.x.x.libx264.rnd.mp4':\r\n  Metadata:\r\n    encoder         : Lavf56.36.100\r\n    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 2400x1560, q=-1--1, 120 fps, 15360 tbn, 120 tbc\r\n    Metadata:\r\n      encoder         : Lavc56.41.100 libx264\r\nStream mapping:\r\n  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))\r\nframe=    0 fps=0.0 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=N/A\r\nvideo:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown"},"comment":{"url":"https://api.github.com/repos/dthpham/butterflow/issues/comments/132613413","html_url":"https://github.com/dthpham/butterflow/issues/12#issuecomment-132613413","issue_url":"https://api.github.com/repos/dthpham/butterflow/issues/12","id":132613413,"user":{"login":"eyeb33","id":6875418,"avatar_url":"https://avatars.githubusercontent.com/u/6875418?v=3","gravatar_id":"","url":"https://api.github.com/users/eyeb33","html_url":"https://github.com/eyeb33","followers_url":"https://api.github.com/users/eyeb33/followers","following_url":"https://api.github.com/users/eyeb33/following{/other_user}","gists_url":"https://api.github.com/users/eyeb33/gists{/gist_id}","starred_url":"https://api.github.com/users/eyeb33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyeb33/subscriptions","organizations_url":"https://api.github.com/users/eyeb33/orgs","repos_url":"https://api.github.com/users/eyeb33/repos","events_url":"https://api.github.com/users/eyeb33/events{/privacy}","received_events_url":"https://api.github.com/users/eyeb33/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T14:14:21Z","updated_at":"2015-08-19T14:14:21Z","body":"Thanks for your help with this, I tried the switch as you suggested and ran the command.\r\n\r\nThe only difference is that I was using a .mov rather than a .mp4\r\n\r\nStill getting the same Python error as previously.\r\n\r\nThis from the logs:\r\n\r\nApplication Specific Information:\r\nabort() called\r\nterminating with uncaught exception of type cv::Exception: /tmp/opencv20150814-15496-1vvi2z3/opencv-2.4.12/modules/ocl/src/cl_operations.cpp:347: error: (-215) localThreads[1] <= ctx->getDeviceInfo().maxWorkItemSizes[1] in function openCLVerifyKernel"}}