Skip to content

H264 V4L decoding does not work #493

@ngarafol

Description

@ngarafol
  1. version: 4.0.1+gitd23e263490a54329329b64883f1860ada5e5920b
  2. installed as a package or compiled from sources: git
  3. standalone or part of third party: MotionEyeOS rpi-omx branch
  4. video stream source: v4l, logitech c920
  5. hardware: arm, rpi1
  6. operating system: linux (motioneyeos)
# motion -c motion.conf -d 6 -n                         
[-1259994232:motion] [ALR] [ALL] conf_load: Configfile motion.conf not found - trying defaults.: No such file or directory
[-1259994232:motion] [ALR] [ALL] conf_load: could not open configfile /etc/motion/motion.conf: No such file or directory
[-1259994232:motion] [CRT] [ALL] conf_load: No config file to process, using default values
[-1259994232:motion] [NTC] [ALL] motion_startup: Motion 4.0.1+gitd23e263490a54329329b64883f1860ada5e5920b Started
[-1259994232:motion] [NTC] [ALL] motion_startup: Logging to syslog
[-1259994232:motion] [NTC] [ALL] motion_startup: Using default log type (ALL)
[-1259994232:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[-1259994232:motion] [NTC] [ENC] ffmpeg_global_init: ffmpeg libavcodec version 57.89.100 libavformat version 57.71.100
[0:motion] [NTC] [ALL] main: Camera 0 is from motion.conf
[0:motion] [NTC] [ALL] main: Camera 0 is device: /dev/video0 input -1
[0:motion] [NTC] [ALL] main: Stream port 0
[0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 1664
[1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection Enabled
[1:ml1] [NTC] [VID] vid_start: Opening V4L2 device
[1:ml1] [NTC] [VID] v4l2_start: Using videodevice /dev/video0 and input -1
[1:ml1] [NTC] [VID] v4l2_get_capability: 
------------------------
cap.driver: "uvcvideo"
cap.card: "HD Pro Webcam C920"
cap.bus_info: "usb-20980000.usb-1.2"
cap.capabilities=0x84200001
------------------------
[1:ml1] [NTC] [VID] v4l2_get_capability: - VIDEO_CAPTURE
[1:ml1] [NTC] [VID] v4l2_get_capability: - STREAMING
[1:ml1] [NTC] [VID] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1:ml1] [NTC] [VID] v4l2_select_input: - CAMERA
[1:ml1] [NTC] [VID] v4l2_select_input: Device doesn't support specifying PAL/NTSC norm
[1:ml1] [NTC] [VID] v4l2_set_pix_format: Config palette index 17 (YU12) doesn't work.
[1:ml1] [NTC] [VID] v4l2_set_pix_format: Supported palettes:
[1:ml1] [NTC] [VID] v4l2_set_pix_format: (0) YUYV (YUYV 4:2:2)
[1:ml1] [NTC] [VID] v4l2_set_pix_format: 0 - YUYV 4:2:2 (compressed : 0) (0x56595559)
[1:ml1] [NTC] [VID] v4l2_set_pix_format: (1) H264 (H.264)
[1:ml1] [NTC] [VID] v4l2_set_pix_format: 1 - H.264 (compressed : 1) (0x34363248)
[1:ml1] [NTC] [VID] v4l2_set_pix_format: (2) MJPG (Motion-JPEG)
[1:ml1] [NTC] [VID] v4l2_set_pix_format: 2 - Motion-JPEG (compressed : 1) (0x47504a4d)
[1:ml1] [NTC] [VID] v4l2_set_pix_format: Selected palette H264
[1:ml1] [NTC] [VID] v4l2_do_set_pix_format: Testing palette H264 (352x288)
[1:ml1] [NTC] [VID] v4l2_do_set_pix_format: Using palette H264 (352x288) bytesperlines 704 sizeimage 202752 colorspace 00000008
[1:ml1] [NTC] [VID] v4l2_scan_controls: found control 0x00980900, "Brightness", range 0,255 
[1:ml1] [NTC] [VID] v4l2_scan_controls: 	"Brightness", default -8193, current 128
[1:ml1] [NTC] [VID] v4l2_scan_controls: found control 0x00980901, "Contrast", range 0,255 
[1:ml1] [NTC] [VID] v4l2_scan_controls: 	"Contrast", default 57343, current 128
[1:ml1] [NTC] [VID] v4l2_scan_controls: found control 0x00980902, "Saturation", range 0,255 
[1:ml1] [NTC] [VID] v4l2_scan_controls: 	"Saturation", default 57343, current 128
[1:ml1] [NTC] [VID] v4l2_scan_controls: found control 0x00980918, "Power Line Frequency", range 0,2 
[1:ml1] [NTC] [VID] v4l2_scan_controls: 	"Power Line Frequency", default 2, current 2
[1:ml1] [NTC] [VID] v4l2_scan_controls: found control 0x00980913, "Gain", range 0,255 
[1:ml1] [NTC] [VID] v4l2_scan_controls: 	"Gain", default 57343, current 0
[1:ml1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1:ml1] [ERR] [ALL] motion_init: Error capturing first image

motioneyeos related issue: motioneye-project/motioneyeos#1112

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions