This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM36X EVM: tried capture video from composite input device

Other Parts Discussed in Thread: TVP5146

Hi,

My setup:

DM36X EVM (with DM368).

DVSDK 4.0.2

In u-boot:

setenv bootargs console=ttyS0,115200n8 rw mem=54M video=davincifb:vid0=ON:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=1 vpfe_capture.cont_bufsize=6291456 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=480P-60 root=/dev/nfs nfsroot=172.20.160.144:/home/myuser/targetfs ip=dhcp

I tried to capture video from composite (I already checked that the video source that connected to the composite connector is good...) input source.

I want to show the video from the composite input to the composite output.

I tried with this command:

./encode -I1 -vtest.mpeg4 -y2 -t20

and I got this error message:

root@dm365-evm:/usr/share/ti/dvsdk-demos# ./encode -I1 -vtest.mpeg4 -y2 -t20
Encode demo started.
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
davinci_previewer davinci_previewer.2: ipipe_set_preview_config
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
EVM: switch to tvp5146 SD video input
tvp514x 1-005d: Write: retry ... 0
tvp514x 1-005d: Write: retry ... 1
tvp514x 1-005d: Write: retry ... 2
tvp514x 1-005d: Write: retry ... 3
tvp514x 1-005d: Write: retry ... 4
tvp514x 1-005d: Write: retry ... 5
tvp514x 1-005d: Write failed. Err[-121]
tvp514x 1-005d: Unable to turn on decoder
tvp514x 1-005d: Write: retry ... 0
tvp514x 1-005d: Write: retry ... 1
tvp514x 1-005d: Write: retry ... 2
tvp514x 1-005d: Write: retry ... 3
tvp514x 1-005d: Write: retry ... 4
tvp514x 1-005d: Write: retry ... 5

Error: Failed to create capture device. Is video input connected?

Note:

This command works good:

/decode -Ocomposite -y2 -v/usr/share/ti/data/videos/davincieffect.mpeg4

Please, help me...

Thanks!