Capture_encode demo in EzSDK5_05 for DM8148 EVM

Hi,

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,

Shabbir Limdiwala

13 Replies

  • Hello,

    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.

    Best Regards,

    Margarita

    NOTE : Please click "Verify Answer" if this post has answered your question!

  • In reply to Margarita Gashova:

    Hi,

    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

    4442.teraterm_1080i.log

    I am also attaching loggerSMDump.out log which may also be useful to you. 4578.teraterm_1080i_SMdump.log

    Thanks,

    Shabbir Limdiwala

  • In reply to Shabbir Limdiwala:

    Hi Margarita,

    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 ?

    Shabbir Limdiwala

  • In reply to Shabbir Limdiwala:

    Hi Margarita,

    Any update on above posts ?

    Shabbir Limdiwala

  • In reply to Shabbir Limdiwala:

    Hi all,

    Any update on above posts ?

    Shabbir Limdiwala

  • Hi Shabbir

    where can found the file capture_encode_a8host_debug.xv5T?

    I can't found in ezsdk_dm814x-evm_5_05_01_04_setuplinux package.

    Best regards,

    Steven

  • In reply to xu steven:

    Hi Steven,

    You can find this binary on your extracted filesystem path.

    /usr/share/ti/ti-omx/

    Shabbir Limdiwala

  • In reply to Shabbir Limdiwala:

    Hi Shabbir

    Thank you very much!

    I found it in /usr/share/ti-omx/ , is binary , can't found source code.

  • In reply to xu steven:

    Hello Steve,

    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/

    Best Regards,

    Margarita

    NOTE : Please click "Verify Answer" if this post has answered your question!

  • In reply to Shabbir Limdiwala:

    Hello Shabbir,

    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

    Best Regrads,

    Margarita



    NOTE : Please click "Verify Answer" if this post has answered your question!