×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2006
    Location
    Singapore
    Posts
    11

    playback 3gp or mp4 video

    Im having problem when trying to playback 3gp or mp4 video.
    exception when creating Player.
    javax.microedition.media.MediaException: Cannot create a Player for: video/3gpp
    what causes this?
    same exception goes to .mp4

    InputStream is = getClass().getResourceAsStream("/VideoClip.3gp");
    Player p = Manager.createPlayer(is, "video/3gpp");

    any help will be appreciated.

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: playback 3gp or mp4 video

    Hi joppie_tjoa! Welcome to Nokia Discussion Boards!!

    Could you please mention in which SDK / device you are trying?
    May be you should try with Nokia's Prototype SDKs.

    Regards
    Gopal

  3. #3
    Registered User
    Join Date
    Mar 2006
    Location
    Singapore
    Posts
    11

    Re: playback 3gp or mp4 video

    Im trying with Wireless tool kit 2.3.
    target platform:
    MIDP 2.0
    CLDC 1.0
    JSR 135 MMAPI
    Series60 phones.

    thanks,

  4. #4
    Registered User
    Join Date
    Mar 2006
    Location
    Singapore
    Posts
    11

    Re: playback 3gp or mp4 video

    i tried using nokia prototype 4 SDK.
    the results:
    for remote URL:
    .3gp
    Player p = Manager.createPlayer("http://www.server.com/VideoClip.3gp");
    the video is ok. but the sound is skipping and not synchronized with the video.

    for local:
    InputStream is = getClass().getResourceAsStream("/VideoClip.3gp");
    Player p = Manager.createPlayer(is,"video/3gpp");
    the application run, video play about half second and then the emulator shuted down.

    why i cannot run the application using WTK 2.3? is there any specific API i need to use other than MMAPI?
    and why the emulator shuted down when i try to play video from local storage?

    any help will be appreciated.

Similar Threads

  1. MP4 video playback problem with N70...
    By Mattloaf in forum Streaming and Video
    Replies: 9
    Last Post: 2010-05-05, 16:09
  2. 3GPP and MP4 Video with RateControl on S60 emulator
    By vhellberg in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-01-13, 10:17
  3. 3GP video DRM
    By ekoprasetio in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2004-08-12, 06:57

Posting Permissions

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