Giter Site home page Giter Site logo

streameye dependancys about streameye HOT 8 CLOSED

ccrisan avatar ccrisan commented on September 8, 2024
streameye dependancys

from streameye.

Comments (8)

ccrisan avatar ccrisan commented on September 8, 2024

What happens if you run just the first part:

raspimjpeg.py -d -w 640 -h 480 -r 15

?

from streameye.

coop44483 avatar coop44483 commented on September 8, 2024

Thank you for your quick response.

pi@raspberrypi:/streameye/extras $ raspimjpeg.py -d -w 640 -h 480 -r 15
bash: raspimjpeg.py: command not found
pi@raspberrypi:
/streameye/extras $ python3 raspimjpeg.py -d -w 640 -h 480 -r 15
2018-04-10 14:19:15: INFO: raspimjpeg.py 0.8
2018-04-10 14:19:15: INFO: hello!
2018-04-10 14:19:15: DEBUG: initializing camera
2018-04-10 14:19:15: DEBUG: using resolution 640x480
2018-04-10 14:19:15: DEBUG: using framerate = 15
2018-04-10 14:19:16: DEBUG: using vflip = false
2018-04-10 14:19:16: DEBUG: using hflip = false
2018-04-10 14:19:16: DEBUG: using rotation = 0
2018-04-10 14:19:16: DEBUG: using brightness = 50
2018-04-10 14:19:16: DEBUG: using contrast = 0
2018-04-10 14:19:16: DEBUG: using saturation = 0
2018-04-10 14:19:16: DEBUG: using sharpness = 0
2018-04-10 14:19:16: DEBUG: using exposure compensation = 0
2018-04-10 14:19:16: DEBUG: using video stabilization = false
2018-04-10 14:19:16: DEBUG: using denoise = false
2018-04-10 14:19:16: DEBUG: using image effect = none
2018-04-10 14:19:16: DEBUG: camera initialized
2018-04-10 14:19:16: DEBUG: starting capture
Traceback (most recent call last):
File "raspimjpeg.py", line 325, in
run()
File "raspimjpeg.py", line 312, in run
use_video_port=not options.stills, thumbnail=None, quality=options.quality)
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 1519, in capture_sequence
encoder.wait()
File "/usr/lib/python3/dist-packages/picamera/encoders.py", line 398, in wait
raise self.exception
File "/usr/lib/python3/dist-packages/picamera/encoders.py", line 267, in _callback
stop = self._callback_write(buf)
File "/usr/lib/python3/dist-packages/picamera/encoders.py", line 1054, in _callback_write
super(PiMultiImageEncoder, self)._callback_write(buf, key)
File "/usr/lib/python3/dist-packages/picamera/encoders.py", line 298, in _callback_write
written = output.write(buf.data)
TypeError: write() argument must be str, not bytes

from streameye.

ccrisan avatar ccrisan commented on September 8, 2024

Don't run it with python3 as it probably won't work.

from streameye.

coop44483 avatar coop44483 commented on September 8, 2024

If you look at the first line of the previous comment, I did try it without Python3.

pi@raspberrypi:/streameye/extras $ raspimjpeg.py -d -w 640 -h 480 -r 15
bash: raspimjpeg.py: command not found

Then I ran it again with Python3

from streameye.

ccrisan avatar ccrisan commented on September 8, 2024

Well, where is your raspimjpeg.py?

from streameye.

ccrisan avatar ccrisan commented on September 8, 2024

Use python2 raspimjpeg.py or ./raspimjpeg.py.

from streameye.

coop44483 avatar coop44483 commented on September 8, 2024

Well that seems to have fixed it. I would have sworn that I tried ./ without success but I must have been wrong!

Thank you for your help. As you can probably tell I am a nooby to linux. Struggling with the conversion from windows! So much to learn. So little time ( and brain cells).
Again thank you.

from streameye.

ccrisan avatar ccrisan commented on September 8, 2024

You're welcome.

from streameye.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.