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.

VP8 and H. 264 hardware encoding? RTSP/RTP streaming?

Other Parts Discussed in Thread: TMDXDAISXDM

Hi there, I'm embarking upon a project in which I'd like to stream either VP8 or H. 264 from an OMAP 4-based device. I have a couple questions about it:

- Is VP8/H 264 encoding AND decoding hardware accelerated?

- Is there any sample code demonstrating the creation of an RTP server using OMAP 4 acceleration somewhere (preferably for Android)?

I would love any tips or advice. Thanks.

  • Hello Dany,

    Regarding your questions:

    "- Is VP8/H 264 encoding AND decoding hardware accelerated"

      According to OMAP4 TRM H264 BP/MP/HP Encode and Decode; H264 Fast Profile/RCDO Encode and Decode; Annex G (SVC) Scalable Baseline Profile to 480p – 720p30 ; H.264 Annex H (MVC) up to 720p30 & On2® VP6/VP7 Decode are hardware accelerated in OMAP4 (Section 6.1 IVA-HD Overview of OMAP4 TRM).

     There is some info regarding this in omappedia: 
    http://omappedia.org /wiki/Android_Getting_Started#Enabling_TI_Hardware_Accelerated_Codecs

    "- Is there any sample code demonstrating the creation of RTP server using OMAP 4 acceleration somewhere (preferably for Android)?"

      TI does not present such sample code.

    Best Regards,

    Yordan

  • Hi Yordan, are there any examples of how to use IVA 3 HD acceleration for video on Android? Does ffmpeg take advantage of OMAP4430's encode/decode acceleration?

    Thanks! 

  • Hello, 

    According  to OMAP4430 TRM, publically available documents explaining the use of IVA-HD are:

    "IVA-HD 1.0 will use eXpressDSP Digital Media (xDM) standard as the principle software interface. The
    xDM standard defines application programming interfaces (APIs) through which an application invokes a
    particular class of codec, such as video decode or audio encode.
    xDM developers kit, technical documentation and full compliant codecs can be downloaded from
    http://focus.ti.com/docs/toolsw/folders/print/tmdxdaisxdm.html."

    There is a document concerning enabling hw acceleration for video (H.264 encoding/decoding) on Android, but it is under NDA agreement. You need to contact your local TI representative for obtaining it.

    As far as I know it is possible for ffmpeg to take advantage of omap encode/decode acceleration.

    Please have in mind that you should also need to get familiar with the Ducati framework and the api's integrated in it, some of which are third party software, in order to understand how to properly configure your video pipeline. For information about Ducati you can search omappedia and processors.wiki.ti.com. A good starting point, if you are not familiar with ducati, is:  http://omappedia.org/wiki/Ducati_For_Dummies

    Best Regards,

    Yordan