Skip to content

enable MMALPythonSource to send MJPEG and H264 streams#460

Open
barney-NG wants to merge 4 commits intowaveform80:masterfrom
barney-NG:master
Open

enable MMALPythonSource to send MJPEG and H264 streams#460
barney-NG wants to merge 4 commits intowaveform80:masterfrom
barney-NG:master

Conversation

@barney-NG
Copy link

@barney-NG barney-NG commented Jan 16, 2018

With this changes I am able to play h264 files with the given example.

There is still an output buffer overrun. (Some channel is missing a 'block=True' probably)
It's nice to see the bird from the userland test.h264 falling the first time :-)
And very educational to see the effect of missing frames...

@waveform80
Copy link
Owner

Sorry - this isn't quite the intended usage of MMALPythonSource; it's really meant to be sub-classed for usage. But I take the point there should definitely be more examples of mmalobj usage in 1.14 (and I'm intrigued that buf.length needs setting - I'll have a dig into this for 1.14). Many thanks for the PR anyway, it'll definitely help in forming some new examples! I'll leave this open for now until I get to it in the course of 1.14.

@waveform80 waveform80 added this to the 1.14 milestone Sep 29, 2018
@waveform80 waveform80 self-assigned this Sep 29, 2018
@andiwand
Copy link

andiwand commented Jan 5, 2019

hey @waveform80! any news on this topic? i'd be interested in an example to send a MJPEG stream to the MMAL chain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants