I am using EzSDK5_05 for DM8148 EVM. I am trying to run capture_encode demo on EVM.
I have tried 720p and 1080p resolution with this demo and it's working perfectly fine. But I am not able to run it for 1080i60 resolution.
I gave following command,
./capture_encode_a8host_debug.xv5T -o sample.h264 -m 1080p -f 30 -b 1000000 -d 0 -n 1000
Is the above input parameters OK ?
what would be the issue with 1080i60 ? I have attached Log for the same. 2021.teraterm.Log
Seeking quick response.
Thanks in advance,
Interlace capture ( 1080i60) is supported in capture_encode example in EZSDK 5.05
./capture_encode_a8host_debug.xv5T -o sample.h264 -m 1080p -f 60 -b 1000000 -d 0 -n 1000
replace -m 1080p with -m 1080i
and let me know the result.
NOTE : Please click "Verify Answer" if this post has answered your question!
Thanks for your reply.
Attached Logs in above post is for 1080i60 only. By mistake i have written -m 1080p
Anyways I am again attaching tereterm log for
./capture_encode_a8host_debug.xv5T -o sample.h264 -m 1080i -f 30 -b 1000000 -d 0 -n 1000
I am also attaching loggerSMDump.out log which may also be useful to you. 4578.teraterm_1080i_SMdump.log
I have found below error message by doing ./loggerSMDump.out 0x9E400000 0x100000 all
N:VPSS P:2 #:00990 T:0000000880412f57 M:xdc.runtime.Main S: OMX Error in _OMX_VFDCDisplayConfig :: line 896 N:VPSS P:2 #:00991 T:0000000880435d91 M:xdc.runtime.Main S: Error in _OMX_VFDCDrvPrimeBuffersAndStart :: line 1416 N:VPSS P:2 #:00992 T:000000088043cf5f M:xdc.runtime.Main S: OMX Error in OMX_TI_VFDC_CommandNotify :: line 1212 N:VPSS P:2 #:00993 T:0000000880443593 M:xdc.runtime.Main S: OMX Error in _OMX_BASE_HandleStateTransition :: line 381 N:VPSS P:2 #:00994 T:000000088044a35b M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<_OMX_BASE_HandleStateTransition> @line<483> with error<-2147479547:ErrorBadParameter>N:VPSS P:2 #:00995 T:00000008804896e1 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<-2147479547:ErrorBadParameter>N:VPSS P:2 #:00996 T:0000000880494d57 M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<-2147479547:ErrorBadParameter>N:VPSS P:2 #:00997 T:000000088049e21b M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Entering<OMX_BASE_CmdEventHandler> @line<434> N:VPSS P:2 #:00998 T:00000008804a62bd M:xdc.runtime.Main S:Module<OMX.TI.VPSSM3.VFDC> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<0:ErrorNone>
Is it something that the some wrong display parameters are set in demo ?
Any update on above posts ?
where can found the file capture_encode_a8host_debug.xv5T?
I can't found in ezsdk_dm814x-evm_5_05_01_04_setuplinux package.
You can find this binary on your extracted filesystem path.
Thank you very much!
I found it in /usr/share/ti-omx/ , is binary , can't found source code.
The code of capture_encode demo is present in: ti-ezsdk_dm814x-evm_5_05_01_04/component-sources/omx_05_02_00_46/examples/ti/omx/demos/capture_encode/
EZSDK 5.05 support Interlace capture ( 1080i60) in capture_encode example.
OMX_ErrorBadParameter means that one or more parameters were not valid.
It seems the error is in VFDC component.-d | --display_id 0 - for on-chip HDMI, 1 for Secondary display
The display issue for 1080i resolution is solved. I have made change in one of the display parameter for 1080i mode,
driverId.eDispVencMode = OMX_DC_MODE_1080I_60
This solved the issue.
But I got bad encoder quality (.h264 file).
.H264 file generated from capture_encode demo is not working properly for all three resolution (i.e 1080p, 1080i, 720p). See http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/236619/829561.aspx#829561
Please help me to get better encoder quality for all three resolutions (1080p, 1080i, 720p).
I will check it.
Referred to: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/236619/831605.aspx
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.