Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. VOXL2 stream video through /dev/video0

VOXL2 stream video through /dev/video0

Scheduled Pinned Locked Moved Ask your questions right here!
6 Posts 3 Posters 854 Views 1 Watching
  • 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 Offline
    J Offline
    jcai
    Contributor
    wrote on last edited by
    #1

    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
    0
    • J jcai

      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 Offline
      ModeratorM Offline
      Moderator
      ModalAI Team
      wrote on last edited by
      #2

      @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
      0
      • ModeratorM Moderator

        @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 Offline
        J Offline
        jcai
        Contributor
        wrote on last edited by
        #3

        @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
        0
        • J jcai

          @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 Offline
          Eric KatzfeyE Offline
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #4

          @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
          0
          • Eric KatzfeyE Eric Katzfey

            @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 Offline
            J Offline
            jcai
            Contributor
            wrote on last edited by
            #5

            @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
            0
            • J jcai

              @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 Offline
              Eric KatzfeyE Offline
              Eric Katzfey
              ModalAI Team
              wrote on last edited by
              #6

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

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups