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
Developer
Posts: 66
Registered: ‎05-27-2009
My Device: Not Specified

Cannot play wmv file

Hi there,

I'm trying to stream wmv files to BlackBerry but got "The media being played is of an unsupported format". I did google around and seems WMV format is supported on JDE 4.3 or later.

 

Anything did I miss? My player is very simple:

 

_player = javax.microedition.media.Manager.createPlayer(url_of_my_wmv_stream);  

 

I tried both http and rtsp but the same error message.

 

Thanks a lot for your help in advance.

 

 

Developer
Posts: 66
Registered: ‎05-27-2009
My Device: Not Specified

Re: Cannot play wmv file

Does BlackBerry support WMV file streaming at all? If yes, what are the steps to make it work?

 

Thanks a lot!

Developer
Posts: 66
Registered: ‎05-27-2009
My Device: Not Specified

Re: Cannot play wmv file

I am supprised that no one tried to play WMV files or streamed live WMV? Any clue is highly appreciated.

Developer
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: Cannot play wmv file

I could play this http://java.sun.com/products/java-media/mma/media/test-wav.wav Audio on JDE 4.6. Simulator 9000.

 

 


Use Search. "Accept Solution" If the problem is resolved.
Developer
Posts: 66
Registered: ‎05-27-2009
My Device: Not Specified

Re: Cannot play wmv file

Thanks a lot for your reply! I can play the linked you mentioned too. But could n't play any wmv file. Any idea? Many thanks in advance.

Developer
Developer
Posts: 324
Registered: ‎05-26-2009
My Device: Not Specified

Re: Cannot play wmv file

That is because blackberry doesn't have a built in decoder for wmv format.

 

Why don't you encode your content in in a  format natively supported by RIM?

Developer
Posts: 66
Registered: ‎05-27-2009
My Device: Not Specified

Re: Cannot play wmv file

Really? But it says that BB supports WMV format in http://www.blackberry.com/btsc/viewContent.do?externalId=KB05482 .

 

If BB really doesn't support WMV format, what's the best format supported then (and the codec)?

 

Thanks a lot!

Developer
Posts: 1,807
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.3.2.858, Z10 (STL100-3)-10.3.1.2576, Z30 (STA100-5)-10.3.1.2582, Passport (SQW100-1)-10.3.1.2576, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: Cannot play wmv file

BlackBerrys mainly work with media in the MPEG4 specification.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Highlighted
Developer
Posts: 66
Registered: ‎05-27-2009
My Device: Not Specified

Re: Cannot play wmv file

Thank you all a lot for your replies! I will use MPEG4 then.