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. Starling 2 Thermal Camera Suggestions

Starling 2 Thermal Camera Suggestions

Scheduled Pinned Locked Moved Ask your questions right here!
24 Posts 5 Posters 6.2k Views 4 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.
  • wifa799W wifa799

    @Eric-Katzfey Thanks for your reply!

    When running voxl-uvc-server -r 160x120 -f 9 I get the following:
    WhatsApp Bild 2025-02-14 um 09.21.08_594c9c05.jpg

    So it looks like the voxl-uvc-server is already running in the background.
    When I open VLC Network Stream (udp://@:4242) I can't see the camera stream.

    After I stopped it with CTRL-C, I typed systemctl stop voxl-streamer and started voxl-streamer -c uvc-flir-lepton.
    This is the output:
    WhatsApp Bild 2025-02-14 um 09.21.08_6f7dd535.jpg

    When checking the stream via VLC I still don't see anything.

    Eric KatzfeyE Offline
    Eric KatzfeyE Offline
    Eric Katzfey
    ModalAI Team
    wrote on last edited by
    #8

    @wifa799 So I would stop both voxl-uvc-server (systemctl stop voxl-uvc-server) and voxl-streamer (systemctl stop voxl-streamer). Then in one terminal window start voxl-uvc-server from the command line (voxl-uvc-server -r 160x120 -f 9) and leave it running (Don't hit ctrl-c to exit). Then in another terminal first make sure that /etc/modalai/voxl-streamer.conf has been configured properly to use the uvc stream and then start it with verbose output (voxl-streamer -v 0). You can get some documentation on the options with voxl-streamer --help. Then you should be able to access the RTSP stream with VLC or QGC at rtsp://127.0.0.1:8900/live

    wifa799W 1 Reply Last reply
    0
    • Eric KatzfeyE Eric Katzfey

      @wifa799 So I would stop both voxl-uvc-server (systemctl stop voxl-uvc-server) and voxl-streamer (systemctl stop voxl-streamer). Then in one terminal window start voxl-uvc-server from the command line (voxl-uvc-server -r 160x120 -f 9) and leave it running (Don't hit ctrl-c to exit). Then in another terminal first make sure that /etc/modalai/voxl-streamer.conf has been configured properly to use the uvc stream and then start it with verbose output (voxl-streamer -v 0). You can get some documentation on the options with voxl-streamer --help. Then you should be able to access the RTSP stream with VLC or QGC at rtsp://127.0.0.1:8900/live

      wifa799W Offline
      wifa799W Offline
      wifa799
      wrote on last edited by
      #9

      @Eric-Katzfey and @modaltb Thanks for your help!
      Unfortunately, I still couldn't get the camera to work.
      To make sure it wasn't an SDK issue, I updated it to voxl-suite 1.4.1 and ran the drone's wifi in station mode.
      Both the drone and the Linux laptop are connected to my smartphone's hotspot.

      As suggested, I first stopped the voxl-uvc-server and the voxl-streamer.
      Then I started the voxl-uvc-server with the correct Lepton camera configuration and got this error:

      "uvc_get_stream_ctrl_format_size failed
      width, height, and or framerate likely not supported
      run voxl-uvc-server -l to list supported resolutions for your camera"

      WhatsApp Bild 2025-02-25 um 11.10.10_5b8e3da8.jpg

      To do what you suggested, I opened a new terminal window and opened the /etc/modalai/voxl-streamer.conf file.

      WhatsApp Bild 2025-02-25 um 11.15.51_965fb00d.jpg

      I then started the streamer with verbose output and saw that, as expected, the configuration had not been updated:

      WhatsApp Bild 2025-02-25 um 11.17.35_24658910.jpg

      To check if there was an actual stream available, I ran nmap on the laptop and saw that port 8900 was still not open:

      WhatsApp Bild 2025-02-25 um 11.21.13_806891b8.jpg

      As expected I also didn't see any RTSP stream using VLC.

      Is there anything else I can try?

      Eric KatzfeyE 1 Reply Last reply
      0
      • wifa799W wifa799

        @Eric-Katzfey and @modaltb Thanks for your help!
        Unfortunately, I still couldn't get the camera to work.
        To make sure it wasn't an SDK issue, I updated it to voxl-suite 1.4.1 and ran the drone's wifi in station mode.
        Both the drone and the Linux laptop are connected to my smartphone's hotspot.

        As suggested, I first stopped the voxl-uvc-server and the voxl-streamer.
        Then I started the voxl-uvc-server with the correct Lepton camera configuration and got this error:

        "uvc_get_stream_ctrl_format_size failed
        width, height, and or framerate likely not supported
        run voxl-uvc-server -l to list supported resolutions for your camera"

        WhatsApp Bild 2025-02-25 um 11.10.10_5b8e3da8.jpg

        To do what you suggested, I opened a new terminal window and opened the /etc/modalai/voxl-streamer.conf file.

        WhatsApp Bild 2025-02-25 um 11.15.51_965fb00d.jpg

        I then started the streamer with verbose output and saw that, as expected, the configuration had not been updated:

        WhatsApp Bild 2025-02-25 um 11.17.35_24658910.jpg

        To check if there was an actual stream available, I ran nmap on the laptop and saw that port 8900 was still not open:

        WhatsApp Bild 2025-02-25 um 11.21.13_806891b8.jpg

        As expected I also didn't see any RTSP stream using VLC.

        Is there anything else I can try?

        Eric KatzfeyE Offline
        Eric KatzfeyE Offline
        Eric Katzfey
        ModalAI Team
        wrote on last edited by
        #10

        @wifa799 Did you see the error message that was printed when voxl-uvc-server exited? It says to try voxl-uvc-server -l to see what formats your camera advertises since the one you tried isn't supported. Can you try that? And voxl-streamer configuration file specifies the small encoded hires stream which it appears to connect with and start streaming. You would need to modify the configuration file if you want it to use a different stream. But if you want it to use the voxl-uvc-stream then you need to get that working before you can try streaming it.

        wifa799W 1 Reply Last reply
        0
        • Eric KatzfeyE Eric Katzfey

          @wifa799 Did you see the error message that was printed when voxl-uvc-server exited? It says to try voxl-uvc-server -l to see what formats your camera advertises since the one you tried isn't supported. Can you try that? And voxl-streamer configuration file specifies the small encoded hires stream which it appears to connect with and start streaming. You would need to modify the configuration file if you want it to use a different stream. But if you want it to use the voxl-uvc-stream then you need to get that working before you can try streaming it.

          wifa799W Offline
          wifa799W Offline
          wifa799
          wrote on last edited by
          #11

          @Eric-Katzfey Thanks again!
          First, we stop any running uvc-server and streamer. Then we define the voxl-uvc-server settings using voxl-uvc-server -r 160x120 -f 9.
          Next we opened a new terminal and started the voxl-streamer with the default settings voxl-streamer -v 0.
          In the terminal it shows that it took some default options (w: 1024, h:768, fps: 30), which are not the settings we defined voxl-uvc-server.
          As expected, the stream failed to open in VLC.

          WhatsApp Bild 2025-02-26 um 16.45.35_2550ae6e.jpg

          We now found that when overriding the input pipe specified in the config file to uvc with voxl-streamer -i uvc -v 0, it takes the correct values as defined in voxl-uvc-server -r 160x120 -f9.

          WhatsApp Bild 2025-02-26 um 16.57.42_64f194d7.jpg

          After attempting to open the stream in VLC it crashes after a few frames.
          The error messages vary every time we re-start the stream.

          No. 1:
          WhatsApp Bild 2025-02-26 um 17.02.02_ce8fc066.jpg

          No. 2:
          WhatsApp Bild 2025-02-26 um 17.32.48_c86d2067.jpg
          Do you know how we can solve this issue?

          Eric KatzfeyE 1 Reply Last reply
          0
          • wifa799W wifa799

            @Eric-Katzfey Thanks again!
            First, we stop any running uvc-server and streamer. Then we define the voxl-uvc-server settings using voxl-uvc-server -r 160x120 -f 9.
            Next we opened a new terminal and started the voxl-streamer with the default settings voxl-streamer -v 0.
            In the terminal it shows that it took some default options (w: 1024, h:768, fps: 30), which are not the settings we defined voxl-uvc-server.
            As expected, the stream failed to open in VLC.

            WhatsApp Bild 2025-02-26 um 16.45.35_2550ae6e.jpg

            We now found that when overriding the input pipe specified in the config file to uvc with voxl-streamer -i uvc -v 0, it takes the correct values as defined in voxl-uvc-server -r 160x120 -f9.

            WhatsApp Bild 2025-02-26 um 16.57.42_64f194d7.jpg

            After attempting to open the stream in VLC it crashes after a few frames.
            The error messages vary every time we re-start the stream.

            No. 1:
            WhatsApp Bild 2025-02-26 um 17.02.02_ce8fc066.jpg

            No. 2:
            WhatsApp Bild 2025-02-26 um 17.32.48_c86d2067.jpg
            Do you know how we can solve this issue?

            Eric KatzfeyE Offline
            Eric KatzfeyE Offline
            Eric Katzfey
            ModalAI Team
            wrote on last edited by
            #12

            @wifa799 I think we're going to have to set this up and run some tests to see if we can recreate the issue. Probably won't happen until next week though.

            wifa799W 2 Replies Last reply
            0
            • Eric KatzfeyE Eric Katzfey

              @wifa799 I think we're going to have to set this up and run some tests to see if we can recreate the issue. Probably won't happen until next week though.

              wifa799W Offline
              wifa799W Offline
              wifa799
              wrote on last edited by
              #13

              Thanks @Eric-Katzfey!
              Let me know if I can provide anything from my side.

              1 Reply Last reply
              0
              • Eric KatzfeyE Eric Katzfey

                @wifa799 I think we're going to have to set this up and run some tests to see if we can recreate the issue. Probably won't happen until next week though.

                wifa799W Offline
                wifa799W Offline
                wifa799
                wrote on last edited by
                #14

                @Eric-Katzfey Have you had any chance looking into the issue?

                Eric KatzfeyE 3 Replies Last reply
                0
                • wifa799W wifa799

                  @Eric-Katzfey Have you had any chance looking into the issue?

                  Eric KatzfeyE Offline
                  Eric KatzfeyE Offline
                  Eric Katzfey
                  ModalAI Team
                  wrote on last edited by
                  #15

                  @wifa799 Yes, I was finally able to gather some hardware together this morning and it all works as expected, but I have a Pure Thermal 2, not Pure Thermal mini. I know I have a Pure Thermal mini somewhere since that is what I originally tested with so I'll have to try to find it and test that. But it's possible that it isn't the hardware that's the issue. I am using SDK 1.4.0. Which one are you using? What is the output of voxl-version? I stopped voxl-uvc-server from running automatically with systemctl disable voxl-uvc-server and voxl-streamer with systemctl disable voxl-streamer and then rebooted. Then, from the command line, I started voxl-uvc-server with voxl-uvc-server -d -r 160x120 -f 9 and in another terminal started voxl-streamer with voxl-streamer -v 0 -i uvc. I then looked at the stream with both QGroundControl 4.3.0 and VLC 3.0.20. What is the output when you use voxl-uvc-server -d -l?

                  1 Reply Last reply
                  0
                  • wifa799W wifa799

                    @Eric-Katzfey Have you had any chance looking into the issue?

                    Eric KatzfeyE Offline
                    Eric KatzfeyE Offline
                    Eric Katzfey
                    ModalAI Team
                    wrote on last edited by
                    #16

                    @wifa799 lepton.jpg

                    1 Reply Last reply
                    0
                    • wifa799W wifa799

                      @Eric-Katzfey Have you had any chance looking into the issue?

                      Eric KatzfeyE Offline
                      Eric KatzfeyE Offline
                      Eric Katzfey
                      ModalAI Team
                      wrote on last edited by
                      #17

                      @wifa799 Are you still having troubles? I got a new PureThermal mini and it also works fine.

                      B 1 Reply Last reply
                      0
                      • Eric KatzfeyE Eric Katzfey

                        @wifa799 Are you still having troubles? I got a new PureThermal mini and it also works fine.

                        B Offline
                        B Offline
                        buem799
                        wrote on last edited by buem799
                        #18

                        Hi @Eric-Katzfey, I'm a new student helping out in @wifa799 's project which is why it took a few days for me to respond, sorry for that.
                        I'll try it out today in the afternoon to be able to also send you the errors I get. So far we haven't gotten it to work.

                        B 1 Reply Last reply
                        0
                        • B buem799

                          Hi @Eric-Katzfey, I'm a new student helping out in @wifa799 's project which is why it took a few days for me to respond, sorry for that.
                          I'll try it out today in the afternoon to be able to also send you the errors I get. So far we haven't gotten it to work.

                          B Offline
                          B Offline
                          buem799
                          wrote on last edited by buem799
                          #19

                          Alright I got it running through QGroundControl now. Thank you very much for your help. I still have some open questions though.
                          In VLC I still cannot connect to it through the rtsp link and also in the VOXL portal I cannot follow the stream (in fact i don't even receive any of the other channels anymore). Do you have any ideas why this might occur and/or how to fix it?

                          Also if I open a third terminal window to check voxl-inspect-services it doesn't show the voxl-uvc-server and the voxl-streamer to be running, even though I can see them working in the other windows and the video also arrives at the QGroundControl. Could this still be an issue?

                          And lastly I'm curious if it's possible to postprocess the video stream in QGroundControl in real-time for e.g. upscaling or object detection or if you would recommend doing this via gstreamer or something different?

                          769f3f08-0f54-4b57-a74b-e137ec470d48-Screenshot from 2025-03-18 14-04-20.png

                          Eric KatzfeyE 1 Reply Last reply
                          0
                          • B buem799

                            Alright I got it running through QGroundControl now. Thank you very much for your help. I still have some open questions though.
                            In VLC I still cannot connect to it through the rtsp link and also in the VOXL portal I cannot follow the stream (in fact i don't even receive any of the other channels anymore). Do you have any ideas why this might occur and/or how to fix it?

                            Also if I open a third terminal window to check voxl-inspect-services it doesn't show the voxl-uvc-server and the voxl-streamer to be running, even though I can see them working in the other windows and the video also arrives at the QGroundControl. Could this still be an issue?

                            And lastly I'm curious if it's possible to postprocess the video stream in QGroundControl in real-time for e.g. upscaling or object detection or if you would recommend doing this via gstreamer or something different?

                            769f3f08-0f54-4b57-a74b-e137ec470d48-Screenshot from 2025-03-18 14-04-20.png

                            Eric KatzfeyE Offline
                            Eric KatzfeyE Offline
                            Eric Katzfey
                            ModalAI Team
                            wrote on last edited by
                            #20

                            @buem799 Glad to hear it is working now. voxl-portal has custom support for various cameras coming through our voxl-camera-server. It does not yet have any support for UVC cameras. Not sure why VLC cannot connect. What version of VLC are you using? voxl-inspect-services only shows the status of services started via systemd. It doesn't show you things that you start on the command line. QGC just shows the video so I don't think you can add those features there. Would you rather do upscaling / object detection directly on VOXL 2 or on a connected computer?

                            groupoG B 2 Replies Last reply
                            0
                            • Eric KatzfeyE Eric Katzfey

                              @buem799 Glad to hear it is working now. voxl-portal has custom support for various cameras coming through our voxl-camera-server. It does not yet have any support for UVC cameras. Not sure why VLC cannot connect. What version of VLC are you using? voxl-inspect-services only shows the status of services started via systemd. It doesn't show you things that you start on the command line. QGC just shows the video so I don't think you can add those features there. Would you rather do upscaling / object detection directly on VOXL 2 or on a connected computer?

                              groupoG Offline
                              groupoG Offline
                              groupo
                              Regular
                              wrote on last edited by
                              #21

                              @Eric-Katzfey @buem799

                              @buem799 I had some RTSP VLC struggles a while back. Check out the link I posted at the bottom of this post here

                              Link Preview Image
                              Gstreamer error: Streaming video to QGC over LTE

                              @Rawdha-R @tom SO, I used ffplay and was able to see the stream successfully. A quick google about vlc/rtsp brought up many issues in the community after som...

                              favicon

                              ModalAI Forum (forum.modalai.com)

                              B 1 Reply Last reply
                              0
                              • Eric KatzfeyE Eric Katzfey

                                @buem799 Glad to hear it is working now. voxl-portal has custom support for various cameras coming through our voxl-camera-server. It does not yet have any support for UVC cameras. Not sure why VLC cannot connect. What version of VLC are you using? voxl-inspect-services only shows the status of services started via systemd. It doesn't show you things that you start on the command line. QGC just shows the video so I don't think you can add those features there. Would you rather do upscaling / object detection directly on VOXL 2 or on a connected computer?

                                B Offline
                                B Offline
                                buem799
                                wrote on last edited by
                                #22

                                @Eric-Katzfey
                                I'm using VLC 3.0.16.
                                Okay, thanks for the clarification.
                                Not 100% sure but ideally we would do the upscaling/object detection on VOXL2 because I would assume we cannot guarantee constant connection to a connected computer.

                                1 Reply Last reply
                                0
                                • groupoG groupo

                                  @Eric-Katzfey @buem799

                                  @buem799 I had some RTSP VLC struggles a while back. Check out the link I posted at the bottom of this post here

                                  Link Preview Image
                                  Gstreamer error: Streaming video to QGC over LTE

                                  @Rawdha-R @tom SO, I used ffplay and was able to see the stream successfully. A quick google about vlc/rtsp brought up many issues in the community after som...

                                  favicon

                                  ModalAI Forum (forum.modalai.com)

                                  B Offline
                                  B Offline
                                  buem799
                                  wrote on last edited by
                                  #23

                                  @groupo
                                  Thanks for the advice. Not sure if I'm missing something but I cannot find the setting mentioned in the post.
                                  Additionally, i don't really understand the ffplay part, is that still in VLC or would that be in the terminal or something else still?
                                  Sorry, if this doesn't make too much sense I'm still quite new to linux and drones.

                                  groupoG 1 Reply Last reply
                                  0
                                  • B buem799

                                    @groupo
                                    Thanks for the advice. Not sure if I'm missing something but I cannot find the setting mentioned in the post.
                                    Additionally, i don't really understand the ffplay part, is that still in VLC or would that be in the terminal or something else still?
                                    Sorry, if this doesn't make too much sense I'm still quite new to linux and drones.

                                    groupoG Offline
                                    groupoG Offline
                                    groupo
                                    Regular
                                    wrote on last edited by groupo
                                    #24

                                    @buem799 Hi, no worries, I am also very new to this space. ffplay is separate thing, part of the ffmpeg program, not something inside VLC. This is the reddit link that I posted in the thread I listed above

                                    Link Preview Image

                                    favicon

                                    (www.reddit.com)

                                    If you read through it, the fix was for a windows machine, which I was using at the time. It states further down in the reddit post that live555 support was removed in newer versions of ubuntu (linux operating system). From your screenshots, it looks like you are using ubuntu, so it could make sense that VLC may not work. I believe it is more a ubuntu issue rather than VLC. Don't try to dig into that, especially if you are new to linux. I would install ffmpeg on your system and try to access the RTSP stream using that. I just asked ChatGPT for the commands to do that and will paste below:

                                    sudo apt install ffmpeg
                                    

                                    Id recommend asking Chat how to access an RTSP stream using ffplay, or read the documentation 🙂

                                    The other thing you could do, if you had a windows laptop, you could connect the windows laptop to the drone wifi and try to access the RTSP stream via VLC on windows and do the fix included in the reddit link

                                    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