I Google searched the FOURCC thing, couldn’t find an official statement besides a general disclaimer in docs of OpenCV 3.0 saying that “FourCC is a 4-byte code used to specify the video codec. The list of available codes can be found in fourcc.org. It is platform dependent.”
OpenCV: Getting Started with Videos
FI also went to OURCC.org, it has a list of ton of codecs to choose, I tried “X264”, “H264”, “MP4V”, “mp4v” . . .none of those worked on TX2.
Best Online Casinos - Four Countries Casinos
Some people hinted to give up on cv2.VideoWriter_fourcc(). Alternatively, plug in the ASCII number directly to cv2.VideoWriter(). So, here is what I tried:
voObj = cv2.VideoWriter('output.mp4', 0x00000021, 15.0, (1280,360))
while True:
. . .
voObj.write(dispBuf)
And, it works!