ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Ruijie Geng
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Best 0
    • Controversial 0
    • Groups 0

    Ruijie Geng

    @Ruijie Geng

    0
    Reputation
    3
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Ruijie Geng Unfollow Follow

    Latest posts made by Ruijie Geng

    • Stream the video data via WIFI

      May I ask can we stream the video data via WIFI and let others view the stream through the internet?

      posted in Ask your questions right here!
      Ruijie GengR
      Ruijie Geng
    • RE: Example to stream video via ffmpeg

      Hello, I can use FFmpeg to stream the data from /opt/frame0. And I can view something on my laptop. But the stream is something with green background. Do you meet a similar issue before?
      Does something wrong with my camera or the type of visual stream is not correct?

      stream-bug.png

      posted in Software Development
      Ruijie GengR
      Ruijie Geng
    • RE: Example to stream video via ffmpeg

      Sorry for the late reply. I try the code again, the bug is gone. I can open /dev/frame0 correctly.

      Thank you very much

      posted in Software Development
      Ruijie GengR
      Ruijie Geng
    • RE: Example to stream video via ffmpeg

      I meet another question that I try to run hello_hal3_camera -l /dev/frame0 before starting docker, but gives the error

      ~ # hello_hal3_camera -l /dev/frame0
      
      Camera id: 0
      Image width: 640
      Image height: 480
      Number of frames to dump: 0
      Frame FIFO: /dev/frame0
      Camera mode: preview
      SUCCESS: Camera module opened
      Camera Id: 0 Facing: 0
      Camera Id: 1 Facing: 1
      
      Error: Could not open named FIFO /dev/frame0
      Camera Id: 2 Facing: 1
      
      Camera HAL3 test is now running
      
      posted in Software Development
      Ruijie GengR
      Ruijie Geng
    • RE: Example to stream video via ffmpeg

      Thank you! I will have a trial to do that!

      posted in Software Development
      Ruijie GengR
      Ruijie Geng
    • Example to stream video via ffmpeg

      In this documentation(https://docs.modalai.com/docker-on-voxl/#access-to-mipi-cameras), last part, I get this code

      ffmpeg -an -sn -f rawvideo -pix_fmt nv21 -s:v 640x480 -i /opt/frame0 <output options>
      

      I already set up the docker with roskinetic-xenial_v1_0. Would you like to give an example to use FFmpeg? I want to stream the visual data and view such data on my laptop.

      I tried to save the video locally. but the system give me error

      ffmpeg -an -sn -f rawvideo -pix_fmt nv21 -s:v 640x480 -i /opt/frame0 output.mov
      
      /opt/frame0: Is a directory
      

      Thank you!

      posted in Software Development
      Ruijie GengR
      Ruijie Geng