-1

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, 2020 at 8:40
  • 1
    ... and maybe a full path to the destination file? Aug 5, 2020 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, 2020 at 12:10
  • What autostart file do you mean?
    – Ingo
    Aug 8, 2020 at 11:12

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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