Skip to content

Instantly share code, notes, and snippets.

@chrisidefix
chrisidefix / opencv-fourcc-on-mac-os-x.md
Last active September 27, 2022 08:54 — forked from takuma7/opencv-fourcc-on-mac-os-x.md
OpenCV Video Writer on Mac OS X

OpenCV Video Writer on Mac OS X

Fourcc tests:

  • x : not worked
  • o: worked (able to open in quicktime but need conversion)
  • oo: worked well (preview worked but wrong aspect ratio)
  • ooo: worked very well (preview worked, and aspect ratio’s right)

Size was measured by recording a static stream at 20fps over 6 seconds at a resolution of 640 x 360.

@chrisidefix
chrisidefix / gist:f35c3fb0572e6bfc9ba1
Created September 14, 2015 15:26
Common errors traces observed when running python [2.7.10] wrapper occmodel [0.10.0] ( for OCE (OpenCascade) running under OS X (10.11)
########
calling: Face().createConstrained
########
0 libTKMath.10.dylib 0x0000000103cce9b5 BSplCLib::LocateParameter(int, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, double, bool, int&, double&) + 69
1 libTKMath.10.dylib 0x0000000103ce0858 PrepareEval(double&, int&, int&, bool&, int, bool, TColgp_Array1OfPnt2d const&, TColStd_Array1OfReal const&, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, BSplCLib_DataContainer_2d&) + 72
2 libTKMath.10.dylib 0x0000000103ce07a9 BSplCLib::D0(double, int, int, bool, TColgp_Array1OfPnt2d const&, TColStd_Array1OfReal const&, TColStd_Array1OfReal const&, TColStd_Array1OfInteger const&, gp_Pnt2d&) + 137
3 libTKG2d.10.dylib 0x0000000102b8210f Geom2d_BSplineCurve::LocalD0(double, int, int, gp_Pnt2d&) const + 223
4 libTKG2d.10.dylib 0x0000000102b82018 Geom2d_BSplineCurve::LocalValue(double, int, int) const + 24
5 libTKG2d.10.dylib 0x0000000102b9c2bf Geom2dAdaptor_C