我正在使用下面的代码使用ggplot2软件包在R中构建直方图-
[video4linux2,v4l2 @ 0x16c29c0] ioctl(VIDIOC_G_PARM): Inappropriate ioctl for device
[video4linux2,v4l2 @ 0x16c29c0] Time per frame unknown
Input #1, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 960.749833, bitrate: N/A
Stream #1:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 640x480, 59.94 tbr, 1000k tbn, 1000k tbc
[flv @ 0x16b58a0] Video codec rawvideo not compatible with flv
Could not write header for output file #0 (incorrect codec parameters ?): Function not implementedStream mapping:
Stream #1:0 -> #0:0 (copy)
Stream #0:0 -> #0:1 (pcm_s16le (native) -> aac (native))
应该使直方图默认返回30个bin,但没有这样做。它返回一个小节而不是30个,为什么呢?