×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    25

    Unhappy decoding mpeg4 raw data with CMMFDevVideoPlay

    Hi,

    I am trying to decode mpeg4 raw data with CMMFDevVideoPlay. I have used mime type video/mp4v-es. However, when I copy the packets into the decoder it leaves with KErrCurrupt.

    Do the packets need to have RTP headers/footers for this mime type? I have configured the decoder with this header:
    TVideoPictureHeader header = {0};
    header.iProfile = 0;
    header.iLevel = 3;
    header.iVersion = -1;
    header.iSizeInMemory.iWidth = 320;
    header.iSizeInMemory.iHeight = 240;
    header.iDisplayedRect.SetRect(TPoint(0,0),TSize(320,240));

    Any ideas?

  2. #2
    Nokia Developer Champion
    Join Date
    Jan 2008
    Location
    Bangalore, India
    Posts
    777

    Re: decoding mpeg4 raw data with CMMFDevVideoPlay

    you may try profile-level id as 4 with video/mp4v-es, instaed of 3. if it is in form of video/mp4v-es.
    Last edited by Nitesh Bhardwaj; 2009-01-21 at 13:43. Reason: some typo

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    25

    Re: decoding mpeg4 raw data with CMMFDevVideoPlay

    As I understand the mime type that I have used corresponds to MPEG4 raw data (please do correct me if I am wrong).

    While passing the raw data, should I put any headers/footers (RTP for example???) for the decoder to successfully understand the packet? Each packet is supposed to have one of I or P complete frames.

  4. #4
    Registered User
    Join Date
    Jan 2008
    Posts
    25

    Re: decoding mpeg4 raw data with CMMFDevVideoPlay

    Quote Originally Posted by Nitesh Bhardwaj View Post
    you may try profile-level id as 4 with video/mp4v-es, instaed of 3. if it is in form of video/mp4v-es.
    I changed
    header.iLevel = 4;

    still same currupt packet leave is occurring. I have selected a decoder enumerated with mime type in the following way
    iDevVideo->FindDecodersL(_L8("video/MP4V-ES"), 0, decoders, ETrue);

    does the string passed need to have any other info for selection of correct decoder?

Similar Threads

  1. LBS API - GPS raw data
    By pz1974 in forum Symbian C++
    Replies: 3
    Last Post: 2010-07-27, 11:20
  2. How to capture camera raw data in buffer S60?
    By Priya_m in forum Symbian C++
    Replies: 1
    Last Post: 2007-07-24, 09:37
  3. Raw data over IR ?
    By cycad in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2003-11-27, 12:18
  4. Loading Image data from 'raw' bytes
    By LongSteve in forum Mobile Java General
    Replies: 2
    Last Post: 2002-11-20, 17:38
  5. loading in raw data
    By AbU5e in forum Mobile Java General
    Replies: 5
    Last Post: 2002-05-29, 15:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •