Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2009
    Strasbourg - France

    [MDFDevVideo] SetInputFormatL failed with -5

    Hi everybody,

    I am using MDFDevVideo Record API(http://wiki.forum.nokia.com/index.ph...deo_Record_API), on a N95 8GB.

    The problem is that the SetInputFormatL function failed with code error -5, while it works fine on a emulator.
    This is the part of code where I use it ;

    // Input format
      	RDebug::Printf("Setting input format");
            TSize size(LARGEUR,HAUTEUR);
            TUncompressedVideoFormat fmt;
            fmt.iDataFormat = EYuvRawData;
            fmt.iYuvFormat.iCoefficients = EYuvBt601Range1; // BT.601 coeffs, full rane
            fmt.iYuvFormat.iPattern = EYuv420Chroma1; //EYuv420Chroma2;
            fmt.iYuvFormat.iDataLayout = EYuvDataPlanar;
            fmt.iYuvFormat.iYuv2RgbMatrix = NULL;
            fmt.iYuvFormat.iRgb2YuvMatrix = NULL;
            fmt.iYuvFormat.iAspectRatioNum = 3; //1;
            fmt.iYuvFormat.iAspectRatioDenom = 4; //1;
            RDebug::Printf("Avant Setting SetinputFormatL 8");
            TRAPD(err,iDvr->SetInputFormatL(iEnc, fmt, size));
            //iDvr->SetInputFormatL(iEnc, fmt, size);
            RDebug::Printf("Apres Setting SetinputFormatL");
            if ( err != KErrNone ) {
                    //LFPRINT((_L("SetInputFormatL - yuv failed with %d"), err));
                    RDebug::Printf("SetInputFormatL -yuv failed with %d", err);
    I found no help on the documentation or in internet, so I don't know what can I do ...
    Any suggestions can help me, thanks.
    Regards and Peace.


  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: [MDFDevVideo] SetInputFormatL failed with -5

    Note that support of audio and video formats is one field where the emulator and the actual devices can greatly differ.
    However what is more important is the fact that your device is an S60 3rd FP1 one, while the MDF API-s are available for S60 3rd FP2 (and perhaps S60 5th).

  3. #3
    Regular Contributor
    Join Date
    Mar 2009
    Strasbourg - France

    Re: [MDFDevVideo] SetInputFormatL failed with -5

    Ok thanks for the precision
    oh I'm really unlucky with symbian, I think I'll try with this
    Regards and Peace.


Similar Threads

  1. S60 5th Edition emulator startup problem
    By gopitek in forum Symbian
    Replies: 2
    Last Post: 2010-09-08, 08:05
  2. S60 5th ed emulator startup failed
    By hony in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2009-08-11, 21:12
  3. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  4. ERROR: RCMake failed: (Bitmaps): bmconv.exe failed with code 5
    By Dexterp37 in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2005-09-07, 08:53
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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