You Are Here:

Community: Developer Discussion Boards

#1 Old Thumbs down Video playback stability on 6680 - 2005-08-29, 18:58

Join Date: Mar 2003
Posts: 63
Location: Norway
skjolber's Avatar
skjolber
Offline
Regular Contributor
Hi,

we are having problem with the stability of the 6680 Player. We use Manager.createPlayer(...) in a way such that our 'player gui' appears only if an Player object is created, realized and prefetched (All previous Players are .closed() + null'ed).

Sometimes is plays, sometimes it does not. Typically the first time it plays, and then stuff gets more random.

We believe that this is a memory problem, that additional players cannot be created because the previous are not destroyed in time / due to some bug - but have not seen it in the lastest known issues version from Nokia. Sometimes the problem manifests itself as failure/inability to load images.

The worst thing about this is that the Player object is created but still does not play - reopening/attempting to work around the problem is therefore difficult!! :(

Does anyone else have this problem on the 6680 / the 60 series? We also have a Sony Ericsson K750 and it has no such problems, a Z800 even works with rtsp streaming.

Thomas
Reply With Quote

#2 Old Re: Video playback stability on 6680 - 2005-09-01, 21:29

Join Date: Jun 2003
Posts: 4
cbazza@poliplus.com
Offline
Registered User
Yes, this is a bug I've just come across also.

The problem is that "Manager.createPlayer" is being
re-used. Get debug messages out and you will see
that this call often returns the same object. There
is a timing issue where you have a 1st player that
you want to close (close call is asynchronous) and
then you try to create and start another one (which
is the exact same one). So the second one doesn't
start and it gets an END-OF-MEDIA (use the playerUpdate
listener to see this), and that's why it doesn't start.

There is a work around by providing a delay in the
appropriate location. You will need to see your debug
logs to compare the sequence when it works, against
when it doesn't. Hope this help, we are going through
the same thing.


Carlos.
Reply With Quote

#3 Old Talking Re: Video playback stability on 6680 - 2005-09-02, 11:47

Join Date: Mar 2003
Posts: 63
Location: Norway
skjolber's Avatar
skjolber
Offline
Regular Contributor
Thank you very much Carlos!

So are you telling me that I should wait for the Player.CLOSED state via a while(player.getState != Player.CLOSED) {..}, or just old plain waiting?

I'll probably figure this one out now, thanks again!

Thomas
Reply With Quote

#4 Old Exclamation Re: Video playback stability on 6680 - 2005-09-05, 02:36

Join Date: Mar 2003
Posts: 316
Location: IL/USA
Send a message via AIM to earamsey Send a message via MSN to earamsey Send a message via Yahoo to earamsey Send a message via Skype™ to earamsey
earamsey
Offline
Regular Contributor
Can you please post your solution? thanks!
Reply With Quote

#5 Old Re: Video playback stability on 6680 - 2005-10-13, 05:11

Join Date: Oct 2005
Posts: 12
pee yan
Offline
Registered User
We are having a problem with the new Nokia firmware.

We develop Java based software that allow users to see live images of from their surveillance camera on their mobile phone. However, we have discovered that the new firmware in Nokia 3G phones cannot dispaly the images(MJPEG).

In previous firmware version( V2.39.140) the images can be displayed. However, new versions I tested (V5.03.08 ) can not display the images.

I understand that java does not support MJPEG, but since previous firmware versions can support MJPEG why can't the new firmware also support MJPEG. We thought that firmware were backward compatible therefore, we are surprised that the new 3G phones can't display MJPEG.

Any assistance would be greatly appericated.Thank you.
Reply With Quote

#6 Old Re: Video playback stability on 6680 - 2005-10-14, 01:54

Join Date: Mar 2003
Posts: 316
Location: IL/USA
Send a message via AIM to earamsey Send a message via MSN to earamsey Send a message via Yahoo to earamsey Send a message via Skype™ to earamsey
earamsey
Offline
Regular Contributor
I can't even get video or camera to work on 6680 can you post some code on how to do this?

thanks,
Reply With Quote

#7 Old Angry Re: Video playback stability on 6680 - 2005-10-15, 00:21

Join Date: Mar 2003
Posts: 63
Location: Norway
skjolber's Avatar
skjolber
Offline
Regular Contributor
Hi,

we only use standard 3gpp video+canvas - any example should be sufficient.

If you get exceptions there is probably something wrong with the video file. For instance, when the resolution is not an even number (or a multiple of 8) we have experienced problems. Note that 3gpp is not supported on at least my S60 emulator, but that it is on the real device.

My current 'workaround' for fixing the problem of a player that does not start like described above should make and decent Nokia engineer ashamed. It is to create a player that fails twice (try+catch - use an invalid protocol for instance) per resource. This gives me 4-5 successfull players before the whole things is back to dummy Player objects.

Using the Player @address does not work that well because even the first player object is sometimes corrupted.

Thomas
Last edited by skjolber : 2005-10-15 at 00:37. Reason: Added comment
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
Video Playback by a DLL??? vivekuv General Symbian C++ 0 2004-10-07 15:46
MMAPI: video playback enough Mobile Java Media (Graphics & Sounds) 7 2003-08-27 12:03
3650 Video playback problems satchmobu Mobile Java General 3 2003-07-02 11:17
MMAPI: video playback enough Mobile Java Tools & SDKs 0 2003-06-25 18:57
video playback from memorycard with fullscreen (nim - format)?? chris.dah Mobile Java General 0 2003-04-16 11:18

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: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X 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