It’s been a long time since I needed to create an application to write videos to file with OpenCV, so when I sat down to compose the code for this blog post, I was very surprised (and super frustrated) with how long it took me to put together the example. You see, while the functions used to create video files with OpenCV such as cv2.VideoWriter, cv2.VideoWriter_fourcc, and cv2.cv.FOURCC are quite well documented, what isn’t nearly as documented is the combination of codec + file extension required to successfully write the video file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |