Custom-H264 in Liveview?

Completed

Comments

4 comments

  • Arun Raghavan

    Adding some more context:

      * We are using the DJI Payload SDK's Liveview API to capture H.264
      * As we understand it, the stream is H.264 GDR (that is, there are
    no IDR frames)
      * We are able to decode the stream with a s/w decoder (ffmpeg)
      * We are not able to decode with h/w decoders (Raspberry Pi 4 and Jetson Nano)

    So the questions we have are:

      * Is it possible to switch to get a stream with IDR frames (using
    `DjiPayloadCamera_SetVideoStreamType()`) did not help
      * Do we know of any h/w platform that is able to provide accelerated
    decode of the GDR streams?

    0
    Comment actions Permalink
  • DJI Developer Support
    Are you get liveview stream from the drone and camera or devloped third-party camera with PSDK? 1、If you get liveview stream from the drone and DJI cameras (OSDK function), the stream was GDR 2、If you developed your own camera, you can set the stream type according to your camera stream. The API: DjiPayloadCamera_SetVideoStreamType() used to set the channel to the drone from PSDK camera.
    0
    Comment actions Permalink
  • Arun Raghavan

    Thank you. Is there a way to get a non-GDR stream with DJI cameras?

    0
    Comment actions Permalink
  • DJI Developer Support
    The OSDK cannot change the video stream format, the GDR format will be more stable in transmission between the drone and the onboard computer.
    0
    Comment actions Permalink

Please sign in to leave a comment.