Motion stream no longer works on 4.7.0
Description:
Since upgrading to 4.7.0, motion streams have stopped working. Events and timelapses still work.
I'm not yet ceratin if this is a breaking change in configuration from upstream, or due to the package.
I've search upstream and have not found any relevant issues: https://github.com/Motion-Project/motion
Additional info:
- package version(s): 4.7.0
- config and/or log files:
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] motion_startup: Motion 4.7.0 Started
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] motion_startup: Using default log type (ALL)
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] motion_startup: Using log type (ALL) log level (NTC)
[0:motion] [NTC] [STR] [Oct 13 14:21:13] webu_start_strm: Starting all camera streams on port 443
[0:motion] [NTC] [STR] [Oct 13 14:21:13] webu_start_strm: Unable to start stream for camera 0
[0:motion] [NTC] [STR] [Oct 13 14:21:13] webu_start_ctrl: Starting webcontrol on port 8080
[0:motion] [NTC] [STR] [Oct 13 14:21:13] webu_start_ctrl: Started webcontrol on port 8080
[0:motion] [NTC] [ENC] [Oct 13 14:21:13] ffmpeg_global_init: ffmpeg libavcodec version 61.3.100 libavformat version 61.1.100
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] translate_init: Language: English
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] motion_start_thread: Camera ID: 1 is from /etc/motion/camera1.conf
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] motion_start_thread: Camera ID: 1 Camera Name: Bedroom Device: /dev/video0
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] motion_start_thread: Camera ID: 2 is from /etc/motion/camera2.conf
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] motion_start_thread: Camera ID: 2 Camera Name: Bedroom 2 Device: /dev/video2
[1:ml1:Bedroom] [NTC] [ALL] [Oct 13 14:21:13] motion_init: Camera 1 started: motion detection Enabled
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] vid_start: Opening V4L2 device
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_device_open: Using videodevice /dev/video0 and input -1
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_device_capability: - VIDEO_CAPTURE
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_device_capability: - STREAMING
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_input_select: Name = "Camera 1"- CAMERA
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_norm_select: Device does not support specifying PAL/NTSC norm
[0:motion] [NTC] [ALL] [Oct 13 14:21:13] main: Waiting for threads to finish, pid: 933
[2:ml2:Bedroom 2] [NTC] [ALL] [Oct 13 14:21:13] motion_init: Camera 2 started: motion detection Enabled
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:13] vid_start: Opening V4L2 device
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_pixfmt_try: Unable to use YU12 (1920x1080)
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_pixfmt_select: Configuration palette index 17 (YU12) for 1920x1080 doesn't work.
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_pixfmt_select: Supported palettes:
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_pixfmt_select: (0) MJPG (Motion-JPEG)
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_pixfmt_select: (1) YUYV (YUYV 4:2:2)
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:13] v4l2_pixfmt_try: Testing palette YUYV (1920x1080)
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_set: Using palette YUYV (1920x1080)
[1:ml1:Bedroom] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_select: Selected palette YUYV
[1:ml1:Bedroom] [NTC] [NET] [Oct 13 14:21:14] motion_init: Substream not available. Image sizes not modulo 16.
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_device_open: Using videodevice /dev/video2 and input -1
[1:ml1:Bedroom] [NTC] [ALL] [Oct 13 14:21:14] image_ring_resize: Resizing pre_capture buffer to 1 items
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_device_capability: - VIDEO_CAPTURE
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_device_capability: - STREAMING
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_input_select: Name = "Camera 1"- CAMERA
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_norm_select: Device does not support specifying PAL/NTSC norm
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_try: Unable to use YU12 (1920x1080)
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_select: Configuration palette index 17 (YU12) for 1920x1080 doesn't work.
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_select: Supported palettes:
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_select: (0) MJPG (Motion-JPEG)
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_select: (1) YUYV (YUYV 4:2:2)
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_try: Testing palette YUYV (1920x1080)
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_set: Using palette YUYV (1920x1080)
[2:ml2:Bedroom 2] [NTC] [VID] [Oct 13 14:21:14] v4l2_pixfmt_select: Selected palette YUYV
[2:ml2:Bedroom 2] [NTC] [NET] [Oct 13 14:21:14] motion_init: Substream not available. Image sizes not modulo 16.
[2:ml2:Bedroom 2] [NTC] [ALL] [Oct 13 14:21:14] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:ml1:Bedroom] [NTC] [EVT] [Oct 13 14:21:14] event_ffmpeg_timelapse: Timelapse using mpg codec.
[1:ml1:Bedroom] [NTC] [EVT] [Oct 13 14:21:14] event_ffmpeg_timelapse: Events will be appended to file
Here's the camera configuration:
camera_id 1
camera_name Bedroom
video_device /dev/video0
height 1080
width 1920
camera_id 2
camera_name Bedroom 2
video_device /dev/video2
height 1080
width 1920
Please let me know if there's anything I can do on my end to help clarify this issue.
Edited by David Wen Riccardi-Zhu