Comments (14)
One option will be to pass the resolution as part of parameter to URL (http://ipaddress:port/?action=stream&resolution=640x480).
from mjpg-streamer.
I have the same requirement, need the streaming at lower resolution but need to take snapshot at a high resolution.
from mjpg-streamer.
I think it might be possible with the pi cam, and something I could see being useful. But not sure I can do it in a generic enough way that it'll be possible with usb cameras.
I'll leave this issue here for now.
from mjpg-streamer.
@vijayg78 I have try your method,it's not work. could you give me detail ?
thank you so much.
from mjpg-streamer.
Oh no, this was a proposal to jacksonliam so that we can pass the resolution as part of URL. The question was how to generically provide the feature so this reply was just a suggestion. This will not work now.
from mjpg-streamer.
@vijayg78 that's a good idea~
@jacksonliam will you fix this ?
thank you ~
from mjpg-streamer.
I would LOVE this.
from mjpg-streamer.
@vijayg78 I don't think I can easily do it like that because of how the pi cam libraries are setup. The resolution for stills would probably have to be a command line parameter.
I mean I need to find a way to implement it in the code generically so the other plugins can use it, but not breaking the ones that can't. USB cams probably can't do it without stopping the video to take the snapshot.
from mjpg-streamer.
This would be a great feature for PI cam
Will you implement it?
from mjpg-streamer.
@jacksonliam ^_^
from mjpg-streamer.
In an implentation like OctoPrint (with a webcam running a 3D printer with a Raspi computer inside) then often the microSD is only 4GB. Adafruit has recently discontinued the v1 version of the Pi NoIR camera and the new one captures/pushes a lot more resolution by default and it's possible that this is the reason why the video streaming feature is now intermittent for this setup.
So yes, it would be great to be able to back off the default resolution and to steer this programmatically.
from mjpg-streamer.
Hi! Please check out #149 with my solution to serve a stream at multiple resolutions. It isn't pretty but it works a treat :-)
from mjpg-streamer.
Agreed with @OutsourcedGuru. Also using OctoPrint here. It would be so good to be able to pass a query param to indicate the desired resolution and solve it on the server. I'm now coding an Apple Watch app that will render the RPi camera (and other USB cameras). For the iOS app it is perfectly fine to use a higher resolution. However for the Apple Watch just to download such a big resolution takes like a second per frame event at 640 x 480. :(
I'm fine if resolution for stills follows whatever is configured by file or command line. This request is more about being able to override the resolution for streaming. Let me know if you would like another issue for this request (instead of hijacking this thread) :)
Any plans for implementing this?
Thanks,
Gaston
from mjpg-streamer.
Any plans for implementing this?
from mjpg-streamer.
Related Issues (20)
- 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
- Protocol error: libv4l2: error turning on stream: Protocol error
- Control Interface dont work.
- streaming multiple usb cameras possible on pi 4B? HOT 2
- Trouble in PLUGIN_INPUT_RASPICAM HOT 1
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.