Skip to content

Confirm ESP 32 Cam setup as a MJPEG stream #14255

Closed Answered by CancunManny
CancunManny asked this question in Ask A Question
Discussion options

You must be logged in to vote

Great, got it working!

The code should look something like this

go2rtc:
  streams:
    mjpeg_cam: "ffmpeg:http://XX.XX.XX.XX}#video=h264#hardware" # <- use hardware acceleration to create an h264 stream usable for other components.

cameras:
  ...
  mjpeg_cam:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/mjpeg_cam
          roles:
            - detect
            - record

Seem both of these would work "ffmpeg:http://..... or "ffmpeg: http://..... but I assume the norm is no spaces in quote marks, which is the way I left it.

Also seems the #hardware works on its own, as it didn't give me any errors and I don't think i have any hardware setup other than preset vappi.

Tha…

Replies: 1 comment 3 replies

Comment options

NickM-27
Oct 9, 2024
Collaborator Sponsor

You must be logged in to vote
3 replies
@CancunManny
Comment options

@NickM-27
Comment options

NickM-27 Oct 9, 2024
Collaborator Sponsor

@CancunManny
Comment options

Answer selected by CancunManny
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants