Posts: 1
Joined: Sun Mar 19, 2017 12:49 pm

Recover/Display framebuffer C program

Sun Mar 19, 2017 12:57 pm

Hello everyone,

I've been trying for 2 days to create a C framebuffer program that recovers a video stream from the Raspberry Pi 3 camera and displays it on the HDMI (Raspberry) output. For this project I aim to create my own application, so I do not have the right to use vlc, raspistill etc ... But i don't know how to do :(

Can you give me an example of a program?

Thank you in advance !

User avatar
Posts: 6995
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Recover/Display framebuffer C program

Mon Mar 20, 2017 2:05 pm

For the camera I guess you have two choices ( as far as I know ):
- Either use the MMAL interface and use RaspiVid as an example implementation. ... RaspiVid.c
- Activate V4L2 driver and use the V4L2 API:

Return to “General discussion”