Article View: borland.public.cppbuilder.multimedia
Article #339video file duration and resolution
From: billaras
Date: Mon, 07 Feb 2005 11:47
Date: Mon, 07 Feb 2005 11:47
11 lines
1410 bytes
1410 bytes
hi ,i want to open a video file(avi,mpeg)and to retrieve its duration(i mean length..how many minutes)and its resolution.i tryed to do the following.to retrieve an images resolution is simple..load the image in a image component autosize the component and the width and height of the component is the images resolution..unfortunatly that doesnt work with mediaplayer..i open the video file with media player and i load it in a ole container or a animate..the ole doesnt autosize(the property doesnt work) and the animate works only for some avi(no mpeg no other video files ..returns exception message).ho can i do this? thank you
Technical Details
Message-ID:
<b8bac5c3.0502070347.6c9e7436@posting.google.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,b113b2bbdc5d634d,start X-Google-Attributes: gid10d0fc,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!not-for-mail From: billaras1234@hotmail.com (billaras) Newsgroups: borland.public.cppbuilder.multimedia Subject: video file duration and resolution Date: 7 Feb 2005 03:47:27 -0800 Organization: http://groups.google.com Lines: 11 Message-ID: <b8bac5c3.0502070347.6c9e7436@posting.google.com> NNTP-Posting-Host: 195.251.45.43 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1107776848 28975 127.0.0.1 (7 Feb 2005 11:47:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 7 Feb 2005 11:47:28 +0000 (UTC)