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.

  • Resolved

H.264 Encoder and RTP

I want a demo that do H.264 encoder and send bitstream in RTP packet to Host. Where can I got it ? 

I study sv01, but it's complicated. 

My question is:

1. sv01 is build based on mingw, how to convert it to a ccs_based project? and then modify and debug?

2. It seems that there's RTP lib in sv01. How to add RTP to  transcode demo or "C:\Program Files\Texas Instruments\Codecs\C66x_h264venc_01_24_00_01_ELF\packages\ti\sdo\codecs\h264venc\App\Client\Build\TestAppEncoder\"  ?

  • In reply to Hongmei Gou:

    Hongmei Gou

    Hi David,

    MCSDK Video uses lite package of Framework Components (without fctools directory), and picks up XDAIS, EDMA3LLD, XDC from their own installers. Can you please try renaming or removing fctools under your FC installation directory (e.g., C:/ti/framework_components_3_22_00_05), and then clean and rebuild the project?

    Thanks,

    Hongmei

    Hi,Hongmei:

    My project has been compiled successfully.Thanks.But I have another new problem that

    I cannot download the mcsdk_video_2_0_0_10 which is needed by the project,I just can download

    the latest version from ti.com instead of the old one.Would you give me that link? thanks.

  • In reply to David George:

    Hi David,

    Below please find the link: 

    http://software-dl.ti.com/sdoemb/sdoemb_public_sw/mcsdk_video/02_00_00_10/index_FDS.html

    Thanks,

    Hongmei

  • In reply to Hongmei Gou:

    Hi,Hongmei:

    Thanks,I get the version what I want.

    Does the sv04ccs project you supply only suit for TCI6638 ?

    I know that the mcsdk video is applied on DSPC8681E or EVM6678.I am not sure

    on tci6638 which has 6678 core and A15 core.

  • In reply to Hongmei Gou:

    Hi,Hongmei:

    Now I have succeeded building  sv04.out.Before I run sv04.out I have some

    questions needed to be resolved.To be more exact,I am not sure whether the project

    sv04ccs you supplied can be run on DSPC8681E instead of 6678EVM.Because I

    have no 6678EVM but DSPC8681E on my hand.Also,I find that the MCSDK VIDEO UG

    tell some steps to show how to setup hardware for 6678EVM.So,I want to know the similar 

    steps for DSPC8681E to run sv04.out.

    1.

    How to determine the mac address of DSP ? I know that the tftp.cfg give an sample mac address.

    But I don't think it's right for my DSPC8681E board.The origin mac address parameter is

    As to datasheet of DSPC8681E,there are four DSPs on board and only DSP0

    can connect with the devices outside the DSPC8681E.dsp1 dsp2 and dsp3 all

    connect with DSP0.  So,exactly ,what's the mac address of the DSP0?

    Without that mac address I cannot set the parameter of localmacaddress in the tftp.cfg.

    2.

    I noted that you must set the boot mode of 6678EVM with ROM Ethernet Boot in the User Guide.

    But as to DSPC8681E, How to set the boot mode of 8681? I cannot find the same mode(ROM Ethernet Boot)

    in datasheet of 8681.Below is the boot mode of 8681.

    So,Is it necessary to set boot mode with ROM Ethernet Boot?

    Hongmei,Above are two points which I can think of before I run sv04.out on DSPC8681E.I think

    they are not enough.If you know them please inform me.Thanks.Without the answers of above

    two questions I don't know how to run sv04.out.

  • In reply to Hongmei Gou:

    Hi,Hongmei:

    I run sv04.out on tci6638 dsp_6678.it hung up in the siuGmacnduInit

    when I call siuNduStart in the siuSwInit and in the siuMain.

    The program cannot reach the siuVctRunTask.I don't know why?

    I connect my PC and 6678 DSP with a cisco router .

  • In reply to David George:

    Hi David,

    Which device would you like to run MCSDK Video: DSPC8681E or TCI6638? Please also provide some details about your application, such as what codecs will be used? What is the resolution and FPS? What is the data IO? 

    The latest MCSDK Video (http://software-dl.ti.com/sdoemb/sdoemb_public_sw/mcsdk_video/02_02_00_33/index_FDS.html) has provided out of box demos for DSPC8681E over PCIe. On the other hand, the sv04 CCS project you asked is based on an old release of MCSDK Video and supports TFTP data IO only. What is the motivation of using this old sv04 CCS project?

    Thanks,

    Hongmei

  • In reply to Hongmei Gou:

    Hi,Hongmei:

    My goal is run a demo TFTP input + H264 HP encode + RTP tx.Then I can

    using mplayer or vlc to display the bitstream in real-time.I think sv04ccs meet my

    need.So I want to run sv04ccs you supply,But I don't have 6678EVM,

    I just have DSPC8681E and tci6638.

    Would you please reply my question below one by one ? thank you very much.

    1.

    My target is to run sv04ccs project supplied by you not the latest mcsdk video.

    Because sv04ccs project is what I really need.it not only include the encode/decode

    but also sending bitstream by RTP .The most important thing is that it is a CCS project

    which I can run directly on CCS using jtag.

    If I run the latest mcsdk video I have to make more changes to achieve my goal.Only if

    you can supply a ccs project like sv04ccs which include H264 encode and RTP sending.

    Can you supply me a ccs project like sv04ccs (support h264 encode and rtp) which can

    run smoothly on DSPC8681E or TCI6638?

    2.

    Do you try to run the sv04ccs project you supply on DSPC8681E or TCI6638?

    How is it? Can you run sv04ccs successfully on DSPC8681E or tci6638?

    Does that sv04ccs project only support EVM6678 not support DSPC8681 or tci6638?

     

  • In reply to David George:

    Hi David,

    Thanks for the clarification. 

    The sv04ccs project was developed and verified for EVM6678. We didn't run it on DSPC8681E or TCI6638. Migration is needed in order to run it for DSPC8681E or TCI6638, especially TCI6638 since the underlying PDK is different.

    As for your request on sv04ccs project for DSPC8681E or TCI6638, can you please contact your local FAE or sales to submit the request?

    Thanks,

    Hongmei

  • In reply to Hongmei Gou:

    hi Hongmei,

    I use the mcsdk_video_2_1_0_8, and I have build the sv04 project successfully following the link http://processors.wiki.ti.com/index.php/MCSDK_VIDEO_2.0_CODEC_TEST_FW_User_Guide#Integrating_new_Codec_into_the_build , and I have  also got the source code, now I want to new a ccs project for sv04  myself (I know you have given a sv04 ccs project, but when I build it,there are some errors). For my sv04 ccs project, I need add some predefined  symbols to my ccs project,  I use the makefile from path ”C:\ti\mcsdk_video_2_1_0_8\dsp\mkrel “,

    I find this predefined  symbols in the makefile:

    #sv04: VIDEO HD framework on Shannon
    sv04_restrict =
    sv04_invar = BUILD_TYPE=HDCT RTP=YES\
    BERT_DEF=NO_BERT \
    CPUTYPEDIR=shannon XDAIS=YES\
    NEU=YES \
    SCHEDULER=GG_BIOS \
    NUMCH=2\
    LASTREGCH=2 FIRSTAUXCH=2\
    MAX_PROF_SIZE=37 \
    GMAC=YES \
    ENDIAN=LITTLE JOULE=YES BIOS=YES NUMSL=2 NUMPKTCH=0 \
    MCS_DATA=NO CPU_NCORES=8 RELMSG=YES \
    NUMREDUNCH=0 \
    VMMCOMP=NO TIMER_BASED_TDM=YES TIMER_BASED_TDM_EXT=NO CSL=NO \
    VTK_REDUCE_MIPS=YES H264BP_DEC=NO H264MP_DEC=NO MPEG2MP_DEC=NO MPEG4_DEC=NO H263_DEC=NO \
    H264BP_ENC=NO MPEG4_ENC=NO H263_ENC=NO BIOSIPC=YES IPCREGBAR=NO H264HP_DEC=NO \
    PA_SS=YES TSIP_LLD=NO EDMA_LLD=NO ABI=ELF C66X_AS_C64X=NO

    for my sv04 project, I will add all of this to the predefined  symbols of ccs buld  property. Is it right? And in addition to this, is there other config which need I do?

    Regards,

    Si

  • In reply to si cheng:

    Hi Si,

    Can you please let us know what errors are reported when you build the sv04 ccs project provided earlier in this post? It may be easier to debug the existing project instead of creating your own from scratch.

    As for the symbols defined in the makefile, they are not directly used in the code and therefore cannot be used as is in the CCS project as predefined symbols.

    Thanks,

    Hongmei

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.