Coder Social home page Coder Social logo

Comments (14)

vijayg78 avatar vijayg78 commented on September 13, 2024 2

One option will be to pass the resolution as part of parameter to URL (http://ipaddress:port/?action=stream&resolution=640x480).

from mjpg-streamer.

vijayg78 avatar vijayg78 commented on September 13, 2024

I have the same requirement, need the streaming at lower resolution but need to take snapshot at a high resolution.

from mjpg-streamer.

jacksonliam avatar jacksonliam commented on September 13, 2024

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.

szhansen avatar szhansen commented on September 13, 2024

@vijayg78 I have try your method,it's not work. could you give me detail ?
thank you so much.

from mjpg-streamer.

vijayg78 avatar vijayg78 commented on September 13, 2024

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.

szhansen avatar szhansen commented on September 13, 2024

@vijayg78 that's a good idea~

@jacksonliam will you fix this ?

thank you ~

from mjpg-streamer.

filipgoc avatar filipgoc commented on September 13, 2024

I would LOVE this.

from mjpg-streamer.

jacksonliam avatar jacksonliam commented on September 13, 2024

@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.

SirIcy avatar SirIcy commented on September 13, 2024

This would be a great feature for PI cam
Will you implement it?

from mjpg-streamer.

szhansen avatar szhansen commented on September 13, 2024

@jacksonliam ^_^

from mjpg-streamer.

OutsourcedGuru avatar OutsourcedGuru commented on September 13, 2024

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.

CarlosGS avatar CarlosGS commented on September 13, 2024

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.

gdombiak avatar gdombiak commented on September 13, 2024

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.

gpupo avatar gpupo commented on September 13, 2024

Any plans for implementing this?

from mjpg-streamer.

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.