BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

video file

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
loukia
Guest





PostPosted: Thu Jan 20, 2005 9:05 am    Post subject: video file Reply with quote




i want to play a video file...and i want the window in which it is played to
autosize so that later by reading its height and width to know its
resolution...i have made the same about the photos using the image component
and it works perfectly.
i open the video files with the mediaplayer and that when the problem
starts,,,I try to view them with 2 components,ole container and
animate...but their autosize property is not working...i have autosize true
but the window doesnt autosize!
any suggestions plz?
i have also tried to open a video file directly to the animate but in this
case the animate really autosizes but it returns a cannot open avi exception
in some files...grrrr
(1st case read file name from opendialog and put in mediaplayer and play it
in ole container/animate->no autosize
2nd case read file name from opendialog and put in animate->yes autosize,but
exception inmany avi files)

i have posted this also in an other newsgroup hoping just somenone know the
solution


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.