question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: esphome esp32_camera_web_server

See original GitHub issue

Describe the problem you are having

Not able to activate esphome cam. Looking for someone configuration that’s working.

https://github.com/esphome/esphome/releases/tag/2021.11.0 https://esphome.io/components/esp32_camera_web_server.html

Version

2.3

Frigate config file

ffmpeg:
      inputs:
        - path: http://192.168.4.16:8080
          hwaccel_args: -c:v h264_v4l2m2m
          input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1
          roles:
            - detect
    detect:
      width: 640
      height: 480

Relevant log output

[2021-11-18 16:36:52] watchdog.chicken               ERROR   : FFMPEG process crashed unexpectedly for chicken.
[2021-11-18 16:36:52] watchdog.chicken               ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2021-11-18 16:36:52] watchdog.chicken               ERROR   : You may have invalid args defined for this camera.
[2021-11-18 16:36:52] ffmpeg.chicken.detect          ERROR   : [h264 @ 0x5571fbaa10] A non-intra slice in an IDR NAL unit.
[2021-11-18 16:36:52] ffmpeg.chicken.detect          ERROR   : [h264 @ 0x5571fbaa10] decode_slice_header error
[2021-11-18 16:36:52] ffmpeg.chicken.detect          ERROR   : [h264 @ 0x5571fbaa10] data partitioning is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.

FFprobe output from your camera

ffprobe version 4.4.1 Copyright (c) 2007-2021 the FFmpeg developers
  built with Apple clang version 13.0.0 (clang-1300.0.29.3)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4.1_3 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-avresample --enable-videotoolbox
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, mpjpeg, from 'http://192.168.4.16:8080':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: mjpeg (Baseline), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 25 tbr, 25 tbn, 25 tbc

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

CPU (no coral)

Network connection

Mixed

Camera make and model

M5Stack esp32cam + esphome

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Tokn59commented, Nov 19, 2021

None ! (Happy smile) … It DOES show up in Frigate now with your configuration. Tried testing detection of “person” but that does not seem to work yet. Maybe due to delays ??? (I am using other cameras successfully with Frigate)

Anyway BIG THANKS for getting me this far already !!!

image

1reaction
lahayegcommented, Nov 18, 2021

Able to create clips. E2E test OK. Closing

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESP32 Camera Web Server Component - ESPHome
The esp32_camera_web_server component allows you to use expose web server of ESP32-based camera boards in ESPHome that directly can be integrated into external ......
Read more >
Web Server AND ESP32 Web Server - ESPHome
I think this is an issue when installing the ESP32 Web Server via OTA. For the first install its ok, then fails each...
Read more >
ESP32 Cam with ESPHome and Home Assistant - YouTube
Inthis video I will show you how to flash ESP32 Cam with ESPHome and configure it on Home Assistant smart home server.
Read more >
ESP32-CAM Video Streaming Web Server (works with Home ...
I put in some code to reconnect to WiFi in case it disconnects, but that did not help. I also have an ESP8266...
Read more >
ESP32 CAM - log shows stream data, but browser or ... - Reddit
esphome : name: esp32-cam-1 esp32: board: esp32cam framework: type: arduino # Enable logging logger: # Enable ... ESP32 Camera Web Server: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found