cherishman2005 / rtc

webrtc websocket GCC NACK FEC
MIT License
14 stars 0 forks source link

OpenCV: FFMPEG: tag 0x7634706d/'mp4v' is not supported with codec id 13 and format 'mp4 / MP4 (MPEG-4 Part 14)' #49

Open cherishman2005 opened 2 years ago

cherishman2005 commented 2 years ago
# node video_decoder.js 
OpenCV: FFMPEG: tag 0x7634706d/'mp4v' is not supported with codec id 13 and format 'mp4 / MP4 (MPEG-4 Part 14)'
OpenCV: FFMPEG: fallback to use tag 0x00000020/' ???'
decode end, exiting.
cherishman2005 commented 2 years ago
brew update
brew uninstall opencv
brew install cmake
brew upgrade cmake
npm i -g node-gyp
npm uninstall -g opencv-build
npm uninstall -g opencv4nodejs
export OPENCV4NODEJS_AUTOBUILD_FLAGS=-DBUILD_LIST=core,imgproc,imgcodecs,videoio,highgui,video,calib3d,features2d,objdetect,dnn,ml,flann,photo,stitching,gapi
npm i -g opencv4nodejs

https://support.katalon.com/hc/en-us/articles/4410772406681-Cannot-install-opencv4nodejs-for-Image-based-Testing