[問題] OpenCV 無法讀取 .mp4檔
開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Win7 + VS2008
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
OpenCV 2.1
問題(Question):
如題,我沒有辦法讀取.mp4檔,
餵入的資料(Input):
.mp4檔
錯誤結果(Wrong Output):
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x78cf80]multiple edit list entries, a/v desync
might
occur, patch welcome
Last message repeated 1 times
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
程式碼(Code):(請善用置底文網頁, 記得排版)
CvCapture * cap=cvCaptureFromAVI(AviFileName);
IplImage * frame = cvQueryFrame(cap);
補充說明(Supplement):
感謝各位大大了
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.40.104.19
→
12/10 22:50, , 1F
12/10 22:50, 1F
→
12/10 22:51, , 2F
12/10 22:51, 2F
推
12/11 00:14, , 3F
12/11 00:14, 3F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章