You Are Here:

Community: Developer Discussion Boards

#1 Old video playback 6230 - 2005-08-29, 14:38

Join Date: Jan 2004
Posts: 82
Leicester22
Offline
Regular Contributor
Hi,

I want to play a .3gp or a mp4 video file with mmapi on my 6230 (FW: 4.44).
I try to retrieve a Player like this:
Code:
iPlayer = Manager.createPlayer(this.getClass().getResourceAsStream("/video.3gp"), "video/3gpp");
This throws a MediaException saying "Cannot create Player for: video/3gpp"
It's the same for an .mp4 file.

The following line:
Code:
System.getProperty("video.encodings");
returns null.

The code is working on severel devices(6230i , SE750, S65).

I thought the 6230 was able to play videos?
Is it a problem with my firmware?

Has anybody a hint how to solve the problem?
Last edited by Leicester22 : 2005-08-30 at 11:47.
Reply With Quote

#2 Old Re: video playback 6230 - 2005-08-30, 11:48

Join Date: Jan 2004
Posts: 82
Leicester22
Offline
Regular Contributor
No answer yet, MMH.

Ok, has anybody played any video on the 6230?
Reply With Quote

#3 Old Re: video playback 6230 - 2005-08-31, 06:36

Join Date: Aug 2005
Posts: 6
artray
Offline
Registered User
Quote:
Originally Posted by Leicester22
No answer yet, MMH.

Ok, has anybody played any video on the 6230?
hi,

What's going on with it now?

6230 belongs to S60 or S40?

I used the Nokia's Emulators , and i didn't find the wrong.

Regards!


Jerry
Reply With Quote

#4 Old Re: video playback 6230 - 2005-08-31, 12:15

Join Date: Jan 2004
Posts: 82
Leicester22
Offline
Regular Contributor
OK here's what I found out for the 6230:

Code:
System.getProperty("video.encodings")
returns null

Code:
Manager.getSupportedContentTypes(null);
returns only 3 Mime-Types audio/sp-midi, audio/midi, audio/x-tone-seq

I've seen videos that are played on 6230 but that are proprietary solutions see:
http://www.zgroup-mobile.com/applications.html
http://www.oplayo.de/op3sms.html

It's surely impossible to play a video with mmapi.
But it is possible with a lot of work or by licencing a player....
Reply With Quote

#5 Old Re: video playback 6230 - 2005-08-31, 14:21

Join Date: Mar 2003
Posts: 6,211
petrib
Offline
Forum Nokia Champion
Quote:
Originally Posted by artray
6230 belongs to S60 or S40?
Series 40 Developer Platform 2.0: http://forum.nokia.com/6230
Reply With Quote

#6 Old Red face Re: video playback 6230 - 2005-09-01, 05:42

Join Date: Aug 2005
Posts: 6
artray
Offline
Registered User
Thanks a lot!



Now i test MediaSampler.jar whitch in Nokia Developers Suite for J2ME 3.0 on Mobile Nokia 6230 and MOTO E398. Many errors beat all.

see below:

No file specified for type audio/AMR
No file specified for type audio/x-wav
No file specified for type audio/midi
No video file specified


content of MediaSampler.jad

MIDlet-Name: MediaSampler
MIDlet-Version: 0.2
MIDlet-Vendor: Forum Nokia
MIDlet-Jar-URL: MediaSampler.jar
MIDlet-Jar-Size: 42240
MIDlet-Description: Media Sampler MIDlet
MIDlet-Icon: /mediasampler.png
AMR-Audio-Clip: /AudioClip.amr
Video-Clip: /VideoClip.3gp
WAV-Audio-Clip: /laser.wav
MIDI-Audio-Clip: /song.mid
MIDlet-1: MediaSampler, /mediasampler.png, MediaSamplerMIDlet



Any help may let me appreciated.
Reply With Quote

#7 Old Re: video playback 6230 - 2005-09-01, 06:07

Join Date: Aug 2005
Posts: 6
artray
Offline
Registered User
Now i study SimplePlay demo in Sun's J2ME Wireless Toolkit 2.2.

First, i tested it on Nokia Emulators. good,succeed!
Then i tested it on Nokia 6230 and Motoe398,

it started all right, but Simple Player enter url ,after enter url ,
an error display:
no PitchCotrol !
IOException: failed to connect w

Has anyone a hint to solve this problem?
Reply With Quote

#8 Old Re: video playback 6230 - 2005-09-01, 13:25

Join Date: Jan 2004
Posts: 82
Leicester22
Offline
Regular Contributor
@artray
I don't understand you.
What do you want to do?
Reply With Quote

#9 Old Re: video playback 6230 - 2005-09-01, 16:37

Join Date: Aug 2005
Posts: 6
artray
Offline
Registered User
Quote:
Originally Posted by Leicester22
@artray
I don't understand you.
What do you want to do?
well,sorry,Leicester22,let me talk about them once more. things go like this, while I tested MediaSample.jar,which was built in nokia toolkits.Its location is in Nokia Developers Suite for J2ME 3.0.I tested them with Nokia 6230 and MOTO E398. I found some error occured. With Nokia 6230,error is:
No file specified for type audio/AMR
No file specified for type audio/x-wav
No file specified for type audio/midi
No video file specified

With MOTO e398,error is the same as Nokia 6230. Is there anything wrong with me? I mean what's the diffrence between nokia Emulators and Nokia mobile?How to solve "no file specified"? Is there any path skipped or wrong parameter?do u know?
Reply With Quote

#10 Old Re: video playback 6230 - 2005-09-01, 16:43

Join Date: Aug 2005
Posts: 6
artray
Offline
Registered User
Has anyone meet this wrong when useing mmapi to play media ? See below:

When enter Url ,

no PitchCotrol !
IOException: cannot connect w


How to solve it ?
Reply With Quote

#11 Old Re: video playback 6230 - 2005-09-02, 17:35

Join Date: Jan 2004
Posts: 82
Leicester22
Offline
Regular Contributor
Quote:
MOTO E398. I found some error occured. With Nokia 6230,error is:
No file specified for type audio/AMR
No file specified for type audio/x-wav
No file specified for type audio/midi
No video file specified
I can't reproduce your errors.
I used the MediaSample from Nokia Developers Suite for J2ME 2.2 .
But if you look at the source this means that the video file is not found. Maybe you have pakaged it wrong (witout the media)?

Quote:
When enter Url ,
no PitchCotrol !
IOException: cannot connect w
I can't reproduce this error too. I couldn't even find that a PitchControl is used when i searched the source. And an IOException has nothing to do with an PitchControl AFAIK.

In both cases all went right with the WTK Emulator and on my 6230 mobile.
Reply With Quote

#12 Old Thumbs up Re: video playback 6230 - 2005-09-12, 05:30

Join Date: Aug 2005
Posts: 6
artray
Offline
Registered User
I had solved the problems. Thank you!
Reply With Quote

#13 Old Re: video playback 6230 - 2008-04-04, 13:44

Join Date: Mar 2008
Posts: 5
Anoop Srivastava
Offline
Registered User
Hello Artray:

Can u tell me ur solution please..I am getting same error ..I am testing MMAPI demo on Samsung SGH 210

Thanks
Anoop
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
The big frustration on Nokia 6230 about audio and video!!! spawn6578 Mobile Java General 1 2004-08-04 06:49
Nokia 6230 and MPEG4 video? DeadMan3000 General Discussion 2 2004-07-23 02:07
The big frustration on Nokia 6230 about audio and video!!! spawn6578 General Discussion 0 2004-07-11 14:09
The big frustration on Nokia 6230 about audio and video!!! spawn6578 Streaming and Video 0 2004-07-11 14:08
The big frustration on Nokia 6230 about audio and video!!! spawn6578 Audio 0 2004-07-11 14:07

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ