通过加载/komod/g_multi_uvc.ko驱动模块,/dev/路径下出现了video0设备,通过ffmpeg的api:
/*
AVInputFormat *inputFmt = av_find_input_format("video4linux2");
avformat_open_input(&pFormatCtx, "/dev/video0", inputFmt, NULL);
*/
报错[video4linux2,v4l2 @ 0x155ed30] Not a video capture device
求大佬们指点