#go2rtc doesn't seem to transcode h265 into h264

1 messages · Page 1 of 1 (latest)

austere kiln
#

Both main and sub streams work, but I want to view exports / motion recordings in desktop Firefox. I can view everything fine in the Android companion app. In desktop Firefox, I can view both the detect substream and the record main stream in the live view. The only issue is the playback of recordings (motion recordings and exports) in Firefox. It cannot do h265 HEVC, but I thought the below configuration should transcode it to h264

go2rtc:
  streams:
    driveway:
      - rtsp://admin:PASS@10.0.x.x:554/h264Preview_01_main
      - ffmpeg:driveway#video=h264#audio=opus
    driveway_sub:
      - rtsp://admin:PASS@10.0.x.x:554/h264Preview_01_sub
      - ffmpeg:driveway_sub#video=h264#audio=opus

cameras:
  cam_driveway1:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/driveway
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/driveway_sub
          input_args: preset-rtsp-restream
          roles:
            - detect