Help needed

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Help needed

Activecraft Software Development
We have installed Gstreamer at AWS ubuntu.

Now when i am running below command then how my pc webcam will work. what steps needed so a webcam can be fetched.

root@ip-172-31-31-90:~# gst-launch-1.0 v4l2src num-buffers=1 ! jpegenc quality=100 ! multifilesink location=/var/www/html/public/img/IMG%06d.jpg

Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video0'.
Additional debug info:
v4l2_calls.c(609): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...
root@ip-172-31-31-90:~#

  Anurag Biala     
+91-9814808323 | +1(646)-797-2775  
SKYPE:   [hidden email]      |     Gmail      [hidden email]
Website: https://www.activecraft.com  |    Email      [hidden email]                                        


Website Design & Develop + App Design & Develop + SEO/SMM + Graphic Design + UI/UX
              
CONFIDENTIALITY NOTICE: The information in this email may be confidential and/or privileged. This email is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. 



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Help needed

gotsring
What are you trying to do overall?
What is the AWS instance for? Storing images? Does your AWS instance have a
camera connected to it, or is your camera only connected to your local PC?

If your webcam is on your PC, then you will have to run the command on your
PC, not the AWS console.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Help needed

Activecraft Software Development
If i will run Command at my pcm than this is the error
D:\>gst-launch-1.0 v4l2src0 num-buffers=1 device="/dev/video0" ! jpegenc quality=100 ! multifilesink location=/var/www/html/public/img/IMG%06d.jpg
'gst-launch-1.0' is not recognized as an internal or external command,
operable program or batch file.

Our Aim
Gstreamer and ubuntu installed at AWS

Now I want to run commands on a live website so the website can access the user webcam (who opened the site in browser) and live stream to the browser.

Can live websites fetch cameras?

  Anurag Biala     
+91-9814808323 | +1(646)-797-2775  
SKYPE:   [hidden email]      |     Gmail      [hidden email]
Website: https://www.activecraft.com  |    Email      [hidden email]                                        


Website Design & Develop + App Design & Develop + SEO/SMM + Graphic Design + UI/UX
              
CONFIDENTIALITY NOTICE: The information in this email may be confidential and/or privileged. This email is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system. 




On Sat, Mar 20, 2021 at 3:49 AM gotsring <[hidden email]> wrote:
What are you trying to do overall?
What is the AWS instance for? Storing images? Does your AWS instance have a
camera connected to it, or is your camera only connected to your local PC?

If your webcam is on your PC, then you will have to run the command on your
PC, not the AWS console.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Help needed

gotsring
So you're making a web app that will access the client's webcam and record
stuff?

This is beyond my experience, but I believe this can be achieved with
WebRTC. Perhaps look into this, there are no doubt examples on the Internet.

I'm not sure if GStreamer can run in web apps, but either way, I don't think
this is something you can achieve using gst-launch-1.0 commands. Someone
please correct me if I'm wrong.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel