CinePI: a high-end film camera built on Raspberry Pi

This #MagPiMonday, we’re revisiting CinePI, a brilliant open source project using Raspberry Pi as a high-end film camera. We first talked about it in 2021, and now an updated version features in the latest issue of The MagPi, so let’s see how far it has come.

Using a Raspberry Pi HQ Camera and a good lens allows for great footage

Whenever a new Camera Module, or updated software for existing camera hardware comes out, we dream of all the cool things we could do with it. While custom cinematography and automated processes are high on our list, making a cinematic-quality camera is where Csaba Nagy went with CinePI.

“CinePI is an open-source project that can transform a Raspberry Pi into a high-end cinema camera,” Csaba tells us. “Its standout feature is the ability to record 2K RAW Cinema DNG video at frame rates up to 50 fps with 12-bit colour depth. This makes CinePI an ideal camera for capturing cinematic-quality footage in various projects, such as short films, commercial work, and YouTube videos.”

You have full access to Raspberry Pi ports, as well as other specialist recording ports

2K is basically 1080 p. However, at a 12-bit colour depth, that is astonishing – most stuff you see will be at 8- or 10-bit colour.

“Almost a decade ago, I began using a professional video camera, the Blackmagic Cinema Camera, for my film-making hobby,” Csaba continues. “The steep learning curve that accompanied the camera forced me to gain an in-depth understanding of the processes involved in creating cinematic images, aspects that most consumer and amateur camera gear obscure from users in the name of convenience and simplicity. As a result, I spent countless hours learning about image sensors, codecs, bit-depth, dynamic-range, colour theory, and other related concepts, which allowed me to gain a deeper understanding of camera systems and how they function.”

All the advanced options are surfaced for you to tweak with

Using this knowledge, Csaba went about trying to build a low-cost, open-source camera that everyone could use.

Software first

Csaba chose Raspberry Pi for this project due to community and software support that comes with it – apparently some of the code is based on stuff that started life on official projects and tutorials.

Footage of an aquarium has been used in tests

“The development/build process for the most recent version of the CinePI began in September of 2022, where initially the core software was being tested/developed,” Csaba says. “The physical/hardware design quickly came together in January of this year, where the body was 3D-printed and all bits of hardware were assembled together into the final end-result.

Shadow and colour data is available in RAWs, so you can change the look of your footage easily

“There were many modifications that were made to individual components in order to have all the hardware co-operate with each other. The greatest hurdle to overcome was the use of a HyperPixel 4.0 Square display which utilises nearly every GPIO pin of Raspberry Pi, meaning all extra hardware would need to interface with Raspberry Pi using a single I2C bus. This included an RTC, an I2C I/O expander, and power management board, which all had to connect via this single bus.”

Film is recorded RAW at extremely high quality, allowing you to colour-grade normally, or even set your own specific colour tone for your project.

Quiet on set

The result not only looks very cool but is incredibly functional, being able to record RAW video at 50 fps and 12-bit colour depth – remember that films run at 24 fps, so this makes for an excellent working file.

“It delivers better image quality than the Raspberry Pi’s built-in image processing engine, which uses H.264 compression,” Csaba explains. “Users can customise the camera with their own external sensors, buttons, HATs, and I/O. Real-time image monitoring and adjustments are possible with an attached HDMI monitor or compatible LCD touchscreen… CinePI records video as hundreds of frames in Adobe Cinema DNG format, which can be edited using software like DaVinci Resolve.

Not only is it very functional, it also looks great in our opinion

“The test footage I have captured demonstrates that the 12-bit RAW codec retains a significant amount of colour information in the shadows and highlights, resulting in superior quality compared to what the Raspberry Pi can offer by default… It’s competitive with cameras that cost orders of magnitude more than the parts required to build a CinePI.”

Csaba is not done yet, and wants to add a larger sensor, a HAT that handles a lot of the extra functions, and exposure assist tools – stuff that is beyond our understanding in general, and beyond Csaba’s skills to currently implement.

It’s not quite as easy as point-and-shoot, but that’s by design! Using the touchscreen, you can confirm your settings before starting to record with the physical button up top.

“[I’m] always looking for more people to get involved with the project,” he finishes – head to if you want to help.

The MagPi #128 out NOW!

You can grab the brand-new issue right now from Tesco, Sainsbury’s, Asda, WHSmith, and other newsagents, including the Raspberry Pi Store in Cambridge. You can also get it via our app on Android or iOS.

magpi 128 cover

You can also subscribe to the print version of The MagPi. Not only do we deliver it globally, but people who sign up to the twelve-month print subscription get a FREE Raspberry Pi Zero Pico W!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Server Status

Aradippou Chat Larnaca Nicosia

Chat Links

Official Links.


Alternative Mirror Links.

1. KiwiIRC 1.
2. KiwiIRC 2.

Other Web Clients.

1. IrcCloud.

Recent Posts

Related Posts:


Follow me on Mastodon

Super Club Radio

Mighty Deals


CyIRC Tweets