-
Notifications
You must be signed in to change notification settings - Fork 352
Open
Description
Hi Dave,
first of all: thank you for this excellent peace of work!
By writing a h264 decoder I tried to use MMALPythonSource as simple method to create a source stream for the decoder pipeline.
I think I found 3 different errors (or may be I just used it wrong...)
- Both video formats are not included in the supported_formats property of the MMALPythonPort class. (I added them manually in my installation to dig deeper in the stuff)
- The copy_from() helper raises an error. (may be I added the formats not correctly) source.outputs[0].connect(decoder.inputs[0]) raises an error when source.outputs[0].format is not set explicitly.
- source.connection.enable() is not supported.
- MMALPythonSource.send_buffer() is raising: PiCameraMMALError(mmal.MMAL_EAGAIN, 'no buffers available')
Thank yo for any help!
Here my code I used for testing:
mmal_h264_decoder_example.py.txt
Reactions are currently unavailable