pyh264decode
pyh264decode copied to clipboard
Specify returned pixel format.
I have no issue with the default pixel format YUV420p, but should you not be able to specify this explicitly? if libavcodec or x264 changes the default pixel format, you wouldn't know what had happened. At least the returned pixel type should be specified as a property, so that it can be used in further processing.
Great module by the way, using it to read from my Foscam HD cameras.
FYI I am feeding it h264 annex-b (not avcc) and it decodes fine.