Comments (10)
Hmmm which version of v4l do you have?
from mjpg-streamer.
I have old git 20110614 version, because this is the last release which supports uvcvideo with this old kernel.
from mjpg-streamer.
Hmmm, It might be possible to conditionally #define out the lines its complaining about based on v4l version, but Its not work I'm going to do, mainly because I don't have anything with a kernel like that to test on.
For your purposes, edit mjpg-streamer/mjpg-streamer-experimental/plugins/input_uvc/input_uvc.c
and delete lines
90:
{ "auto", V4L2_CID_POWER_LINE_FREQUENCY_AUTO }
569
V4L_INT_OPT(V4L2_CID_ROTATE, rot, "rotation")
Should work without those as long as you don't try to use those options.
from mjpg-streamer.
Yes, it worked.
Another error now...:
[ 73%] Building C object plugins/output_file/CMakeFiles/output_file.dir/output_file.c.o
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/output_file/output_file.c: In function 'output_init':
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/output_file/output_file.c:503:28: error: 'V4L2_CTRL_TYPE_STRING' undeclared (first use in this function)
filename_ctrl.ctrl.type = V4L2_CTRL_TYPE_STRING;
^
/i-data/bf835951/build/mjpg-streamer/mjpg-streamer-experimental/plugins/output_file/output_file.c:503:28: note: each undeclared identifier is reported only once for each function it appears inplugins/output_file/CMakeFiles/output_file.dir/build.make:54: recipe for target 'plugins/output_file/CMakeFiles/output_file.dir/output_file.c.o' failed
make[2]: *** [plugins/output_file/CMakeFiles/output_file.dir/output_file.c.o] Error 1
CMakeFiles/Makefile2:305: recipe for target 'plugins/output_file/CMakeFiles/output_file.dir/all' failed
make[1]: *** [plugins/output_file/CMakeFiles/output_file.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
from mjpg-streamer.
Do you plan to use the file output plugin?
You can probably delete that line too (mjpg-streamer/mjpg-streamer-experimental/plugins/output_file/output_file.c line 503)
But I'm not sure what in that plugin will break without looking tracing it properly (on phone atm)
from mjpg-streamer.
No, how Can I disable it?
And one more thing! After the cmake it said, the http managment is disabled... So how Can enable it manualy?
Thanks!
from mjpg-streamer.
Did removing the line not work?
I think you can just remove 'add_subdirectory(plugins/output_http)' from CMakeLists.txt
HTTP management is an experimental feature to allow you to change properties (e.g. framerate) on the fly. I'm not sure it's working now (no one has worked on it for a long time) so it's disabled now. It's seperate from the streaming feature (output_http)
Cheers, Liam.
from mjpg-streamer.
I don't tried the line removing. I thought remove the whole module, if it is unneded and not works on my nas...
But now, I am trying to compile a newer v4l and look what happens.
from mjpg-streamer.
Thanks for Your help!
With the media build headers and with my kernel headers specified at the cmake command, I Could built it without uncommenting lines from source. :)
Cool, will try it with a camera tomorrow!
from mjpg-streamer.
Now, I could try it with my cameras. Works nicely. And I surprised, because I Cannot see the mjpg at the top's output... With motion, I had ~25% CPU busy.... With one cam. Nice!
Is it works with gspca drivers too?
Thanks a lot!
from mjpg-streamer.
Related Issues (20)
- deleted
- mjpeg-streamer not loading on boot HOT 1
- Can't make it work on ubuntu server HOT 3
- Does not work with octoprint HOT 4
- using this software to setup rtsp server HOT 1
- Webcam not running on Orange pi pc plus
- Stream-Resolution: 640x480 works, but snapshot has: 4056x3040 (hq-cam/picam3 via libcamera in OctoPrint) HOT 2
- Q: Pinecube compatibility?
- Bullseye can't install `libjpeg8-dev` - substituting `libjpeg62-turbo-dev` succeeds HOT 1
- !00% CPU when run 640x480
- problem with camera ALi Corp. M5602 Video Camera Controller (old acer notebook)
- Race Condition during system startup
- Impossible to delete dir
- not realy issue but would apreciate help. HOT 1
- "input_raspicam" plugin is not compiled HOT 7
- use soft link as device path
- Raspberry Pi arm64 potential fix HOT 2
- I run mjpg-streamer through docker but prompt the content
- Restart automatically when resolution changed
- i try input http but unsuccessful
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 mjpg-streamer.