Hi all,
I need your help...
I tried to capture / encode video from composite device to file and I do not know how to do this.
I tried this:
/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 failed. Err[-121]
tvp514x 1-005d: Unable to turn on decoder
tvp514x 1-005d: Write: retry ... 0
...
Error: Failed to create capture device. Is video input connected?
Does something know else way to capture video from composite?
Is there a way to do that with gstreamer? If yes, How?
Thanks!
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