Hi,
I am using the latest EZSDK, 5_05_02_00 for DM8168 board. I want to know how the video capture was validated with this SDK. I mean which camera device or TV chip is used in this SDK
Thanks in advance.
Regards,
Salih
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.
Hi,
I am using the latest EZSDK, 5_05_02_00 for DM8168 board. I want to know how the video capture was validated with this SDK. I mean which camera device or TV chip is used in this SDK
Thanks in advance.
Regards,
Salih
Hi Ramprasad,
I want to know whether interlaced and De-interlaced modes are tested with this TVP7002. If so which application used to test the same. If G-streamer is used to do this test case what is the command to execute in the target.
Thanks in advance.
Regards,
Salih
Hi Salih,
Yes capture_encode supports both interlace and progressive capture.
Refer http://processors.wiki.ti.com/index.php/OMX_EZSDK_Examples#Capture_Encode for details.
This application uses VFCC OMX component for capturing.
If you want to use Gstreamer ,then pluggin for OMX capture is not available, you will have to use V4L2 capture
There are applications (saLoopBack) provided to test V4L2 capture and display, you can use them.
Build the executable for these application using
make psp-exampes command, it will build sample V4L2 applications in ti-ezsdk_dm816x-evm_5_05_02_00/example-applications/linux-driver-examples-psp04.04.00.01/video/bin
Salih,
Muhammad Salih said:Is it possible to set my default display as LCD while booting instead of HDMI?. If so, what is the procedure to do the same.
May be the approach from DM814x will be in help here. In ti-ezsdk_dm814x-evm_5_05_02_00/docs/DM814x_EZ_Software_Developers_Guide.pdf, section 6.10 How to change the display from HDMI to LCD we have:
How to change the display from HDMI to LCD
The EZ SDK supports multiple displays but by default displays on the HDMI. To change the display to LCD ,
you can execute the following commands once the EVM boots
target# /etc/init.d/matrix-gui-e stop
target# echo 0 > /sys/devices/platform/vpss/display1/enabled
target# echo 29232,800/40/40/48, 480/13/29/3,1/3 > /sys/devices/platform/vpss/display1/timings
target# echo triplediscrete,rgb888,0/0/1/0 > /sys/devices/platform/vpss/display1/output
target# echo 1 > /sys/devices/platform/vpss/display1/enabled
target# fbset -xres 800 -yres 480 -vxres 800 -vyres 480
target# echo 1:dvo2 > /sys/devices/platform/vpss/graphics0/nodes
You can start matrix launcher now, But before starting perform the action mentioned in Note2 below
Refer Video Driver User Guide at
<_your_EZSDK_install_>/board-support/docs/TI81XX_VPSS_Video_Driver_User_Guide.pdf
Note1: To switch the video the below command needs to be executed
target # echo vcompmux:dvo2 > /sys/devices/platform/vpss/video0/nodes
target # cd /usr/share/ti/ti-media-controller-utils
target # ./change_display.sh lcd
Note2: After the switch if you need to start matrix launcher ensure to enable touch screen calibration for LCD.
For this the line which calls calibrate function in file /etc/init.d/matrix-gui-e in target file system needs to be
uncommented. If this is not done, then mouse movement is unpredictable.
Regards,
Pavel
Hi,
Thanks for your input. But in my EZSDK I am not seeing the script file change_display.sh to change the display for video. Could please give me solution on where to get the same file?.
Thanks in advance.
Regards,
Salih
Salih,
This shell script is available in the DM814x EZSDK:
/ti-ezsdk_dm814x-evm_5_05_02_00/board-support/media-controller-utils_3_00_00_05/src/linux/ti814x-evm/change_display.sh
I am attaching it: 3603.change_display.sh
Regards,
Pavel
Hi Pavel,
Thanks for your input. But even if I executed this script, still HDMI only set as default display while rebooting the system. My goal is to play a video in the LCD using G-streamer application. Please help me out to do the same.
Thanks in advance.
Regards,
Salih
Salih,
Muhammad Salih said:My goal is to play a video in the LCD
I can provide you the below pointers:
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/t/110421.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/164800.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/140792.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/356993.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/100349.aspx
Regards,
Pavel