Encode and decode FourCC codes, in Python
Convert the string "H264" to an integer code:   sum([ord(c) &lt;&lt; (i * 8) for i, c in...
Tags: python, video, opencv