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.

DM365 'encode' demo application with s-video input



I have just started to work over DM365 EVM. I want to just test the demo application which comes along with the DM365 EVM software package.

Once I install the entire required software packages, I boot up the board with following bootargs -

setenv bootargs 'console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.199.198.1:/home/airfort/workdir/filesys,nolock mem=76M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x486x4,600K dm365_imp.oper_mode=0 davinci_capture.device_type=1'

I have tried to boot with different values of davinci_capture.device_type = 1,2 and 4

In all the cases, I could create a speech file with the command as ./encode -s spfile.g711

However while using it for video, with the command - ./encode -x -v vdfile.264 I always get the below error -

Encode demo started.
davincifb davincifb.0: check_fb_var: calling convert_fb_var_to_osd, var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 4
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: check_fb_var: calling convert_fb_var_to_osd, var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
davincifb davincifb.0: davincifb_set_par: calling convert_fb_info_to_osd bpp: 4
davincifb davincifb.0: convert_fb_info_to_osd: var->bits_per_pixel: 4
davincifb davincifb.0: convert_fb_var_to_osd: bits per pixel: 4
i2c_adapter i2c-0: tvp514x_setinput:lost lock]
i2c_adapter i2c-0: tvp514x_setinput:lost lock]
i2c_adapter i2c-0: tvp514x: no input connected
vpfe ccdc capture vpfe ccdc capture.1: Error in initializing channel
Error: Failed to detect video standard, video input connected?
Error: Failed to create video encoder: h264enc

I have given S-Video input, where i have connected only yellow coloured wire at the video input port.

I have searched a lot over net and have done lots of trials.

Please suggest me where I am going wrong..

 

  • Gauri,

    Just to validate that everything else on your setup is working, can you confirm if you are able to feed in a composite input without changing any settings on bootargs or the encode demo? Ideally, the input signal is automatically detected for composite IN or a S-Video IN and hence it should have been transparent to application and bootargs.

    I assume you have tested the S-Video signal coming into the EVM, by playing the same signal to some TV.

     

    Regards,

    Anshuman