Ask Your Question

Revision history [back]

click to hide/show revision 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/'!???'

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/'!???'

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/'!???'