You Are Here:

Community: Developer Discussion Boards

#1 Old Thumbs down CVideoPlayerUtility:: OpenDesL Returns -5 error code - 2008-06-30, 17:50

Join Date: May 2007
Posts: 181
Location: India
Send a message via Yahoo to Digish Send a message via Skype™ to Digish
Digish
Offline
Regular Contributor
Hello,

When I try to play the video using buffer, i am getting -5 error code in MvpuoPrepareComplete.

I am able to open the same file using OpenFileL() method and able to play that 3gp file. In that scenario I am not getting any such error.

Here is the code snippet for OpenDesL() method which is not working:
Code:
RFile lFile;
RFs lFileSession;
TBuf<128> lFilename(KFileName);
lErrCode = lFileSession.Connect();
LOG(_L("Filesession open err = %d"),lErrCode);
lErrCode = lFile.Open(lFileSession,lFilename,EFileRead);
LOG(_L("File open err = %d"),lErrCode);
TInt lFileSize(0);
lFile.Size(lFileSize);
LOG(_L("File Size = %d"),lFileSize);
if(lFileSize < 20000)
	{
	TBuf8<20000> iVideoBuffer;
	lFile.Read(iVideoBuffer);
	iPlayer->OpenDesL(iVideoBuffer);
	TRAPD(unsupported, iPlayer->OpenDesL(iVideoBuffer));
	LOG(_L("Opening buffer err = %d: %S"),unsupported, &(iMediaFile->Des()));
	lErrCode = unsupported;
	}
	else
	{
	LOG(_L("File too large to open")));

        }


Please help me whats wrong and why I am getting that KErrNotSupported(-5) error code

Thanks,
Digish
Reply With Quote

#2 Old Re: CVideoPlayerUtility:: OpenDesL Returns -5 error code - 2008-06-30, 18:25

Join Date: Mar 2006
Posts: 6,293
Location: Helsinki, Finland
kiran10182's Avatar
kiran10182
Offline
Forum Nokia Champion
Check this Know Issue: http://wiki.forum.nokia.com/index.ph...ecorderUtility

Kiran.


- Kiran
Reply With Quote

#3 Old Smile Re: CVideoPlayerUtility:: OpenDesL Returns -5 error code - 2008-07-01, 07:16

Join Date: May 2007
Posts: 181
Location: India
Send a message via Yahoo to Digish Send a message via Skype™ to Digish
Digish
Offline
Regular Contributor
Thanks kiran,

Thanks for the reply.
But The problem I am receiving is for CVideoPlayerUtility not CVideoRecorderUtility for which you have linked me.

Thanks as I was planning to check Recording now. The link's information is helpful because I am planning to look it next.

There is no workaround for URL/Buffer case in KB. Can you provide some?

Also in KB its written as its for 3rd ED. But i am testing on emulator for s60 3rd Ed FP1 devices.

Thanks,
Digish
Last edited by Digish : 2008-07-01 at 07:22.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple videos with CVideoPlayerUtility balanikas Symbian Media (Graphics & Sounds) 1 2008-04-07 10:05
KERN-EXEC 0 when calling PauseL method of CVideoPlayerUtility from another thread ycedres Symbian Media (Graphics & Sounds) 2 2007-11-19 16:45
Video Streaming over HTTP, CVideoPlayerUtility can work ? leduc Symbian Media (Graphics & Sounds) 0 2007-01-16 11:08
ExampleClientEngine ... GeKI Symbian Networking & Messaging 2 2005-12-16 08:12
Personal JSmith77 PersonalJava 4 2003-07-30 13:52

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia