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.

[Example Request] Streaming Client of NDK

Other Parts Discussed in Thread: TMS320C6678, CONTROLSUITE, MATHLIB

Good morning!!!

I'm trying to transfer data to DSP's Ethernet Port (streaming client) from a device in a network (streaming server).
So, I want to do it with differents protocols and then benchmark the transfers rates, cause I need a broadband speed of 1Gbit/s.
The protocols that I want to benchmark are:
 - User Datagram Protocol (UDP)
 - Real-time Streaming Protocol (RTSP)
 - Peer-to-Peer (P2P) protocol.
And to optimize the streaming, I also want to benchmark a decodec like MP3 or MP4.

Could you send me an example of NDK for each of this protocols with a decodec?

Thanks,

  • Pedro Villena,

    I came know from your previous post, you are working on C6678 based board. See the NDK examples like helloWorld, client project have the test code. This is having UDP socket for Ethernet data send and receive.
    You can take this as reference code and add the RTP packets for video streaming application.
    For benchmark test, find the HUA demo having the network throughput. See the bechmark code for NDK at: C:\ti\mcsdk_2_01_02_06\demos\hua\src\benchmark\ndkbenchmark.c
    Already benchmark discussion held in the below E2E post.
    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/207175.aspx
    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/217679/777992.aspx#777992

    Go through the HUA demo user guide will give you the testing method.
    http://processors.wiki.ti.com/index.php/MCSDK_HUA_Demonstration_Guide#Benchmarks
    I hope, you may get the some example codes for your requirment at : mcdsdk_video_x_x_x_x package.
    And also Video expert can give you detailed information for MP3/MP4.

  • Pedro Villena,

    Did you get the support / test code from mcdsdk_video_x_x_x_x package? Do you need further follow-up for this? If not, please close this thread.

  • Yes, I'm using the evaluation module TMS320C6678.

    I was testing the examples of HelloWorld and Client that are in the following directory:

    C:\ti\mcsdk_2_01_02_05\examples\ndk

    I had no problem to build and launch HelloWorld example, but I dont know how to link to the EVM with the computer.
    I was trying PING command (succesfull), and TELNET commmand (failed).

    I still have problems to build The Client example.

    C:\ti\ccsv5\utils\bin\gmake -k resourcemgr.obj

    'Building file: C:/Users/PcCom/Documents/WorkSpace/test/client_evmc6678l/resourcemgr.c'

    'Invoking: C6000 Compiler'

    "C:/ti/ccsv5/tools/compiler/c6000_7.4.8/bin/cl6x" -mv6600 --abi=eabi -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.8/include" --include_path="C:/Users/PcCom/Documents/WorkSpace/test/client_evmc6678l" --include_path="C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/qmss" --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="resourcemgr.pp" --cmd_file="./configPkg/compiler.opt" "C:/Users/PcCom/Documents/WorkSpace/test/client_evmc6678l/resourcemgr.c"

    "C:/ti/pdk_C6678_1_1_2_5/packages/ti/drv/cppi/device/cppi_device.c", line 44: fatal error #5: could not open source file "cppi_types.h"

    1 fatal error detected in the compilation of "C:/Users/PcCom/Documents/WorkSpace/test/client_evmc6678l/resourcemgr.c".

    >> Compilation failure

    Do you have a manual or guide to test this examples?

  • Where is the mcdsdk_video_x_x_x_x package?

     Directory of C:\ti

    07/07/2014  15:20    <DIR>          .
    07/07/2014  15:20    <DIR>          ..
    07/07/2014  13:02    <DIR>          bios_5_41_13_42
    07/07/2014  13:03    <DIR>          bios_6_33_05_46
    01/07/2014  17:57    <DIR>          bios_6_33_06_50
    10/07/2014  10:04    <DIR>          ccsv5
    01/07/2014  17:59    <DIR>          cg_xml
    04/03/2013  11:09    <DIR>          controlSUITE
    01/07/2014  17:08    <DIR>          drivers
    01/07/2014  17:59    <DIR>          dsplib_c66x_3_1_0_0
    01/07/2014  17:54    <DIR>          edma3_lld_02_11_05_02
    07/07/2014  13:05    <DIR>          grace_1_10_04_36
    01/07/2014  17:59    <DIR>          imglib_c66x_3_1_1_0
    23/05/2012  01:59    <DIR>          ipc_1_24_03_32
    01/07/2014  17:59    <DIR>          mathlib_c66x_3_0_1_1
    01/07/2014  17:59    <DIR>          mcsdk_2_01_02_05
    01/07/2014  17:52    <DIR>          ndk_2_21_01_38
    01/07/2014  17:55    <DIR>          omp_1_01_03_02
    01/07/2014  17:55    <DIR>          openem_1_0_0_2
    01/07/2014  17:50    <DIR>          pdk_C6657_1_1_2_5
    01/07/2014  17:48    <DIR>          pdk_C6670_1_1_2_5
    01/07/2014  17:46    <DIR>          pdk_C6678_1_1_2_5
    27/03/2012  23:19    <DIR>          uia_1_01_00_04
    07/07/2014  13:04    <DIR>          xdais_7_21_01_07
    07/07/2014  13:01    <DIR>          xdctools_3_23_03_53
    01/07/2014  17:58    <DIR>          xdctools_3_23_04_60

  • Hi,

    Please check the below link for MCSDK-Video package.

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

    Go through the below wiki, this give some info.

    http://processors.wiki.ti.com/index.php/MCSDK_VIDEO_2.1_Demo_Guide