Issue with Command

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

Issue with Command

Activecraft Software Development
I am running below command and getting an error, please help.

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: Issue with Command

gotsring
It looks like /dev/video0 doesn't exist.
What are you trying to play? Try setting the device property on v4l2src to
something that exists.

See docs here:
https://gstreamer.freedesktop.org/documentation/video4linux2/v4l2src.html?gi-language=c




--
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: Issue with Command

Activecraft Software Development
  Hi,

Can you please update in which file we have to set device property.

Please provide a path of the gstreamer file location.
We are new.
  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 Fri, Mar 19, 2021 at 7:59 PM gotsring <[hidden email]> wrote:
It looks like /dev/video0 doesn't exist.
What are you trying to play? Try setting the device property on v4l2src to
something that exists.

See docs here:
https://gstreamer.freedesktop.org/documentation/video4linux2/v4l2src.html?gi-language=c




--
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: Issue with Command

gotsring
There is not a file you edit, it is part of the gst-launch-1.0 command.

Something like:
gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video5 ! jpegenc
quality=100 ! multifilesink location=/var/www/html/public/img/IMG%06d.jpg

This is pretty basic usage.
I suggest you Google examples of the gst-launch command, there are several
out there.



--
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: Issue with Command

Activecraft Software Development
I tried below command and same error. Gstreamer is installed at AWS, so is there any issue of fetching webcam.
 
gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video5 ! 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/video5'.
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 ...


  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 Fri, Mar 19, 2021 at 8:40 PM gotsring <[hidden email]> wrote:
There is not a file you edit, it is part of the gst-launch-1.0 command.

Something like:
gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video5 ! jpegenc
quality=100 ! multifilesink location=/var/www/html/public/img/IMG%06d.jpg

This is pretty basic usage.
I suggest you Google examples of the gst-launch command, there are several
out there.



--
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: Issue with Command

gotsring
I have not ever dealt with GStreamer on a remote device or AWS. You should
make sure that the webcam you are trying to access is even recognized by the
OS (try playing it with VLC or something first). Typically, video devices
are listed under /dev/video*, but this may not be the case for you.

This sounds like something you have to sort out on your end; this is not a
GStreamer issue.



--
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: Issue with Command

Activecraft Software Development
Gstreamer is Installed at AWS

and we are running the command at the website.

Is Gstreamer works only for local PC


  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 Fri, Mar 19, 2021 at 10:30 PM gotsring <[hidden email]> wrote:
I have not ever dealt with GStreamer on a remote device or AWS. You should
make sure that the webcam you are trying to access is even recognized by the
OS (try playing it with VLC or something first). Typically, video devices
are listed under /dev/video*, but this may not be the case for you.

This sounds like something you have to sort out on your end; this is not a
GStreamer issue.



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