jacksonliam / mjpg-streamer Goto Github PK
View Code? Open in Web Editor NEWFork of http://sourceforge.net/projects/mjpg-streamer/
Fork of http://sourceforge.net/projects/mjpg-streamer/
Http output assumes write completes in one go which isn't always true. Causes corrupted (unfinished) frames on busy networks.
Http is so nice.But I need to use rtsp for my project.
Can you help me with some suggestion?
Thank so much.
I'm running a fresh installation of latest Raspbian Jessie Lite in my Raspberry PI2
I've an external USB webcam connected to it. It's a :
[ 6.678754] Linux video capture interface: v2.00
[ 6.736158] usb 1-1.5: 3:1: cannot get freq at ep 0x84
[ 6.770614] usbcore: registered new interface driver snd-usb-audio
[ 6.772477] uvcvideo: Found UVC 1.00 device Trust Webcam (0c45:6340)
[ 6.792758] input: Trust Webcam as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/input/input0
[ 6.793149] usbcore: registered new interface driver uvcvideo
[ 6.793154] USB Video Class driver (1.1.1)
It works well with other Raspbian sw like 'fswebcam' (and other).
But I need a light web streamer software and mjpeg-streamer works fine. But NOT YOURS :-(
I've made first installation reading this guide: http://www.acmesystems.it/video_streaming
I've downloaded their (old) source http://terzo.acmesystems.it/download/webcam/mjpg-streamer.tar.gz , I've compiled it without any problem and it works fine (see a screnshoot https://postimg.org/image/3mit854xj/ webcam image is dark because room light is switched off. Webcam works fine).
I test it with:
root@rpi2:~/mjpg-streamerl# export LD_LIBRARY_PATH="$(pwd)"
root@rpi2:~/mjpg-streamer# ./mjpg_streamer -i "input_uvc.so -d /dev/video0 -y -f 2 -r 640x480" -o "output_http.so -p 7011 -w ./www"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 2
i: Format............: YUV
i: JPEG Quality......: 80
Adding control for Pan (relative)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Tilt (relative)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Pan Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Tilt Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Pan/tilt Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Focus (absolute)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
mapping control for Pan (relative)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Tilt (relative)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Pan Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Tilt Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Pan/tilt Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Focus (absolute)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for LED1 Mode
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for LED1 Frequency
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Disable video processing
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Raw bits per pixel
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
o: www-folder-path...: ./www/
o: HTTP TCP port.....: 7011
o: username:password.: disabled
o: commands..........: enabled
After that I've discovered your newer version. Downloaded and compiled without problem.
Run it:
root@rpi2:~/mjpg-streamer-master/mjpg-streamer-experimental# export LD_LIBRARY_PATH="$(pwd)"
root@rpi2:~/mjpg-streamer-master/mjpg-streamer-experimental# ./mjpg_streamer -i "input_uvc.so -d /dev/video0 -y -f 2 -r 640x480" -o "output_http.so -p 7010 -w ./www"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 2
i: Format............: YUYV
i: JPEG Quality......: 80
i: TV-Norm...........: DEFAULT
i: FPS coerced ......: from 2 to 5
i: Frame period time ......: 500 ms
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
o: www-folder-path...: ./www/
o: HTTP TCP port.....: 7010
o: username:password.: disabled
o: commands..........: enabled
Missing "Adding control" and "mapping control" warning messages.
No image is shown into web interface or else. It doesn't work.
If I force the LD_LIBRARY_PATH to old version, it works:
root@rpi2:~/mjpg-streamer-master/mjpg-streamer-experimental# export LD_LIBRARY_PATH=/root/mjpg-streamer
root@rpi2:~/mjpg-streamer-master/mjpg-streamer-experimental# ./mjpg_streamer -i "input_uvc.so -d /dev/video0 -y -f 2 -r 640x480" -o "output_http.so -p 7010 -w ./www"
MJPG Streamer Version.: 2.0
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 640 x 480
i: Frames Per Second.: 2
i: Format............: YUV
i: JPEG Quality......: 80
Adding control for Pan (relative)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Tilt (relative)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Pan Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Tilt Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Pan/tilt Reset
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
Adding control for Focus (absolute)
UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device
mapping control for Pan (relative)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Tilt (relative)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Pan Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Tilt Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Pan/tilt Reset
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Focus (absolute)
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for LED1 Mode
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for LED1 Frequency
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Disable video processing
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
mapping control for Raw bits per pixel
UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device
o: www-folder-path...: ./www/
o: HTTP TCP port.....: 7010
o: username:password.: disabled
o: commands..........: enabled
It works ! I got webcam images.
If you need further debug, let me know.
Thanks and ... Merry Christmas.
I would like it if input uvc could be patched to support the -rot option from input_raspi
If this is a software rotation and can be applied that would be fantastic. If it is a configuration parameter sent to the picam hardware , do you know of a plugin that well do this on a logitech C270?
disabling awb results is a completely black image
is this a bug here or is the hardware weird?
Hello,
You said input_opencv has been tested with OpenCV 3.1.0 but what version of python and numpy do you use? I installed OpenCV 3.1.0 with Python 3.4.2 and numpy 1.12.0 and i've got errors with these versions.
Thanks
ps: sorry for my poor English :(
Is there a possibility to change the 8080 port for the http output?
Perhaps its because I am a new, but how can I uninstall this after it has been made and installed?
Hi!
I tried to compile it on an embedded 2.6.31.8 kernel based nas, with libjpeg and v4l installed, but it says the following:
53%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/input_uvc.c.o
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:90:13: error: 'V4L2_CID_POWER_LINE_FREQUENCY_AUTO' undeclared here (not in a function)
{ "auto", V4L2_CID_POWER_LINE_FREQUENCY_AUTO }
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c: In function 'cam_thread':
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:569:17: error: 'V4L2_CID_ROTATE' undeclared (first use in this function)
V4L_INT_OPT(V4L2_CID_ROTATE, rot, "rotation")
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:553:35: note: in definition of macro 'V4L_OPT_SET'
if (input_cmd(pcontext->id, vid, IN_CMD_V4L2, settings->var, NULL) != 0) {\
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:569:5: note: in expansion of macro 'V4L_INT_OPT'
V4L_INT_OPT(V4L2_CID_ROTATE, rot, "rotation")
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:569:17: note: each undeclared identifier is reported only once for each function it appears in
V4L_INT_OPT(V4L2_CID_ROTATE, rot, "rotation")
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:553:35: note: in definition of macro 'V4L_OPT_SET'
if (input_cmd(pcontext->id, vid, IN_CMD_V4L2, settings->var, NULL) != 0) {\
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:569:5: note: in expansion of macro 'V4L_INT_OPT'
V4L_INT_OPT(V4L2_CID_ROTATE, rot, "rotation")
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:569:17: warning: passing argument 2 of 'input_cmd' makes integer from pointer without a cast
V4L_INT_OPT(V4L2_CID_ROTATE, rot, "rotation")
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:553:35: note: in definition of macro 'V4L_OPT_SET'
if (input_cmd(pcontext->id, vid, IN_CMD_V4L2, settings->var, NULL) != 0) {\
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:569:5: note: in expansion of macro 'V4L_INT_OPT'
V4L_INT_OPT(V4L2_CID_ROTATE, rot, "rotation")
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c:96:5: note: expected 'unsigned int' but argument is of type 'const struct <anonymous> *'
int input_cmd(int plugin, unsigned int control, unsigned int group, int value, char *value_string);
^
plugins/input_uvc/CMakeFiles/input_uvc.dir/build.make:77: recipe for target 'plugins/input_uvc/CMakeFiles/input_uvc.dir/input_uvc.c.o' failed
make[2]: *** [plugins/input_uvc/CMakeFiles/input_uvc.dir/input_uvc.c.o] Error 1
CMakeFiles/Makefile2:255: recipe for target 'plugins/input_uvc/CMakeFiles/input_uvc.dir/all' failed
make[1]: *** [plugins/input_uvc/CMakeFiles/input_uvc.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
Many thanks!
Around May 2014 I successfully used -usestills to reduce the load on the CPU of an RPI B by a factor of about 10. It seemed to also have the side effect of reducing the field of view.
When I use it now with a more recent version shipped with OctoPi it only reduces the data by about 50% but it also makes the picture much darker and with a yellow cast and no longer changes the FOV.
Have there been any deliberate changes to the behavior? . Perhaps the smaller FOV was the reason it reduced the data so much.
Trying to debug why my network is dropping out and 99% of all my syslogs are mjpeg streamer telling me it's serving localhost
Dec 27 02:39:52 octoprint MJPG-streamer [476]: serving client: 127.0.0.1
Can we please not do this? A) I imagine it creates a tonne of writes to SD (or maybe not) and B) it makes going through the syslog looking for errors nearly impossible.
I bought this endoscope and I can get it to work on mjpg-streamer running Ubuntu 16.04 on my Intel NUC 6i5SYB, but not on a Pi 3 running octopi (tried building the latest git commit so they match).
cmdline: ./mjpg_streamer -o 'output_http.so -n -w ./www/' -i 'input_uvc.so -y -q 75 -f 10'
It doesn't appear to be using much cpu power. And my SD is only half-full (4G total, 2G available). Tomorrow I will try switching to a 16G SD, but I don't think that will make much of a difference.
Anything you can suggest?
hi, anybody have a resoltion to record the video use mjpg-streamer ?
I try to use ffmpeg,but the video frame is quit low,performance is bad.
ffmpeg -i http://ip:8090/?action=stream -qscale 2 -vcodec mpeg4 out.mov
Sorry if this is the wrong place to put this but I am lost. I have googled the issue but I have only found unhelpful php stuff.
I am trying to proxy the webcam stream with nginx. My nginx config looks like this:
server {
listen 443;
ssl on;
...
location /stream {
proxy_pass http://127.0.0.1:8090?action=stream;
}
}
When I restart nginx and try to view the webcam, I get the following error:
2017/10/19 12:51:23 [error] 861#861: *98 readv() failed (104: Connection reset by peer) while reading upstream, client: ***, server: ***, request: "GET /stream HTTP/1.1", upstream: "http://127.0.0.1:8090?action=stream", host: "***"
I am running the mjpg_streamer with sudo ./mjpg_streamer -i "./input_uvc.so" -o "./output_http.so -p 8090"
.
uname -a
:
Linux nas 4.13.7-1-ARCH #1 SMP PREEMPT Sat Oct 14 20:13:26 CEST 2017 x86_64 GNU/Linux
Hi,
I'm trying to execute this command to stream from webcam, with low quality, to http:
mjpg_streamer -i 'input_opencv.so -d /dev/video0 -q 50' -o 'output_http.so -w ./www'
And I'm getting this error:
MJPG-streamer [15]: starting application
MJPG Streamer Version.: 2.0
MJPG-streamer [15]: MJPG Streamer Version.: 2.0
mjpg_streamer: symbol lookup error: ./input_opencv.so: undefined symbol: _ZN2cv12VideoCaptureC1Ev
Other inputs work fine. This must be related with OpenCV. Any ideas? Which parameters do you use when installing OpenCV?
Thanks in advance.
Ubuntu 16.04
gcc 6.3.0
[ 46%] Building CXX object plugins/input_opencv/filters/cvfilter_py/CMakeFiles/cvfilter_py.dir/filter_py.cpp.o
/home/victor/libraries/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/filters/cvfilter_py/filter_py.cpp: In function 'PyObject* get_dirname(const char*)':
/home/victor/libraries/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/filters/cvfilter_py/filter_py.cpp:42:63: error: 'PyUnicode_DecodeFSDefault' was not declared in this scope
PyObject* obj = PyUnicode_DecodeFSDefault(dirname(dupargs));
^
/home/victor/libraries/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/filters/cvfilter_py/filter_py.cpp: In function 'PyObject* get_import(const char*)':
/home/victor/libraries/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/filters/cvfilter_py/filter_py.cpp:54:51: error: 'PyUnicode_DecodeFSDefault' was not declared in this scope
PyObject* obj = PyUnicode_DecodeFSDefault(base);
^
plugins/input_opencv/filters/cvfilter_py/CMakeFiles/cvfilter_py.dir/build.make:62: recipe for target 'plugins/input_opencv/filters/cvfilter_py/CMakeFiles/cvfilter_py.dir/filter_py.cpp.o' failed
make[3]: *** [plugins/input_opencv/filters/cvfilter_py/CMakeFiles/cvfilter_py.dir/filter_py.cpp.o] Error 1
make[3]: Leaving directory '/home/victor/libraries/mjpg-streamer/mjpg-streamer-experimental/_build'
CMakeFiles/Makefile2:347: recipe for target 'plugins/input_opencv/filters/cvfilter_py/CMakeFiles/cvfilter_py.dir/all' failed
make[2]: *** [plugins/input_opencv/filters/cvfilter_py/CMakeFiles/cvfilter_py.dir/all] Error 2
make[2]: Leaving directory '/home/victor/libraries/mjpg-streamer/mjpg-streamer-experimental/_build'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/victor/libraries/mjpg-streamer/mjpg-streamer-experimental/_build'
Makefile:17: recipe for target 'all' failed
$ dpkg -l | grep python
ii dh-python 2.20151103ubuntu1.1 all Debian helper tools for packaging Python libraries and applications
ii libboost-mpi-python-dev 1.58.0.1ubuntu1 amd64 C++ interface to the Message Passing Interface (MPI), Python Bindings (default version)
ii libboost-mpi-python1.58-dev 1.58.0+dfsg-5ubuntu3.1 amd64 C++ interface to the Message Passing Interface (MPI), Python Bindings
ii libboost-mpi-python1.58.0 1.58.0+dfsg-5ubuntu3.1 amd64 C++ interface to the Message Passing Interface (MPI), Python Bindings
ii libboost-python-dev 1.58.0.1ubuntu1 amd64 Boost.Python Library development files (default version)
ii libboost-python1.58-dev 1.58.0+dfsg-5ubuntu3.1 amd64 Boost.Python Library development files
ii libboost-python1.58.0 1.58.0+dfsg-5ubuntu3.1 amd64 Boost.Python Library
ii libpeas-1.0-0-python3loader 1.16.0-1ubuntu2 amd64 Application plugin library
ii libpython-all-dev:amd64 2.7.11-1 amd64 package depending on all supported Python development packages
ii libpython-dev:amd64 2.7.11-1 amd64 header files and a static library for Python (default)
ii libpython-stdlib:amd64 2.7.11-1 amd64 interactive high-level object-oriented language (default python version)
ii libpython2.7:amd64 2.7.12-1ubuntu0~16.04.1 amd64 Shared Python runtime library (version 2.7)
ii libpython2.7-dev:amd64 2.7.12-1ubuntu0~16.04.1 amd64 Header files and a static library for Python (v2.7)
ii libpython2.7-minimal:amd64 2.7.12-1ubuntu0~16.04.1 amd64 Minimal subset of the Python language (version 2.7)
ii libpython2.7-stdlib:amd64 2.7.12-1ubuntu0~16.04.1 amd64 Interactive high-level object-oriented language (standard library, version 2.7)
ii libpython3-stdlib:amd64 3.5.1-3 amd64 interactive high-level object-oriented language (default python3 version)
ii libpython3.5:amd64 3.5.2-2ubuntu0~16.04.1 amd64 Shared Python runtime library (version 3.5)
ii libpython3.5-minimal:amd64 3.5.2-2ubuntu0~16.04.1 amd64 Minimal subset of the Python language (version 3.5)
ii libpython3.5-stdlib:amd64 3.5.2-2ubuntu0~16.04.1 amd64 Interactive high-level object-oriented language (standard library, version 3.5)
ii python 2.7.11-1 amd64 interactive high-level object-oriented language (default version)
ii python-acoustid 1.1.0-3 all Acoustid interface implementation and Chromaprint bindings
ii python-all 2.7.11-1 amd64 package depending on all supported Python runtime versions
ii python-all-dev 2.7.11-1 amd64 package depending on all supported Python development packages
ii python-apt-common 1.1.0~beta1build1 all Python interface to libapt-pkg (locales)
ii python-attr 15.2.0-1 all Attributes without boilerplate (Python 2)
ii python-audioread 1.0.3-1build1 all Backend-agnostic audio decoding Python package
ii python-autobahn 0.10.3+dfsg1-5 all WebSocket client and server library, WAMP framework - Python 2.x
ii python-bs4 4.4.1-1 all error-tolerant HTML parser for Python
ii python-bson 3.2-1build1 amd64 Python implementation of BSON for MongoDB
ii python-bson-ext 3.2-1build1 amd64 C-coded extension to the python-bson package
ii python-bzrlib 2.7.0-2ubuntu3 amd64 distributed version control system - python library
ii python-cairo 1.8.8-2 amd64 Python bindings for the Cairo vector graphics library
ii python-catkin-lint 1.4.12-1~16.04 all Check catkin packages for common errors
ii python-catkin-pkg 0.3.6-1 all catkin package library
ii python-catkin-pkg-modules 0.3.6-1 all catkin package library
ii python-catkin-tools 0.4.4-1 all Command line tools for working with catkin.
ii python-cffi-backend 1.5.2-1ubuntu1 amd64 Foreign Function Interface for Python calling C code - backend
ii python-chardet 2.3.0-2 all universal character encoding detector for Python2
ii python-cheetah 2.4.4-3.fakesyncbuild1 amd64 text-based template engine and Python code generator
ii python-collada 0.4-2 all Python module for creating, editing and loading COLLADA
ii python-concurrent.futures 3.0.5-1 all backport of concurrent.futures package from Python 3.2
ii python-configobj 5.0.6-2 all simple but powerful config file reader and writer for Python 2
ii python-crypto 2.6.1-6ubuntu0.16.04.2 amd64 cryptographic algorithms and protocols for Python
ii python-cryptography 1.2.3-1ubuntu0.1 amd64 Python library exposing cryptographic recipes and primitives (Python 2)
ii python-cssutils 1.0-4.1 all CSS Cascading Style Sheets parser and builder
ii python-cycler 0.9.0-1 all composable kwarg iterator (Python 2)
ii python-dateutil 2.4.2-1 all powerful extensions to the standard datetime module
ii python-dbus 1.2.0-3 amd64 simple interprocess messaging system (Python interface)
ii python-defusedxml 0.4.1-2build1 all XML bomb protection for Python stdlib modules (for Python 2)
ii python-dev 2.7.11-1 amd64 header files and a static library for Python (default)
ii python-dnspython 1.12.0-1 all DNS toolkit for Python
ii python-docutils 0.12+dfsg-1 all text processing system for reStructuredText (implemented in Python 2)
ii python-ecdsa 0.13-2 all ECDSA cryptographic signature library (Python 2)
ii python-empy 3.3.2-1build1 all templating system for Python (Python 2)
ii python-enum34 1.1.2-1 all backport of Python 3.4's enum package
ii python-gconf 2.28.1+dfsg-1.1 amd64 Python bindings for the GConf configuration database system
rc python-genpy 0.5.7-6 all Python Robot OS message and service generators
ii python-gi 3.20.0-0ubuntu1 amd64 Python 2.x bindings for gobject-introspection libraries
ii python-gi-cairo 3.20.0-0ubuntu1 amd64 Python Cairo bindings for the GObject library
ii python-glade2 2.24.0-4ubuntu1 amd64 GTK+ bindings: Glade support
ii python-gnome2 2.28.1+dfsg-1.1 amd64 Python bindings for the GNOME desktop environment
ii python-gobject 3.20.0-0ubuntu1 all Python 2.x bindings for GObject - transitional package
ii python-gobject-2 2.28.6-12ubuntu1 amd64 deprecated static Python bindings for the GObject library
ii python-gpgme 0.3-1.1 amd64 python wrapper for the GPGME library
ii python-gst0.10 0.10.22-3ubuntu3 amd64 generic media-playing framework (Python bindings)
ii python-gtk2 2.24.0-4ubuntu1 amd64 Python bindings for the GTK+ widget set
ii python-html5lib 0.999-4 all HTML parser/tokenizer based on the WHATWG HTML5 specification (Python 2)
ii python-httplib2 0.9.1+dfsg-1 all comprehensive HTTP client library written for Python
ii python-idna 2.0-3 all Python IDNA2008 (RFC 5891) handling (Python 2)
ii python-imaging 3.1.2-0ubuntu1.1 all Python Imaging Library compatibility layer
ii python-ipaddress 1.0.16-1 all Backport of Python 3 ipaddress module (Python 2)
ii python-keybinder 0.3.1-1 amd64 registers global key bindings for applications - Python bindings
ii python-keyring 7.3-1ubuntu1 all store and access your passwords safely
ii python-launchpadlib 1.10.3-3ubuntu0.1 all Launchpad web services client library
ii python-lazr.restfulclient 0.13.4-5ubuntu1 all client for lazr.restful-based web services
ii python-lazr.uri 1.0.3-2build1 all library for parsing, manipulating, and generating URIs
ii python-ldb 2:1.1.24-1ubuntu3 amd64 Python bindings for LDB
ii python-levenshtein 0.12.0-2build1 amd64 extension for computing string similarities and edit distances
ii python-libuser 1:0.60~dfsg-1.2 amd64 user and group account administration library - Python interface
ii python-libvirt 1.3.1-1ubuntu1 amd64 libvirt Python bindings
ii python-libxml2 2.9.3+dfsg1-1ubuntu0.2 amd64 Python bindings for the GNOME XML library
ii python-lxml 3.5.0-1build1 amd64 pythonic binding for the libxml2 and libxslt libraries
ii python-lz4 0.7.0+dfsg-3build1 amd64 Python interface to the lz4 compression library
ii python-matplotlib 1.5.1-1ubuntu1 amd64 Python based plotting system in a style similar to Matlab
ii python-matplotlib-data 1.5.1-1ubuntu1 all Python based plotting system (data package)
ii python-minimal 2.7.11-1 amd64 minimal subset of the Python language (default version)
ii python-mlt 6.5+git201704252005~ubuntu16.04.1 amd64 multimedia framework (Python bindings)
ii python-mpi4py 1.3.1+hg20131106-2ubuntu5 amd64 bindings of the Message Passing Interface (MPI) standard
ii python-msgpack 0.4.6-1build1 amd64 Python implementation of MessagePack format
ii python-mutagen 1.31-1ubuntu1 all audio metadata editing library
ii python-mysqldb 1.3.7-1build2 amd64 Python interface to MySQL
ii python-ndg-httpsclient 0.4.0-3 all enhanced HTTPS support for httplib and urllib2 using PyOpenSSL for Python2
ii python-netifaces 0.10.4-0.1build2 amd64 portable network interface information - Python 2.x
ii python-nose 1.3.7-1 all test discovery and running of Python's unittest
ii python-notify 0.1.1-4 amd64 Python bindings for libnotify
ii python-numpy 1:1.11.0-1ubuntu1 amd64 Numerical Python adds a fast array facility to the Python language
ii python-oauth 1.0.1-5 all Python library implementing of the OAuth protocol
ii python-opencv 2.4.9.1+dfsg-1.5ubuntu1 amd64 Python bindings for the computer vision library
ii python-opengl 3.0.2-1 all Python bindings to OpenGL (Python 2)
ii python-openssl 0.15.1-2build1 all Python 2 wrapper around the OpenSSL library
ii python-osrf-pycommon 0.1.3-1 all Commonly needed Python modules, used by Python software deve
ii python-pam 0.4.2-13.2ubuntu2 amd64 Python interface to the PAM library
ii python-paramiko 1.16.0-1 all Make ssh v2 connections with Python (Python 2)
rc python-pbr 1.8.0-4ubuntu1 all inject useful and sensible default behaviors into setuptools - Python 2.x
ii python-pil:amd64 3.1.2-0ubuntu1.1 amd64 Python Imaging Library (Pillow fork)
ii python-pil.imagetk:amd64 3.1.2-0ubuntu1.1 amd64 Python Imaging Library - ImageTk Module (Pillow fork)
ii python-pip 8.1.1-2ubuntu0.4 all alternative Python package installer
ii python-pip-whl 8.1.1-2ubuntu0.4 all alternative Python package installer
ii python-pivy 0.5.0~v609hg-3.1 amd64 Coin binding for Python
ii python-pkg-resources 20.7.0-1 all Package Discovery and Resource Access using pkg_resources
ii python-pocket-lint 0.5.31-0ubuntu1 all composite linter and style checker
ii python-progressbar 2.3-2 all text progress bar library for Python
ii python-psutil 3.4.2-1 amd64 module providing convenience functions for managing processes
ii python-pyasn1 0.1.9-1 all ASN.1 library for Python (Python 2 module)
ii python-pyasn1-modules 0.0.7-0.1 all Collection of protocols modules written in ASN.1 language
ii python-pyassimp 3.2~dfsg-3 all 3D model import library (Python bindings)
ii python-pycurl 7.43.0-1ubuntu1 amd64 Python bindings to libcurl
ii python-pydot 1.0.28-2 all Python interface to Graphviz's dot
ii python-pygments 2.1+dfsg-1 all syntax highlighting package written in Python
ii python-pygoocanvas 0.14.1-1.1ubuntu1 amd64 GooCanvas Python bindings
ii python-pymad 0.9-1 amd64 Python wrapper to the MPEG Audio Decoder library (Python 2)
ii python-pyorbit 2.24.0-7.1 amd64 A Python language binding for the ORBit2 CORBA implementation
ii python-pyparsing 2.0.3+dfsg1-1ubuntu0.1 all Python parsing module
ii python-pyqt5 5.5.1+dfsg-3ubuntu4 amd64 Python 2 bindings for Qt5
ii python-pyqt5.qtopengl 5.5.1+dfsg-3ubuntu4 amd64 Python 2 bindings for Qt5's OpenGL module
ii python-pyqt5.qtsvg 5.5.1+dfsg-3ubuntu4 amd64 Python 2 bindings for Qt5's SVG module
ii python-pyqt5.qtwebkit 5.5.1+dfsg-3ubuntu4 amd64 Python 2 bindings for Qt5's WebKit module
ii python-pyside.qtcore 1.2.2-2build2 amd64 Qt 4 core module - Python bindings
ii python-pyside.qtgui 1.2.2-2build2 amd64 Qt 4 GUI module - Python bindings
ii python-pyside.qtsvg 1.2.2-2build2 amd64 Qt 4 SVG module - Python bindings
ii python-pyside.qtuitools 1.2.2-2build2 amd64 Qt 4 UI tools module - Python bindings
ii python-pyside.qtxml 1.2.2-2build2 amd64 Qt 4 XML module - Python bindings
ii python-pyside2 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 all Python bindings for Qt5 (big metapackage)
ii python-pyside2.qtconcurrent 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 Concurrent module - Python bindings
ii python-pyside2.qtcore 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 core module - Python bindings
ii python-pyside2.qtgui 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 GUI module - Python bindings
ii python-pyside2.qthelp 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 help module - Python bindings
ii python-pyside2.qtnetwork 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 network module - Python bindings
ii python-pyside2.qtprintsupport 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 PrintSupport module - Python bindings
ii python-pyside2.qtqml 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 PrintSupport module - Python3 bindings
ii python-pyside2.qtquick 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 PrintSupport module - Python3 bindings
ii python-pyside2.qtquickwidgets 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 PrintSupport module - Python3 bindings
ii python-pyside2.qtscript 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 script module - Python bindings
ii python-pyside2.qtsql 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 SQL module - Python bindings
ii python-pyside2.qtsvg 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 SVG module - Python bindings
ii python-pyside2.qttest 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 test module - Python bindings
ii python-pyside2.qtuitools 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 UI tools module - Python bindings
ii python-pyside2.qtwebkit 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 WebKit module - Python bindings
ii python-pyside2.qtwebkitwidgets 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 WebKitWidgets module - Python bindings
ii python-pyside2.qtwidgets 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 Widgets module - Python bindings
ii python-pyside2.qtx11extras 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 XML module - Python bindings
ii python-pyside2.qtxml 2.0.0+dev-0~201604151742~rev1858~pkg38~ubuntu16.04.1 amd64 Qt 5 XML module - Python bindings
ii python-qt4 4.11.4+dfsg-1build4 amd64 Python bindings for Qt4
ii python-qt4-gl 4.11.4+dfsg-1build4 amd64 Python bindings for Qt4's OpenGL module
ii python-requests 2.9.1-3 all elegant and simple HTTP library for Python2, built for human beings
ii python-roman 2.0.0-2 all module for generating/analyzing Roman numerals for Python 2
ii python-rosdep 0.11.8-1 all rosdep package manager abstrction tool for ROS
ii python-rosdistro 0.6.2-1 all A tool to work with rosdistro files
ii python-rosdistro-modules 0.6.2-1 all A tool to work with rosdistro files
ii python-rosinstall 0.7.8-1 all The installer for ROS
ii python-rospkg 1.1.1-1 all ROS package library
ii python-rospkg-modules 1.1.1-1 all ROS package library
ii python-samba 2:4.3.11+dfsg-0ubuntu0.16.04.9 amd64 Python bindings for Samba
ii python-secretstorage 2.1.3-1 all Python module for storing secrets - Python 2.x version
ii python-serial 3.0.1-1 all pyserial - module encapsulating access for the serial port
ii python-service-identity 16.0.0-2 all Service identity verification for pyOpenSSL (Python 2 module)
ii python-setuptools 20.7.0-1 all Python Distutils Enhancements
ii python-simplejson 3.8.1-1ubuntu2 amd64 simple, fast, extensible JSON encoder/decoder for Python
ii python-sip 4.17+dfsg-1build1 amd64 Python/C++ bindings generator runtime library
ii python-sip-dev 4.17+dfsg-1build1 amd64 Python/C++ bindings generator development files
ii python-six 1.10.0-3 all Python 2 and 3 compatibility library (Python 2 interface)
ii python-snappy 0.5-1build1 amd64 Python library for the snappy compression library from Google
ii python-talloc 2.1.5-2 amd64 hierarchical pool based memory allocator - Python bindings
ii python-tdb 1.3.8-2 amd64 Python bindings for TDB
ii python-tk 2.7.11-2 amd64 Tkinter - Writing Tk applications with Python
ii python-trollius 2.1~b1-3 all port of the Tulip project on Python 2.7 - Python 2.x
ii python-twisted 16.0.0-1 all Event-based framework for internet applications (dependency package)
ii python-twisted-bin 16.0.0-1 amd64 Event-based framework for internet applications
ii python-twisted-core 16.0.0-1 all Event-based framework for internet applications
ii python-txaio 1.0.0-3 all compatibility API between asyncio/Twisted/Trollius - Python 2.x
ii python-tz 2014.10~dfsg1-0ubuntu2 all Python version of the Olson timezone database
ii python-urllib3 1.13.1-2ubuntu0.16.04.1 all HTTP library with thread-safe connection pooling for Python
ii python-vcstools 0.1.39-1 all VCS/SCM source control library for svn, git, hg, and bzr
ii python-vm-builder 0.12.4+bzr494-0ubuntu1 all VM builder
ii python-vte 1:0.28.2-5ubuntu3 amd64 Python bindings for the VTE widget set
ii python-vtk6 6.2.0+dfsg1-10build1+debian11.1+osrf1 amd64 Python bindings for VTK
ii python-wadllib 1.3.2-3 all Python library for navigating WADL files
ii python-wheel 0.29.0-1 all built-package format for Python
ii python-wstool 0.1.13-1 all workspace multi-SCM commands
ii python-wxgtk3.0 3.0.2.0+dfsg-1build1 amd64 Python interface to the wxWidgets Cross-platform C++ GUI toolkit
ii python-wxversion 3.0.2.0+dfsg-1build1 all API for selecting the wxPython version to use
ii python-xdg 0.25-4 all Python 2 library to access freedesktop.org standards
ii python-yaml 3.11-3build1 amd64 YAML parser and emitter for Python
ii python-zope.interface 4.1.3-1build1 amd64 Interfaces for Python
ii python2.7 2.7.12-1ubuntu0~16.04.1 amd64 Interactive high-level object-oriented language (version 2.7)
ii python2.7-dev 2.7.12-1ubuntu0~16.04.1 amd64 Header files and a static library for Python (v2.7)
ii python2.7-minimal 2.7.12-1ubuntu0~16.04.1 amd64 Minimal subset of the Python language (version 2.7)
ii python3 3.5.1-3 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-apport 2.20.1-0ubuntu2.10 all Python 3 library for Apport crash report handling
ii python3-apt 1.1.0~beta1build1 amd64 Python 3 interface to libapt-pkg
ii python3-aptdaemon 1.1.1+bzr982-0ubuntu14 all Python 3 module for the server and client of aptdaemon
ii python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu14 all Python 3 GTK+ 3 widgets to run an aptdaemon client
ii python3-aptdaemon.pkcompat 1.1.1+bzr982-0ubuntu14 all PackageKit compatibilty for AptDaemon
ii python3-blinker 1.3.dfsg2-1build1 all fast, simple object-to-object and broadcast signaling library
ii python3-brlapi 5.3.1-2ubuntu2.1 amd64 Braille display access via BRLTTY - Python3 bindings
ii python3-bs4 4.4.1-1 all error-tolerant HTML parser for Python 3
ii python3-cairo 1.10.0+dfsg-5build1 amd64 Python 3 bindings for the Cairo vector graphics library
ii python3-cffi-backend 1.5.2-1ubuntu1 amd64 Foreign Function Interface for Python 3 calling C code - runtime
ii python3-chardet 2.3.0-2 all universal character encoding detector for Python3
ii python3-checkbox-support 0.22-1 all collection of Python modules used by PlainBox providers
ii python3-commandnotfound 0.3ubuntu16.04.2 all Python 3 bindings for command-not-found.
ii python3-cryptography 1.2.3-1ubuntu0.1 amd64 Python library exposing cryptographic recipes and primitives (Python 3)
ii python3-cups 1.9.73-0ubuntu2 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.7+20160212-0ubuntu2 all Python modules for printer configuration with CUPS
ii python3-dbus 1.2.0-3 amd64 simple interprocess messaging system (Python 3 interface)
ii python3-debian 0.1.27ubuntu2 all Python 3 modules to work with Debian-related data formats
ii python3-defer 1.0.6-2build1 all Small framework for asynchronous programming (Python 3)
ii python3-distupgrade 1:16.04.22 all manage release upgrades
ii python3-feedparser 5.1.3-3build1 all Universal Feed Parser for Python 3
ii python3-gdbm:amd64 3.5.1-1 amd64 GNU dbm database support for Python 3.x
ii python3-gi 3.20.0-0ubuntu1 amd64 Python 3 bindings for gobject-introspection libraries
ii python3-gi-cairo 3.20.0-0ubuntu1 amd64 Python 3 Cairo bindings for the GObject library
ii python3-guacamole 0.9.2-1 all framework for creating command line applications (Python 3)
ii python3-html5lib 0.999-4 all HTML parser/tokenizer based on the WHATWG HTML5 specification (Python 3)
ii python3-httplib2 0.9.1+dfsg-1 all comprehensive HTTP client library written for Python3
ii python3-idna 2.0-3 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-jinja2 2.8-1 all small but fast and easy to use stand-alone template engine
ii python3-jwt 1.3.0-1 all Python 3 implementation of JSON Web Token
ii python3-louis 2.6.4-2 all Python bindings for liblouis
ii python3-lxml 3.5.0-1build1 amd64 pythonic binding for the libxml2 and libxslt libraries
ii python3-magic 1:5.25-2ubuntu1 all File type determination library using "magic" numbers (Python 3 bindings)
ii python3-mako 1.0.3+ds1-1ubuntu1 all fast and lightweight templating for the Python 3 platform
ii python3-markupsafe 0.23-2build2 amd64 HTML/XHTML/XML string library for Python 3
ii python3-minimal 3.5.1-3 amd64 minimal subset of the Python language (default python3 version)
ii python3-numpy 1:1.11.0-1ubuntu1 amd64 Fast array facility to the Python 3 language
ii python3-oauthlib 1.0.3-1 all generic, spec-compliant implementation of OAuth for Python3
ii python3-padme 1.1.1-2 all mostly transparent proxy class for Python 3
ii python3-pexpect 4.0.1-1 all Python 3 module for automating interactive applications
ii python3-pil:amd64 3.1.2-0ubuntu1.1 amd64 Python Imaging Library (Python3)
ii python3-pkg-resources 20.7.0-1 all Package Discovery and Resource Access using pkg_resources
ii python3-plainbox 0.25-1 all toolkit for software and hardware testing (python3 module)
ii python3-problem-report 2.20.1-0ubuntu2.10 all Python 3 library to handle problem reports
ii python3-ptyprocess 0.5-1 all Run a subprocess in a pseudo terminal from Python 3
ii python3-pyasn1 0.1.9-1 all ASN.1 library for Python (Python 3 module)
ii python3-pyatspi 2.18.0+dfsg-3 all Assistive Technology Service Provider Interface - Python3 bindings
ii python3-pycurl 7.43.0-1ubuntu1 amd64 Python bindings to libcurl (Python 3)
ii python3-pyparsing 2.0.3+dfsg1-1ubuntu0.1 all Python parsing module, Python3 package
ii python3-renderpm:amd64 3.3.0-1 amd64 python low level render interface
ii python3-reportlab 3.3.0-1 all ReportLab library to create PDF documents using Python3
ii python3-reportlab-accel:amd64 3.3.0-1 amd64 C coded extension accelerator for the ReportLab Toolkit
ii python3-requests 2.9.1-3 all elegant and simple HTTP library for Python3, built for human beings
ii python3-six 1.10.0-3 all Python 2 and 3 compatibility library (Python 3 interface)
ii python3-software-properties 0.96.20.7 all manage the repositories that you install software from
ii python3-speechd 0.8.3-1ubuntu3 all Python interface to Speech Dispatcher
ii python3-systemd 231-2build1 amd64 Python 3 bindings for systemd
ii python3-uno 1:5.1.6~rc2-0ubuntu1~xenial2 amd64 Python-UNO bridge
ii python3-update-manager 1:16.04.8 all python 3.x module for update-manager
ii python3-urllib3 1.13.1-2ubuntu0.16.04.1 all HTTP library with thread-safe connection pooling for Python3
ii python3-xdg 0.25-4 all Python 3 library to access freedesktop.org standards
ii python3-xkit 0.5.0ubuntu2 all library for the manipulation of xorg.conf files (Python 3)
ii python3-xlsxwriter 0.7.3-1 all Python 3 module for creating Excel XLSX files
ii python3.5 3.5.2-2ubuntu0~16.04.1 amd64 Interactive high-level object-oriented language (version 3.5)
ii python3.5-minimal 3.5.2-2ubuntu0~16.04.1 amd64 Minimal subset of the Python language (version 3.5)
ii ros-kinetic-moveit-python 0.2.17-1xenial-20170613-202318-0800 amd64 A pure-python interaface to the MoveIt! ROS API.
ii ros-kinetic-python-orocos-kdl 1.3.1-0xenial-20170217-225129-0800 amd64 This package contains the python bindings PyKDL for the Kinematics and Dynamics Library (KDL), distributed by the Orocos Project.
ii ros-kinetic-python-qt-binding 0.3.2-0xenial-20170613-165408-0800 amd64 This stack provides Python bindings for Qt.
ii ros-kinetic-rospy-tutorials 0.7.1-0xenial-20170613-182829-0800 amd64 This package attempts to show the features of ROS python API step-by-step, including using messages, servers, parameters, etc.
ii ros-kinetic-rviz-python-tutorial 0.10.1-0xenial-20170627-175745-0800 amd64 Tutorials showing how to call into rviz internals from python scripts.
The /cam_1.mjpg does not live stream in browsers if build with WXP_COMPAT (but same live stream plays fine in ff/chrome using old mjpg-streamer). This bug is in the original mjpg-streamer-experimental at codewithpassion and remains in this fork. However, the codewithpassion non-experimental mjpg-streamer works fine, and is what I mean by "old mjpg-streamer".
In a nutshell: localhost:8080/cam_1.jpg displays ok in ff/chrome but neither ff nor chrome can stream localhost:8080/cam_1.mjpg in the browser window. FF prompts for save-as, chrome hangs. The live cam1.mjpg stream works fine with the old mjpg-streamer (non-experimental) build.
Steps to reproduce:
Use the WXP_COMPAT argument to cmake per Note at output_http/README.md: " If you compile with this argument the mjpg stream will be available as cam_1.mjpg and the still jpg snapshot as cam_1.jpg." Got it to build without errors.
(P.S. BTW the README.md for output_http says /cam_1.jpg which does work, but so does cam1.jpg (without underscore). Which is nice if you dislike underscores ;-) So cam1.jpg = cam_1.jpg, and cam1.mjpg = cam_1.mjpg it seems.)
Good result: the cam_1jpg works fine (which proves was WXP_COMPAT is in the build.)
That is, in firefox or chrome, an updated static snapshot is seen every time you refresh browser page at /cam1.jpg or cam_1.jpg
Bad result: the cam_1.mjpg does not play in browser. Firefox offers to save a static cam_1.mjpg file, which is about 10-20 secs long and viewable with vlc. Chrome just hangs, never offering to save a file.
(Actually, being able to save N-secs of mjpg to a file would be a nice option to have! But, for now, I want to be able to see the live stream!)
Expected result: the /cam1.mjpg live stream is viewable in firefox or chrome browser window, in same ways as this example http://195.67.26.73/mjpg/video.mjpg. Note the old mjpg-streamer can do exactly this. That is, cam1.mjpg streams ok in ff/chrome, just like above 195.67.26.73 site, if I run the old mjpg-streamer instead of the experimental branch (on same boxes with same cameras).
I think I applied the 2nd patch to old mjpg-streamer as mentioned by koos » Fri Feb 06, 2015 4:57 pm at [https://www.raspberrypi.org/forums/viewtopic.php?t=97983]
If I get time, I'll try to fork https://github.com/jacksonliam/mjpg-streamer and hack a bit to see if I can get cam1.mjpg to stream correctly.
pglobal->in[pcontext->id].timestamp
I input the following cmd in the same Pi3,but get a error:
Firstly:
mjpg_streamer -i '/usr/local/lib/mjpg-streamer/input_raspicam.so -x 1920 -y 1080 -fps 25 -quality 10' -o '/usr/local/lib/mjpg-streamer/output_http.so -p 8090'
And then:
mjpg_streamer -i '/usr/local/lib/mjpg-streamer/input_http.so -p 8090' -o '/usr/local/lib/mjpg-streamer/output_file.so -f /var/www/videos/ -m inputhttp.mjpeg'
Got the following log:
root@raspberrypi:/home/pi# mjpg_streamer -i '/usr/local/lib/mjpg-streamer/input_http.so -p 8090' -o '/usr/local/lib/mjpg-streamer/ou tput_file.so -f /var/www/videos/ -m inputhttp.mjpeg' MJPG Streamer Version.: 2.0 i: host.............: localhost i: port.............: 8090 o: output folder.....: /var/www/videos o: input plugin.....: 0: /usr/local/lib/mjpg-streamer/input_http.so o: delay after save..: 0 o: output file.......: /var/www/videos/inputhttp.mjpeg Segmentation fault root@raspberrypi:/home/pi#
'Segmentation fault'
can't i input two mjpeg_streamer cmd in the same pi ?
but i actually need save video to a file when output mjpeg to http at the same time.
@jacksonliam could you give me some guides? thank you so much.
Is the ISO setting implemented?
Hello,
I've just stumbled across an issue where when using the -y (YUV) option for the input_uvc module it rejected this as a syntax error. This was due to the LIBJPEG not being installed. However, "-y" was still being shown as a valid command line switch, despite LIBJPEG not being installed.
Perhaps the "-y" switch should not be available when the binary is built without LIBJPEG (i.e. it should not appear when doing a --help"
Thanks,
Alex
Please add -rot to input_uvc.so. Implementation can mirror the -rot implementation in input_raspi.so
OS: ubuntu 16.04 x86_64
and the compiling log
[ -d _build ] || mkdir _build
[ -f _build/Makefile ] || (cd _build && cmake -DCMAKE_BUILD_TYPE=Release ..)
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - found
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found version "3.5.2")
-- Found PythonInterp: /usr/bin/python3.5 (found version "3.5.2")
-- Found NUMPY: /usr/lib/python3/dist-packages/numpy/core/include
-- Found components for NumPy
-- NUMPY_ROOT_DIR = /usr/local
-- NUMPY_INCLUDES = /usr/lib/python3/dist-packages/numpy/core/include
-- NUMPY_LIBRARIES =
-- NUMPY_API_VERSION = 1.11.0
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libgphoto2'
-- Found libgphoto2, version 2.5.9
-- Found GPHOTO2: /usr/lib/x86_64-linux-gnu/libgphoto2.so
-- Looking for include file linux/videodev2.h
-- Looking for include file linux/videodev2.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15")
--
-- The following features have been enabled:
* PLUGIN_INPUT_FILE , File input plugin
* PLUGIN_INPUT_HTTP , HTTP input proxy plugin
* PLUGIN_INPUT_OPENCV , OpenCV input plugin
* PLUGIN_CVFILTER_CPP , OpenCV example filter
* PLUGIN_CVFILTER_PY , OpenCV python filter
* PLUGIN_INPUT_PTP2 , PTP2 input plugin
* PLUGIN_INPUT_UVC , Video 4 Linux input plugin
* PLUGIN_OUTPUT_FILE , File output plugin
* PLUGIN_OUTPUT_HTTP , HTTP server output plugin
* PLUGIN_OUTPUT_RTSP , RTSP output plugin
* PLUGIN_OUTPUT_UDP , UDP output stream plugin
* PLUGIN_OUTPUT_VIEWER , SDL output viewer plugin
-- The following OPTIONAL packages have been found:
* OpenCV
* PythonLibs
* PythonInterp
* Numpy
* Gphoto2
* Threads
* SDL
-- The following features have been disabled:
* WXP_COMPAT , Enable compatibility with WebcamXP
* PLUGIN_INPUT_RASPICAM , Raspberry Pi input camera plugin (unmet dependencies)
* ENABLE_HTTP_MANAGEMENT , Enable experimental HTTP management option
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build
make -C _build
make[1]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
make[2]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
make[3]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
Scanning dependencies of target mjpg_streamer
make[3]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
make[3]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
[ 2%] Building C object CMakeFiles/mjpg_streamer.dir/mjpg_streamer.c.o
[ 5%] Building C object CMakeFiles/mjpg_streamer.dir/utils.c.o
[ 8%] Linking C executable mjpg_streamer
make[3]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
[ 8%] Built target mjpg_streamer
make[3]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
Scanning dependencies of target input_file
make[3]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
make[3]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
[ 11%] Building C object plugins/input_file/CMakeFiles/input_file.dir/input_file.c.o
[ 14%] Linking C shared library input_file.so
make[3]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
[ 14%] Built target input_file
make[3]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
Scanning dependencies of target input_http
make[3]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
make[3]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
[ 17%] Building C object plugins/input_http/CMakeFiles/input_http.dir/input_http.c.o
[ 20%] Building C object plugins/input_http/CMakeFiles/input_http.dir/misc.c.o
[ 23%] Building C object plugins/input_http/CMakeFiles/input_http.dir/mjpg-proxy.c.o
[ 26%] Linking C shared library input_http.so
make[3]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
[ 26%] Built target input_http
make[3]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
Scanning dependencies of target input_opencv
make[3]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
make[3]: Entering directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
[ 29%] Building CXX object plugins/input_opencv/CMakeFiles/input_opencv.dir/input_opencv.cpp.o
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp: In function ‘int input_init(input_parameter*, int)’:
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:275:23: error: ‘CAP_PROP_FRAME_WIDTH’ was not declared in this scope
pctx->capture.set(CAP_PROP_FRAME_WIDTH, width);
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:276:23: error: ‘CAP_PROP_FRAME_HEIGHT’ was not declared in this scope
pctx->capture.set(CAP_PROP_FRAME_HEIGHT, height);
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:279:27: error: ‘CAP_PROP_FPS’ was not declared in this scope
pctx->capture.set(CAP_PROP_FPS, settings->fps);
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp: In function ‘void* worker_thread(void*)’:
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:399:15: error: ‘CAP_PROP_FPS’ was not declared in this scope
CVOPT_SET(CAP_PROP_FPS, fps, "frames per second")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:388:32: note: in definition of macro ‘CVOPT_OPT’
if (!pctx->capture.set(prop, settings->var)) {\
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:399:5: note: in expansion of macro ‘CVOPT_SET’
CVOPT_SET(CAP_PROP_FPS, fps, "frames per second")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:400:15: error: ‘CAP_PROP_BRIGHTNESS’ was not declared in this scope
CVOPT_SET(CAP_PROP_BRIGHTNESS, co, "contrast")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:388:32: note: in definition of macro ‘CVOPT_OPT’
if (!pctx->capture.set(prop, settings->var)) {\
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:400:5: note: in expansion of macro ‘CVOPT_SET’
CVOPT_SET(CAP_PROP_BRIGHTNESS, co, "contrast")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:401:15: error: ‘CAP_PROP_CONTRAST’ was not declared in this scope
CVOPT_SET(CAP_PROP_CONTRAST, br, "brightness")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:388:32: note: in definition of macro ‘CVOPT_OPT’
if (!pctx->capture.set(prop, settings->var)) {\
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:401:5: note: in expansion of macro ‘CVOPT_SET’
CVOPT_SET(CAP_PROP_CONTRAST, br, "brightness")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:402:15: error: ‘CAP_PROP_SATURATION’ was not declared in this scope
CVOPT_SET(CAP_PROP_SATURATION, sa, "saturation")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:388:32: note: in definition of macro ‘CVOPT_OPT’
if (!pctx->capture.set(prop, settings->var)) {\
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:402:5: note: in expansion of macro ‘CVOPT_SET’
CVOPT_SET(CAP_PROP_SATURATION, sa, "saturation")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:403:15: error: ‘CAP_PROP_GAIN’ was not declared in this scope
CVOPT_SET(CAP_PROP_GAIN, gain, "gain")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:388:32: note: in definition of macro ‘CVOPT_OPT’
if (!pctx->capture.set(prop, settings->var)) {\
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:403:5: note: in expansion of macro ‘CVOPT_SET’
CVOPT_SET(CAP_PROP_GAIN, gain, "gain")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:404:15: error: ‘CAP_PROP_EXPOSURE’ was not declared in this scope
CVOPT_SET(CAP_PROP_EXPOSURE, ex, "exposure")
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:388:32: note: in definition of macro ‘CVOPT_OPT’
if (!pctx->capture.set(prop, settings->var)) {\
^
/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/plugins/input_opencv/input_opencv.cpp:404:5: note: in expansion of macro ‘CVOPT_SET’
CVOPT_SET(CAP_PROP_EXPOSURE, ex, "exposure")
^
plugins/input_opencv/CMakeFiles/input_opencv.dir/build.make:62: recipe for target 'plugins/input_opencv/CMakeFiles/input_opencv.dir/input_opencv.cpp.o' failed
make[3]: *** [plugins/input_opencv/CMakeFiles/input_opencv.dir/input_opencv.cpp.o] Error 1
make[3]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
CMakeFiles/Makefile2:237: recipe for target 'plugins/input_opencv/CMakeFiles/input_opencv.dir/all' failed
make[2]: *** [plugins/input_opencv/CMakeFiles/input_opencv.dir/all] Error 2
make[2]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
Makefile:127: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/jyf/repo/git/mjpg-streamer/mjpg-streamer-experimental/_build'
Makefile:17: recipe for target 'all' failed
make: *** [all] Error 2
mjpg_streamer -i '/usr/local/lib/mjpg-streamer/input_raspicam.so -x 1920 -y 1080 -fps 25' -o '/usr/local/lib/mjpg-streamer/output_http.so -p 8090'
Take a look at path handling in the http plugin.
I'm trying to fetch a jpeg URL using the http input plugin using: mjpg_streamer -i "input_http.so -H http://www.example.com/image.jpg -p 80" -o "output_http.so"
Which produces te following error:
MJPG Streamer Version.: 2.0
i: host.............: www.example.com/image.jpg
i: port.............: 80
o: www-folder-path......: disabled
o: HTTP TCP port........: 8080
o: HTTP Listen Address..: (null)
o: username:password....: disabled
o: commands.............: enabled
Name or service not known: Success
Can't allocate socket, will continue probing
: Invalid argument
Can't allocate socket, will continue probing
: Invalid argument
Segmentation fault
When using the file input and wget'ing the file everything works fine, so the module is working. But I really don't want to destroy my SD cards using this method 24/7 :)
Many thanks in advance!
I'd like to know how many clients are connected at a given moment.
I enabled the MANAGEMENT
-feature and now i can get a json with the connected clients and a timestamp of the latest received frame.
GET http://localhost:8080/clients.json
{
"clients": [
{
"address": "127.0.0.1",
"timestamp": 1496240473
}
]
}
Is it correct that every client that connects gets an entry in this JSON that will never expire? And if I wanted to check if any of those clients is still connected I need to check wether a timestamp is older than some seconds?
Here's my problem. I'm reading a jpeg stream from a UVC webcam but some of the frames are corrupt (sidenote: it seems it's not the camera's fault, it's related to the USB driver in my Odroid C2). Corrupted frames usually have missing EOI or other corruptions. Here's an example when reading from mjpg_streamer with ffmpeg:
[mjpeg @ 0x4876a0] mjpeg: unsupported coding type (cd)
[mjpeg @ 0x4876a0] EOI missing, emulating
[mjpeg @ 0x4876a0] mjpeg: unsupported coding type (c5)
[mjpeg @ 0x4876a0] EOI missing, emulating
[mjpeg @ 0x4876a0] EOI missing, emulating
In case mjpg_streamer decodes the frames before pushing them in the stream I'd like you to add the feature to send the last valid frame if the current frame can't be decoded.
Although ffmpeg happily consumes the stream, it doesn't duplicate missed frames and this results in dropping the framerate.
If mjpg_streamer does not decode the frame at all, then you can't fix this issue at your end...
Thanks
Hello
Can someone please tell me how to use -fourcc argument. Just example please.
I want to make it work with:
v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'S561' (compressed)
Name : S561
Index : 1
Type : Video Capture
Pixel Format: 'GBRG'
Name : GBRG
Thanks.
Hello; I see there is a output_rtsp.so plugin. I was wondering how difficult would it be to give mjpg_streamer an RTSP (INPUT - input_rtsp.so) as a source. So that we can have it to convert an RTSP stream to an HTTP.
This would allow my OpenWRT router to take a RTSP IP Cam, can produce a webstream of it without the need for any other devices.
Running 'sudo make install' without first running 'make' leaves the user without anything to run in the mjpg-streamer directory.
The mjpg-streamer executable does end up on the path but the the plugins end up in /usr/local/lib/mjpg-streamer which is not on the default search path for shared libraries.
We need to make sure the build directory is filled anyway, or the libraries are installed in a searched location.
Need better CORS support. Enable CORS on all URIs add command line to limit to specific origins or disable altogether.
E.g.
"./mjpg_streamer -i "./input_raspicam.so -fps 10 -awb off -awbgainR 5.0 awbgainB 5.0 [...]"
(missing second dash) results in a black video, not an error.
It would be really handy to be able to rotate and/or mirror the image in the mjpg-streamer application so that one doesn't have to do so later down the line. Many raspberry pi mounting situations lead to upside-down cameras and the like.
The -iso parameter do not work, I tested -ev without success also.
How I can get the high gain (and noisy) video to make any indoor robotics use ?
I need >= 25FPS because lower framerate is useless for my project.
Hi guys,
I'm glad to use this project, but we have a little problem with the fps option, it doesn't recognize it like it should be. I'm using regular camera module with max 30 fps on 1280x720 resolution.
With the command:
sudo mjpg_streamer -i "/usr/local/lib/input_uvc.so -d /dev/video0 -n -r 1280x720 -f 15" -o "/usr/local/lib/output_http.so -n -w /usr/local/www -p 8080"
It stream with 30 fps.
Even with command:
sudo mjpg_streamer -i "/usr/local/lib/input_uvc.so -d /dev/video0 -n -r 1280x720 -f 5" -o "/usr/local/lib/output_http.so -n -w /usr/local/www -p 8080"
It stream with 30 fps.
But the output is:
i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 1280 x 720 i: Frames Per Second.: 15/5 depends on the -f parameter i: Format............: MJPEG o: www-folder-path...: /usr/local/www/ o: HTTP TCP port.....: 8080 o: username:password.: disabled o: commands..........: disabled
It always stream with max fps.
I have all packages it needs:
subversion-tools libcairo2-dev libjpeg62-turbo-dev libpango1.0-dev libgif-dev build-essential g++ imagemagick v4l-utils
Also interesting is that when i put -quality parameter, the stream drop down to 5 fps. No matter what quality i put, it just stream with like 4-5 fps and always stream on YUV when i setup a quality parameter.
i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 1280 x 720 i: Frames Per Second.: 15 i: Format............: YUV i: JPEG Quality......: 10 o: www-folder-path...: /usr/local/www/ o: HTTP TCP port.....: 8080 o: username:password.: disabled o: commands..........: disabled
Can someone debug these 2 problems with the fps and the quality, please?
We are using Orange Pi Lite and the processor is quad core on 1.2 GHz.
pi@leopi:~/mjpg-streamer-experimental/mjpg-streamer/mjpg-streamer-experimental $ make mjpg_streamer input_file.so input_uvc.so input_raspicam.so output_http.so
cc mjpg_streamer.c -o mjpg_streamer
/tmp/ccEbrHFM.o: In function signal_handler': mjpg_streamer.c:(.text+0x3b8): undefined reference to
dlclose'
mjpg_streamer.c:(.text+0x4ac): undefined reference to dlclose' /tmp/ccEbrHFM.o: In function
main':
mjpg_streamer.c:(.text+0xa10): undefined reference to daemon_mode' mjpg_streamer.c:(.text+0xe78): undefined reference to
dlopen'
mjpg_streamer.c:(.text+0x1084): undefined reference to dlerror' mjpg_streamer.c:(.text+0x1118): undefined reference to
dlsym'
mjpg_streamer.c:(.text+0x1180): undefined reference to dlerror' mjpg_streamer.c:(.text+0x1210): undefined reference to
dlsym'
mjpg_streamer.c:(.text+0x1278): undefined reference to dlerror' mjpg_streamer.c:(.text+0x1308): undefined reference to
dlsym'
mjpg_streamer.c:(.text+0x1370): undefined reference to dlerror' mjpg_streamer.c:(.text+0x1400): undefined reference to
dlsym'
mjpg_streamer.c:(.text+0x17f8): undefined reference to dlopen' mjpg_streamer.c:(.text+0x1a1c): undefined reference to
dlerror'
mjpg_streamer.c:(.text+0x1ab4): undefined reference to dlsym' mjpg_streamer.c:(.text+0x1b24): undefined reference to
dlerror'
mjpg_streamer.c:(.text+0x1bb8): undefined reference to dlsym' mjpg_streamer.c:(.text+0x1c20): undefined reference to
dlerror'
mjpg_streamer.c:(.text+0x1cb4): undefined reference to dlsym' mjpg_streamer.c:(.text+0x1d1c): undefined reference to
dlerror'
mjpg_streamer.c:(.text+0x1db0): undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
: recipe for target 'mjpg_streamer' failed
make: *** [mjpg_streamer] Error 1
I executed the installation process as described in here - simply changing the GIT URL.
Using latest RASPBIAN IMAGE.
THX
On raspian jessie PIXEL
$git clone xxxxxxxxx
$make
...
...
No such file or directory #include <jpejlib.h>
Well the idea is simple, make a stream based in images jpeg for devices as digital frame, or ip-Tv.
The idea is to have folder XPTO that have a live stream and when we put photos or images into folder they will be automatically sent for stream.
Hello! Sorry but I am a PI NOOB. I will let you know my setup:
I'm running Octoprint (3D Printer Software) that includes mjpg-streamer on it. I want the experimental version so I can access all the different features...
My main directory has an /mjpg-streamer folder in it with all the files from the original jpg-streamer release. Nested in that folder has an /mjpg-streamer-experimental folder in it that is empty. Can someone explain to me how I install this fork to my Pi?
Thanks!
Paul
the origina needs is that i want to add datetime for my web camera's stream
then i think if this shouldnt be written for such special target, it should be implement as a common usage
so i remind that imagemagick has provided lots of small tools to manipulate images, and it works well, also well known to others. so it will be very useful if you wrote a imagemagick plugin for processing the stream and handle it to the output
also i think its better to adjust the flow model from "input->output" to "source->handle1->handle2->destination" so people could write plugins much more easilly
$ npm install mjpeg-streamer --save
[email protected] install /var/lib/cloud9/Projects/VideoServer/node_modules/jpeg
node-gyp configure build
make: Entering directory '/var/lib/cloud9/Projects/VideoServer/node_modules/jpeg/build'
CXX(target) Release/obj.target/jpeg/src/common.o
In file included from /root/.node-gyp/0.12.18/include/node/node.h:61:0,
from ../src/common.h:4,
from ../src/common.cpp:3:
/root/.node-gyp/0.12.18/include/node/v8.h: In function ‘v8::Handlev8::Value ErrorException(const char*)’:
/root/.node-gyp/0.12.18/include/node/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/common.cpp:10:17: error: within this context
HandleScope scope;
^
../src/common.cpp:11:29: error: ‘New’ is not a member of ‘v8::String’
return Exception::Error(String::New(msg));
^
In file included from /root/.node-gyp/0.12.18/include/node/node.h:61:0,
from ../src/common.h:4,
from ../src/common.cpp:3:
/root/.node-gyp/0.12.18/include/node/v8.h: In function ‘v8::Handlev8::Value VException(const char*)’:
/root/.node-gyp/0.12.18/include/node/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected
V8_INLINE HandleScope() {}
^
../src/common.cpp:16:17: error: within this context
HandleScope scope;
^
../src/common.cpp:17:46: error: ‘ThrowException’ was not declared in this scope
return ThrowException(ErrorException(msg));
^
../src/common.cpp: In function ‘v8::Handlev8::Value ErrorException(const char*)’:
../src/common.cpp:12:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
../src/common.cpp: In function ‘v8::Handlev8::Value VException(const char*)’:
../src/common.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
jpeg.target.mk:90: recipe for target 'Release/obj.target/jpeg/src/common.o' failed
make: *** [Release/obj.target/jpeg/src/common.o] Error 1
make: Leaving directory '/var/lib/cloud9/Projects/VideoServer/node_modules/jpeg/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1078:12)
gyp ERR! System Linux 4.4.9-ti-r25
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /var/lib/cloud9/Projects/VideoServer/node_modules/jpeg
gyp ERR! node -v v0.12.18
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
[email protected] /var/lib/cloud9/Projects/VideoServer
├── [email protected] extraneous
└── [email protected] extraneous
npm WARN [email protected] No repository field.
npm ERR! Linux 4.4.9-ti-r25
npm ERR! argv "node" "/usr/local/bin/npm" "install" "mjpeg-streamer" "--save"
npm ERR! node v0.12.18
npm ERR! npm v3.8.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-gyp configure build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp configure build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the jpeg package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs jpeg
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls jpeg
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/lib/cloud9/Projects/VideoServer/npm-debug.log
I'm starting it with:
-o "output_file.so -d 10000 -f $PICSDIR/tmp --command move-pic.sh"
and get this error:
`FILE output plugin: unrecognized option '--command'
Help for output plugin..: FILE output plugin
The following parameters can be passed to this plugin:
[-f | --folder ]........: folder to save pictures
[-m | --mjpeg ].........: save the frames to an mjpg file
[-d | --delay ].........: delay after saving pictures in ms
[-i | --input ].........: read frames from the specified input plugin
The following arguments are takes effect only if the current mode is not MJPG
[-s | --size ]..........: size of ring buffer (max number of pictures to hold)
[-e | --exceed ]........: allow ringbuffer to exceed limit by this amount
[-c | --command ].......: execute command after saving picture
---------------------------------------------------------------`
It even taunts me with the option in the help it's trying to give.
When I look at the source for the plugin, it looks like the command option got lost from the getopt definition.
Enable debugging output
Has it the option for streaming MJPEG binary data "as is" to the standard output?
./mjpg_streamer <SETTINGS> | myCustomEncrypterAndSender
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.