You Are Here:

Community: Developer Discussion Boards

#1 Old Question MediaException N93 - 2007-04-23, 10:40

Join Date: Apr 2007
Posts: 240
Location: Germany, Stuttgart
Lichtens
Offline
Regular Contributor
I´m trying to capture Video AND Audio fro the Nokia N93 cam.
The code-line:

p = Manager.createPlayer("capture://audio_video");

throws a MediaException on my Nokia N93 "Unable to create Player with locator: capture://audio_video"

What´s the reason?

Thanks for help, Lichtens
Reply With Quote

#2 Old Re: MediaException N93 - 2007-04-23, 19:55

Join Date: Nov 2003
Posts: 3,641
Location: Bangalore , India
Send a message via Yahoo to balagopalks
balagopalks's Avatar
balagopalks
Offline
Forum Nokia Expert
The locator you are using is invalid.

Quote:
Recording sound and video
Sound and video recording can be done by using RecordControl. On the S60 platform, sound and video
recording is supported from 2nd Edition onwards. Series 40 platform supports sound recording from 3rd
Edition, FP1 onwards. You can check the support by using the following system properties:
• supports.audio.capture - for audio recording
• supports.video.capture - for video recording
These properties return true if recording is supported.
When creating a Player for audio or video capture, or specific capture, the locator URL must be used as a
parameter to the createPlayer method of the Manager class. The following code line creates a
Player instance for audio capture:
Player p = Manager.createPlayer("capture://audio");
Camera snapshot for pictures or video recording use the following locators:
• Series 40 platform:
• capture://image (for photo capture)
• capture://video (for video recording)
• S60 platform:
• capture://video (for video recording and image capture)
• capture://devcam0 (for video recording and image capture)
• capture://devcam1 (second camera, if the device has two cameras)
• Audio capture locator:
• capture://audio
You can also define the exact recorded media type to the locator URL. The supported parameters vary
between platforms and devices. Note that SDKs might not support capture features at all, so testing should
be done with the actual mobile devices. For further details about recording, check the Mobile Media API
specification.
REF: MIDP: Mobile Media API Developer's Guide v2.1
http://www.forum.nokia.com/info/sw.n..._1_en.pdf.html

Regards
Gopal

__________________
MobiQuil.com
An initiative by Developers for Developers.
http://www.mobiquil.com - Alpha - Launched.
Reply With Quote

#3 Old Re: MediaException N93 - 2007-04-23, 21:05

Join Date: Apr 2007
Posts: 240
Location: Germany, Stuttgart
Lichtens
Offline
Regular Contributor
Ok, i see. Thank you for help.
I have a question left.
On the documentation of the jsr-135 (sun) the locator audio_video ist possible for video and audi capture with just one Player-Instance.
Ist this different on nokia-phones or on series 60 phones?

Next question: How do I manage to record video and audio-stream in one targetfile, when I have two instances of the Player.

Lichtens
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 Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
BUGS?! Identified Video/Audio recording problems on N93 arikr7 Mobile Java Media (Graphics & Sounds) 5 2007-03-19 20:55
UPnP Software of N93 perkusic Wired and Wireless interfaces 0 2006-12-29 20:22
Performance hints for 3D hardware accelerated devices (N93 and N95) taarnio Mobile Java Media (Graphics & Sounds) 0 2006-12-21 09:19
Some OpenGL issues on Nokia N93 derBertl Symbian Media (Graphics & Sounds) 11 2006-09-26 08:10
N93 for Symbian Developer Farhan Ghafoor General Symbian C++ 8 2006-09-18 17:49

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ