RPi5, 8GB, std Bookworm 64 bit image. Camera module 3 (reg, wide, noIR variants)
I run this cmd in terminal: libcamera-vid -t 10000 -o test.h264
Resulting vid file has only 1 frame.
I have tried the following:
- Cmd: libcamera-hello -t 0 (works fine; opens preview window w/high quality live vid)
- libcamera-jpeg -o test.jpg (works fine)
- libcamera-vid -t 10000 -o test.h264 (Fails: produces the vid file, but it only has 1 frame; no errors printed in terminal)
I have multiple RPi5's, cameras, cables, and 3 different Hailo AI hats, and have tried this cmd on many different combos, same result.
The Hailo demo s/w works fine, tho it's all in a live window, no vid files are captured.
I have tried combos of both SD Card and NVME-based OS installs.
I have tried independent system (kybd/mouse/ps/cam, no ethernet or wifi), remote cntrl w/RVNC via ethernet & wifi... Same result.
I have tried running the cmd from a venv, same result.
I have tried a variety of approaches in a python script, same result.
Seems like I'm doing something fundamentally wrong, because with all this hardware in various combos, it should work. I'm running out of ideas. Perhaps a terminal-only (lite) OS build?
Has anyone seen this? Any tips what I can try next? Trying to create a video security system, but this stops me cold.
TIA,
g
I run this cmd in terminal: libcamera-vid -t 10000 -o test.h264
Resulting vid file has only 1 frame.
I have tried the following:
- Cmd: libcamera-hello -t 0 (works fine; opens preview window w/high quality live vid)
- libcamera-jpeg -o test.jpg (works fine)
- libcamera-vid -t 10000 -o test.h264 (Fails: produces the vid file, but it only has 1 frame; no errors printed in terminal)
I have multiple RPi5's, cameras, cables, and 3 different Hailo AI hats, and have tried this cmd on many different combos, same result.
The Hailo demo s/w works fine, tho it's all in a live window, no vid files are captured.
I have tried combos of both SD Card and NVME-based OS installs.
I have tried independent system (kybd/mouse/ps/cam, no ethernet or wifi), remote cntrl w/RVNC via ethernet & wifi... Same result.
I have tried running the cmd from a venv, same result.
I have tried a variety of approaches in a python script, same result.
Seems like I'm doing something fundamentally wrong, because with all this hardware in various combos, it should work. I'm running out of ideas. Perhaps a terminal-only (lite) OS build?
Has anyone seen this? Any tips what I can try next? Trying to create a video security system, but this stops me cold.
TIA,
g
Statistics: Posted by ghranek — Sun Jan 05, 2025 11:13 pm