Giter VIP home page Giter VIP logo

Comments (6)

3p3r avatar 3p3r commented on July 26, 2024

I have not run this package on Windows for over a year now. I mainly use this on Linux. Try setting GST_DEBUG to various levels as described here. Perhaps an element is failing silently. Can't debug much without logs.

from livecam.

asishap007 avatar asishap007 commented on July 26, 2024

Thanks sepehr-laal. Will try that.

Is this module can be used to stream multiple USB webcam in Linux environment ?
I mean by creating a 2 new LiveCam object having device property.

from livecam.

asishap007 avatar asishap007 commented on July 26, 2024

Hi Sepehr,
This is the log, got when I enable Debug option

WARN ksvideosrc gstksvideosrc.c:458:gst_ks_video_src_open_device: failed to create/open KsClock

Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...

Open http://127.0.0.1:11000/ in your browser!
WebCam server started!
0:00:00.558287550 3912 0000000003F49480 WARN videopool gstvideopool.c:219:video_buffer_pool_set_config: no caps in config

I am new in Gstreamer side, so can pleas help me to figure it out ?

from livecam.

3p3r avatar 3p3r commented on July 26, 2024

@asishap007 try looking for error messages. the warning logs you posted are harmless. You can see for yourself here.
To answer your other question, yes you can stream multiple cameras if your hardware resources allows it. Just launch it in two separate processes and use device-index in the config object.

from livecam.

StephaneBischoff avatar StephaneBischoff commented on July 26, 2024

Hi, I am also getting an empty img tag in the browser on Windows 10. @sepehr-laal any fix for this?

@asishap007 did you fix your issue? Can you post the result here for others ;).

LiveCam parameters: { broadcast_addr: '127.0.0.1',
  broadcast_port: 12000,
  ui_addr: '127.0.0.1',
  ui_port: 11000,
  gst_tcp_addr: '127.0.0.1',
  gst_tcp_port: 10000 }
GstLaunch found: C:\gstreamer2\1.0\x86_64\bin\gst-launch-1.0.exe
GStreamer version: 1.14.2
GStreamer pipeline: ksvideosrc ! decodebin ! videoscale ! video/x-raw,width=800,height=600 ! videobalance saturation=0.0 ! videoconvert ! jpegenc ! multipartmux  boundary="--videoboundary" ! tcpserversink host=127.0.0.1 port=10000
Setting pipeline to PAUSED ...

0:00:00.139835156  2104 0000000003243C80 WARN              ksvideosrc gstksvideosrc.c:458:gst_ks_video_src_open_device:<ksvideosrc0>
 failed to create/open KsClock

Pipeline is live and does not need PREROLL ...

0:00:00.171696095  2104 0000000003243E40 FIXME                default gstutils.c:3963:gst_pad_create_stream_id_internal:<ksvideosrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id

Setting pipeline to PLAYING ...
New clock: GstSystemClock

Open http://127.0.0.1:11000/ in your browser!
WebCam server started!
0:00:00.544927722  2104 0000000003243E40 FIXME               basesink gstbasesink.c:3145:gst_base_sink_default_event:<tcpserversink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements

from livecam.

3p3r avatar 3p3r commented on July 26, 2024

@StephaneBischoff I don't know what's the status of GStreamer on Windows these days. I am primarily a Linux dev. You are more than welcome to submit patches.

from livecam.

Related Issues (7)

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.