|
|
@ -3,7 +3,7 @@
|
|
|
|
package ffmpeg
|
|
|
|
package ffmpeg
|
|
|
|
|
|
|
|
|
|
|
|
// #cgo !windows pkg-config: opencv4
|
|
|
|
// #cgo !windows pkg-config: opencv4
|
|
|
|
//#cgo LDFLAGS: -lavformat -lavutil -lavcodec -lavresample -lswscale
|
|
|
|
// #cgo LDFLAGS: /usr/local/lib/libavcodec.a /usr/local/lib/libavformat.a /usr/local/lib/libavutil.a /usr/local/lib/libswscale.a /usr/local/lib/libswresample.a -lm -lz -llzma
|
|
|
|
// #cgo CXXFLAGS: --std=c++1z
|
|
|
|
// #cgo CXXFLAGS: --std=c++1z
|
|
|
|
// #cgo windows CPPFLAGS: -IC:/opencv/build/install/include
|
|
|
|
// #cgo windows CPPFLAGS: -IC:/opencv/build/install/include
|
|
|
|
// #cgo windows LDFLAGS: -LC:/opencv/build/install/x64/mingw/lib -lopencv_core420 -lopencv_face420 -lopencv_videoio420 -lopencv_imgproc420 -lopencv_highgui420 -lopencv_imgcodecs420 -lopencv_objdetect420 -lopencv_features2d420 -lopencv_video420 -lopencv_dnn420 -lopencv_xfeatures2d420 -lopencv_plot420 -lopencv_tracking420 -lopencv_img_hash420 -lopencv_calib3d420
|
|
|
|
// #cgo windows LDFLAGS: -LC:/opencv/build/install/x64/mingw/lib -lopencv_core420 -lopencv_face420 -lopencv_videoio420 -lopencv_imgproc420 -lopencv_highgui420 -lopencv_imgcodecs420 -lopencv_objdetect420 -lopencv_features2d420 -lopencv_video420 -lopencv_dnn420 -lopencv_xfeatures2d420 -lopencv_plot420 -lopencv_tracking420 -lopencv_img_hash420 -lopencv_calib3d420
|
|
|
|