<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - capturing video using CCamera api - Comments</title>
 <link>http://www.newlc.com/topic-16982</link>
 <description>Comments for &quot;capturing video using CCamera api&quot;</description>
 <language>en</language>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-46081</link>
 <description>&lt;p&gt;Hi all,&lt;/p&gt;

&lt;p&gt;I am also want to capture the video frames with CCamera api but I am not getting how to do this.&lt;br /&gt;
I have explored the CCamera application for the 3 rd eddition . If u people have done this please help me to reolve this issue. &lt;br /&gt;
Thanks    &lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 21:27:07 +0200</pubDate>
 <dc:creator>sulabh120881</dc:creator>
 <guid isPermaLink="false">comment 46081 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36212</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;You are creating the video clip buffer in rather strange way... Don&amp;#039;t know whether it is right or wrong. Maybe you should take a look at HBufC8. &lt;br /&gt;&lt;br /&gt;Anyway, allocating three thousand bytes for the video clip is not going to get you a very long video in any case.&lt;br /&gt;&lt;br /&gt;I suggest that you take a look at the video capture example I mentioned earlier. &lt;/div&gt;</description>
 <pubDate>Thu, 14 Dec 2006 07:37:25 +0100</pubDate>
 <dc:creator>janza</dc:creator>
 <guid isPermaLink="false">comment 36212 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36211</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi Janza,&lt;br /&gt;&lt;br /&gt;thanks for reply.as u have ask for the environment i have test it on nokia N80 handset (symbian9.0) using series 60 sdk 3rd edition.&lt;br /&gt;&lt;br /&gt;Did u check the code&lt;br /&gt;TDesc8* videoClip;&lt;br /&gt;videoClip = new(ELeave) TBuf8&amp;lt;3000&amp;gt;;&lt;br /&gt;iUtility-&amp;gt;OpenDesL(*videoClip, aCameraHandle, iControllerUid, iFormatUid);&lt;br /&gt;&lt;br /&gt;what do u feel i m passing correct argument or not.&lt;br /&gt;&lt;br /&gt;Thanks &lt;/div&gt;</description>
 <pubDate>Wed, 13 Dec 2006 09:34:14 +0100</pubDate>
 <dc:creator>symbianpower</dc:creator>
 <guid isPermaLink="false">comment 36211 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36210</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Sorry, I have absolutely no experience in using CvideoRecorderUtility. You should really check the example from Forum Nokia and try to make that work first.&lt;br /&gt;&lt;br /&gt;You do not mention in what environment you are testing your code. At least most of WINS environments do not support using camera at all...&lt;/div&gt;</description>
 <pubDate>Wed, 13 Dec 2006 07:36:22 +0100</pubDate>
 <dc:creator>janza</dc:creator>
 <guid isPermaLink="false">comment 36210 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36209</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi Janza,&lt;br /&gt;&lt;br /&gt;Thanks for the quick reply.what i m passing the argument in OpenDescL&lt;br /&gt;by retrieving through following code please check this&lt;br /&gt;&lt;br /&gt;CMMFControllerPluginSelectionParameters* cSelect =&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CMMFControllerPluginSelectionParameters::NewLC();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CMMFFormatSelectionParameters* fSelect =&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CMMFFormatSelectionParameters::NewLC();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Set the play and record format selection parameters to be blank.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Format support is only retrieved if requested.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cSelect-&amp;gt;SetRequiredPlayFormatSupportL(*fSelect);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cSelect-&amp;gt;SetRequiredRecordFormatSupportL(*fSelect);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Set the media ids&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RArray&amp;lt;TUid&amp;gt; mediaIds;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupClosePushL(mediaIds);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;User::LeaveIfError(mediaIds.Append(KUidMediaTypeVideo));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Get plugins that support at least video&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cSelect-&amp;gt;SetMediaIdsL(mediaIds,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CMMFPluginSelectionParameters::EAllowOtherMediaIds);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cSelect-&amp;gt;SetPreferredSupplierL(KNullDesC,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CMMFPluginSelectionParameters::EPreferredSupplierPluginsFirstInList);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Array to hold all the controllers support the match data&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;RMMFControllerImplInfoArray controllers;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;CleanupResetAndDestroyPushL(controllers);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cSelect-&amp;gt;ListImplementationsL(controllers);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TBool recordingSupported = EFalse;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Find the first controller with at least one record format available&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(TInt i = 0; i &amp;lt; controllers.Count(); ++i)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;RMMFFormatImplInfoArray recordFormats = controllers[i]-&amp;gt;RecordFormats();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(recordFormats.Count() &amp;gt; 0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;iControllerUid = controllers[i]-&amp;gt;Uid();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;iFormatUid = recordFormats[0]-&amp;gt;Uid();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;recordingSupported = ETrue;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;**************************************&lt;br /&gt;then using the above format id and controller is in openDescL as follows&lt;br /&gt;TDesc8* videoClip;&lt;br /&gt;videoClip = new(ELeave) TBuf8&amp;lt;3000&amp;gt;;&lt;br /&gt;iUtility-&amp;gt;OpenDesL(*videoClip, aCameraHandle, iControllerUid, iFormatUid);&lt;br /&gt;&lt;br /&gt;***************************&lt;br /&gt;please check the above code do i have pass some wrong argument .&lt;br /&gt;please reply as soon as possible.&lt;br /&gt;&lt;br /&gt;Thanks in Advance&lt;br /&gt;&lt;br /&gt;.............&lt;/div&gt;</description>
 <pubDate>Tue, 12 Dec 2006 11:14:07 +0100</pubDate>
 <dc:creator>symbianpower</dc:creator>
 <guid isPermaLink="false">comment 36209 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36208</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;The correct way is to use CvideoRecorderUtility. Maybe you are giving some invalid arguments to OpenDesCL()? &lt;/div&gt;</description>
 <pubDate>Tue, 12 Dec 2006 07:21:13 +0100</pubDate>
 <dc:creator>janza</dc:creator>
 <guid isPermaLink="false">comment 36208 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36207</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi ,&lt;br /&gt;&lt;br /&gt;I have already use this api (CvideoRecorderUtility) to capture video in a file successfully but unable to capture video in descriptor using opendescL of CvideoRecorderUtility.It is giving -5 error in openComplete.&lt;br /&gt;&lt;br /&gt;Hence i go for CCamera API to capture video but facing problem in playing the video.So if u have any idea please let me know.&lt;br /&gt;&lt;br /&gt;........... &lt;/div&gt;</description>
 <pubDate>Tue, 12 Dec 2006 05:08:59 +0100</pubDate>
 <dc:creator>symbianpower</dc:creator>
 <guid isPermaLink="false">comment 36207 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36206</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Use CVideoRecorderUtility class for encoded video recording. See FN example:&lt;br /&gt;&lt;a href=&quot;http&amp;#58;//www.forum.nokia.com/info/sw.nokia.com/id/48d38e98-2b78-4da8-b111-63e9c7d34feb/S60_Platform_Video_Example_v2_0_en.zip.html&quot; target=&quot;_blank&quot;&gt;http://www.forum.nokia.com/info/sw.nokia.com/id/48d38e98-2b78-4da8-b111-63e9c7d34feb/S60_Platform_Video_Example_v2_0_en.zip.html&lt;/a&gt;&lt;/div&gt;</description>
 <pubDate>Mon, 11 Dec 2006 14:59:10 +0100</pubDate>
 <dc:creator>janza</dc:creator>
 <guid isPermaLink="false">comment 36206 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36205</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi,&lt;br /&gt;&lt;br /&gt;Yes i have reffered that for capturing the video&amp;nbsp; but the problem is &lt;br /&gt;that the video capture through StartVideoCaptureL returns a MMFBuffer which is raw video data in YUV format.now the problem is to encode that raw data to required 3gp format.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have try to use MMFCodec but have not found any relevant video codec uid and TFourcc code so that i can get the object of MMFCodec class and process my raw data to required format using ProcessL of MMFCodec class.&lt;br /&gt;&lt;br /&gt;Please do reply if u have any idea regarding this.&lt;br /&gt;&lt;br /&gt;Cheers&lt;/div&gt;</description>
 <pubDate>Fri, 08 Dec 2006 06:51:09 +0100</pubDate>
 <dc:creator>symbianpower</dc:creator>
 <guid isPermaLink="false">comment 36205 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982#comment-36204</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi,&lt;br /&gt;&lt;br /&gt;There is example app (CameraApp) is avaliable in&amp;nbsp; forum.nokia.com&lt;br /&gt;I think it will help you.&lt;br /&gt;&lt;br /&gt;Cheers&lt;br /&gt;IndVin&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 08 Dec 2006 05:07:53 +0100</pubDate>
 <dc:creator>indvin</dc:creator>
 <guid isPermaLink="false">comment 36204 at http://www.newlc.com</guid>
</item>
<item>
 <title>capturing video using CCamera api</title>
 <link>http://www.newlc.com/topic-16982</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/topic-16982&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/topic-16982#comments</comments>
 <category domain="http://www.newlc.com/forums/camera">Camera</category>
 <pubDate>Tue, 05 Dec 2006 09:56:03 +0100</pubDate>
 <dc:creator>symbianpower</dc:creator>
 <guid isPermaLink="false">16556 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
