×

Discussion Board

Results 1 to 15 of 15
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    11

    javax.microedition.media.Player play 3gp no sound in N97

    Hi all:
    I want to play a 3gp by which the codes follow, I test it in N97, I can see the image but not sound, who can help me? when I test it in N73 or 5800, I can listen.
    thinks

    InputStream is = getClass().getResourceAsStream("/x.3gp");
    DataInputStream dis = new DataInputStream(is);
    player = Manager.createPlayer(dis, "video/3gpp");
    player.addPlayerListener(this);
    player.realize();

    VideoControl vc = (VideoControl) player.getControl("VideoControl");
    if (vc != null) {

    vc.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
    vc.setDisplayLocation(0, 0);
    vc.setDisplaySize(640, 360);
    vc.setVisible(true);
    player.start();

    }

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: javax.microedition.media.Player play 3gp no sound in N97

    Check some other format files - e.g. WTK Audiodenmos on your N97. Check if the device is not in silent mode.
    Thanks,
    Ekta

  3. #3
    Registered User
    Join Date
    Dec 2009
    Posts
    11

    Re: javax.microedition.media.Player play 3gp no sound in N97

    Thank Ekta! The device is normal mode, and it can listen when we test audio demo on my N97

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

    Re: javax.microedition.media.Player play 3gp no sound in N97

    It could be an issue with the file. May be you should give a try with soem other 3gp files ?

    Regards
    Gopal

  5. #5
    Registered User
    Join Date
    Dec 2009
    Posts
    11

    Re: javax.microedition.media.Player play 3gp no sound in N97

    Think Gopal! The same 3gp file and same program is ok on 5800

  6. #6
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: javax.microedition.media.Player play 3gp no sound in N97

    Pls try pressing the Volume UP key on the device (just a try) What is the Firmware version of N97? May be you should give a try updating the firmware - since the app is working in 5800.

    Regards
    Gopal

  7. #7
    Registered User
    Join Date
    Dec 2009
    Posts
    11

    Re: javax.microedition.media.Player play 3gp no sound in N97

    The version of 5800 is v 20.0.011, and the version of N97 is v 20.0.018 ...

  8. #8
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: javax.microedition.media.Player play 3gp no sound in N97

    If possible, share the code and the 3gp file and I can look into it.

    Regards
    Gopal

  9. #9
    Registered User
    Join Date
    Dec 2009
    Posts
    11

    Re: javax.microedition.media.Player play 3gp no sound in N97

    OK! Can you tell me your Email? Thank you!

  10. #10
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: javax.microedition.media.Player play 3gp no sound in N97

    Got your mail and replied back.

    Regards
    Gopal

  11. #11
    Registered User
    Join Date
    Dec 2009
    Posts
    11

    Re: javax.microedition.media.Player play 3gp no sound in N97

    Think Gopal! I have replied back.

  12. #12
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: javax.microedition.media.Player play 3gp no sound in N97

    @ antoniejiao : I have packaged the app and tried in N97, its working fine with sound. Even the volume key up and down increased and decreased the sound volume.

    Regards
    Gopal

  13. #13
    Registered User
    Join Date
    Dec 2009
    Posts
    11

    Re: javax.microedition.media.Player play 3gp no sound in N97

    thank you very much! I'll try again.

  14. #14
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,430

    Re: javax.microedition.media.Player play 3gp no sound in N97

    To add : I have tried in a rather old firmware 11.x.x .

    some findings about the app, since I tried it : Its not in full screen mode, video is showing in corner of the screen - may be this is just a sample app ?

    Regards
    Gopal

  15. #15
    Registered User
    Join Date
    Dec 2009
    Posts
    11

    Re: javax.microedition.media.Player play 3gp no sound in N97

    Yes, Its a sample app before the formal coding
    Best Regards!
    jackie

Similar Threads

  1. javax.microedition.media.MediaException
    By csckid in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2010-06-05, 14:17
  2. Create a playlist using javax.microedition.media.Player
    By acalabro in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2010-05-27, 09:35
  3. javax.microedition.media package
    By brijeshanghan in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-11-04, 09:38
  4. javax.microedition.media package
    By brijeshanghan in forum Series 40 & S60 Platform Feedback Archive
    Replies: 1
    Last Post: 2006-11-04, 09:38
  5. 3650手机支不支持import javax.microedition.media.*;import javax.microedition.media.control.*
    By lideyi in forum [Archived] Other Programming Discussion 关于其他编程技术的讨论
    Replies: 4
    Last Post: 2003-12-12, 06:03

Posting Permissions

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