This command works in command line but doesn't in autostart:
raspivid -t 10000 --segment 2000 --output video_%d.h264
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityThis command works in command line but doesn't in autostart:
raspivid -t 10000 --segment 2000 --output video_%d.h264
Often that kind of problem is because of environment variables.
I would probably change the autostart command to:
strace -o /tmp/strace.out taspivid -t 10000 ....
Then look through strace.out to see if what it's unhappy about.