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. voxl-rtsp jpeg is all green

voxl-rtsp jpeg is all green

Scheduled Pinned Locked Moved Ask your questions right here!
11 Posts 2 Posters 1.1k Views 2 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.
  • Daniel RyuD Offline
    Daniel RyuD Offline
    Daniel Ryu
    Regular
    wrote on last edited by
    #1

    Hello, I am trying to use voxl-rtsp to get frames from the tracking camera and sending it to my computer. I can save the frames and send them to my laptop, but when I view the jpegs, they look all green.

    Command I ran on m500 drone: voxl-rtsp -c 1 -d 100 -f jpeg

    I copied the files using the scp command.

    Screenshot from 2021-07-21 15-22-28.png

    1 Reply Last reply
    0
    • Alex KushleyevA Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      Hi Daniel,

      I just tried this to double check and was able to get valid jpegs for hires and tracking camera using the same command. What cameras do you have plugged in? Are you able to view rtsp stream from voxl-rtsp using VLC from the same camera?

      It looks like the jpeg itself is intact in your case, but the data that was used to generate the jpeg is corrupted. Is voxl-camera-server disabled when you run voxl-rtsp?

      Alex

      Daniel RyuD 1 Reply Last reply
      0
      • Alex KushleyevA Alex Kushleyev

        Hi Daniel,

        I just tried this to double check and was able to get valid jpegs for hires and tracking camera using the same command. What cameras do you have plugged in? Are you able to view rtsp stream from voxl-rtsp using VLC from the same camera?

        It looks like the jpeg itself is intact in your case, but the data that was used to generate the jpeg is corrupted. Is voxl-camera-server disabled when you run voxl-rtsp?

        Alex

        Daniel RyuD Offline
        Daniel RyuD Offline
        Daniel Ryu
        Regular
        wrote on last edited by
        #3

        @Alex-Kushleyev I am able to stream to VLC just fine. Could the images be corrupted from using scp to transfer the files from the drone to the laptop?

        1 Reply Last reply
        0
        • Alex KushleyevA Offline
          Alex KushleyevA Offline
          Alex Kushleyev
          ModalAI Team
          wrote on last edited by
          #4

          It is unlikely that corruption is coming from scp. Can you try making a jpeg from the hires camera in the same way?

          Just in case, can you please try to compile voxl-rtsp from dev branch and test again? https://gitlab.com/voxl-public/utilities/voxl-rtsp/-/tree/dev

          Daniel RyuD 1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            It is unlikely that corruption is coming from scp. Can you try making a jpeg from the hires camera in the same way?

            Just in case, can you please try to compile voxl-rtsp from dev branch and test again? https://gitlab.com/voxl-public/utilities/voxl-rtsp/-/tree/dev

            Daniel RyuD Offline
            Daniel RyuD Offline
            Daniel Ryu
            Regular
            wrote on last edited by
            #5

            @Alex-Kushleyev I used adb pull and the jpeg was uncorrupted

            1 Reply Last reply
            0
            • Alex KushleyevA Offline
              Alex KushleyevA Offline
              Alex Kushleyev
              ModalAI Team
              wrote on last edited by
              #6

              wow that's very surprising.. can you do an scp again after you adb pulled it and see if the file is still corrupt?

              Daniel RyuD 1 Reply Last reply
              0
              • Alex KushleyevA Alex Kushleyev

                wow that's very surprising.. can you do an scp again after you adb pulled it and see if the file is still corrupt?

                Daniel RyuD Offline
                Daniel RyuD Offline
                Daniel Ryu
                Regular
                wrote on last edited by
                #7

                @Alex-Kushleyev zi l legitimately have no idea why but scp was able to pull the files uncorrupted. Only thing that was different was that I attempted to run voxl-streamer (which didn't even run). At any rate, problem is fixed, thanks!

                Alex KushleyevA 1 Reply Last reply
                0
                • Daniel RyuD Daniel Ryu

                  @Alex-Kushleyev zi l legitimately have no idea why but scp was able to pull the files uncorrupted. Only thing that was different was that I attempted to run voxl-streamer (which didn't even run). At any rate, problem is fixed, thanks!

                  Alex KushleyevA Offline
                  Alex KushleyevA Offline
                  Alex Kushleyev
                  ModalAI Team
                  wrote on last edited by
                  #8

                  @Daniel-Ryu I have a few more questions, if you don't mind.. I'd like to figure out what happened:

                  • Did you adb pull the same jpeg which previously was copied via scp from VOXL and ended up being corrupted (or did you grab another jpeg) and then adb pulled a new jpeg
                  • When scp failed to copy jpeg correctly, did you reboot voxl after you saved jpeg using voxl-rtsp but before you copied using scp? If the power was pulled before the OS got a chance to do a sync to flash storage, the file could have been corrupted.

                  It seems scp should guarantee file integrity based on this : https://unix.stackexchange.com/questions/253233/do-i-need-to-check-for-file-corruption-once-scp-is-done so it seems like maybe the file was corrupted on VOXL, so it's important to know whether you were able to pull that same jpeg using adb pull or did you try on a new jpeg.

                  Daniel RyuD 1 Reply Last reply
                  0
                  • Alex KushleyevA Alex Kushleyev

                    @Daniel-Ryu I have a few more questions, if you don't mind.. I'd like to figure out what happened:

                    • Did you adb pull the same jpeg which previously was copied via scp from VOXL and ended up being corrupted (or did you grab another jpeg) and then adb pulled a new jpeg
                    • When scp failed to copy jpeg correctly, did you reboot voxl after you saved jpeg using voxl-rtsp but before you copied using scp? If the power was pulled before the OS got a chance to do a sync to flash storage, the file could have been corrupted.

                    It seems scp should guarantee file integrity based on this : https://unix.stackexchange.com/questions/253233/do-i-need-to-check-for-file-corruption-once-scp-is-done so it seems like maybe the file was corrupted on VOXL, so it's important to know whether you were able to pull that same jpeg using adb pull or did you try on a new jpeg.

                    Daniel RyuD Offline
                    Daniel RyuD Offline
                    Daniel Ryu
                    Regular
                    wrote on last edited by
                    #9

                    @Alex-Kushleyev These were new jpegs, as I had deleted the old ones. I did not reboot after saving the jpegs but before copying with scp.

                    1 Reply Last reply
                    0
                    • Daniel RyuD Offline
                      Daniel RyuD Offline
                      Daniel Ryu
                      Regular
                      wrote on last edited by
                      #10

                      Unrelated, but can the tracking camera take images with color or is it only grayscale?

                      1 Reply Last reply
                      0
                      • Alex KushleyevA Offline
                        Alex KushleyevA Offline
                        Alex Kushleyev
                        ModalAI Team
                        wrote on last edited by
                        #11

                        The tracking camera (OV7251) is a grayscale camera, so it cannot sense color.

                        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