You Are Here:

Community: Developer Discussion Boards

#1 Old MediaException: locator not supported when play mpg file - 2008-10-06, 11:57

Join Date: Jul 2008
Posts: 6
kvht
Offline
Registered User
Hi,

I used Manager.createPlayer(filePath) to create a video player. When I select a 3gp file, it's good! But when I select mpg file, it throw a MediaException: Locator not supported.

Could someone help me,

Thank in advance
Reply With Quote

#2 Old Re: MediaException: locator not supported when play mpg file - 2008-10-06, 12:06

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Which phone are you testing this on? Looks like that the Java ME implementation on the phone in question does not support mpg
http://www.forum.nokia.com/info/sw.n..._0_en.xls.html

Hartti
Reply With Quote

#3 Old Re: MediaException: locator not supported when play mpg file - 2008-10-06, 12:27

Join Date: Jul 2008
Posts: 6
kvht
Offline
Registered User
Hartti, thank you very much!
Reply With Quote

#4 Old Re: MediaException: locator not supported when play mpg file - 2008-10-22, 10:47

Join Date: Mar 2008
Posts: 51
laili_aidi
Offline
Regular Contributor
to check what supported type that u can use to specific device / emulator, u can use this :
String[] contentTypes = Manager.getSupportedContentTypes(null);

or if u want to provide parameter to filter by protocol use this :
String[] contentTypes = Manager.getSupportedContentTypes(”rtsp”);

Some Possible Results maybe :
audio/w-wav audio/amr
audio/midi video/mp4
audio/mid video/3gpp
audio/x-tone-seq video/3gpp2
audio/mpeg video/x-pmd
audio/mp4 audio/qcelp
audio/mp4a-latm audio/vnd.qcelp
audio/3gpp audio/3gpp2


but u must check the codec that the device/emulator support too. example if u encode the 3gp format with H264 and that device/emulator only support to decode H263, u will can not play that even it support 3gp file format

may it help
-regards-
adek aidi
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
Theme Studio 3.1 not creating themes zemm Themes/Carbide.ui 11 2008-10-18 09:41
Error with makesis.exe and creating the .pkg file gramya87 Symbian Tools & SDKs 7 2007-10-10 14:53
Help needed with a 3gp file... joedoe_1981 Streaming and Video 0 2007-07-18 19:58
Play wav file thru the telephony downlink (on 6600) EranNoyman General Symbian C++ 5 2004-07-03 06:26
nokia 7210 modem via IR doesn't work ! oussamaaiadi PC Suite API and PC Connectivity SDK 1 2003-03-06 11:46

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