5

I am using the following command to capture and write jpegs to a tmp directory which end up getting streamed over the network

raspistill -w 640 -h 480 -q 5 -o /tmp/stream/pic.jpg -tl 100 -t 9999999 -th 0:0:0 &

When I execute this command a large image preview comes up on screen which I cannot seem to dismiss without killing the raspistill process.

How can I use raspistill without showing the preview window?

1 Answer 1

6

Use it with -n flag or --nopreview flag. Ie, your command should look like this.

raspistill -w 640 -h 480 -n -q 5 -o /tmp/stream/pic.jpg -tl 100 -t 9999999 -th 0:0:0 &

For more raspistill related options, check out this.

Hope it helps.

2
  • I think it's --nopreview, one word?
    – goldilocks
    Jun 30, 2015 at 14:36
  • @goldilocks Thanks for pointing out. :-) it should be without spaces like you said. Edited. Jun 30, 2015 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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