×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    6

    MediaException: locator not supported when play mpg file

    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

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: MediaException: locator not supported when play mpg file

    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

  3. #3
    Registered User
    Join Date
    Jul 2008
    Posts
    6

    Re: MediaException: locator not supported when play mpg file

    Hartti, thank you very much!

  4. #4
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    51

    Re: MediaException: locator not supported when play mpg file

    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

Similar Threads

  1. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  2. Help needed with a 3gp file...
    By joedoe_1981 in forum Streaming and Video
    Replies: 0
    Last Post: 2007-07-18, 18:58
  3. Replies: 5
    Last Post: 2004-07-03, 05:26
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

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