技术研究之OpenCV
1.Error submitting a packet to the muxer: End of file
在进行rtmp直播推流和拉流的时候,出现了这个问题。
参考文章:
【1】.FFMPEG error submitting a packet to the muxer
【2】.mark:ffmpeg的av_interleaved_write_frame写失败
2.Rebuild the library with Windows, GTK+ 2.x or Cocoa support
在 windows 上调用 cv2.imshow,出现了错误:OpenCV(4.10.0) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window.cpp:1301: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function ‘cvShowImage’
【解决方案】
1 | pip install opencv-contrib-python |
参考文章:
【1】.cv2.imshow error: The function is not implemented. Rebuild the library with Windows…
