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

ModalAI Forum

黄充黄

黄充

@黄充
Unfollow Follow
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Frame size mismatch: got 43200 bytes from pipe, expected 38528
    黄充黄 黄充

    Hi, I want to record tof_depth/hires_large_color data simultaneously without using ROS.

    When I try to record tof_depth data in this way::

    First, I launch voxl-stream for tof_depth:

    voxl-camera-server
    voxl-streamer -i tof_depth -p 8901
    

    Then I use ffmpeg to write the stream

    ffmpeg -i rtsp://192.168.1.16:8901/live \
           -f rawvideo -pix_fmt gray \
           -s 224x172 -r 10 \
           output.raw
    

    I run into error in two terminals:

    $ voxl-streamer -i tof_depth -p 8901
    Waiting for pipe tof_depth to appear
    Found Pipe
    detected following stats from pipe:
    w: 224 h: 172 fps: 10 format: RAW8
    Stream available at rtsp://127.0.0.1:8901/live
    A new client rtsp://192.168.1.2:55293(null) has connected, total clients: 1
    Camera server Connected
    ERROR:   Frame size mismatch: got 43200 bytes from pipe, expected 38528
    ERROR:   Most Likely the publisher of the camera data made a mistake
    ERROR:   Shutting down voxl-streamer
    Trying to quit g main loop due to program shutdown
    cleaning up gstreamer
    Exited Cleanly
    
    [in#0 @ 0x6000014d0000] Error opening input: Invalid data found when processing input
    Error opening input file rtsp://192.168.1.16:8901/live.
    Error opening input files: Invalid data found when processing input
    

    Any idea? Is there a better way to record tof_depth/hires_large_color stream simultaneously? Thank you!

    Ask your questions right here!
  • Login

  • Don't have an account? Register

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