ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

AlgoRhythm's profile - activity

2018-05-28 13:33:23 -0500 received badge  Famous Question (source)
2016-11-26 23:20:29 -0500 received badge  Notable Question (source)
2016-11-26 20:11:25 -0500 received badge  Popular Question (source)
2016-11-26 19:21:01 -0500 received badge  Scholar (source)
2016-11-26 19:19:46 -0500 commented answer using gscam with janus-gateway

example:

v4l2src device=$(arg DEVICE) ! video/x-raw,width=1280,height=720 ! tee name=t t. ! queue ! x264enc ! h264parse config-interval=1 ! rtph264pay ! udpsink host=127.0.0.1 port=8004 t. ! queue ! videoconvert
2016-11-26 19:18:22 -0500 commented answer using gscam with janus-gateway

Just figured it out! Thanks for your interpretation of the docs @gvdhoorn. Really helped me think though this. For those interested: used tee's in my pipeline. gscam needs image/jpeg or video/x-raw in RGB to function properly so you have to send over udp in a separate branch.

2016-11-26 17:59:48 -0500 received badge  Supporter (source)
2016-11-26 17:59:27 -0500 commented answer using gscam with janus-gateway

the rtp stream in port 8004 should be detected by Janus-gateway and broadcasted over webRTC. And yes 8004 again. Yeah I really didnt have a very strong understanding of gscam. Need to take advantage of both the RGB output for image processing, but also want to broadcast a low latency video stream.

2016-11-26 03:04:13 -0500 asked a question using gscam with janus-gateway

When running my pipeline with gst-launch-1.0 in terminal, I get exactly what I want to see. However, when transferring that pipeline to my gscam launchfile, no video stream is recognized on the port. Am I doing something wrong?

my launch file is just a copy of their sample with gscam_config changed:

 <launch>

    <arg name="DEVICE" default="/dev/video0"/>
    <arg name="PUBLISH_FRAME" default="false"/>
    <arg name="GST10" default="true"/>

    <node ns="v4l" name="gscam_driver_v4l" pkg="gscam" type="gscam" output="screen">
      <param name="camera_name" value="default"/>
      <param name="camera_info_url" value="package://gscam/examples/uncalibrated_parameters.ini"/>
      <param name="gscam_config" value="v4l2src device=$(arg DEVICE) ! video/x-raw, width=640, height=480 ! ffmpegcolorspace ! x264enc speed-preset=ultrafast tune=zerolatency byte-stream=true bitrate=3000 threads=1 ! h264parse config-interval=1 ! rtph264pay ! udpsink host=127.0.0.1 port=8004"/>
      <param name="frame_id" value="/v4l_frame"/>
      <param name="sync_sink" value="true"/>
    </node>

    <node if="$(arg PUBLISH_FRAME)" name="v4l_transform" pkg="tf" type="static_transform_publisher" args="1 2 3 0 -3.141 0 /world /v4l_frame 10"/>
</launch>