Jump to content

Adam08

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Adam08

  1. 9 hours ago, ubobrov said:

    None of these images work on H5. 

    Unfortunetely, encoder doesn't work on H5

     

    17 hours ago, martinayotte said:

    OPiZeroPlus2 is using H5 SoC, not H3 ...

    Guys, Orange Pi Zero +2 H3 is based on H3 chip! There are 2 different types of OPiZeroPlus2.
    I need image for H3 version.

    Watch this:
    https://www.armbian.com/orange-pi-zero-plus-2-h3/
    https://www.orangepi.su/content.php?p=122&c=Orange Pi Zero Plus 2 H3

  2. On 9/4/2020 at 12:25 PM, ubobrov said:

    Here are the Armbian bionic images with installed RTSP streamer using H264 HW encoding on Allwinner H3 boards

    Orange Pi One

    Orange Pi Zero

    Images are able to run on any board with Allwinner H3

     

      Reveal hidden contents

    Description:
    The image is Armbian bionic 20.08 mainline kernel 5.7.15 with installed RTSP server sourced from the HW encoded H264 bitstream.

    H264 HW encoder uses sunxi cedrus driver and takes video from the video device /dev/videoN.
    Any USB camera with output format YUV 4:2:2 or NV12 can be used as the image source for the encoder.
    The system uses UCI from the OpenWrt project (https://openwrt.org/docs/guide-user/base-system/uci) to manage settings of the RTSP streamer.

    RTSP server is starting on boot as a service named supervisor (systemctl start/stop/restart supervisor)
    To watch RTSP stream from the board use mpv or vlc:

    mpv --profile=low-latency --no-cache --untimed rtsp://YUR_BOARD_IP/live.cam
    or
    vlc --sout-udp-caching=0 --clock-jitter=500 rtsp://YUR_BOARD_IP/live.cam

     

    Installation:
    1. Unpack the image
    2. Instal the image to the SD card (linux: sudo dd if=armbian_bionic_rtsp_h264_opi_one.img of=/dev/sdX bs=1M)
    3. Insert and power up

    username: root
    password: 123


    Settings:
    To display RTSP settings use uci show:

    uci show system.rtsp

      system.rtsp=rtsp
      system.rtsp.proto='udp'
      system.rtsp.device='/dev/video0'
      system.rtsp.format='YUYV'
      system.rtsp.port='554'
      system.rtsp.resolution='640x480'
      system.rtsp.channel='live.cam'
      system.rtsp.framerate='25'
      system.rtsp.server='rtsp'
      system.rtsp.uclnt='0.0.0.0'
     
    To change any settings use command uci set:
    ...
    uci set system.rtsp.device=/dev/video1
    uci set system.rtsp.format=UYVY
    ...

    To save changes use command uci commit:
    uci commit

    Settings description:
      system.rtsp.proto - rtsp server network protocol (udp/tcp)
      system.rtsp.device - input video device for h264 encoder (/dev/videoN)
      system.rtsp.format - input image format (YUYV, UYVY, H264, NV12) from the /dev/videoN
      system.rtsp.port - RTSP server port
      system.rtsp.resolution - input image resolution
      system.rtsp.framerate - input stream framerate
      system.rtsp.server - must be rtsp
      system.rtsp.uclnt - not used

    To apply config changes use restart service:
    systemctl restart supervisor
     
    Troubleshooting:
    If there is no RTSP stream after the board is started:
    * check the Ethernet cable connected
    * check the USB camera connected
    * check the USB camera valid name setting (/dev/video0,1,2...N)
    * check the USB camera image format supported (YUYV, UYVY, NV12, H264)
    * check your router RTSP port unblocked
    * check valid command line arguments for playing remote RTSP stream

     

    None of these images work on Orange Pi Zero +2 H3 :(
    Can you please upload version for Zero +2?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines