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.

c6678 h.264 demo

Hi, Team!

I'm using <MCSDK Video install diretory>\examples\transcode\, but the dsp cannot get video slips from the tftp server.      

The console print: "Error receive from server!"

My question is:

1. how to know the dsp's IP, via DHCP or fixed?

2. how to run the transcode demo well?

3. does c6678 has rtsp lib support? 

 


  • Hi dp,

    Please follow instructions at http://processors.wiki.ti.com/index.php/MCSDK_VIDEO_2.0_CODEC_TEST_FW_User_Guide#Test_Instructions to run the video transcode example with the following two differences:

    1) Video transcoce example reads tftp.cfg and multiclip.cfg from <MCSDK Video install diretory>\examples\transcode\source directory

    2) In tftp.cfg, the following parameters are used in the same way as codec integration and test application: localIpAddress, localMacAddress, serverIpAddress, and serverMacAddress, and encResolution. Two parameters (decCodecName and encCodecName) are added for the video transcode demo, which specify the codec name for decoder and encoder.

    As for getting the video clip and DSP's IP/MAC:

    1) Since MCSDK Video is not packaging test clip for the example, please prepare a test clip (e.g., 720p H264BP clip) and make sure it is copied to TFTP's current directory. Then, modify examples\transcode\source\multiclip.cfg  to use the correct input file name. Use the packaged multiclip.cfg as the example:

    viperkillercuts_720p_53fr.264 --> Input clip needs to be copied to TFTP's current directory before running the example

    viperkillercuts_720p_53fr_tr3.264 --> Transcoded output clip to be generated at TFTP's current directory

    200 --> number of frames to be transcoded

    2) IP/MAC for PC(running TFTP server)/DSP are specified/configured in examples\transcode\source\tftp.cfg. Use the packaged tftp.cfg as the example:

    localIpAddress = 10.218.109.130 --> DSP's IP address, should be in the same subnet as TFTP server, configurable as long as there is no conflict in the subnet

    localMacAddress = 08-24-BA-79-CC-9E --> DSP's MAC address, can be any valid MAC address as long as it is not used anywhere else in the same subnet

    serverIpAddress = 10.218.109.99 --> PC's IP address, should be in the same subnet as DSP

    serverMacAddress = 00-1B-11-B5-4E-CF --> PC's MAC address

    encResolution = 720p # HD H264ENC resolution: 1080p or 720p

    decCodecName = H264HPDEC

    encCodecName = H264ENC

    For question 3 "does c6678 has rtsp lib support?", can you please provide more details on "rtsp lib"?

    Thanks,

    Hongmei

  • Thanks Hongmei!

    Could you give me some test clips? since I have no valid clips.

    "rtsp lib" means the Real Time Streaming Protocol that send live h.264 stream.

     

  • Hi dp,

    Please find a test vector (720p H264BP clip) for the transcode example from the FTP below.

    MCSDK Video 2.0 does not support RTSP call negotiation. In the demo, we expect RTSP negotiation to happen outside of DSP (by a host processor) and the IP/UDP/RTP ports are negotiated. DSPs are configured with this negotiated configuration. MCSDK-Video 2.0 supports RTP/RTCP for media traffic (http://processors.wiki.ti.com/index.php/MCSDK_VIDEO_2.0_Demo_Guide). We also have support for ES over TFTP (http://processors.wiki.ti.com/index.php/MCSDK_VIDEO_2.0_CODEC_TEST_FW_User_Guide and the transcode example).

    Thanks,

    Hongmei

    ----------------FTP Info----------------

    The ftp pickup directory 'napatoi' was created on 03/23/2012 13:15:00.
    The files from the dropoff area have been moved to the pickup directory
    and are available for 7 days.

    To retrieve the files from the pickup directory:

    1. Open an ftp session to ftppickup.ti.com.
    ftp ftppickup.ti.com

    2. Login with the userid 'pickup'.
    Name: pickup

    3. Enter the password.
    Password: piurh!

    4. Change directories to the pickup directory.
    ftp> cd /pub/share/napatoi

    Note: If you are using a graphical ftp client, you will not
    see the hidden pickup directory name napatoi appear
    in the file list. You will need to use a manual
    'Change Directory' or 'CD' command to change into the
    dropoff directory.

    5. Set the file transfer mode to ascii or binary as necessary.
    ftp> bin

    6. Transfer the file.
    ftp> get <file>

    7. End the ftp session.
    ftp> quit

    The files can also be retrieved with the url:

    ftp://pickup@ftppickup.ti.com/pub/share/napatoi

    List of files in the pickup directory 'napatoi':
    airshow_p1280x720_4Mbps.264
  • Thank Hongmei for your quick reply!

    I can login ftppickup.ti.com, but I can't see and download the clips. The ftp report "Connection closed by romote host". I tryed in dos and linux, all failed.

    So, could you send me the clips to mailbox dpinglee@163.com , or check the Downloadability of the ftp clips.

     

  • Hi dp,

    The clip has been sent to you. I also double checked the FTP download and it works for me.

    Thanks,

    Hongmei

  • Thanks Hongmei!

    C6678 transcode the clip you sent correctly.

     

  • Hi Hongmei,

    Can you also send me the test clip to my email account salaki.zz@gmail.com? Thank you.

  • Please find the test clip attached...

    airshow_p1280x720_4Mbps.zip
  • I got the file correctly. Thank you, Vivek.