1 | initial version |
I've seen the type of errors you mentioned. I believe this has something to do with lack of codec-container support in OpenCV. Try changing your output video filename to end in ".avi". See further discussion in the thread Videowriter recording MP4 + X264 (OpenCV 3.1).
OpenCV: FFMPEG: tag 0x34363258/'X264' is not supported with codec id 28 and format 'mp4 / MP4 (MPEG-4 Part 14)' OpenCV: FFMPEG: fallback to use tag 0x00000021/'!???'
2 | No.2 Revision |
I am leaning towards the optical flow calculation, but you should add duration calculations to various operations to narrow down what operations are taking more time.
I've seen the type of errors you mentioned. I believe this has something to do with lack of codec-container support in OpenCV. Try changing your output video filename to end in ".avi". See further discussion in the thread Videowriter recording MP4 + X264 (OpenCV 3.1).
OpenCV: FFMPEG: tag 0x34363258/'X264' is not supported with codec id 28 and format 'mp4 / MP4 (MPEG-4 Part 14)' OpenCV: FFMPEG: fallback to use tag 0x00000021/'!???'
3 | No.3 Revision |
I am I'm leaning towards the optical flow calculation, but you should add duration calculations to various operations to narrow down what operations are taking more time.
I've seen the type of errors you mentioned. I believe this has something to do with lack of codec-container support in OpenCV. Try changing your output video filename to end in ".avi". See further discussion in the thread Videowriter recording MP4 + X264 (OpenCV 3.1).
OpenCV: FFMPEG: tag 0x34363258/'X264' is not supported with codec id 28 and format 'mp4 / MP4 (MPEG-4 Part 14)' OpenCV: FFMPEG: fallback to use tag 0x00000021/'!???'