How to copy image from mci video window
How to copy image from mci video window
How to copy image from mci video window
How to copy image from mci video window
How to copy image from mci video window
How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window
How to copy image from mci video window How to copy image from mci video window
How to copy image from mci video window
Go Back  Xtreme Visual Basic Talk > > > How to copy image from mci video window


Reply
 
Thread Tools Display Modes
  #1  
Old 09-13-2015, 05:12 PM
VB_Alien VB_Alien is offline
Senior Contributor
 
Join Date: Apr 2004
Posts: 854
Default How to copy image from mci video window


I've been trying to find a way to access the
mcisendstring video window for a long time
now, so that i could take snapshots of any
given frame in it using bitblt.

I never did find any code at all that would
do that but it did run across a small piece
of code that finally got me rolling again.

That piece of code is:
Code:
' get handle to mci device window displaying frame buffer
        retVal = mciSendString("status movie window handle", returnData, 128, 0)
This piece of code gave me the exact thing i
needed to access that mci window.

All that was needed after that was to combine
the .net system.drawing name space with
bitblt and i was set to go.

I'll include a small app that demonstrates this.

I hope this helps others because i know a lot of
people are wanting to know how to do this.
Attached Files
File Type: zip Mci_SnapShot.zip (52.1 KB, 3 views)

Last edited by VB_Alien; 09-14-2015 at 11:36 AM.
Reply With Quote
Reply

Tags
window, code, piece, mci, video, frame, access, bitblt, handle, [code], combine, exact, movie, mcisendstringstatus, returndata, helps, hope, demonstrates, lot, people, app, include, space, system.drawing, set


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
How to copy image from mci video window
How to copy image from mci video window
How to copy image from mci video window How to copy image from mci video window
How to copy image from mci video window
How to copy image from mci video window
How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window How to copy image from mci video window
How to copy image from mci video window
How to copy image from mci video window
 
How to copy image from mci video window
How to copy image from mci video window
 
-->