環境
Buildroot の 'imx6-sabresd_qt5_defconfig' を使用し、ビデオを再生するために 'openssh'、'gdb'、いくつかの 'gstreamer' を追加しています。
私のボードはi.MX6Qです。ov5640 をモジュールとして追加し、このコマンドを使用して ov5640 モジュールをインストールします
insmod /lib/modules/4.14.14/kernel/drivers/media/i2c/ov5640.ko
テスト - Qt カメラ アプリ
次にQtカメラデモアプリを実行すると、このエラーが表示されました
Unable to open the camera "" for read to query the parameter info: "No such file or directory"
CameraBin error: "GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure."
また、利用可能なカメラを表示するためにこのコードを追加したところ、0 が返されました。
qDebug()<<QCameraInfo::availableCameras().count();
利用可能なカメラがないというエラーが表示されました。次に、このファイルがないことがわかりました。
driver/media/video/mxc
質問
「MXC Video For Linux Camera」は buildroot のどこにありますか? それは menuconfig または linux-menuconfig にありますか、それともドライバーを移植する必要がありますか? ありがとう。