×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    video recording in 6600

    Hi all,

    I want to record the video from my application so t need to know about the two parameters i.e TUid aControllerUid, TUid aVideoFormat of the OpenFileL() function.


    void OpenFileL(const TDesC& aFileName, TInt aCameraHandle, TUid aControllerUid, TUid aVideoFormat, const TDesC8& aVideoType = KNullDesC8, TFourCC aAudioType=KFourCCNULL);


    I used the code given in videoplayer/recorder example to get the requisite parameters but result is Feature not supported.

    CMMFControllerPluginSelectionParameters* cSelect =
    CMMFControllerPluginSelectionParameters::NewLC();
    CMMFFormatSelectionParameters* fSelect =
    CMMFFormatSelectionParameters::NewLC();

    // Set the play and record format selection parameters to be blank.
    // Format support is only retrieved if requested.
    cSelect->SetRequiredPlayFormatSupportL(*fSelect);
    cSelect->SetRequiredRecordFormatSupportL(*fSelect);

    // Set the media ids
    RArray<TUid> mediaIds;
    CleanupClosePushL(mediaIds);
    User::LeaveIfError(mediaIds.Append(KUidMediaTypeVideo));
    // Get plugins that support at least video
    cSelect->SetMediaIdsL(mediaIds,
    CMMFPluginSelectionParameters::EAllowOtherMediaIds);
    cSelect->SetPreferredSupplierL(KNullDesC,
    CMMFPluginSelectionParameters::EPreferredSupplierPluginsFirstInList);

    // Array to hold all the controllers support the match data
    RMMFControllerImplInfoArray controllers;
    CleanupResetAndDestroyPushL(controllers);
    cSelect->ListImplementationsL(controllers);

    TBool recordingSupported = EFalse;

    // Find the first controller with at least one record format available
    for(TInt i = 0; i < controllers.Count(); ++i)
    {
    RMMFFormatImplInfoArray recordFormats = controllers[i]->RecordFormats();

    if(recordFormats.Count() > 0)
    {
    iControllerUid = controllers[i]->Uid();
    iFormatUid = recordFormats[0]->Uid();
    recordingSupported = ETrue;
    break;
    }
    }

    CleanupStack::PopAndDestroy(4); // mediaIds, controllers, fSelect, cSelect

    // Leave if recording is not supported
    if(!recordingSupported)
    {
    User::Leave(KErrNotSupported);
    }



    If somebody has created the recorder, pls help?

  2. #2
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    99
    Hi,

    I have created the Video Recorder .. but same case with me .. its not working on 6600 .. same error ..

    But it works fine on 6630. May be Video API's dont work on 7.0 devices.

    ..
    KiraN Puranik

  3. #3
    Regular Contributor
    Join Date
    Jan 2005
    Posts
    63
    Hi,

    Have you got any alternative solution of recording the video on 6600, pls let me know also if u got some solution?

  4. #4
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    99
    I used Nokia Video Recorder application to record the video clip.

    ..
    KiraN Puranik

  5. #5
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009
    Hi,


    Can u pls give me a link to nokia video recorder application that is running on 6600?


    Thanks
    Shafali

Posting Permissions

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