Comments (8)
What happens if you run just the first part:
raspimjpeg.py -d -w 640 -h 480 -r 15
?
from streameye.
Thank you for your quick response.
pi@raspberrypi:/streameye/extras $ raspimjpeg.py -d -w 640 -h 480 -r 15/streameye/extras $ python3 raspimjpeg.py -d -w 640 -h 480 -r 15
bash: raspimjpeg.py: command not found
pi@raspberrypi:
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.
Don't run it with python3 as it probably won't work.
from streameye.
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.
Well, where is your raspimjpeg.py
?
from streameye.
Use python2 raspimjpeg.py
or ./raspimjpeg.py
.
from streameye.
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.
You're welcome.
from streameye.
Related Issues (20)
- Implementing OpenCV HOT 3
- [raspimjpeg.py] TypeError raised on startup HOT 2
- Advice for systemd unit file? HOT 2
- Multiple streams one server HOT 1
- Getting this after keyboard interruption HOT 1
- Missing stdio.h HOT 1
- need to make a stream extension for some programs HOT 1
- Can't get example to work HOT 4
- Slow Wifi vs MotionEyeOS
- Network Share Not Connecting
- Feature Request: SIGUSR1 on --capture-movie to capture a still image
- raspimjpeg.py - two line changes HOT 1
- Annotation text overlay / stream another image ?
- Audio Broadcast HOT 2
- Feature request. URL path
- Audio output over stream
- not all data could be written / failed to write jpeg data HOT 3
- Add support for serving single JPEG snapshot. HOT 2
- Really slow framerate... HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streameye.