Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
Posts: 54
Registered: ‎04-24-2010
My Device: 8900
My Carrier: simulator

MediaException problem

Hi,
I am trying to use the StreamingPlayer code provided in the support forum at,
http://supportforums.blackberry.com/t5/Java-Development/Streaming-media-Start-to-finish/ta-p/488255

 

I am working on 8900 simulator (using Eclipse SDK) and trying to play a MP4 file (video only) from the SDCard. I am using the MP4 file as InputStream for the player. I get MediaException for player.start()

 

However, default Media player included with the BlackBerry is able to play this MP4 file without any problem. Can anyone please guide/suggest how should i go about resolving this issue.

 

Thanks!

Regular Contributor
Posts: 54
Registered: ‎04-24-2010
My Device: 8900
My Carrier: simulator

Re: MediaException problem

Experts, please respond!

 

player.start() gives MediaException for my mp4 file. I downloaded some other sample mp4 files from net and some of these work, while others give exception.

 

What syntax of MP4 file is expected by RIM Media API's?

 

Is there a way i can convert my MP4 file to make it playable using RIM API's?

 

 

Thanks!

 

Developer
Posts: 35
Registered: ‎01-07-2009
My Device: Curve 8320