i used Mplayer to play video with v4l2
the command is
mplayer -vo v4l2:device=/dev/video1 /home/root/test.mp4
the error code is
Error opening/initializing the selected video_out (-vo) device.
the mplayer source code is
/* check for device hardware MPEG decoding capability */
ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG;
ctrls.count = 0;
ctrls.controls = NULL;
if (ioctl (v4l2_fd, VIDIOC_G_EXT_CTRLS, &ctrls) < 0)
{
free (device);
mp_msg (MSGT_OPEN, MSGL_FATAL, "%s %s\n", V4L2_VO_HDR, strerror (errno));
return -1;
}
is v4l2 driver cannot support it???