---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Debug Assertion Failed!
Program: D:\CAXA\練習\VideoTest\x64\Release\VideoTest.exe
File: minkernel\crts\ucrt\src\appcrt\convert\isctype.cpp
Line: 36
Expression: c >= -1 && c <= 255
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
中止(A) 重試(R) 忽略(I)
---------------------------
新手學opencv,請教一下打開視頻 報這個錯誤,查了很多資料,也試了很多方法,都沒有明確的答案,
求教各路大神,這是什么問題,是我的opencv庫缺擴展模塊嗎
uj5u.com熱心網友回復:
圖片打開運行處理都是正常的,視頻不行,編譯能通過,運行報錯,應該還是缺什么uj5u.com熱心網友回復:
上邊問題已處理,顯示是另一個問題,在VideoCapture 呼叫open函式打開視頻,總是回傳false,打開失敗,網上說缺少視頻的dll,opencv_ffmpeg.dll,但是我考過去也不行,求教各路大神uj5u.com熱心網友回復:
請問樓主minkernel\crts\ucrt\src\appcrt\convert\isctype.cpp,這個問題怎么解決,我也遇到了uj5u.com熱心網友回復:
opencv_videoio###.dllopencv_imgcodecs###.dll
opencv_videoio_ffmpeg###.dll
opencv_videoio_ffmpeg###_64.dll
其中###對應opencv的版本號
uj5u.com熱心網友回復:
opencv_ffmpeg###.dllopencv_ffmpeg###_64.dll
uj5u.com熱心網友回復:
把這些dll拷貝到你exe程式所在檔案夾
和
VS IDE中的專案、屬性、配置屬性、除錯、作業目錄:對應檔案夾
下各一份。
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/278993.html
標籤:工具平臺和程序庫
