Skip to content

[BUG] rpicam-vid --initial option not working at all #796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
EwingKang opened this issue Apr 7, 2025 · 1 comment
Open

[BUG] rpicam-vid --initial option not working at all #796

EwingKang opened this issue Apr 7, 2025 · 1 comment

Comments

@EwingKang
Copy link

Describe the bug
--initial pause for rpicam-vid does not prevent video from recording and timeout.
For example the following command finishes in ~7s and produces a correct length video without waiting for the user to press "Enter".

./rpicam-vid --camera 0 -n --frames 200 --width 1640 --height 1232 --level 4.2 --codec libav -o cam0_server.mp4 --initial pause -k

Neither -k nor --signal work.

Bug report
report_initial.txt

Additional context
I'm trying to use it with --sync and --signal option. I want to would start a client, start a server, and trigger the server/client with SIGUSR1.
Reference document: https://www.raspberrypi.com/documentation/computers/camera_software.html#rpicam-vid

@naushir
Copy link
Collaborator

naushir commented Apr 23, 2025

Unfortunately, this is because of the use of the libav backend, which does not correctly support pause/split/segment, etc correctly. We will look into fixing this hopefully soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants