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. Failed to start voxl-streamer

Failed to start voxl-streamer

Scheduled Pinned Locked Moved Ask your questions right here!
4 Posts 3 Posters 811 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.
  • A Offline
    A Offline
    ashwin-umdlife
    Contributor
    wrote on last edited by ashwin-umdlife
    #1

    Setup

    1. Voxl m500
    2. voxl-suite
    --------------------------------------------------------------------------------
    system-image:    ModalAI 3.3.0 BUILDER: ekatzfey BUILD_TIME: 2021-06-06_19:28
    kernel:          #1 SMP PREEMPT Sun Jun 6 19:41:01 UTC 2021 3.18.71-perf
    factory-bundle:  1.0.1 (Yocto installation)
    --------------------------------------------------------------------------------
    architecture:    aarch64
    processor:       apq8096
    os:              GNU/Linux
    --------------------------------------------------------------------------------
    voxl-suite:
    Package: voxl-suite
    Version: 0.4.6
    Depends: libmodal_exposure (>= 0.0.2), libmodal_json (>= 0.3.5), librc_math (>= 1.1.5), libvoxl_cutils (>= 0.0.2), libvoxl_io (>= 0.5.4), opencv (>= 4.5.2-1), voxl-mavlink (>= 0.0.2), libmodal_pipe (>= 2.0.7), voxl-camera-server (>= 0.7.1), voxl-cpu-monitor (>= 0.1.7), voxl-dfs-server (>= 0.2.0), voxl-imu-server (>= 0.8.1), voxl-mpa-tools (>= 0.2.6), voxl-qvio-server (>= 0.3.1), voxl-tag-detector (>= 0.0.2), voxl-tflite-server (>= 0.1.0), voxl-vision-px4 (>= 0.9.2), openmp (>= 10.0.2), voxl-tflite (>= 0.0.1), voxl-nodes (>= 0.1.6), mavlink-camera-manager (>= 0.0.2), voxl-docker-support (>= 1.1.3), voxl-gphoto2 (>= 0.0.5), voxl-modem (>= 0.12.0), voxl-streamer (>= 0.2.3), voxl-utils (>= 0.7.1), voxl-vpn (>= 0.0.3)
    Replaces: voxl-suite-dev
    Status: install user installed
    Section: base
    Architecture: all
    Maintainer: james@modalai.com
    MD5Sum: a800fd5f7c98cfa4e6ed1638cf25d909
    Size: 1902
    Filename: voxl-suite_0.4.6.ipk
    Description: meta-package for voxl-suite software collection
    Installed-Time: 4206
    
    Package: voxl-suite
    Version: 0.2.0
    Depends: docker, imu_app (= 0.0.6), libvoxl_io (= 0.5.2), voxl-cam-manager (= 0.2.2), voxl-docker-support (= 1.1.1), voxl-hal3-tof-cam-ros (= 0.0.2), voxl-modem (= 0.10.0), voxl-nodes (= 0.0.8), voxl-rtsp (= 1.0.2), voxl-utils (= 0.5.2), voxl-vision-px4 (= 0.6.8), voxl_imu (= 0.0.4), voxl-time-sync (= 0.0.1), voxl-vpn (= 0.0.2), librc_math (= 1.1.2), libmodal_pipe (= 1.2.2), modalai-vl (= 0.1.3)
    Status: unknown ok not-installed
    Section: base
    Architecture: armv7a
    Maintainer: james@modalai.com
    MD5Sum: af706cd3c1ea59f274f2ed9b93141f1d
    Size: 870
    Filename: voxl-suite_0.2.0.ipk
    Description: meta-package to install all of the voxl-suite
    
    

    Steps to reproduce error

    1. Setup camera using voxl-camera-configure and choose option 3
    2. Run the streamer voxl-streamer -c hires
    / # voxl-streamer -c hires
    Using configuration hires
    Error in json_read_file while parsing file /etc/modalai/voxl-streamer.conf
    The syntax error occured immediately BEFORE the following line:
    "configuration":"tracking","hires":{"input":{"interface":"mpa","mpa-camera":"hires"},"output":{"stream":{"rotation":0,"width":640,"height":480,"decimator":2,"bitrate":1000000}}},"hires-logo":{"input":{"interface":"mpa","mpa-camera":"hires"},"output":{"stream":{"rotation":0,"width":640,"height":480,"decimator":2,"bitrate":1000000}},"overlay":{"location":"/etc/modalai/modalai.png","offset_x":-1,"offset_y":-1}},"stereo":{"input":{"interface":"mpa","mpa-camera":"stereo"},"output":{"stream":{"width":640,"height":960,"decimator":2,"bitrate":1000000}}},"tracking":{"input":{"interface":"mpa","mpa-camera":"tracking"},"output":{"stream":{"width":640,"height":480,"decimator":2,"bitrate":1000000}}},"dfs-disparity":{"input":{"interface":"mpa","mpa-camera":"dfs_disparity"},"output":{"stream":{"width":640,"height":480,"decimator":2,"bitrate":1000000}}},"qvio-overlay":{"input":{"interface":"mpa","mpa-camera":"qvio_overlay"},"output":{"stream":{"width":640,"height":544,"decimator":2,"bitrate":1000000}}},"tflite-overlay":{"input":{"interface":"mpa","mpa-camera":"tflite"},"output":{"stream":{"width":640,"height":480,"decimator":2,"bitrate":1000000}}},"hdmi-mpa":{"input":{"interface":"mpa","mpa-camera":"v4l2"},"output":{"stream":{"width":640,"height":360,"decimator":2,"bitrate":1000000}}},"gphoto2-mpa":{"input":{"interface":"mpa","mpa-camera":"gphoto2"},"output":{"stream":{"width":640,"height":360,"decimator":2,"bitrate":1000000}}},"video-test":{"input":{"interface":"test","frame":{"width":1280,"height":720,"format":"uyvy"}},"output":{"stream":{"rotation":0,"width":640,"height":360,"rate":15,"bitrate":1000000}}},"uvc-video":{"input":{"interface":"uvc","device":"/dev/video0"},"output":{"stream":{"rotation":0,"width":640,"height":360,"rate":15,"bitrate":1000000}}}}
    Failed to open configuration file /etc/modalai/voxl-streamer.conf
    ERROR: Could not parse the configuration data
    

    Configuration file wasn't edited.

    {
        "conf-version":"1.0"
        "configuration": "tracking",
        "hires": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "hires" },
            "output": {
                "stream": {
                    "rotation": 0,
                    "width": 640,
                    "height": 480,
                    "decimator": 2,
                    "bitrate": 1000000 } }
        },
        "hires-logo": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "hires" },
            "output": {
                "stream": {
                    "rotation": 0,
                    "width": 640,
                    "height": 480,
                    "decimator": 2,
                    "bitrate": 1000000 } },
            "overlay": {
                "location": "/etc/modalai/modalai.png",
                "offset_x": -1,
                "offset_y": -1 }
        },
        "stereo": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "stereo" },
            "output": {
                "stream": {
                    "width": 640,
                    "height": 960,
                    "decimator": 2,
                    "bitrate": 1000000 } }
        },
        "tracking": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "tracking" },
            "output": {
                "stream": {
                    "width": 640,
                    "height": 480,
                    "decimator": 2,
                    "bitrate": 1000000 } }
        },
        "dfs-disparity": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "dfs_disparity" },
            "output": {
                "stream": {
                    "width": 640,
                    "height": 480,
                    "decimator": 2,
                    "bitrate": 1000000 } }
        },
        "qvio-overlay": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "qvio_overlay" },
            "output": {
                "stream": {
                    "width": 640,
                    "height": 544,
                    "decimator": 2,
                    "bitrate": 1000000 } }
        },
        "tflite-overlay": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "tflite" },
            "output": {
                "stream": {
                    "width": 640,
                    "height": 480,
                    "decimator": 2,
                    "bitrate": 1000000 } }
        },
        "hdmi-mpa": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "v4l2" },
            "output": {
                "stream": {
                    "width": 640,
                    "height": 360,
                    "decimator": 2,
                    "bitrate": 1000000 } }
        },
        "gphoto2-mpa": {
            "input": {
                "interface": "mpa",
                "mpa-camera": "gphoto2" },
            "output": {
                "stream": {
                    "width": 640,
                    "height": 360,
                    "decimator": 2,
                    "bitrate": 1000000 } }
        },
        "video-test": {
            "input": {
                "interface": "test",
                "frame": {
                    "width": 1280,
                    "height": 720,
                    "format": "uyvy" } },
            "output": {
                "stream": {
                    "rotation": 0,
                    "width": 640,
                    "height": 360,
                    "rate": 15,
                    "bitrate": 1000000 } }
        },
        "uvc-video": {
            "input": {
                "interface": "uvc",
                "device": "/dev/video0" },
            "output": {
                "stream": {
                    "rotation": 0,
                    "width": 640,
                    "height": 360,
                    "rate": 15,
                    "bitrate": 1000000 } }
        }
    
    }
    

    Could you please advise what is going wrong here. Our other modalai seems to working fine.

    1 Reply Last reply
    0
    • Eric KatzfeyE Online
      Eric KatzfeyE Online
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      It looks line the newline / CR characters in the configuration file are incorrect. It looks like it thinks the entire configuration file is a single line. Did you install everything from a Linux host computer?

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hi,

        This is a bug with the recently pushed 0.2.5 voxl-streamer, the config file is missing a comma after the conf-version line, a patch will be up shortly, but you can add it yourself to the file in /etc/modalai/voxl-streamer.conf to get it working in the meantime

        1 Reply Last reply
        1
        • A Offline
          A Offline
          ashwin-umdlife
          Contributor
          wrote on last edited by
          #4

          Thanks for th quick reply. Highly appreciate it.

          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