Go to advanced search

by aire39
Tue Nov 20, 2018 6:15 pm
Forum: C/C++
Topic: 720p bitrate limitation (MMAL)?
Replies: 2
Views: 2261

720p bitrate limitation (MMAL)?

I'm running into an issue where setting the bitrate for a 1280x720 video to 4mbps is seeemingly ignored. The video encodes at most ~1.7mbps. To be sure this is not some issue with my code I used raspivid to test this and it gives about the same result. Where I set the bitrate to 4 or 10mbps but it n...
by aire39
Tue Oct 30, 2018 2:46 am
Forum: Graphics, sound and multimedia
Topic: VC4 HW encode yuv to jpeg
Replies: 0
Views: 725

VC4 HW encode yuv to jpeg

I'm using the HW encode (vc.ril.image_encode) to produce a jpeg file. I can do this just fine with RGB24 and RGBA. After some testing and getting familiar with mmal I wanted to use YUV data as the input but I'm having an issue with getting YUV(I420) to work. Does the input port accept I420 as an acc...
by aire39
Tue Oct 23, 2018 9:36 pm
Forum: C/C++
Topic: Stuck using MMAL to encode image from cpu data buffer
Replies: 2
Views: 1880

Re: Stuck using MMAL to encode image from cpu data buffer

I solved my own problem and just in case anyone needs the solution. I needed to send a buffer to the output port before I send the input buffer. ... * get buffer from the output ports pool * send buffer * get buffer from the input ports pool * send buffer * wait for input port callback to complete *...
by aire39
Mon Oct 22, 2018 9:46 pm
Forum: C/C++
Topic: Stuck using MMAL to encode image from cpu data buffer
Replies: 2
Views: 1880

Stuck using MMAL to encode image from cpu data buffer

I'm trying to pass a bitmap rgb image data buffer to the encoder component that will compress the data to jpeg. This does not rely on the camera component and is only the encoder component. I have these steps... * create the encoder component * set the input port format to the width, height, and enc...

Go to advanced search