×
Namespaces

Variants
Actions
Revision as of 09:26, 12 May 2009 by Forum Nokia KB (Talk | contribs)

Archived:Setting VGA resolution for CVideoRecorderUtility fails on the Nokia N96 (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Template:KBKI

Article Metadata
Tested with
Devices(s): Nokia N96
Compatibility
Platform(s): S60 3rd Edition, FP2
S60 3rd Edition FP2
Article
Keywords: SetVideoFrameSizeL
Created: (12 May 2009)
Last edited: Forum Nokia KB (12 May 2009)

Overview

CVideoRecorderUtility does not support recording in VGA (640x480) resolution on the Nokia N96.

Description

This issue can be checked with the S60 Platform: Video Example available on Forum Nokia.

This C++ code example demonstrates how to play and record video files. CVideoRecorderUtility and CCamera classes are used to record a video clip, and the CVideoPlayerUtility class is used to play, stop, and pause video clips and show the video clip information.

Using the example application, initialise the video recording controller with a MIME type that supports recording in VGA resolution (video/mp4v-es; profile-level-id=4), then try setting the VGA resolution in the MvruoOpenComplete() callback function:

 void CVideoRecorderAdapter::MvruoOpenComplete( TInt aError )
{
if( aError == KErrNone )
{
iUtility->SetVideoFrameSizeL( TSize( 640, 480 ) );
...
iUtility->Prepare();
}
}

Calling CVideoRecorderUtility::Prepare() results in the MvruoPrepareComplete() callback to be called with KErrNotSupported error on the Nokia N96.

Solution

No known solution. The maximum video resolution supported by CVideoRecorderUtility in the Nokia N96 is 352x288 (CIF).

51 page views in the last 30 days.
×