Closed fehlfarbe closed 6 years ago
I'd guess you're seeing a similar/same issue as #433 (using the h264_omx
encoder on RPi). I believe @jasaw has a work-around listed in there for ffmpeg.
Thanks! I switched to extpipe
which is working :+1:
Although it works with extpipe, can you try the previous method with camera dimensions that are multiples of 16 and indicate whether it still hangs?
I would like to put in some edits / log messages to prevent Motion from going into a watchdog timeout and need to know whether camera dimensions that are multiples of 16 are OK.
I changed the camera resolution to 1280x720 and capture is working now but has some color problems (tried mkv and mp4 container):
FFMpeg version: ffmpeg version git-2018-08-08-90dc584, built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516 configuration: --arch=armel --target-os=linux --enable-gpl --enable-mmal --enable-omx --enable-omx-rpi --enable-nonfree
I want to detect motion with an RTSP IP-camera. I can decode and encode the video stream with ffmpeg and mmal/omx hardware acceleration but motion always crashs/freezes, when it detects motion: