enable MMALPythonSource to send MJPEG and H264 streams#460
Open
barney-NG wants to merge 4 commits intowaveform80:masterfrom
Open
enable MMALPythonSource to send MJPEG and H264 streams#460barney-NG wants to merge 4 commits intowaveform80:masterfrom
barney-NG wants to merge 4 commits intowaveform80:masterfrom
Conversation
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. |
|
hey @waveform80! any news on this topic? i'd be interested in an example to send a MJPEG stream to the MMAL chain. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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...