0

This command works in command line but doesn't in autostart:

raspivid -t 10000 --segment 2000  --output video_%d.h264
4
  • 2
    Probably need full path to raspivid – CoderMike Aug 5 '20 at 8:40
  • 1
    ... and maybe a full path to the destination file? – Jaromanda X Aug 5 '20 at 8:59
  • 1
    I don't know where you want to write this command and how to activate it ... but it may help you to describe the different methods for autostart. dexterindustries.com/howto/… – versace Aug 5 '20 at 12:10
  • What autostart file do you mean? – Ingo Aug 8 '20 at 11:12
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.