10-20-2008 02:01 PM
I have developed a custom Media Player (based on MMAPI 1.1) using Blackberry JDE 4.3 to play audio (mp3) and video (3gp, mp4) files. The video files play properly on Verizon 8130 simulator but, fail to play on the device Verizon 8130 with the player error code 6 (Error in file or format). The video can also be played on Blackberry browser and, the cutsom media player plays the video on Blackberry curve 8230 device too. Mp3 files play fine on the custom media player.
Is this a known problem on verizon Blackberry smartphones? Please help me in debugging/fixing this problem.
10-21-2008 09:51 AM
10-21-2008 10:31 AM
I have devloped the custom media player and was written to MMAPI (using javax.microedition.media.Player). I am not referring to the Blackberry Media player. The Blackberry media player is fine and is able to play the 3gp/mp4/mp3 files when a URL of the media file is entered on the Blackberry browser on the actual device 8130.
I am playing the files from a server i.e., i am specifying the HTTP URL of a media file to the Player. On Verizon 8130 simulator, the custom media player works fine and plays any media file (3gp/mp4/mp3). But on actual device, the custom media player can only play mp3 files and the video files give player error 6 (error in file or format).
10-21-2008 12:49 PM
10-22-2008 03:12 PM
10-22-2008 04:13 PM
It is Verizon 8130 smartphone (CDMA).
V220.127.116.11 (Platform 18.104.22.168)
CLDC 1.1, MIDP-2.0, MMAPI 1.1
I am able to play on 8130 simulator and on the actual device.
10-23-2008 09:47 AM
Please note that the BlackBerry Simulator is not the best test to test if a format is supported. Codec support relies on the hardware on the BlackBerry device and its BlackBerry handheld software.
When testing the file on the BlackBerry 8130, are you reading the file from a micro SD card or playing it from the BlackBerry Browser? If you are using the browser, the MDS Connection Service of the BlackBerry Enterprise Server could be converting the file into a format supported by the BlackBerry device you are using.
10-23-2008 10:47 AM
When testing the file on the BlackBerry 8130, i am playing it from BlackBerry Browser by entering the url. Similarly, i am giving the same url to the custom media player UIApplication. I believe all the http requests (from Browser or Custom UIApplications) will have to go thru' the MDS.
Does the Blackberry Media player use a different software than MMAPI to play media files?. If we look at the error code 6 returned by custom media player, it says that the player is not able to understand either the video or audio code of the media. I have tried 3gp (video mpeg4, audio AMR-NB) and mp4 (video mpeg4, audio AAC) in vain.
On Blackberry Storm, my custom media player is able to play the 3gp videos.
10-23-2008 01:45 PM
The built in media player does use different APIs, but as I mentioned the file could be transcoded for the BlackBerry Browser when going through the MDS Connection Service. Data downloaded by third party applications would not be.
If you are able to upgrade the BlackBerry 8130 to version 4.5.0 you should be able to play the file you linked to.