-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HW Accel Support]: Unable to read frames from ffmpeg process. #3737
Comments
You may want to try RC2 as it is a newer version of ffmpeg and a different build, but the Pis hardware decoding unfortunately has some limitations. |
Hey Nick! Thanks for your quick response! It took me a second updating to rc2. After the first start I've got "[rtsp @ 0x1cdde70] Unable to open RTSP for listening". So I assumed that I need to define rtsp_transport somewhere.
With that my camereas video works again. Progress: Setting hwaccel for the whole camera shows this error message: frigate11 | [2022-08-30 18:24:17] frigate.app INFO : Starting Frigate (0.11.0-c461c9e)
frigate11 | Starting migrations
frigate11 | [2022-08-30 18:24:17] peewee_migrate INFO : Starting migrations
frigate11 | There is nothing to migrate
frigate11 | [2022-08-30 18:24:17] peewee_migrate INFO : There is nothing to migrate
frigate11 | [2022-08-30 18:24:18] detector.coral INFO : Starting detection process: 210
frigate11 | [2022-08-30 18:24:18] frigate.app INFO : Output process started: 212
frigate11 | [2022-08-30 18:24:18] frigate.edgetpu INFO : Attempting to load TPU as usb
frigate11 | [2022-08-30 18:24:18] frigate.app INFO : Camera processor started for garten_seite: 214
frigate11 | [2022-08-30 18:24:18] frigate.app INFO : Camera processor started for front: 216
frigate11 | [2022-08-30 18:24:18] frigate.app INFO : Capture process started for garten_seite: 217
frigate11 | [2022-08-30 18:24:18] ws4py INFO : Using epoll
frigate11 | [2022-08-30 18:24:18] frigate.app INFO : Capture process started for front: 224
frigate11 | [2022-08-30 18:24:18] ws4py INFO : Using epoll
frigate11 | [2022-08-30 18:24:20] frigate.edgetpu INFO : TPU found
frigate11 | [2022-08-30 18:24:25] frigate.record WARNING : Discarding a corrupt recording segment: {'cache_path': '/tmp/cache/garten_seite-20220830182313.mp4', 'start_time': datetime.datetime(2022, 8, 30, 18, 23, 13)}
frigate11 | [2022-08-30 18:24:29] frigate.record WARNING : Discarding a corrupt recording segment: {'cache_path': '/tmp/cache/garten_seite-20220830182313.mp4', 'start_time': datetime.datetime(2022, 8, 30, 18, 23, 13)}
frigate11 | [2022-08-30 18:24:38] watchdog.garten_seite INFO : No frames received from garten_seite in 20 seconds. Exiting ffmpeg...
frigate11 | [2022-08-30 18:24:38] watchdog.garten_seite INFO : Waiting for ffmpeg to exit gracefully...
frigate11 | [2022-08-30 18:25:08] watchdog.garten_seite INFO : FFmpeg didnt exit. Force killing...
frigate11 | [2022-08-30 18:25:08] frigate.video ERROR : garten_seite: Unable to read frames from ffmpeg process.
frigate11 | [2022-08-30 18:25:08] frigate.video ERROR : garten_seite: ffmpeg process is not running. exiting capture thread...
frigate11 | [2022-08-30 18:25:18] watchdog.garten_seite ERROR : Ffmpeg process crashed unexpectedly for garten_seite.
frigate11 | [2022-08-30 18:25:18] watchdog.garten_seite ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Input #0, rtsp, from 'rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=2':
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Metadata:
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : title : Media Server
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Duration: N/A, start: 1661876659.086356, bitrate: N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1280x960 [SAR 1:1 DAR 4:3], 10 fps, 25.08 tbr, 90k tbn, 20 tbc
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : [h264_v4l2m2m @ 0x1e91c80] Using device /dev/video10
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : [h264_v4l2m2m @ 0x1e91c80] driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : [h264_v4l2m2m @ 0x1e91c80] requesting formats: output=H264 capture=YU12
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Stream mapping:
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Stream #0:0 -> #0:0 (h264 (h264_v4l2m2m) -> rawvideo (native))
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Press [q] to stop, [?] for help
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:25:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:25:38] watchdog.garten_seite INFO : No frames received from garten_seite in 20 seconds. Exiting ffmpeg...
frigate11 | [2022-08-30 18:25:38] watchdog.garten_seite INFO : Waiting for ffmpeg to exit gracefully...
frigate11 | [2022-08-30 18:26:08] watchdog.garten_seite INFO : FFmpeg didnt exit. Force killing...
frigate11 | [2022-08-30 18:26:08] frigate.video ERROR : garten_seite: Unable to read frames from ffmpeg process.
frigate11 | [2022-08-30 18:26:08] frigate.video ERROR : garten_seite: Unable to read frames from ffmpeg process.
frigate11 | [2022-08-30 18:26:08] frigate.video ERROR : garten_seite: ffmpeg process is not running. exiting capture thread...
frigate11 | [2022-08-30 18:26:18] watchdog.garten_seite ERROR : Ffmpeg process crashed unexpectedly for garten_seite.
frigate11 | [2022-08-30 18:26:18] watchdog.garten_seite ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Input #0, rtsp, from 'rtsp:https://frigate:[email protected]:554/cam/realmonitor?channel=1&subtype=2':
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Metadata:
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : title : Media Server
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Duration: N/A, start: 1661876718.799289, bitrate: N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1280x960 [SAR 1:1 DAR 4:3], 10 fps, 24.92 tbr, 90k tbn, 20 tbc
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : [h264_v4l2m2m @ 0x16bf7e0] Using device /dev/video10
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : [h264_v4l2m2m @ 0x16bf7e0] driver 'bcm2835-codec' on card 'bcm2835-codec-decode' in mplane mode
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : [h264_v4l2m2m @ 0x16bf7e0] requesting formats: output=H264 capture=YU12
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Stream mapping:
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Stream #0:0 -> #0:0 (h264 (h264_v4l2m2m) -> rawvideo (native))
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Press [q] to stop, [?] for help
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 2 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Last message repeated 5 times
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbits/s speed=N/A
frigate11 | [2022-08-30 18:26:18] ffmpeg.garten_seite.detect ERROR : Error while decoding stream #0:0: Resource temporarily unavailable Any ideas? |
Okay for one, hwaccel is not used for the record stream (no encoding, decoding, or transcoding is done). Also keep in mind that with h264 the RPi has a limit of 1080p, I see one stream is much higher resolution and likely why it has problems along with the fact that ffprobe complains of issues with it |
Makes sense. That thing recarding the Recording. I changed my config to use another stream with 704x576px. But then I've got the same messag as above.
|
Your ffprobe indicates it is using UDP, can you try TCP with that stream and see what happens? |
Using this command ffprobe does... (I accidently used the masked address and wondered why it hanged)
|
Do you want me to record a short video with vlc? Where could I upload it? |
Are you using TCP for that camera in frigate config? Sure, a pure copy of the stream could be helpful for testing on my test RPi |
I'm using tcp, yes. Is there a quick command I could run to do a pure copy for you? |
If you just use one of the segments from a recording stream (using the low res stream) that would work. |
Sorry for the delay. It took me a second to get everything together. Here you go...
704_576 => https://bit.ly/3AAIXMa (about 1 Mbyte of size) |
Speaking about the hardware encoding and limitations. I am able to switch my cameras video to H.265 (HEVC). I dont know how far frigate and ffmpeg do support h.265 of course. The pi4 b supports:
|
ffmpeg support for RPi decoding H.265 is basically non-existent. See jc-kynesim/rpi-ffmpeg#42 |
Have you had luck encoding the attached recording? |
Haven't had time to get out the Pi yet, today is super busy but might have time this evening otherwise tomorrow |
That video is only available until tuesday. |
This might be related to #3780 |
Does that mean you had no luck decoding it, too? |
No, we had a lot happening at work so I didn't end up finding time. But we've seen more and more reports of the issue I linked to. I haven't had the issue since I haven't updated my apt packages in a while (it's just a test device) |
I updated my kernel-information. It's Kernel: 5.15.55-2-rpi-ARCH (armv7). I'm not sure if that's containing that problem, since everybodys writing about Linux pi5 5.15.61-v8. Did anybody report that issue prior 5.15.61? Or is there a way I could verify its the same issue I have? |
I don't think I've seen it earlier, but there's also been some saying it's not the kernel but a different package. I'm not sure if there's a way to see if you're affected directly, but you could try following #3771 and see if a different ffmpeg build / version from your apt works better. Unfortunately, ffmpegs hwaccel on the RPi is not as robust and needs some improving. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still beeing an issue. Meanwhile I took a look at Raspberries specifications. The limitation of 1080p maximum meanes 1080 rows. Which is 1920x1080 pixels. With my videosize of 1280x960 I'm far away from this limit. |
Most likely related to #3780 |
I can't confirm that. See my message.
|
Heres another sample... $ docker run -it -v $(pwd):/config linuxserver/ffmpeg -i "rtsp:https://user:pass@ip:port/cam/realmonitor?channel=1&subtype=2" -acodec copy -vcodec copy /config/sample.mp4
|
I wonder if its possible that somebody would take a look on that? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the problem you are having
Hey!
I've got an unexplainable issue enabling hardware acceleration for my Dahua IPC-EBW81242-AS-S2 fisheye camera. I'm using blakeblackshear/frigate:0.11.0-rc1 official image from Docker-Hub.
With Hardware-Acceleration enabled all I get is a Greenscreen. Software-Encoding does great - Expect the CPU-Load.
Another camera in the same instance does work great with Hardware-Encoding.
Maybe you could help?
If that helps, then I could upload a short recording from the camera.
Version
Frigate (0.11.0-37325c7)
Frigate config file
docker-compose file or Docker CLI command
Relevant log output
FFprobe output from your camera
This is run within your docker image.
Passing "-rtsp_transport tcp" as additional parameter returns no warnings. Passing in ffmpeg -> global_args does not help with my greenscreen-issue.
Operating system
Other Linux
Install method
Docker Compose
Network connection
Wired
Camera brand and model
Dahua IPC-EBW81242-AS-S2 fisheye camera
Any other information that may be helpful
Platform: Raspberry Pi4 - 8 GB
GPU-Memory: 512 MByte
TPU: Google Coral
Host-OS: Archlinux (armv7h)
Kernel: 5.15.55-2-rpi-ARCH
Detector-Stream-Resolution: 1280x960
Record-Stream-Resolution: 4000x3000
The text was updated successfully, but these errors were encountered: