Issue of fetching Camera from website

Matthew Waters ystreet00 at gmail.com
Tue Mar 23 01:35:22 UTC 2021


Take your pick among any of these webrtc examples: 
https://gitlab.freedesktop.org/gstreamer/gst-examples/-/tree/master/webrtc 
<https://gitlab.freedesktop.org/gstreamer/gst-examples/-/tree/master/webrtc>.

On 23/3/21 5:51 am, Activecraft Software Development wrote:
> Hi Nicolas,
>
> We are new. But we have lots of clients asking for Gstreamer.
>
> So if  we have to fetch stream using getusermedia than we should use 
> WebRTC and after that any of the command like
>
> gst-launch-1.0 -v udpsrc port= ! 
> application/x-rtp,encoding-name=JPEG,payload=26 ! rtpjpegdepay ! 
> jpegdec ! udpsink host=3.137.50.48 port=10001
> or with webrtcbin
>
> If you have Any ex. of usergetmedia with Webrtc to Gstreamer will be 
> very helpful.
>
>
> Anurag Biala
> +91-9814808323 | +1(646)-797-2775
> SKYPE: activecraft at hotmail.com <mailto:activecraft at hotmail.com>      
> |Gmail activecraft at gmail.com <mailto:activecraft at gmail.com>
> Website: https://www.activecraft.com 
> <https://www.activecraft.com/>* |*Email __info at activecraft.com 
> <mailto:info at activecraft.com>
>
> <https://www.activecraft.com>
> 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 Tue, Mar 23, 2021 at 12:10 AM Nicolas Dufresne 
> <nicolas at ndufresne.ca <mailto:nicolas at ndufresne.ca>> wrote:
>
>     Le lundi 22 mars 2021 à 09:39 +0530, info at activecraft.com
>     <mailto:info at activecraft.com> a écrit :
>>
>>       Hi,
>>       Again clarifying
>>       We have Installed Gstreamer at AWS/ubuntu.
>>       Now we want to fetch webcam from website.
>>        Is this possible with these commands ....
>>           gst-launch-1.0 v4l2src ! -------------------
>>        Or
>>           gst-launch-1.0 webrtcbin ...........
>
>     What I can I say, yes. Please come back with specific questions if
>     you need help doing so, this is too broad of a quesiton. GStreamer
>     can be used to bridge a webcam from your PC to a WebRTC channel so
>     you WebRTC enabled AWS node can injest. This is not a ready made
>     solution though, GStreamer is a framework that will let you build
>     a customized solution for your specific needs.
>
>>       Or not.
>>       Please help.
>>      Kind Regards,
>>     Anurag
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>     Quoting Nicolas Dufresne <nicolas at ndufresne.ca
>>     <mailto:nicolas at ndufresne.ca>>:
>>
>>>     Le jeudi 18 mars 2021 à 17:53 +0530, Activecraft Software
>>>     Development a écrit :
>>>
>>>>     Hi,
>>>>
>>>>     We have Installed Ubuntu and Gstreamer at AWS
>>>>     and when running this command
>>>>     gst-launch-1.0 v4l2src ! videoconvert ! ximagesink
>>>>
>>>>     We are getting this error
>>>>     Setting pipeline to PAUSED ...
>>>>     ERROR: Pipeline doesn't want to pause.
>>>>     ERROR: from element
>>>>     /GstPipeline:pipeline0/GstXImageSink:ximagesink0: Could
>>>>     not initialise X output
>>>>     Additional debug info:
>>>>     ximagesink.c(860): gst_x_image_sink_xcontext_get ():
>>>>     /GstPipeline:pipeline0/GstXImageSink:ximagesink0:
>>>>     Could not open display
>>>>     Setting pipeline to NULL ...
>>>>     Freeing pipeline ...
>>>>     ------------------------
>>>>
>>>     You have to start an X11 server and set the DISPLAY env
>>>     accordingly in order to
>>>     use ximagesink.
>>>>
>>>>     and
>>>>     gst-launch-1.0 v4l2src ! video/x-raw,width=640,height=480 ! x264enc
>>>>     tune=zerolatency ! rtph264pay ! udpsink port=10000
>>>>
>>>>     Error
>>>>     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 ...
>>>>
>>>     You have to have a camera connected to your system and exposed
>>>     as /dev/video0 to
>>>     use v4l2src too.
>>>
>>>     While running a headless X11 is possible over aws, attaching a
>>>     camera seems
>>>     rather atypical. If you use a full VM, you would enable vivid
>>>     driver, which will
>>>     provide an emulated camera to your linux kernel.
>>>>
>>>>       Anurag Biala
>>>>     +91-9814808323 | +1(646)-797-2775
>>>>     SKYPE: activecraft at hotmail.com <mailto:activecraft at hotmail.com>
>>>>         |     Gmail activecraft at gmail.com
>>>>     <mailto:activecraft at gmail.com>
>>>>     Website: https://www.activecraft.com  |
>>>>     <https://www.activecraft.com%C2%A0%C2%A0%7C%C2%A0>   Email
>>>>     info at activecraft.com <mailto:info at activecraft.com>
>>>>
>>>>
>>>>
>>>>     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
>>>>     gstreamer-devel at lists.freedesktop.org
>>>>     <mailto:gstreamer-devel at lists.freedesktop.org>
>>>>     https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>>     <https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>>>>
>>>     _______________________________________________
>>>     gstreamer-devel mailing list
>>>     gstreamer-devel at lists.freedesktop
>>>     <mailto:gstreamer-devel at lists.freedesktop>.orghttps://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>>
>>     Anurag Biala
>>     +91-9814808323 | +1(646)-434-7132
>>     SKYPE: activecraft at hotmail.com <mailto:activecraft at hotmail.com>>         |Gmail activecraft at gmail.com <mailto:activecraft at gmail.com>
>>     Website: https://www.activecraft.com
>>     <https://www.activecraft.com/>* |*Email __info at activecraft.com
>>     <mailto:info at activecraft.com>
>>     Whatsapp : +1(646)-434-7132
>>     <https://www.activecraft.com/>
>>     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
>>     gstreamer-devel at lists.freedesktop.org
>>     <mailto:gstreamer-devel at lists.freedesktop.org>
>>     https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>     <https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.freedesktop.org
>     <mailto:gstreamer-devel at lists.freedesktop.org>
>     https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>     <https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210323/e72f3603/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210323/e72f3603/attachment-0001.sig>


More information about the gstreamer-devel mailing list