I'm working with TI8148EVM (Mistral) and SDK 5.03.01.15
I would like to use OMTB to capture a video input and display it on HDMI output.
IIUC there a script file provided with the SDK (capture_dei_encode.oms) that do so from YCrCb input (with TVP7002) that requires a 1080i60/1080p30 input (output goes to HDMI 1080p60)
However my video source is 480i60 and, in fact, the above source does not work.
Could someone please help me in how to change the script to support my configuration? (of couse if this is possible)
I can use also a different tool but OMTB, IMHO, seems the best one to do tests like this.
Best Regards and Thanks in Advance,
480i capture is not supported on TVP7002 driver. As such hardware supports it but software support is not added.
Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
could you please tell me which configurations are supported by the current software?
are you planning to support more capture configuration with the next releases of the SDK?
What abount V4L2 capture? Has this software the same limitation?
Currently we support 720P60, 1080I60 and 1080P60 capture. Same is supported by V4L2 capture as well. We dont have plans of adding any new resolution support as of now. But in V4L2 capture, since tvp7002 driver is open and datasheet is also available you can try bringing up 480i60 yourself.
Thanks for you quick answer Hardik
I'll give V4L2 a try
Again regarding OMTB,
do you have a sample .oms script to capture/encode/display a 720p60 source? (which should be supported)
the output should be 1080p60 or 720p60 on HDMI and the encoded h264 file should be saved much like the capture_dei_encode.oms does.
I'm trying to do so but I still have some trouble..
I am not the correct person for OMTB. Let me forward this query to concerned team here and they will reply.
I have some scripts verified on DM816x for 720P60 capture and display. Please find the scripts with attachment for your reference.
1) VFCC(720p60)->DEI->VFDC(720p60) ->Encode->dump
Thanks and regards Sachin kumar
thanks for the scripts.
However I'm having some trouble with them. On out TI8148EVM I get the following output:
root@dm814x-evm:~# /usr/share/ti/ti-omtb/omtb_dm81xxbm_a8host.xv5T 720p60-vfcc_vfdc_HDMI.omsOMTB> #omx omtb_dbg_lvl 0x00OMTB> #omx omtb_dbg_lvl 0x04OMTB> #omx omtb_dbg_lvl 0x08OMTB> #omx omtb_dbg_lvl 0x10OMTB> omx omtb_dbg_lvl 0x80OKOMTB> omx api initOMTB-OMX_ErrorNoneOKOMTB> omx setp 0 vfcc compname OMX.TI.VPSSM3.VFCCOKOMTB> omx setp 0 tvp compname OMX.TI.VPSSM3.CTRL.TVPOKOMTB> omx setp 0 tvp compname OMX.TI.VPSSM3.CTRL.TVPOKOMTB> omx setp 0 dei compname OMX.TI.VPSSM3.VFPC.DEIMDUALOUTOKLeaving <Function:OMTB_CotexA8Task>At this point the script hang.
The source is 720p60 (taken from our custom DM8148 board) and the HDMI on TI8148EVM is already configured as 720p60:
echo 0 > /sys/devices/platform/vpss/display0/enabledecho 720p-60 > /sys/devices/platform/vpss/display0/modeecho 1 > /sys/devices/platform/vpss/display0/enabled
You sayd that those scripts are validated on DM8168 board and maybe this is the problem.
There's no reference about OMX.TI.VPSSM3.VFPC.DEIMDUALOUT on the other scripts for DM8148 provided with the SDK. Is this the problem?
Could you help me somehow?
If you open and save the script in word pad it will execute properly. I have removed unnecessary command from the script and enable the logs,
omx omtb_dbg_lvl 0x00
omx omtb_dbg_lvl 0x04
omx omtb_dbg_lvl 0x08
omx omtb_dbg_lvl 0x10
omx omtb_dbg_lvl 0x80
Thanks and regards
Tnaks Sachin for the quick response.
Yes, probably the main problem that I had was the eol encoding.. well now it's fixed!
Anyway I still have some trouble and no output on HDMI
Could you please take a look at my log and see if there's any clue in what is wrong in it?
OMX_ErrorBadParameter is coming for vfdc exec,
Default display is LCD need to switch the display to HDMI. Below command can be used to switch from LCD to HDMI.
need to reboot your board after executing the above command.
Thanks Sachin, now it works perfectly!
One last thing.. this output on HDMI at 1080p60
could you please show me how to change the output format to 720p60? (in this way I can see the full sized input on my screen)
I'm trying to do so on my own but I always get a bad parameter error
I also find a bit strange this:
omx setp 0 tvp OMX_TI_IndexParamCTRLVidDecInfo videoStandard 1080P60
tvp7002 should be configured to have a 720p60 and not a 1080p60.. or am I missing something?
Sorry for bothering you with such a question but I cannot find anything in the docs (I'm looking into OMTB_01_00_01_07_UserGuide.pdf, provided with the standard SDK and OpenMax_DM814x_UserGuide.pdf, openmax_il_spec_1_1_2.pdf provided with M3 overlay under NDA)
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.