Other Parts Discussed in Thread: TVP5150
Tool/software: Linux
Hi,
I am using ti-processor-sdk-linux-am57xx-evm-04.02.00.09 release to develop the custom board. I design to apply tvp5150 to decode NTSC from AIP1A port and pass YUV 8-BIT 4:2:2 data to VIN1B_D0 ~ VIN1B_D7 pin of AM5728. First, we config tvp5150 to AIP1A input (Address 0x00, Bit[1:0]) and enable YUV output (Address 0x03, Bit[3]) via I2C.
While entering 「gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! 'video/x-raw, format=(string)NV12, width=(int)1280, height=(int)720' ! vpe ! filesink location=capture.yuv」, we got error message 「Device '/dev/video0' is not a capture device.」as below:
root@am57xx-evm:~#
root@am57xx-evm:~# gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! 'video/
x-raw, format=(string)NV12, width=(int)1280, height=(int)720' ! vpe ! filesink l
ocation=capture.yuv
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/vid
eo0' is not a capture device.
Additional debug info:
../../../gst-plugins-good-1.8.3/sys/v4l2/v4l2_calls.c(628): gst_v4l2_open (): /G
stPipeline:pipeline0/GstV4l2Src:v4l2src0:
Capabilities: 0x84204000
Setting pipeline to NULL ...
Freeing pipeline ...
root@am57xx-evm:~#
But video0 has been registered by vpe while entering kernel. The dmesg is attached. In the dmesg, the tvp5150 is found, vpe firmware vpdma-1b8.bin loaded and registered as video0.
I am new to AM5728 and Linux, Is there anything wrong in my configuration?
Please kindly point out the root cause, I am very appreciate.
Regards,
Collin