Nils Zottmann

Results 19 comments of Nils Zottmann

> So the candle mode kinda broke this. I was thinking of something like a double touch to enable candle mode. What do you think? Hi, you are right, my...

I can confirm that. Tried also max. cpu stress without difference. For memory, I have 2/3 of cma and half of system memory free while the application is running.

I do not use audio, but I get this error message also sporadically using the `PyavOutput`: ``` 2025-08-08 19:58:54,266 DEBUG - Discarded non monotonically increasing dts: 19484976901

You can try pyav to write .mp4 directly from python, it has advantages with handling timestamps: https://github.com/raspberrypi/picamera2/blob/fb031cb49cb2af4dab7439be7a90784c9d3db1ab/picamera2/outputs/pyavoutput.py#L15-L18 Example: https://github.com/raspberrypi/picamera2/blob/main/examples/pyav_capture.py

Sorry, thought you were using ffmpeg explicit at some point. So the PyavOutput is giving you the > Timestamps are unset in a packet for stream 0. This is deprecated...

I encountered a similar problem which is probably caused by the same bug. After stripping down my code to a minimal example I also noticed the CameraManager and preview event...

Some test reports: - ✅ Kernel 6.1.77, https://github.com/raspberrypi/firmware/commit/12af703dd07d7721c1f2f58c6f71d9fe66270838 2023-10-24 - ❌ Kernel 6.6.22, https://github.com/raspberrypi/firmware/commit/9f24f4bc2bdd07ffd158cfbb4bce88a2efc4c1f5 2024-03-19

@djhanove While testing the new firmware, I discovered a different issue, which looks similar at a first glance, but is different. With the affected firmware, my complex application stopped after...

Thank you, that sounds reasonable and explains what I observed. Skipping frames seems to be the only option for the encoder if exceeding the bitrate with max compression. I can...

> You could have a look at this PR [#1236](https://github.com/raspberrypi/picamera2/pull/1236) and maybe try that branch. I believe it will fix the lock-ups and create valid mp4 files. > > Of...