Other Parts Discussed in Thread: TVP7002
Hi
I am using DM816x evaluation board, and I want to connect video input(VGA port on daughter board) to the eval. board, and encode it to a file. I booted up the board using SD card, and when I typed the following command:
root@dm816x-evm:~# gst-launch v4l2src always-copy=false queue-size=12 num-buffers=2000 ! 'video/x-raw-yuv,format=(fourcc)NV12' ! omxbufferalloc numBuffers=12 ! omx_h264enc bitrate=5000000 ! gstperf ! filesink location=captured.h264
I got this message:
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video0'.
Additional debug info:
v4l2_calls.c(493): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: No such file or directory
Setting pipeline to NULL ...
Freeing pipeline ...
So i thought I need to install video capture driver, so I tried to understand TI81xx Video Capture Driver User Guide. But I have little clue where to start, since I am quite new in linux. Based on the Guide, it seemed I could follow this instruction.
Load V4L2 capture and dependent modules
• Load Syslink Module
$ insmod syslink.ko
• Load VPSS M3 Firmware
$ ./slaveloader startup VPSS-M3 ti816x_hdvpss.xem3
• Load VPSS Module
$ insmod vpss.ko
• Load TVP7002 kernel module
$ insmod tvp7002.ko
• Load V4L2 Capture Module
$ insmod ti81xxvin.ko
So I reboot the EVM from SD card, and did the followings:
dm816x-evm login: root
root@dm816x-evm:~# cd /lib/modules/2.6.37/kernel/drivers/dsp
root@dm816x-evm:/lib/modules/2.6.37/kernel/drivers/dsp# insmod syslink.ko
insmod: error inserting 'syslink.ko': -1 File exists
and got this error message. I am wondering if there is any step I am missing. Any help would be appreciated
Peter