You Are Here:

Community: Developer Discussion Boards

#1 Old Video playback on N80 - 2006-12-11, 15:11

Join Date: Jan 2006
Posts: 9
FLO334
Offline
Registered User
I have written an app. that plays video clips from the memory card. The image size of the video is reduced to a small square, bearing in mind that the original image size of the video is 176*144. How can I solve this problem? Below is the code for the size:

if ((mVidc = (VideoControl) player.getControl("VideoControl")) != null)
{
videoItem = (Item) mVidc.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null);
mVidc.setDisplayFullScreen(true);
videoItem.setLayout(Item.LAYOUT_CENTER|Item.LAYOUT_VCENTER);
frmMainScreen.append(videoItem);
}

However, when I play that same video clip with N80 default player, this problem (reduced image size) is not there.

I appreciate any suggestions

Thanks


flo
Reply With Quote

#2 Old Re: Video playback on N80 - 2006-12-11, 17:26

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Check the methods in Video Control
setDisplaySize(int width, int height)
Resize the video image.
And
setDisplayFullScreen(boolean fullScreenMode)
Set the size of the render region for the video clip to be fullscreen.

Remember that the N80 screen is 352x416 so the original 176x144 video naturally looks small.

Note that
"If the dimensions of the requested display size are bigger than the dimensions of the video clip, some implementations may resize the video while others may leave the video clip in the original size and just enlarge the display region. It is left up to the implementation where the video clip is placed in the display region in this instance (i.e., it can be in the center of the window or in a corner of the window)."

Hartti
Reply With Quote

#3 Old Re: Video playback on N80 - 2006-12-18, 18:44

Join Date: Jan 2006
Posts: 9
FLO334
Offline
Registered User
After much testing on the N80 with fullscreen function and image size functions as well. I tried everything and anything but didn't work. Tested the same app on sony ericsson k800 and every function that is called worked.


flo
Reply With Quote

#4 Old Re: Video playback on N80 - 2007-03-22, 01:01

Join Date: Mar 2004
Posts: 22
thrust
Offline
Registered User
Hartti,

It appears that VideoControl.setDisplaySize(int width, int height) does not work on Series 60 handsets (it's a no-op). Thus a 176x144 video playing on a 352-wide screen looks tiny.
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
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: 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