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.

MPEG2 decoder for Android ?



 

1 ) Ti - dvsdk 4.01 has MPEG2 decoder, also when compiling android with dsp support , it also compile  MEPG2 decoder files. I guess ti-OMX doesnt have necessary  header for MPEG-2 . if i add related codes for MPEG2, android can play MPEG2 files using with hardware decoder. ?

 

2 ) I found  dvsdk - 4.02 released for kenel 2.6.32  , Do you recommend upgrade 4.01 to 4.02 ? ( i know it needs a lot of patch files for upgrading , just i want to know that upgrade can give us any extra performance when decoding media files).

 

3) I'm using BB XM RevC, i have frame drop issue , its not lot , but it has . (with your mpeg4 files for demo purpose.), i did some test , i intall froyo-dsp , it doesnt have same problem , but interesting thing is , i install pure-Linux (Angstrom) i saw same frame drop issue too. if im not wrong all of them use same DVSDK  ,  Can you give me any idea, what is causing this problem or  Can you say me what is the differences between these builds?

 

Thanks

Mehmet Ugursoy.

 

 

  • re 1) - Rowboat takes CodecServer config from Linux DVSDK as is, so the MPEG2 codec is compiled in. But there are some extra work to enable MPEG2 decoding in Android.

    • hooking up H/W MPEG2 decoder to Stagefright, similar to MPEG4/H.264 in hardware/ti/omx/;
    • adding MPEG2 demuxer in Stagefright, currently Android does not support MPEG2 decoding, even with ARM codecs.

    re 2) - we have not done any comparison between 4.01 and 4.02 in Android, not sure how much improvement is.

    re 3) - Froyo uses OpenCORE, but Gingerbread uses Stagefright. The DVSDK is the same.