FFMPEG crash with a GoPro video
I'm using the binaries of OpenCV 2.4.3 x64 for Windows(VS2010) and it crashes when opening a MPEG4 video from a GoPro camera. In particular, in a not debuggable position inside opencv_ffmpeg243_64.dll in the read_InputMediaStream_FFMPEG() function. I've tried to play it with the vanilla FFMPEG 1.0 version (ffplay.exe, see picture below) and it works perfectly. Is this a bug of the OpenCV wrapper? Or OpenCV uses an old version of FFMPEG?
Thanks in advance for any help! Marco
I narrowed it down to streams with AAC audio. I used one captured with iPhone4S. When I stripped the audio, the program didn't crash. I have the same configuration (OpenCV 2.4.3 x64 for Windows VS2010, also verified that the problem persists in 2.4.4 beta). The problem doesn't exist with 32-bit libraries. I used lkdemo example to reproduce the problem. When running the x64 program from command line, it runs fine. When launching it from VS (either as Debug or Run), access violation exception is raised in cvCreateFileCapture_FFMPEG @ opencv_ffmpeg243_64.dll: Unhandled exception at 0x66de1f30 in cpp-example-lkdemo.exe: 0xC0000005: Access violation reading location 0xffffffffffffffff.
I am also having this issue; 64bit and try to open movie with AAC audio stream causes crash in opencv_ffmpeg243_64.dll.
Ok, so I'm hitting what appears to be exactly this problem (with the same only with AAC) characteristics. Did any of you find a resolution to this problem? Thanks!
Until now, it seems to be actual issue. I faced this as well while working with GoPro files. Deleting audio with ffmpeg helped, but this is not the real solution.