ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VOXL2 stream video through /dev/video0

    Ask your questions right here!
    3
    6
    216
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jcai
      last edited by

      Hello, I'm somewhat new to video streaming, networking, and Linux development. I'm working on a VOXL2 running voxl-suite 1.3.4~beta3. In addition, I have an M0173 breakout connected with two M0166 tracking and two M0161 Hires cameras. My current project will only use one of the Hires cameras. I've been able to successfully stream the Hires cam over RTSP using voxl-streamer as a sanity check.

      However, my project involves third-party (whom I'm able to contact) software onboard that uses ffmpeg to encode and compress video from /dev/video0 and write it to UDP:127.0.0.1:9976. Is it possible for me to direct the Hires camera to video0 for the software to use? From what I've read, the camera can't be accessed directly via video0 (hence the use of voxl-camera-server). Are there any workarounds here?

      ModeratorM 1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team @jcai
        last edited by

        @jcai No, but you could look at voxl-streamer. VOXL 2 does all of the encoding for you already, you do not need ffmpeg

        J 1 Reply Last reply Reply Quote 0
        • J
          jcai @Moderator
          last edited by

          @Moderator Am I able to specify the IP and port that the stream from voxl-streamer is sent to? Since the third-party software encodes and writes to UDP:127.0.0.1:9976, I'm wondering if it's possible to direct voxl-streamer straight there instead

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @jcai
            last edited by

            @jcai You can use the -p option to specify a different port number. The 127.0.0.1 address is just the home IP address.

            J 1 Reply Last reply Reply Quote 0
            • J
              jcai @Eric Katzfey
              last edited by

              @Eric-Katzfey There might be something about networking that I'm not understanding here.
              voxl-streamer by default streams RTSP to <IP>:8900, so for me I can see the stream by going to rtsp://192.168.1.222:8900/live
              Just changing the port to 9976 doesn't equate to udp @ 127.0.0.1:9976, does it?

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @jcai
                last edited by

                @jcai It should then be rtsp://192.168.1.222:9976/live. Ah, but you don't want that live part on the end?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB | Contributors