Skip to content

[BUG]rpicam-vid file name splitting / segmentation does not work #795

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

Closed
Kletternaut opened this issue Apr 4, 2025 · 3 comments
Closed

Comments

@Kletternaut
Copy link

Describe the bug

rpicam-vid -t 100000 --segment 10000 -o chunk%04d.h264
does not work, it creates one file named chunk%04d.h264

Like described in the documentation here
Examples:
rpicam-vid -t 100000 --segment 10000 -o chunk%04d.h264
should records a 100 second file in 10 second segments, where each file includes an incrementing four-digit counter padded with leading zeros: e.g. chunk0001.h264, chunk0002.h264, etc

`rpicam-still --version

rpicam-apps build: v1.6.0 6106d93 04-04-2025 (16:14:10)

rpicam-apps capabilites: egl:1 qt:1 drm:1 libav:1

libcamera build: v0.4.0+53-29156679
`

@naushir
Copy link
Collaborator

naushir commented Apr 22, 2025

Is this running on a Pi5? If so, unfortunately, because of the use of libav for video encoder, these features are not currently implemented.

@Kletternaut
Copy link
Author

Yes, it's on a Raspberry Pi 5. I was just wondering if I'm too stupid to find the correct parameters. A small hint in the documentation might save some users a lot of time, right?!

@naushir
Copy link
Collaborator

naushir commented Apr 23, 2025

Sorry, I should have clarified - the functionality did exist for the libav backend, but was buggy and unreliable. So we've removed it temporarily until we can revisit and implement it correctly.

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